ses 0.15.15 → 0.15.18

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,56 @@
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.18](https://github.com/endojs/endo/compare/ses@0.15.17...ses@0.15.18) (2022-08-23)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * more hardens ([#1241](https://github.com/endojs/endo/issues/1241)) ([b6ff811](https://github.com/endojs/endo/commit/b6ff8118a92fd72c5309b2bb285fac08d0531d92))
12
+ * remove __allowUnsafeMonkeyPatching__ ([fe9c784](https://github.com/endojs/endo/commit/fe9c78414eab5d1bce73cdb16e1455c1c4307e98))
13
+ * remove dead environment-options module ([#1243](https://github.com/endojs/endo/issues/1243)) ([c43c939](https://github.com/endojs/endo/commit/c43c9396976ad6b0af5d99caed033b1abf448165))
14
+ * **ses:** avoid leaks through CallSite structures ([69f69fa](https://github.com/endojs/endo/commit/69f69fac84154401a5bea72a533ba07f1ff2c191))
15
+
16
+
17
+
18
+ ### [0.15.17](https://github.com/endojs/endo/compare/ses@0.15.16...ses@0.15.17) (2022-06-28)
19
+
20
+
21
+ ### Features
22
+
23
+ * **compartment-mapper:** implement passing values in import.meta.url ([d6294f6](https://github.com/endojs/endo/commit/d6294f6832f978eaa7af94fee4496d76bd35a927))
24
+ * add the foundations for support of import.meta ([36f6449](https://github.com/endojs/endo/commit/36f644998c21f6333268707555b97938ff0fff08))
25
+ * call importMetaHook on instantiation if import.meta uttered by module ([23e8c40](https://github.com/endojs/endo/commit/23e8c405e0be823c728f8af1a6db9607e21f2f74))
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * rename meta to importMeta, fix detection to detect import.meta not import.meta.something ([c61a862](https://github.com/endojs/endo/commit/c61a862c9f4354f0e6d86d8c8efaa826840a6efd))
31
+ * tolerate empty func.prototype ([#1221](https://github.com/endojs/endo/issues/1221)) ([4da7742](https://github.com/endojs/endo/commit/4da7742e8017d07094ed9b9336a85b6a4d3ee7b6))
32
+
33
+
34
+
35
+ ### [0.15.16](https://github.com/endojs/endo/compare/ses@0.15.15...ses@0.15.16) (2022-06-11)
36
+
37
+
38
+ ### Features
39
+
40
+ * **console-taming:** `unhandledRejectionTrapping` after finalized ([7dccecf](https://github.com/endojs/endo/commit/7dccecfc1766b5287eeb0ebe958d1e1715cb63a4))
41
+ * **ses:** add to commons ([9dc2de8](https://github.com/endojs/endo/commit/9dc2de812755a3c2ba6f73764f8ee7f43dd6f717))
42
+
43
+
44
+ ### Bug Fixes
45
+
46
+ * **console:** close over severity for error note callbacks ([59910b2](https://github.com/endojs/endo/commit/59910b2a0ac146162c5191a3b315421b92ac5d77))
47
+ * **console:** direct error output to the current severity ([f5d460d](https://github.com/endojs/endo/commit/f5d460d1cc1828100ce0ad237cb0f6bfd0a8e45c))
48
+ * **ses:** Fix compartment with name from object with toString ([405c00b](https://github.com/endojs/endo/commit/405c00b3cc8f663ef73ef4275ba1776913dc26e7))
49
+ * **static-module-record:** Make types consistent with implementation ([#1184](https://github.com/endojs/endo/issues/1184)) ([5b7e3a6](https://github.com/endojs/endo/commit/5b7e3a6d006a686520c4ffeedea5428a720f7e7d))
50
+ * all errors have stacks, even if empty ([#1171](https://github.com/endojs/endo/issues/1171)) ([25b7d86](https://github.com/endojs/endo/commit/25b7d86240a5fc2772343664e5a42d1400d363d9))
51
+ * make `*Trapping` orthogonal to `consoleTaming` ([8c5e12e](https://github.com/endojs/endo/commit/8c5e12e96f8c71d0c52e2d17786558e88585e04b))
52
+ * repair deviations from local convention ([#1183](https://github.com/endojs/endo/issues/1183)) ([13614f5](https://github.com/endojs/endo/commit/13614f56872ac976e3440f8bcce706200ffe9822))
53
+
54
+
55
+
6
56
  ### [0.15.15](https://github.com/endojs/endo/compare/ses@0.15.14...ses@0.15.15) (2022-04-15)
7
57
 
8
58
  **Note:** Version bump only for package ses
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.
@@ -704,7 +707,7 @@ instructions in [SECURITY.md][] to report security-sensitive bugs privately.
704
707
 
705
708
  For non-security bugs, please use the [regular Issues page][SES Issues].
706
709
 
707
- [define shim]: https://en.wikipedia.org/wiki/Shim_(computing
710
+ [define shim]: https://en.wikipedia.org/wiki/Shim_(computing)
708
711
  [SES proposal]: https://github.com/tc39/proposal-ses
709
712
  [SECURITY.md]: https://github.com/endojs/endo/blob/master/packages/ses/SECURITY.md
710
713
  [SES Issues]: https://github.com/endojs/endo/issues