ses 0.15.6 → 0.15.7

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,15 @@
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.7](https://github.com/endojs/endo/compare/ses@0.15.6...ses@0.15.7) (2022-01-31)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ses:** Globals have vars, not consts ([#1027](https://github.com/endojs/endo/issues/1027)) ([157669f](https://github.com/endojs/endo/commit/157669f0b669332f703747e36dd867bf6a823e59))
12
+
13
+
14
+
6
15
  ### [0.15.6](https://github.com/endojs/endo/compare/ses@0.15.5...ses@0.15.6) (2022-01-27)
7
16
 
8
17
  **Note:** Version bump only for package ses
package/SECURITY.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Supported Versions
4
4
 
5
- The SES package is still undergoing development and security review, and all
5
+ The SES package and associated Endo packages are still undergoing development and security review, and all
6
6
  users are encouraged to use the latest version available. Security fixes will
7
7
  be made for the most recent branch only.
8
8
 
package/dist/lockdown.cjs CHANGED
@@ -6564,7 +6564,11 @@ optGetStackString = undefined) =>
6564
6564
  }
6565
6565
 
6566
6566
  // Browser
6567
- if (errorTrapping !== 'none' && globalThis.window !== undefined) {
6567
+ if (
6568
+ errorTrapping !== 'none' &&
6569
+ globalThis.window !== undefined &&
6570
+ globalThis.window.addEventListener !== undefined)
6571
+ {
6568
6572
  // eslint-disable-next-line @endo/no-polymorphic-call
6569
6573
  globalThis.window.addEventListener('error', (event) => {
6570
6574
  // eslint-disable-next-line @endo/no-polymorphic-call
package/dist/lockdown.mjs CHANGED
@@ -6564,7 +6564,11 @@ optGetStackString = undefined) =>
6564
6564
  }
6565
6565
 
6566
6566
  // Browser
6567
- if (errorTrapping !== 'none' && globalThis.window !== undefined) {
6567
+ if (
6568
+ errorTrapping !== 'none' &&
6569
+ globalThis.window !== undefined &&
6570
+ globalThis.window.addEventListener !== undefined)
6571
+ {
6568
6572
  // eslint-disable-next-line @endo/no-polymorphic-call
6569
6573
  globalThis.window.addEventListener('error', (event) => {
6570
6574
  // eslint-disable-next-line @endo/no-polymorphic-call
@@ -6564,7 +6564,11 @@ optGetStackString = undefined) =>
6564
6564
  }
6565
6565
 
6566
6566
  // Browser
6567
- if (errorTrapping !== 'none' && globalThis.window !== undefined) {
6567
+ if (
6568
+ errorTrapping !== 'none' &&
6569
+ globalThis.window !== undefined &&
6570
+ globalThis.window.addEventListener !== undefined)
6571
+ {
6568
6572
  // eslint-disable-next-line @endo/no-polymorphic-call
6569
6573
  globalThis.window.addEventListener('error', (event) => {
6570
6574
  // eslint-disable-next-line @endo/no-polymorphic-call