ses 1.0.1 → 1.1.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/NEWS.md +18 -1
- package/dist/lockdown.cjs +599 -185
- package/dist/lockdown.mjs +599 -185
- package/dist/lockdown.umd.js +599 -185
- package/dist/lockdown.umd.min.js +1 -1
- package/dist/ses.cjs +599 -185
- package/dist/ses.mjs +599 -185
- package/dist/ses.umd.js +599 -185
- package/dist/ses.umd.min.js +1 -1
- package/package.json +9 -9
- package/src/enable-property-overrides.js +40 -36
- package/src/enablements.js +13 -0
- package/src/error/README.md +1 -1
- package/src/error/fatal-assert.js +1 -1
- package/src/error/tame-console.js +72 -51
- package/src/lockdown.js +43 -12
- package/src/module-instance.js +10 -10
- package/src/module-proxy.js +42 -14
- package/src/permits-intrinsics.js +29 -15
- package/src/permits.js +14 -0
- package/src/tame-domains.js +4 -6
- package/src/tame-faux-data-properties.js +210 -0
- package/types.d.ts +1 -1
package/NEWS.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
User-visible changes in SES:
|
|
2
2
|
|
|
3
|
+
# v1.1.0 (2024-01-17)
|
|
4
|
+
|
|
5
|
+
- The [iterators-helpers](https://github.com/tc39/proposal-iterator-helpers)
|
|
6
|
+
proposal includes two accessor properties whose purpose is to emulate
|
|
7
|
+
a data property, but without the override mistake problem. The ses-shim
|
|
8
|
+
creates many such properties, but was unprepared for them to already be
|
|
9
|
+
present in the JS platform it starts with. Chrome Canary and Node 22
|
|
10
|
+
both implement the iterators-helper proposal, triggering this bug, preventing
|
|
11
|
+
the ses-shim from initializing. The ses-shim
|
|
12
|
+
[now copes safely](https://github.com/endojs/endo/pull/1969) with an
|
|
13
|
+
enumerated set of such properties, starting with these two properties from
|
|
14
|
+
the iterators-helpers proposal.
|
|
15
|
+
- The ses-shim now permits the new methods from the
|
|
16
|
+
[set-methods](https://github.com/tc39/proposal-set-methods) proposal,
|
|
17
|
+
enabling these methods to be used on platforms where they are implemented,
|
|
18
|
+
which are currently a Chrome Canary and a Node 22.
|
|
19
|
+
|
|
3
20
|
# v0.18.8 (2023-09-11)
|
|
4
21
|
|
|
5
22
|
- Extracts `repairIntrinsics(options)` and `hardenIntrinsics()` from the
|
|
@@ -27,7 +44,7 @@ User-visible changes in SES:
|
|
|
27
44
|
|
|
28
45
|
# v0.18.6 (2023-08-07)
|
|
29
46
|
|
|
30
|
-
- Censors the pattern `{...import(specifier)
|
|
47
|
+
- Censors the pattern `{...import(specifier)}`.
|
|
31
48
|
We previously censored `import(specifier)` and expressly allowed
|
|
32
49
|
`object.import(specifier)`.
|
|
33
50
|
The relaxation for the latter form in version 0.13.0 inadvertently allowed
|