ses 0.14.3 → 0.14.4

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,22 @@
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.14.4](https://github.com/endojs/endo/compare/ses@0.14.3...ses@0.14.4) (2021-10-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **ses:** lazily create evaluate ([f1cf92a](https://github.com/endojs/endo/commit/f1cf92a3b8e23aab3894f8431d8b65b4f75daa77))
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * **ses:** Add test and warning about the `has` hazard ([9066c97](https://github.com/endojs/endo/commit/9066c97b41b35a4e37fd12256a0802fb656af755))
17
+ * **ses:** more detailed `has` hazard test ([f010a9e](https://github.com/endojs/endo/commit/f010a9ebe09dadc72a8f22bd54caed8aa3787243))
18
+ * **ses:** Refactor Compartment to use shared evaluator ([dc0bad6](https://github.com/endojs/endo/commit/dc0bad6c1f963ff379e45f320852218228203050))
19
+
20
+
21
+
6
22
  ### [0.14.3](https://github.com/endojs/endo/compare/ses@0.14.2...ses@0.14.3) (2021-09-18)
7
23
 
8
24
 
package/NEWS.md CHANGED
@@ -1,9 +1,23 @@
1
1
  User-visible changes in SES:
2
2
 
3
+ # 0.14.4 (2021-10-14)
4
+
5
+ - Fixes a defect in the per-compartment `Function` and `eval` functions, such
6
+ that these environments did not have the compartment's `globalLexicals`.
7
+ There is no known environment depending on this invariant for security
8
+ reasons, but such a scenario would be a program arranging a translator that
9
+ introduces run-time security checks, like metering, that depend on the
10
+ existence of a named global lexical.
11
+ [#898](https://github.com/endojs/endo/issues/898)
12
+ - The above fix incidentally improved the performance of compartment evaluation
13
+ for cases that do not require special global lexicals, by sharing a single
14
+ per-compartment evaluator.
15
+
3
16
  # 0.14.3 (2021-09-18)
4
17
 
5
18
  - Due to a peculiar bit of error handling code in Node 14, as explained at
6
- [Hardened JavaScript interferes with Node.js 14 Error construction](https://github.com/endojs/endo/issues/868),
19
+ [Hardened JavaScript interferes with Node.js 14 Error
20
+ construction](https://github.com/endojs/endo/issues/868),
7
21
  we have added more overrides to the default `overrideTaming: 'moderate'`
8
22
  setting. At this setting, assigning to the `name` property of a mutable error
9
23
  instance should work. It will continue not to work at the `'min'` setting, so