I know what 'use strict' does. But I would like to find a way to only use 'use strict' once without making it global.
See also Why is 'use strict' usually after an IIFE (rather than at the top of a script)?
"only use 'use strict' once without making it global." is exactly what your code does, it makes the module strict.
I would however assume that libraries which choke on being run in strict mode have other problems…