ses 1.6.0 → 1.7.0
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/dist/lockdown.cjs +6 -4
- package/dist/lockdown.mjs +6 -4
- package/dist/lockdown.umd.js +6 -4
- package/dist/lockdown.umd.min.js +1 -1
- package/dist/ses.cjs +6 -4
- package/dist/ses.mjs +6 -4
- package/dist/ses.umd.js +6 -4
- package/dist/ses.umd.min.js +1 -1
- package/package.json +5 -5
- package/src/error/assert.js +1 -0
- package/src/module-load.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ses",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "Hardened JavaScript for Fearless Cooperation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lockdown",
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
"@endo/env-options": "^1.1.5"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@endo/compartment-mapper": "^1.2.
|
|
83
|
-
"@endo/module-source": "^1.0.
|
|
84
|
-
"@endo/test262-runner": "^0.1.
|
|
82
|
+
"@endo/compartment-mapper": "^1.2.1",
|
|
83
|
+
"@endo/module-source": "^1.0.1",
|
|
84
|
+
"@endo/test262-runner": "^0.1.39",
|
|
85
85
|
"ava": "^6.1.3",
|
|
86
86
|
"babel-eslint": "^10.1.0",
|
|
87
87
|
"c8": "^7.14.0",
|
|
@@ -199,5 +199,5 @@
|
|
|
199
199
|
"typeCoverage": {
|
|
200
200
|
"atLeast": 81.17
|
|
201
201
|
},
|
|
202
|
-
"gitHead": "
|
|
202
|
+
"gitHead": "444c81ad3ecc1b0a449023a9c65e9be2fa17db21"
|
|
203
203
|
}
|
package/src/error/assert.js
CHANGED
package/src/module-load.js
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
weakmapGet,
|
|
22
22
|
weakmapHas,
|
|
23
23
|
} from './commons.js';
|
|
24
|
-
import { makeError, annotateError, q, X } from './error/assert.js';
|
|
24
|
+
import { makeError, annotateError, q, b, X } from './error/assert.js';
|
|
25
25
|
|
|
26
26
|
const noop = () => {};
|
|
27
27
|
|
|
@@ -154,7 +154,7 @@ function* loadWithoutErrorAnnotation(
|
|
|
154
154
|
'importNowHook',
|
|
155
155
|
);
|
|
156
156
|
throw makeError(
|
|
157
|
-
X`${moduleHookName} needed to load module ${q(
|
|
157
|
+
X`${b(moduleHookName)} needed to load module ${q(
|
|
158
158
|
moduleSpecifier,
|
|
159
159
|
)} in compartment ${q(compartment.name)}`,
|
|
160
160
|
);
|