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/index.d.ts CHANGED
@@ -18,7 +18,7 @@ export interface LockdownOptions {
18
18
  regExpTaming?: 'safe' | 'unsafe';
19
19
  localeTaming?: 'safe' | 'unsafe';
20
20
  consoleTaming?: 'safe' | 'unsafe';
21
- errorTrapping?: 'platform' | 'exit' | 'abort' | 'report';
21
+ errorTrapping?: 'platform' | 'exit' | 'abort' | 'report' | 'none';
22
22
  errorTaming?: 'safe' | 'unsafe';
23
23
  dateTaming?: 'safe' | 'unsafe'; // deprecated
24
24
  mathTaming?: 'safe' | 'unsafe'; // deprecated
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ses",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "Hardened JavaScript for Fearless Cooperation",
5
5
  "keywords": [
6
6
  "lockdown",
@@ -59,10 +59,10 @@
59
59
  "test:platform-compatability": "node test/package/test.cjs"
60
60
  },
61
61
  "devDependencies": {
62
- "@endo/compartment-mapper": "^0.5.5",
63
- "@endo/eslint-config": "^0.3.17",
64
- "@endo/static-module-record": "^0.6.5",
65
- "@endo/test262-runner": "^0.1.11",
62
+ "@endo/compartment-mapper": "^0.5.6",
63
+ "@endo/eslint-config": "^0.3.18",
64
+ "@endo/static-module-record": "^0.6.6",
65
+ "@endo/test262-runner": "^0.1.12",
66
66
  "ava": "^3.12.1",
67
67
  "babel-eslint": "^10.0.3",
68
68
  "c8": "^7.7.3",
@@ -179,5 +179,5 @@
179
179
  ],
180
180
  "timeout": "2m"
181
181
  },
182
- "gitHead": "bf06e1432ab8fa377e19610c883e4c40c4002089"
182
+ "gitHead": "f445a041c413195f29c2e929e28f87c62a80d943"
183
183
  }
@@ -77,9 +77,7 @@ export const tameConsole = (
77
77
  // eslint-disable-next-line @endo/no-polymorphic-call
78
78
  event.preventDefault();
79
79
  // eslint-disable-next-line @endo/no-polymorphic-call
80
- const stackString = loggedErrorHandler.getStackString(event.error);
81
- // eslint-disable-next-line @endo/no-polymorphic-call
82
- causalConsole.error(stackString);
80
+ causalConsole.error(event.error);
83
81
  if (errorTrapping === 'exit' || errorTrapping === 'abort') {
84
82
  globalThis.window.location.href = `about:blank`;
85
83
  }