ses 1.14.0 → 2.0.0
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/README.md +2 -2
- package/dist/lockdown.cjs +770 -482
- package/dist/lockdown.mjs +770 -482
- package/dist/lockdown.umd.js +770 -482
- package/dist/lockdown.umd.min.js +1 -1
- package/dist/ses-hermes.cjs +770 -482
- package/dist/ses.cjs +770 -482
- package/dist/ses.mjs +770 -482
- package/dist/ses.umd.js +770 -482
- package/dist/ses.umd.min.js +1 -1
- package/dist/types.d.cts +110 -141
- package/package.json +16 -23
- package/src/assert-shim.js +2 -2
- package/src/commons.js +103 -40
- package/src/enablements.js +18 -18
- package/src/error/assert.js +124 -99
- package/src/error/stringify-utils.js +2 -2
- package/src/error/tame-v8-error-constructor.js +15 -12
- package/src/error/types.js +1 -1
- package/src/get-anonymous-intrinsics.js +2 -3
- package/src/lockdown.js +36 -12
- package/src/module-instance.js +22 -18
- package/src/module-load.js +4 -4
- package/src/permits.js +18 -4
- package/src/reporting.js +48 -12
- package/src/scope-constants.js +17 -23
- package/src/tame-nan-sidechannel.js +103 -0
- package/src/transforms.js +9 -7
- package/types.d.ts +110 -141
- package/src/error/README.md +0 -99
package/README.md
CHANGED
|
@@ -115,7 +115,7 @@ Lockdown does not erase any powerful objects from the initial global scope.
|
|
|
115
115
|
Instead, **Compartments** give complete control over what powerful objects
|
|
116
116
|
exist for client code.
|
|
117
117
|
|
|
118
|
-
See [`lockdown` options](docs/lockdown.md) for configuration options to
|
|
118
|
+
See [`lockdown` options](../../docs/lockdown.md) for configuration options to
|
|
119
119
|
`lockdown`. However, all of these have sensible defaults that should
|
|
120
120
|
work for most projects out of the box.
|
|
121
121
|
|
|
@@ -670,7 +670,7 @@ are standard or not.
|
|
|
670
670
|
taming hides error stacks, accumulating them in side tables. The `assert`
|
|
671
671
|
system generates other diagnostic information hidden in side tables. The tamed
|
|
672
672
|
console uses these side tables to output more informative diagnostics.
|
|
673
|
-
[Logging Errors](
|
|
673
|
+
[Logging Errors](../../docs/errors.md) explains the design.
|
|
674
674
|
|
|
675
675
|
### Controlling Module-Loading Errors
|
|
676
676
|
|