ses 0.15.0 → 0.15.1
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 +10 -0
- package/NEWS.md +7 -0
- package/dist/lockdown.cjs +1 -3
- package/dist/lockdown.mjs +1 -3
- package/dist/lockdown.umd.js +1 -3
- package/dist/lockdown.umd.min.js +1 -1
- package/dist/ses.cjs +1 -3
- package/dist/ses.mjs +1 -3
- package/dist/ses.umd.js +1 -3
- package/dist/ses.umd.min.js +1 -1
- package/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/error/tame-console.js +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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.1](https://github.com/endojs/endo/compare/ses@0.15.0...ses@0.15.1) (2021-11-16)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ses:** Add errorTrapping none to type definition ([#935](https://github.com/endojs/endo/issues/935)) ([313d47c](https://github.com/endojs/endo/commit/313d47c5a5c02afcd57e933ca876fec22a059972))
|
|
12
|
+
* **ses:** Include error in trapped error log ([#936](https://github.com/endojs/endo/issues/936)) ([22c4644](https://github.com/endojs/endo/commit/22c4644b6ad31c9eb7fdb4d760d91f8667e7a2c7))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
6
16
|
## [0.15.0](https://github.com/endojs/endo/compare/ses@0.14.4...ses@0.15.0) (2021-11-02)
|
|
7
17
|
|
|
8
18
|
|
package/NEWS.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
User-visible changes in SES:
|
|
2
2
|
|
|
3
|
+
# 0.15.1 (2021-11-15)
|
|
4
|
+
|
|
5
|
+
- The TypeScript definition of `lockdown` now allows for the option
|
|
6
|
+
`"errorTrapping": "none"`.
|
|
7
|
+
- Fixes error trapping on the web, showing both the message (and stack) of any
|
|
8
|
+
error that throws out of the top of an event.
|
|
9
|
+
|
|
3
10
|
# 0.15.0 (2021-11-02)
|
|
4
11
|
|
|
5
12
|
- *BREAKING CHANGE*: The lockdown option `domainTaming` is now `safe` by
|
package/dist/lockdown.cjs
CHANGED
|
@@ -8546,9 +8546,7 @@ optGetStackString = undefined) =>
|
|
|
8546
8546
|
// eslint-disable-next-line @endo/no-polymorphic-call
|
|
8547
8547
|
event.preventDefault();
|
|
8548
8548
|
// eslint-disable-next-line @endo/no-polymorphic-call
|
|
8549
|
-
|
|
8550
|
-
// eslint-disable-next-line @endo/no-polymorphic-call
|
|
8551
|
-
causalConsole.error(stackString);
|
|
8549
|
+
causalConsole.error(event.error);
|
|
8552
8550
|
if (errorTrapping === 'exit' || errorTrapping === 'abort') {
|
|
8553
8551
|
globalThis.window.location.href = `about:blank`;
|
|
8554
8552
|
}
|
package/dist/lockdown.mjs
CHANGED
|
@@ -8546,9 +8546,7 @@ optGetStackString = undefined) =>
|
|
|
8546
8546
|
// eslint-disable-next-line @endo/no-polymorphic-call
|
|
8547
8547
|
event.preventDefault();
|
|
8548
8548
|
// eslint-disable-next-line @endo/no-polymorphic-call
|
|
8549
|
-
|
|
8550
|
-
// eslint-disable-next-line @endo/no-polymorphic-call
|
|
8551
|
-
causalConsole.error(stackString);
|
|
8549
|
+
causalConsole.error(event.error);
|
|
8552
8550
|
if (errorTrapping === 'exit' || errorTrapping === 'abort') {
|
|
8553
8551
|
globalThis.window.location.href = `about:blank`;
|
|
8554
8552
|
}
|
package/dist/lockdown.umd.js
CHANGED
|
@@ -8546,9 +8546,7 @@ optGetStackString = undefined) =>
|
|
|
8546
8546
|
// eslint-disable-next-line @endo/no-polymorphic-call
|
|
8547
8547
|
event.preventDefault();
|
|
8548
8548
|
// eslint-disable-next-line @endo/no-polymorphic-call
|
|
8549
|
-
|
|
8550
|
-
// eslint-disable-next-line @endo/no-polymorphic-call
|
|
8551
|
-
causalConsole.error(stackString);
|
|
8549
|
+
causalConsole.error(event.error);
|
|
8552
8550
|
if (errorTrapping === 'exit' || errorTrapping === 'abort') {
|
|
8553
8551
|
globalThis.window.location.href = `about:blank`;
|
|
8554
8552
|
}
|