ses 0.15.16 → 0.15.17

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,23 @@
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.17](https://github.com/endojs/endo/compare/ses@0.15.16...ses@0.15.17) (2022-06-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * **compartment-mapper:** implement passing values in import.meta.url ([d6294f6](https://github.com/endojs/endo/commit/d6294f6832f978eaa7af94fee4496d76bd35a927))
12
+ * add the foundations for support of import.meta ([36f6449](https://github.com/endojs/endo/commit/36f644998c21f6333268707555b97938ff0fff08))
13
+ * call importMetaHook on instantiation if import.meta uttered by module ([23e8c40](https://github.com/endojs/endo/commit/23e8c405e0be823c728f8af1a6db9607e21f2f74))
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * rename meta to importMeta, fix detection to detect import.meta not import.meta.something ([c61a862](https://github.com/endojs/endo/commit/c61a862c9f4354f0e6d86d8c8efaa826840a6efd))
19
+ * tolerate empty func.prototype ([#1221](https://github.com/endojs/endo/issues/1221)) ([4da7742](https://github.com/endojs/endo/commit/4da7742e8017d07094ed9b9336a85b6a4d3ee7b6))
20
+
21
+
22
+
6
23
  ### [0.15.16](https://github.com/endojs/endo/compare/ses@0.15.15...ses@0.15.16) (2022-06-11)
7
24
 
8
25
 
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.