@metamask/snaps-execution-environments 5.0.1 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -1
- package/dist/browserify/iframe/bundle.js +5 -5
- package/dist/browserify/iframe/index.html +3 -0
- package/dist/browserify/node-process/bundle.js +6 -3
- package/dist/browserify/node-thread/bundle.js +6 -3
- package/dist/browserify/webview/bundle.js +4 -4
- package/dist/browserify/webview/index.html +3 -0
- package/dist/browserify/worker-executor/bundle.js +8 -5
- package/dist/browserify/worker-pool/bundle.js +4 -4
- package/dist/browserify/worker-pool/index.html +3 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/common/validation.d.ts +8 -0
- package/package.json +7 -7
|
@@ -11811,6 +11811,9 @@ function observeImports(map, importName, importIndex) {
|
|
|
11811
11811
|
stackFiltering: 'verbose',
|
|
11812
11812
|
// prevents most common override mistake cases from tripping up users
|
|
11813
11813
|
overrideTaming: 'severe',
|
|
11814
|
+
// preserves JS locale methods, to avoid confusing users
|
|
11815
|
+
// prevents aliasing: toLocaleString() to toString(), etc
|
|
11816
|
+
localeTaming: 'unsafe',
|
|
11814
11817
|
}
|
|
11815
11818
|
|
|
11816
11819
|
lockdown(lockdownOptions)
|