Scribunto now has a built-in require( "strict" ), inspired by this module. It was added in T209310.
require( "strict" )