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/dist/ses.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ses@1.
|
|
1
|
+
// ses@1.7.0
|
|
2
2
|
'use strict';
|
|
3
3
|
(functors => {
|
|
4
4
|
|
|
@@ -191,6 +191,7 @@
|
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
q: cell("q"),
|
|
194
|
+
b: cell("b"),
|
|
194
195
|
X: cell("X"),
|
|
195
196
|
unredactedDetails: cell("unredactedDetails"),
|
|
196
197
|
makeError: cell("makeError"),
|
|
@@ -662,6 +663,7 @@ function observeImports(map, importName, importIndex) {
|
|
|
662
663
|
},
|
|
663
664
|
onceVar: {
|
|
664
665
|
quote: cells[9].q.set,
|
|
666
|
+
bare: cells[9].b.set,
|
|
665
667
|
redactedDetails: cells[9].X.set,
|
|
666
668
|
unredactedDetails: cells[9].unredactedDetails.set,
|
|
667
669
|
makeError: cells[9].makeError.set,
|
|
@@ -2600,7 +2602,7 @@ const bare= (payload, spaces= undefined)=> {
|
|
|
2600
2602
|
|
|
2601
2603
|
weakmapSet(declassifiers, result, payload);
|
|
2602
2604
|
return result;
|
|
2603
|
-
};
|
|
2605
|
+
};$h_once.bare(bare);
|
|
2604
2606
|
freeze(bare);
|
|
2605
2607
|
|
|
2606
2608
|
// /////////////////////////////////////////////////////////////////////////////
|
|
@@ -9284,7 +9286,7 @@ function tameErrorConstructor(
|
|
|
9284
9286
|
})()
|
|
9285
9287
|
,
|
|
9286
9288
|
// === functors[39] ===
|
|
9287
|
-
({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => (function () { 'use strict'; let getenv,Map,Set,TypeError,arrayJoin,arrayMap,arrayPush,create,freeze,generatorNext,generatorThrow,getOwnPropertyNames,isObject,mapGet,mapHas,mapSet,promiseThen,setAdd,values,weakmapGet,weakmapHas,makeError,annotateError,q,X;$h_imports([["@endo/env-options", [["getEnvironmentOption", [$h_a => (getenv = $h_a)]]]],["./commons.js", [["Map", [$h_a => (Map = $h_a)]],["Set", [$h_a => (Set = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["arrayPush", [$h_a => (arrayPush = $h_a)]],["create", [$h_a => (create = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["generatorNext", [$h_a => (generatorNext = $h_a)]],["generatorThrow", [$h_a => (generatorThrow = $h_a)]],["getOwnPropertyNames", [$h_a => (getOwnPropertyNames = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["mapGet", [$h_a => (mapGet = $h_a)]],["mapHas", [$h_a => (mapHas = $h_a)]],["mapSet", [$h_a => (mapSet = $h_a)]],["promiseThen", [$h_a => (promiseThen = $h_a)]],["setAdd", [$h_a => (setAdd = $h_a)]],["values", [$h_a => (values = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["weakmapHas", [$h_a => (weakmapHas = $h_a)]]]],["./error/assert.js", [["makeError", [$h_a => (makeError = $h_a)]],["annotateError", [$h_a => (annotateError = $h_a)]],["q", [$h_a => (q = $h_a)]],["X", [$h_a => (X = $h_a)]]]]]);
|
|
9289
|
+
({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => (function () { 'use strict'; let getenv,Map,Set,TypeError,arrayJoin,arrayMap,arrayPush,create,freeze,generatorNext,generatorThrow,getOwnPropertyNames,isObject,mapGet,mapHas,mapSet,promiseThen,setAdd,values,weakmapGet,weakmapHas,makeError,annotateError,q,b,X;$h_imports([["@endo/env-options", [["getEnvironmentOption", [$h_a => (getenv = $h_a)]]]],["./commons.js", [["Map", [$h_a => (Map = $h_a)]],["Set", [$h_a => (Set = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["arrayPush", [$h_a => (arrayPush = $h_a)]],["create", [$h_a => (create = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["generatorNext", [$h_a => (generatorNext = $h_a)]],["generatorThrow", [$h_a => (generatorThrow = $h_a)]],["getOwnPropertyNames", [$h_a => (getOwnPropertyNames = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["mapGet", [$h_a => (mapGet = $h_a)]],["mapHas", [$h_a => (mapHas = $h_a)]],["mapSet", [$h_a => (mapSet = $h_a)]],["promiseThen", [$h_a => (promiseThen = $h_a)]],["setAdd", [$h_a => (setAdd = $h_a)]],["values", [$h_a => (values = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["weakmapHas", [$h_a => (weakmapHas = $h_a)]]]],["./error/assert.js", [["makeError", [$h_a => (makeError = $h_a)]],["annotateError", [$h_a => (annotateError = $h_a)]],["q", [$h_a => (q = $h_a)]],["b", [$h_a => (b = $h_a)]],["X", [$h_a => (X = $h_a)]]]]]);
|
|
9288
9290
|
|
|
9289
9291
|
|
|
9290
9292
|
|
|
@@ -9440,7 +9442,7 @@ function* loadWithoutErrorAnnotation(
|
|
|
9440
9442
|
'importNowHook');
|
|
9441
9443
|
|
|
9442
9444
|
throw makeError(
|
|
9443
|
-
X `${moduleHookName} needed to load module ${q(
|
|
9445
|
+
X `${b(moduleHookName)} needed to load module ${q(
|
|
9444
9446
|
moduleSpecifier)
|
|
9445
9447
|
} in compartment ${q(compartment.name)}`);
|
|
9446
9448
|
|
package/dist/ses.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ses@1.
|
|
1
|
+
// ses@1.7.0
|
|
2
2
|
'use strict';
|
|
3
3
|
(functors => {
|
|
4
4
|
|
|
@@ -191,6 +191,7 @@
|
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
q: cell("q"),
|
|
194
|
+
b: cell("b"),
|
|
194
195
|
X: cell("X"),
|
|
195
196
|
unredactedDetails: cell("unredactedDetails"),
|
|
196
197
|
makeError: cell("makeError"),
|
|
@@ -662,6 +663,7 @@ function observeImports(map, importName, importIndex) {
|
|
|
662
663
|
},
|
|
663
664
|
onceVar: {
|
|
664
665
|
quote: cells[9].q.set,
|
|
666
|
+
bare: cells[9].b.set,
|
|
665
667
|
redactedDetails: cells[9].X.set,
|
|
666
668
|
unredactedDetails: cells[9].unredactedDetails.set,
|
|
667
669
|
makeError: cells[9].makeError.set,
|
|
@@ -2600,7 +2602,7 @@ const bare= (payload, spaces= undefined)=> {
|
|
|
2600
2602
|
|
|
2601
2603
|
weakmapSet(declassifiers, result, payload);
|
|
2602
2604
|
return result;
|
|
2603
|
-
};
|
|
2605
|
+
};$h_once.bare(bare);
|
|
2604
2606
|
freeze(bare);
|
|
2605
2607
|
|
|
2606
2608
|
// /////////////////////////////////////////////////////////////////////////////
|
|
@@ -9284,7 +9286,7 @@ function tameErrorConstructor(
|
|
|
9284
9286
|
})()
|
|
9285
9287
|
,
|
|
9286
9288
|
// === functors[39] ===
|
|
9287
|
-
({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => (function () { 'use strict'; let getenv,Map,Set,TypeError,arrayJoin,arrayMap,arrayPush,create,freeze,generatorNext,generatorThrow,getOwnPropertyNames,isObject,mapGet,mapHas,mapSet,promiseThen,setAdd,values,weakmapGet,weakmapHas,makeError,annotateError,q,X;$h_imports([["@endo/env-options", [["getEnvironmentOption", [$h_a => (getenv = $h_a)]]]],["./commons.js", [["Map", [$h_a => (Map = $h_a)]],["Set", [$h_a => (Set = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["arrayPush", [$h_a => (arrayPush = $h_a)]],["create", [$h_a => (create = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["generatorNext", [$h_a => (generatorNext = $h_a)]],["generatorThrow", [$h_a => (generatorThrow = $h_a)]],["getOwnPropertyNames", [$h_a => (getOwnPropertyNames = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["mapGet", [$h_a => (mapGet = $h_a)]],["mapHas", [$h_a => (mapHas = $h_a)]],["mapSet", [$h_a => (mapSet = $h_a)]],["promiseThen", [$h_a => (promiseThen = $h_a)]],["setAdd", [$h_a => (setAdd = $h_a)]],["values", [$h_a => (values = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["weakmapHas", [$h_a => (weakmapHas = $h_a)]]]],["./error/assert.js", [["makeError", [$h_a => (makeError = $h_a)]],["annotateError", [$h_a => (annotateError = $h_a)]],["q", [$h_a => (q = $h_a)]],["X", [$h_a => (X = $h_a)]]]]]);
|
|
9289
|
+
({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => (function () { 'use strict'; let getenv,Map,Set,TypeError,arrayJoin,arrayMap,arrayPush,create,freeze,generatorNext,generatorThrow,getOwnPropertyNames,isObject,mapGet,mapHas,mapSet,promiseThen,setAdd,values,weakmapGet,weakmapHas,makeError,annotateError,q,b,X;$h_imports([["@endo/env-options", [["getEnvironmentOption", [$h_a => (getenv = $h_a)]]]],["./commons.js", [["Map", [$h_a => (Map = $h_a)]],["Set", [$h_a => (Set = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["arrayPush", [$h_a => (arrayPush = $h_a)]],["create", [$h_a => (create = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["generatorNext", [$h_a => (generatorNext = $h_a)]],["generatorThrow", [$h_a => (generatorThrow = $h_a)]],["getOwnPropertyNames", [$h_a => (getOwnPropertyNames = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["mapGet", [$h_a => (mapGet = $h_a)]],["mapHas", [$h_a => (mapHas = $h_a)]],["mapSet", [$h_a => (mapSet = $h_a)]],["promiseThen", [$h_a => (promiseThen = $h_a)]],["setAdd", [$h_a => (setAdd = $h_a)]],["values", [$h_a => (values = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["weakmapHas", [$h_a => (weakmapHas = $h_a)]]]],["./error/assert.js", [["makeError", [$h_a => (makeError = $h_a)]],["annotateError", [$h_a => (annotateError = $h_a)]],["q", [$h_a => (q = $h_a)]],["b", [$h_a => (b = $h_a)]],["X", [$h_a => (X = $h_a)]]]]]);
|
|
9288
9290
|
|
|
9289
9291
|
|
|
9290
9292
|
|
|
@@ -9440,7 +9442,7 @@ function* loadWithoutErrorAnnotation(
|
|
|
9440
9442
|
'importNowHook');
|
|
9441
9443
|
|
|
9442
9444
|
throw makeError(
|
|
9443
|
-
X `${moduleHookName} needed to load module ${q(
|
|
9445
|
+
X `${b(moduleHookName)} needed to load module ${q(
|
|
9444
9446
|
moduleSpecifier)
|
|
9445
9447
|
} in compartment ${q(compartment.name)}`);
|
|
9446
9448
|
|
package/dist/ses.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ses@1.
|
|
1
|
+
// ses@1.7.0
|
|
2
2
|
'use strict';
|
|
3
3
|
(functors => {
|
|
4
4
|
|
|
@@ -191,6 +191,7 @@
|
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
q: cell("q"),
|
|
194
|
+
b: cell("b"),
|
|
194
195
|
X: cell("X"),
|
|
195
196
|
unredactedDetails: cell("unredactedDetails"),
|
|
196
197
|
makeError: cell("makeError"),
|
|
@@ -662,6 +663,7 @@ function observeImports(map, importName, importIndex) {
|
|
|
662
663
|
},
|
|
663
664
|
onceVar: {
|
|
664
665
|
quote: cells[9].q.set,
|
|
666
|
+
bare: cells[9].b.set,
|
|
665
667
|
redactedDetails: cells[9].X.set,
|
|
666
668
|
unredactedDetails: cells[9].unredactedDetails.set,
|
|
667
669
|
makeError: cells[9].makeError.set,
|
|
@@ -2600,7 +2602,7 @@ const bare= (payload, spaces= undefined)=> {
|
|
|
2600
2602
|
|
|
2601
2603
|
weakmapSet(declassifiers, result, payload);
|
|
2602
2604
|
return result;
|
|
2603
|
-
};
|
|
2605
|
+
};$h_once.bare(bare);
|
|
2604
2606
|
freeze(bare);
|
|
2605
2607
|
|
|
2606
2608
|
// /////////////////////////////////////////////////////////////////////////////
|
|
@@ -9284,7 +9286,7 @@ function tameErrorConstructor(
|
|
|
9284
9286
|
})()
|
|
9285
9287
|
,
|
|
9286
9288
|
// === functors[39] ===
|
|
9287
|
-
({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => (function () { 'use strict'; let getenv,Map,Set,TypeError,arrayJoin,arrayMap,arrayPush,create,freeze,generatorNext,generatorThrow,getOwnPropertyNames,isObject,mapGet,mapHas,mapSet,promiseThen,setAdd,values,weakmapGet,weakmapHas,makeError,annotateError,q,X;$h_imports([["@endo/env-options", [["getEnvironmentOption", [$h_a => (getenv = $h_a)]]]],["./commons.js", [["Map", [$h_a => (Map = $h_a)]],["Set", [$h_a => (Set = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["arrayPush", [$h_a => (arrayPush = $h_a)]],["create", [$h_a => (create = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["generatorNext", [$h_a => (generatorNext = $h_a)]],["generatorThrow", [$h_a => (generatorThrow = $h_a)]],["getOwnPropertyNames", [$h_a => (getOwnPropertyNames = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["mapGet", [$h_a => (mapGet = $h_a)]],["mapHas", [$h_a => (mapHas = $h_a)]],["mapSet", [$h_a => (mapSet = $h_a)]],["promiseThen", [$h_a => (promiseThen = $h_a)]],["setAdd", [$h_a => (setAdd = $h_a)]],["values", [$h_a => (values = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["weakmapHas", [$h_a => (weakmapHas = $h_a)]]]],["./error/assert.js", [["makeError", [$h_a => (makeError = $h_a)]],["annotateError", [$h_a => (annotateError = $h_a)]],["q", [$h_a => (q = $h_a)]],["X", [$h_a => (X = $h_a)]]]]]);
|
|
9289
|
+
({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => (function () { 'use strict'; let getenv,Map,Set,TypeError,arrayJoin,arrayMap,arrayPush,create,freeze,generatorNext,generatorThrow,getOwnPropertyNames,isObject,mapGet,mapHas,mapSet,promiseThen,setAdd,values,weakmapGet,weakmapHas,makeError,annotateError,q,b,X;$h_imports([["@endo/env-options", [["getEnvironmentOption", [$h_a => (getenv = $h_a)]]]],["./commons.js", [["Map", [$h_a => (Map = $h_a)]],["Set", [$h_a => (Set = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["arrayPush", [$h_a => (arrayPush = $h_a)]],["create", [$h_a => (create = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["generatorNext", [$h_a => (generatorNext = $h_a)]],["generatorThrow", [$h_a => (generatorThrow = $h_a)]],["getOwnPropertyNames", [$h_a => (getOwnPropertyNames = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["mapGet", [$h_a => (mapGet = $h_a)]],["mapHas", [$h_a => (mapHas = $h_a)]],["mapSet", [$h_a => (mapSet = $h_a)]],["promiseThen", [$h_a => (promiseThen = $h_a)]],["setAdd", [$h_a => (setAdd = $h_a)]],["values", [$h_a => (values = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["weakmapHas", [$h_a => (weakmapHas = $h_a)]]]],["./error/assert.js", [["makeError", [$h_a => (makeError = $h_a)]],["annotateError", [$h_a => (annotateError = $h_a)]],["q", [$h_a => (q = $h_a)]],["b", [$h_a => (b = $h_a)]],["X", [$h_a => (X = $h_a)]]]]]);
|
|
9288
9290
|
|
|
9289
9291
|
|
|
9290
9292
|
|
|
@@ -9440,7 +9442,7 @@ function* loadWithoutErrorAnnotation(
|
|
|
9440
9442
|
'importNowHook');
|
|
9441
9443
|
|
|
9442
9444
|
throw makeError(
|
|
9443
|
-
X `${moduleHookName} needed to load module ${q(
|
|
9445
|
+
X `${b(moduleHookName)} needed to load module ${q(
|
|
9444
9446
|
moduleSpecifier)
|
|
9445
9447
|
} in compartment ${q(compartment.name)}`);
|
|
9446
9448
|
|