ses 0.15.16 → 0.15.19

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 CHANGED
@@ -3,6 +3,43 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ### [0.15.19](https://github.com/endojs/endo/compare/ses@0.15.18...ses@0.15.19) (2022-08-25)
7
+
8
+ **Note:** Version bump only for package ses
9
+
10
+
11
+
12
+
13
+
14
+ ### [0.15.18](https://github.com/endojs/endo/compare/ses@0.15.17...ses@0.15.18) (2022-08-23)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * more hardens ([#1241](https://github.com/endojs/endo/issues/1241)) ([b6ff811](https://github.com/endojs/endo/commit/b6ff8118a92fd72c5309b2bb285fac08d0531d92))
20
+ * remove __allowUnsafeMonkeyPatching__ ([fe9c784](https://github.com/endojs/endo/commit/fe9c78414eab5d1bce73cdb16e1455c1c4307e98))
21
+ * remove dead environment-options module ([#1243](https://github.com/endojs/endo/issues/1243)) ([c43c939](https://github.com/endojs/endo/commit/c43c9396976ad6b0af5d99caed033b1abf448165))
22
+ * **ses:** avoid leaks through CallSite structures ([69f69fa](https://github.com/endojs/endo/commit/69f69fac84154401a5bea72a533ba07f1ff2c191))
23
+
24
+
25
+
26
+ ### [0.15.17](https://github.com/endojs/endo/compare/ses@0.15.16...ses@0.15.17) (2022-06-28)
27
+
28
+
29
+ ### Features
30
+
31
+ * **compartment-mapper:** implement passing values in import.meta.url ([d6294f6](https://github.com/endojs/endo/commit/d6294f6832f978eaa7af94fee4496d76bd35a927))
32
+ * add the foundations for support of import.meta ([36f6449](https://github.com/endojs/endo/commit/36f644998c21f6333268707555b97938ff0fff08))
33
+ * call importMetaHook on instantiation if import.meta uttered by module ([23e8c40](https://github.com/endojs/endo/commit/23e8c405e0be823c728f8af1a6db9607e21f2f74))
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * rename meta to importMeta, fix detection to detect import.meta not import.meta.something ([c61a862](https://github.com/endojs/endo/commit/c61a862c9f4354f0e6d86d8c8efaa826840a6efd))
39
+ * tolerate empty func.prototype ([#1221](https://github.com/endojs/endo/issues/1221)) ([4da7742](https://github.com/endojs/endo/commit/4da7742e8017d07094ed9b9336a85b6a4d3ee7b6))
40
+
41
+
42
+
6
43
  ### [0.15.16](https://github.com/endojs/endo/compare/ses@0.15.15...ses@0.15.16) (2022-06-11)
7
44
 
8
45
 
package/NEWS.md CHANGED
@@ -1,5 +1,13 @@
1
1
  User-visible changes in SES:
2
2
 
3
+ # v0.15.18 (2022-08-23)
4
+
5
+ - Removes the `__allowUnsafeMonkeyPatching__` option to lockdown. As the name
6
+ should indicate, this was always an unsafe temporary kludge. Its only known
7
+ use was in agoric-sdk, now gone at
8
+ https://github.com/Agoric/agoric-sdk/pull/5922 . Without this option, a
9
+ successful `lockdown` will now always harden the primordials.
10
+
3
11
  # v0.15.8 (2022-02-18)
4
12
 
5
13
  - Harden now gives special treatment to typed arrays.
@@ -66,7 +74,7 @@ User-visible changes in SES:
66
74
  for cases that do not require special global lexicals, by sharing a single
67
75
  per-compartment evaluator.
68
76
 
69
- # 0.14.3 (2021-09-18)
77
+ # 0.14.3 (2021-09-18)
70
78
 
71
79
  - Due to a peculiar bit of error handling code in Node 14, as explained at
72
80
  [Hardened JavaScript interferes with Node.js 14 Error
package/README.md CHANGED
@@ -412,13 +412,16 @@ A compiled static module record has the following shape:
412
412
  an initialization record and initializes the module.
413
413
  This property distinguishes this type of module record.
414
414
  The name implies a future record type that supports top-level await.
415
- - An initialization record has the properties `imports`, `liveVar`, and
415
+ - An initialization record has the properties `imports`, `liveVar`, `importMeta` and
416
416
  `onceVar`.
417
417
  - `imports` is a function that accepts a map from partial import
418
418
  module specifiers to maps from names that the corresponding module
419
419
  exports to notifier functions.
420
420
  A notifier function accepts an update function and registers
421
421
  to receive updates for the value exported by the other module.
422
+ - `importMeta` is a null-prototype object with keys transferred from `importMeta`
423
+ property in the envelope returned by importHook and/or mutated by
424
+ calling `importMetaHook(moduleSpecifier, importMeta)`
422
425
  - `liveVar` is a record that maps names exported by this module
423
426
  to a function that may be called to initialize or update
424
427
  the corresponding value in another module.