ses 0.15.16 → 0.15.17
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 +17 -0
- package/README.md +4 -1
- package/dist/lockdown.cjs +132 -59
- package/dist/lockdown.mjs +132 -59
- package/dist/lockdown.umd.js +132 -59
- package/dist/lockdown.umd.min.js +1 -1
- package/dist/ses.cjs +132 -59
- package/dist/ses.mjs +132 -59
- package/dist/ses.umd.js +132 -59
- package/dist/ses.umd.min.js +1 -1
- package/index.d.ts +1 -0
- package/package.json +6 -6
- package/src/compartment-shim.js +2 -0
- package/src/module-instance.js +18 -2
- package/src/module-load.js +4 -0
- package/src/transforms.js +8 -8
- package/src/whitelist-intrinsics.js +9 -0
package/dist/ses.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
(() => {
|
|
3
3
|
const functors = [
|
|
4
4
|
// === functors[0] ===
|
|
5
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { $h_imports([]); /* global globalThis */
|
|
5
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { $h_imports([]); /* global globalThis */
|
|
6
6
|
/* eslint-disable no-restricted-globals */
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -299,7 +299,7 @@ const noEvalEvaluate= ()=> {
|
|
|
299
299
|
})
|
|
300
300
|
,
|
|
301
301
|
// === functors[1] ===
|
|
302
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { $h_imports([]); // @ts-check
|
|
302
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { $h_imports([]); // @ts-check
|
|
303
303
|
|
|
304
304
|
/**
|
|
305
305
|
* @typedef {readonly any[]} LogArgs
|
|
@@ -391,7 +391,7 @@ const noEvalEvaluate= ()=> {
|
|
|
391
391
|
})
|
|
392
392
|
,
|
|
393
393
|
// === functors[2] ===
|
|
394
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let Set,String,arrayJoin,arraySlice,freeze,is,isError,setAdd,setHas,stringIncludes,stringStartsWith,stringifyJson,toStringTagSymbol;$h_imports([["../commons.js", [["Set", [$h_a => (Set = $h_a)]],["String", [$h_a => (String = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["arraySlice", [$h_a => (arraySlice = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["is", [$h_a => (is = $h_a)]],["isError", [$h_a => (isError = $h_a)]],["setAdd", [$h_a => (setAdd = $h_a)]],["setHas", [$h_a => (setHas = $h_a)]],["stringIncludes", [$h_a => (stringIncludes = $h_a)]],["stringStartsWith", [$h_a => (stringStartsWith = $h_a)]],["stringifyJson", [$h_a => (stringifyJson = $h_a)]],["toStringTagSymbol", [$h_a => (toStringTagSymbol = $h_a)]]]]]);
|
|
394
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let Set,String,arrayJoin,arraySlice,freeze,is,isError,setAdd,setHas,stringIncludes,stringStartsWith,stringifyJson,toStringTagSymbol;$h_imports([["../commons.js", [["Set", [$h_a => (Set = $h_a)]],["String", [$h_a => (String = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["arraySlice", [$h_a => (arraySlice = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["is", [$h_a => (is = $h_a)]],["isError", [$h_a => (isError = $h_a)]],["setAdd", [$h_a => (setAdd = $h_a)]],["setHas", [$h_a => (setHas = $h_a)]],["stringIncludes", [$h_a => (stringIncludes = $h_a)]],["stringStartsWith", [$h_a => (stringStartsWith = $h_a)]],["stringifyJson", [$h_a => (stringifyJson = $h_a)]],["toStringTagSymbol", [$h_a => (toStringTagSymbol = $h_a)]]]]]);
|
|
395
395
|
|
|
396
396
|
|
|
397
397
|
|
|
@@ -562,7 +562,7 @@ freeze(bestEffortStringify);
|
|
|
562
562
|
})
|
|
563
563
|
,
|
|
564
564
|
// === functors[3] ===
|
|
565
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { $h_imports([]); // @ts-check
|
|
565
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { $h_imports([]); // @ts-check
|
|
566
566
|
|
|
567
567
|
/**
|
|
568
568
|
* @callback BaseAssert
|
|
@@ -915,7 +915,7 @@ freeze(bestEffortStringify);
|
|
|
915
915
|
})
|
|
916
916
|
,
|
|
917
917
|
// === functors[4] ===
|
|
918
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let RangeError,TypeError,WeakMap,arrayJoin,arrayMap,arrayPop,arrayPush,assign,freeze,globalThis,is,isError,stringIndexOf,stringReplace,stringSlice,stringStartsWith,weakmapDelete,weakmapGet,weakmapHas,weakmapSet,an,bestEffortStringify;$h_imports([["../commons.js", [["RangeError", [$h_a => (RangeError = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["WeakMap", [$h_a => (WeakMap = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["arrayPop", [$h_a => (arrayPop = $h_a)]],["arrayPush", [$h_a => (arrayPush = $h_a)]],["assign", [$h_a => (assign = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["globalThis", [$h_a => (globalThis = $h_a)]],["is", [$h_a => (is = $h_a)]],["isError", [$h_a => (isError = $h_a)]],["stringIndexOf", [$h_a => (stringIndexOf = $h_a)]],["stringReplace", [$h_a => (stringReplace = $h_a)]],["stringSlice", [$h_a => (stringSlice = $h_a)]],["stringStartsWith", [$h_a => (stringStartsWith = $h_a)]],["weakmapDelete", [$h_a => (weakmapDelete = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["weakmapHas", [$h_a => (weakmapHas = $h_a)]],["weakmapSet", [$h_a => (weakmapSet = $h_a)]]]],["./stringify-utils.js", [["an", [$h_a => (an = $h_a)]],["bestEffortStringify", [$h_a => (bestEffortStringify = $h_a)]]]],["./types.js", []],["./internal-types.js", []]]);
|
|
918
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let RangeError,TypeError,WeakMap,arrayJoin,arrayMap,arrayPop,arrayPush,assign,freeze,globalThis,is,isError,stringIndexOf,stringReplace,stringSlice,stringStartsWith,weakmapDelete,weakmapGet,weakmapHas,weakmapSet,an,bestEffortStringify;$h_imports([["../commons.js", [["RangeError", [$h_a => (RangeError = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["WeakMap", [$h_a => (WeakMap = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["arrayPop", [$h_a => (arrayPop = $h_a)]],["arrayPush", [$h_a => (arrayPush = $h_a)]],["assign", [$h_a => (assign = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["globalThis", [$h_a => (globalThis = $h_a)]],["is", [$h_a => (is = $h_a)]],["isError", [$h_a => (isError = $h_a)]],["stringIndexOf", [$h_a => (stringIndexOf = $h_a)]],["stringReplace", [$h_a => (stringReplace = $h_a)]],["stringSlice", [$h_a => (stringSlice = $h_a)]],["stringStartsWith", [$h_a => (stringStartsWith = $h_a)]],["weakmapDelete", [$h_a => (weakmapDelete = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["weakmapHas", [$h_a => (weakmapHas = $h_a)]],["weakmapSet", [$h_a => (weakmapSet = $h_a)]]]],["./stringify-utils.js", [["an", [$h_a => (an = $h_a)]],["bestEffortStringify", [$h_a => (bestEffortStringify = $h_a)]]]],["./types.js", []],["./internal-types.js", []]]);
|
|
919
919
|
|
|
920
920
|
|
|
921
921
|
|
|
@@ -1363,7 +1363,7 @@ const assert= makeAssert();$h_once.assert(assert);
|
|
|
1363
1363
|
})
|
|
1364
1364
|
,
|
|
1365
1365
|
// === functors[5] ===
|
|
1366
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let FERAL_FUNCTION,arrayJoin;$h_imports([["./commons.js", [["FERAL_FUNCTION", [$h_a => (FERAL_FUNCTION = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]]]]]);
|
|
1366
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let FERAL_FUNCTION,arrayJoin;$h_imports([["./commons.js", [["FERAL_FUNCTION", [$h_a => (FERAL_FUNCTION = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]]]]]);
|
|
1367
1367
|
|
|
1368
1368
|
/**
|
|
1369
1369
|
* buildOptimizer()
|
|
@@ -1437,7 +1437,7 @@ const makeEvaluateFactory= (constants= [])=> {
|
|
|
1437
1437
|
})
|
|
1438
1438
|
,
|
|
1439
1439
|
// === functors[6] ===
|
|
1440
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let arrayFilter,arrayIncludes,getOwnPropertyDescriptor,getOwnPropertyNames,objectHasOwnProperty,regexpTest;$h_imports([["./commons.js", [["arrayFilter", [$h_a => (arrayFilter = $h_a)]],["arrayIncludes", [$h_a => (arrayIncludes = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["getOwnPropertyNames", [$h_a => (getOwnPropertyNames = $h_a)]],["objectHasOwnProperty", [$h_a => (objectHasOwnProperty = $h_a)]],["regexpTest", [$h_a => (regexpTest = $h_a)]]]]]);
|
|
1440
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let arrayFilter,arrayIncludes,getOwnPropertyDescriptor,getOwnPropertyNames,objectHasOwnProperty,regexpTest;$h_imports([["./commons.js", [["arrayFilter", [$h_a => (arrayFilter = $h_a)]],["arrayIncludes", [$h_a => (arrayIncludes = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["getOwnPropertyNames", [$h_a => (getOwnPropertyNames = $h_a)]],["objectHasOwnProperty", [$h_a => (objectHasOwnProperty = $h_a)]],["regexpTest", [$h_a => (regexpTest = $h_a)]]]]]);
|
|
1441
1441
|
|
|
1442
1442
|
|
|
1443
1443
|
|
|
@@ -1615,7 +1615,7 @@ const getScopeConstants= (globalObject, localObject= {})=> {
|
|
|
1615
1615
|
})
|
|
1616
1616
|
,
|
|
1617
1617
|
// === functors[7] ===
|
|
1618
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let FERAL_EVAL,Proxy,String,TypeError,create,freeze,getOwnPropertyDescriptor,getOwnPropertyDescriptors,globalThis,immutableObject,objectHasOwnProperty,reflectGet,reflectSet,seal,assert;$h_imports([["./commons.js", [["FERAL_EVAL", [$h_a => (FERAL_EVAL = $h_a)]],["Proxy", [$h_a => (Proxy = $h_a)]],["String", [$h_a => (String = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["create", [$h_a => (create = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["getOwnPropertyDescriptors", [$h_a => (getOwnPropertyDescriptors = $h_a)]],["globalThis", [$h_a => (globalThis = $h_a)]],["immutableObject", [$h_a => (immutableObject = $h_a)]],["objectHasOwnProperty", [$h_a => (objectHasOwnProperty = $h_a)]],["reflectGet", [$h_a => (reflectGet = $h_a)]],["reflectSet", [$h_a => (reflectSet = $h_a)]],["seal", [$h_a => (seal = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
1618
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let FERAL_EVAL,Proxy,String,TypeError,create,freeze,getOwnPropertyDescriptor,getOwnPropertyDescriptors,globalThis,immutableObject,objectHasOwnProperty,reflectGet,reflectSet,seal,assert;$h_imports([["./commons.js", [["FERAL_EVAL", [$h_a => (FERAL_EVAL = $h_a)]],["Proxy", [$h_a => (Proxy = $h_a)]],["String", [$h_a => (String = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["create", [$h_a => (create = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["getOwnPropertyDescriptors", [$h_a => (getOwnPropertyDescriptors = $h_a)]],["globalThis", [$h_a => (globalThis = $h_a)]],["immutableObject", [$h_a => (immutableObject = $h_a)]],["objectHasOwnProperty", [$h_a => (objectHasOwnProperty = $h_a)]],["reflectGet", [$h_a => (reflectGet = $h_a)]],["reflectSet", [$h_a => (reflectSet = $h_a)]],["seal", [$h_a => (seal = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
1619
1619
|
|
|
1620
1620
|
|
|
1621
1621
|
|
|
@@ -1829,7 +1829,7 @@ const createScopeHandler= (
|
|
|
1829
1829
|
})
|
|
1830
1830
|
,
|
|
1831
1831
|
// === functors[8] ===
|
|
1832
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let FERAL_REG_EXP,regexpExec,stringSlice;$h_imports([["./commons.js", [["FERAL_REG_EXP", [$h_a => (FERAL_REG_EXP = $h_a)]],["regexpExec", [$h_a => (regexpExec = $h_a)]],["stringSlice", [$h_a => (stringSlice = $h_a)]]]]]);
|
|
1832
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let FERAL_REG_EXP,regexpExec,stringSlice;$h_imports([["./commons.js", [["FERAL_REG_EXP", [$h_a => (FERAL_REG_EXP = $h_a)]],["regexpExec", [$h_a => (regexpExec = $h_a)]],["stringSlice", [$h_a => (stringSlice = $h_a)]]]]]);
|
|
1833
1833
|
|
|
1834
1834
|
// Captures a key and value of the form #key=value or @key=value
|
|
1835
1835
|
const sourceMetaEntryRegExp=
|
|
@@ -1879,7 +1879,7 @@ const getSourceURL= (src)=>{
|
|
|
1879
1879
|
})
|
|
1880
1880
|
,
|
|
1881
1881
|
// === functors[9] ===
|
|
1882
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let FERAL_REG_EXP,SyntaxError,stringReplace,stringSearch,stringSlice,stringSplit,getSourceURL;$h_imports([["./commons.js", [["FERAL_REG_EXP", [$h_a => (FERAL_REG_EXP = $h_a)]],["SyntaxError", [$h_a => (SyntaxError = $h_a)]],["stringReplace", [$h_a => (stringReplace = $h_a)]],["stringSearch", [$h_a => (stringSearch = $h_a)]],["stringSlice", [$h_a => (stringSlice = $h_a)]],["stringSplit", [$h_a => (stringSplit = $h_a)]]]],["./get-source-url.js", [["getSourceURL", [$h_a => (getSourceURL = $h_a)]]]]]);
|
|
1882
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let FERAL_REG_EXP,SyntaxError,stringReplace,stringSearch,stringSlice,stringSplit,getSourceURL;$h_imports([["./commons.js", [["FERAL_REG_EXP", [$h_a => (FERAL_REG_EXP = $h_a)]],["SyntaxError", [$h_a => (SyntaxError = $h_a)]],["stringReplace", [$h_a => (stringReplace = $h_a)]],["stringSearch", [$h_a => (stringSearch = $h_a)]],["stringSlice", [$h_a => (stringSlice = $h_a)]],["stringSplit", [$h_a => (stringSplit = $h_a)]]]],["./get-source-url.js", [["getSourceURL", [$h_a => (getSourceURL = $h_a)]]]]]);
|
|
1883
1883
|
|
|
1884
1884
|
|
|
1885
1885
|
|
|
@@ -1974,8 +1974,8 @@ const rejectHtmlComments= (src)=>{
|
|
|
1974
1974
|
* not change the meaning of the program because it only changes the contents of
|
|
1975
1975
|
* those comments.
|
|
1976
1976
|
*
|
|
1977
|
-
* @param {
|
|
1978
|
-
* @returns {
|
|
1977
|
+
* @param {string} src
|
|
1978
|
+
* @returns {string}
|
|
1979
1979
|
*/$h_once.rejectHtmlComments(rejectHtmlComments);
|
|
1980
1980
|
const evadeHtmlCommentTest= (src)=>{
|
|
1981
1981
|
const replaceFn= (match)=> match[0]=== '<'? '< ! --': '-- >';
|
|
@@ -2016,8 +2016,8 @@ const importPattern= new FERAL_REG_EXP(
|
|
|
2016
2016
|
* something like that from something like importnotreally('power.js') which
|
|
2017
2017
|
* is perfectly safe.
|
|
2018
2018
|
*
|
|
2019
|
-
* @param {
|
|
2020
|
-
* @returns {
|
|
2019
|
+
* @param {string} src
|
|
2020
|
+
* @returns {string}
|
|
2021
2021
|
*/
|
|
2022
2022
|
const rejectImportExpressions= (src)=>{
|
|
2023
2023
|
const lineNumber= getLineNumber(src, importPattern);
|
|
@@ -2043,8 +2043,8 @@ const rejectImportExpressions= (src)=>{
|
|
|
2043
2043
|
* the meaning of the program, depending on the binding, if any, of the lexical
|
|
2044
2044
|
* variable `__import__`.
|
|
2045
2045
|
*
|
|
2046
|
-
* @param {
|
|
2047
|
-
* @returns {
|
|
2046
|
+
* @param {string} src
|
|
2047
|
+
* @returns {string}
|
|
2048
2048
|
*/$h_once.rejectImportExpressions(rejectImportExpressions);
|
|
2049
2049
|
const evadeImportExpressionTest= (src)=>{
|
|
2050
2050
|
const replaceFn= (_, p1, p2)=> `${p1}__import__${p2}`;
|
|
@@ -2087,8 +2087,8 @@ const someDirectEvalPattern= new FERAL_REG_EXP(
|
|
|
2087
2087
|
*
|
|
2088
2088
|
* Exported for unit tests.
|
|
2089
2089
|
*
|
|
2090
|
-
* @param {
|
|
2091
|
-
* @returns {
|
|
2090
|
+
* @param {string} src
|
|
2091
|
+
* @returns {string}
|
|
2092
2092
|
*/
|
|
2093
2093
|
const rejectSomeDirectEvalExpressions= (src)=>{
|
|
2094
2094
|
const lineNumber= getLineNumber(src, someDirectEvalPattern);
|
|
@@ -2133,7 +2133,7 @@ const applyTransforms= (source, transforms)=> {
|
|
|
2133
2133
|
})
|
|
2134
2134
|
,
|
|
2135
2135
|
// === functors[10] ===
|
|
2136
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let WeakSet,apply,immutableObject,proxyRevocable,weaksetAdd,getScopeConstants,createScopeHandler,applyTransforms,mandatoryTransforms,makeEvaluateFactory,assert;$h_imports([["./commons.js", [["WeakSet", [$h_a => (WeakSet = $h_a)]],["apply", [$h_a => (apply = $h_a)]],["immutableObject", [$h_a => (immutableObject = $h_a)]],["proxyRevocable", [$h_a => (proxyRevocable = $h_a)]],["weaksetAdd", [$h_a => (weaksetAdd = $h_a)]]]],["./scope-constants.js", [["getScopeConstants", [$h_a => (getScopeConstants = $h_a)]]]],["./scope-handler.js", [["createScopeHandler", [$h_a => (createScopeHandler = $h_a)]]]],["./transforms.js", [["applyTransforms", [$h_a => (applyTransforms = $h_a)]],["mandatoryTransforms", [$h_a => (mandatoryTransforms = $h_a)]]]],["./make-evaluate-factory.js", [["makeEvaluateFactory", [$h_a => (makeEvaluateFactory = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
2136
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let WeakSet,apply,immutableObject,proxyRevocable,weaksetAdd,getScopeConstants,createScopeHandler,applyTransforms,mandatoryTransforms,makeEvaluateFactory,assert;$h_imports([["./commons.js", [["WeakSet", [$h_a => (WeakSet = $h_a)]],["apply", [$h_a => (apply = $h_a)]],["immutableObject", [$h_a => (immutableObject = $h_a)]],["proxyRevocable", [$h_a => (proxyRevocable = $h_a)]],["weaksetAdd", [$h_a => (weaksetAdd = $h_a)]]]],["./scope-constants.js", [["getScopeConstants", [$h_a => (getScopeConstants = $h_a)]]]],["./scope-handler.js", [["createScopeHandler", [$h_a => (createScopeHandler = $h_a)]]]],["./transforms.js", [["applyTransforms", [$h_a => (applyTransforms = $h_a)]],["mandatoryTransforms", [$h_a => (mandatoryTransforms = $h_a)]]]],["./make-evaluate-factory.js", [["makeEvaluateFactory", [$h_a => (makeEvaluateFactory = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
2137
2137
|
|
|
2138
2138
|
|
|
2139
2139
|
|
|
@@ -2253,7 +2253,7 @@ const makeSafeEvaluator= ({
|
|
|
2253
2253
|
})
|
|
2254
2254
|
,
|
|
2255
2255
|
// === functors[11] ===
|
|
2256
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let TypeError,arrayPush,create,defineProperties,getOwnPropertyDescriptors,evadeHtmlCommentTest,evadeImportExpressionTest,rejectSomeDirectEvalExpressions,makeSafeEvaluator;$h_imports([["./commons.js", [["TypeError", [$h_a => (TypeError = $h_a)]],["arrayPush", [$h_a => (arrayPush = $h_a)]],["create", [$h_a => (create = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]],["getOwnPropertyDescriptors", [$h_a => (getOwnPropertyDescriptors = $h_a)]]]],["./transforms.js", [["evadeHtmlCommentTest", [$h_a => (evadeHtmlCommentTest = $h_a)]],["evadeImportExpressionTest", [$h_a => (evadeImportExpressionTest = $h_a)]],["rejectSomeDirectEvalExpressions", [$h_a => (rejectSomeDirectEvalExpressions = $h_a)]]]],["./make-safe-evaluator.js", [["makeSafeEvaluator", [$h_a => (makeSafeEvaluator = $h_a)]]]]]);
|
|
2256
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let TypeError,arrayPush,create,defineProperties,getOwnPropertyDescriptors,evadeHtmlCommentTest,evadeImportExpressionTest,rejectSomeDirectEvalExpressions,makeSafeEvaluator;$h_imports([["./commons.js", [["TypeError", [$h_a => (TypeError = $h_a)]],["arrayPush", [$h_a => (arrayPush = $h_a)]],["create", [$h_a => (create = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]],["getOwnPropertyDescriptors", [$h_a => (getOwnPropertyDescriptors = $h_a)]]]],["./transforms.js", [["evadeHtmlCommentTest", [$h_a => (evadeHtmlCommentTest = $h_a)]],["evadeImportExpressionTest", [$h_a => (evadeImportExpressionTest = $h_a)]],["rejectSomeDirectEvalExpressions", [$h_a => (rejectSomeDirectEvalExpressions = $h_a)]]]],["./make-safe-evaluator.js", [["makeSafeEvaluator", [$h_a => (makeSafeEvaluator = $h_a)]]]]]);
|
|
2257
2257
|
|
|
2258
2258
|
|
|
2259
2259
|
|
|
@@ -2358,7 +2358,7 @@ const compartmentEvaluate= (compartmentFields, source, options)=> {
|
|
|
2358
2358
|
})
|
|
2359
2359
|
,
|
|
2360
2360
|
// === functors[12] ===
|
|
2361
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { $h_imports([]); /**
|
|
2361
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { $h_imports([]); /**
|
|
2362
2362
|
* makeEvalFunction()
|
|
2363
2363
|
* A safe version of the native eval function which relies on
|
|
2364
2364
|
* the safety of safeEvaluate for confinement.
|
|
@@ -2388,7 +2388,7 @@ const makeEvalFunction= (safeEvaluate)=>{
|
|
|
2388
2388
|
})
|
|
2389
2389
|
,
|
|
2390
2390
|
// === functors[13] ===
|
|
2391
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let FERAL_FUNCTION,arrayJoin,arrayPop,defineProperties,getPrototypeOf,assert;$h_imports([["./commons.js", [["FERAL_FUNCTION", [$h_a => (FERAL_FUNCTION = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["arrayPop", [$h_a => (arrayPop = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]],["getPrototypeOf", [$h_a => (getPrototypeOf = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
2391
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let FERAL_FUNCTION,arrayJoin,arrayPop,defineProperties,getPrototypeOf,assert;$h_imports([["./commons.js", [["FERAL_FUNCTION", [$h_a => (FERAL_FUNCTION = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["arrayPop", [$h_a => (arrayPop = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]],["getPrototypeOf", [$h_a => (getPrototypeOf = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
2392
2392
|
|
|
2393
2393
|
|
|
2394
2394
|
|
|
@@ -2471,7 +2471,7 @@ const makeFunctionConstructor= (safeEvaluate)=>{
|
|
|
2471
2471
|
})
|
|
2472
2472
|
,
|
|
2473
2473
|
// === functors[14] ===
|
|
2474
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { $h_imports([]); /* eslint-disable no-restricted-globals */
|
|
2474
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { $h_imports([]); /* eslint-disable no-restricted-globals */
|
|
2475
2475
|
/**
|
|
2476
2476
|
* @file Exports {@code whitelist}, a recursively defined
|
|
2477
2477
|
* JSON record enumerating all intrinsics and their properties
|
|
@@ -3848,7 +3848,7 @@ const whitelist= {
|
|
|
3848
3848
|
})
|
|
3849
3849
|
,
|
|
3850
3850
|
// === functors[15] ===
|
|
3851
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let defineProperty,objectHasOwnProperty,entries,makeEvalFunction,makeFunctionConstructor,constantProperties,universalPropertyNames;$h_imports([["./commons.js", [["defineProperty", [$h_a => (defineProperty = $h_a)]],["objectHasOwnProperty", [$h_a => (objectHasOwnProperty = $h_a)]],["entries", [$h_a => (entries = $h_a)]]]],["./make-eval-function.js", [["makeEvalFunction", [$h_a => (makeEvalFunction = $h_a)]]]],["./make-function-constructor.js", [["makeFunctionConstructor", [$h_a => (makeFunctionConstructor = $h_a)]]]],["./whitelist.js", [["constantProperties", [$h_a => (constantProperties = $h_a)]],["universalPropertyNames", [$h_a => (universalPropertyNames = $h_a)]]]]]);
|
|
3851
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let defineProperty,objectHasOwnProperty,entries,makeEvalFunction,makeFunctionConstructor,constantProperties,universalPropertyNames;$h_imports([["./commons.js", [["defineProperty", [$h_a => (defineProperty = $h_a)]],["objectHasOwnProperty", [$h_a => (objectHasOwnProperty = $h_a)]],["entries", [$h_a => (entries = $h_a)]]]],["./make-eval-function.js", [["makeEvalFunction", [$h_a => (makeEvalFunction = $h_a)]]]],["./make-function-constructor.js", [["makeFunctionConstructor", [$h_a => (makeFunctionConstructor = $h_a)]]]],["./whitelist.js", [["constantProperties", [$h_a => (constantProperties = $h_a)]],["universalPropertyNames", [$h_a => (universalPropertyNames = $h_a)]]]]]);
|
|
3852
3852
|
|
|
3853
3853
|
|
|
3854
3854
|
|
|
@@ -3979,7 +3979,7 @@ const setGlobalObjectEvaluators= (
|
|
|
3979
3979
|
})
|
|
3980
3980
|
,
|
|
3981
3981
|
// === functors[16] ===
|
|
3982
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let ReferenceError,TypeError,Map,Set,arrayJoin,arrayMap,arrayPush,create,freeze,mapGet,mapHas,mapSet,setAdd,promiseCatch,promiseThen,values,weakmapGet,assert;$h_imports([["./commons.js", [["ReferenceError", [$h_a => (ReferenceError = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["Map", [$h_a => (Map = $h_a)]],["Set", [$h_a => (Set = $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)]],["mapGet", [$h_a => (mapGet = $h_a)]],["mapHas", [$h_a => (mapHas = $h_a)]],["mapSet", [$h_a => (mapSet = $h_a)]],["setAdd", [$h_a => (setAdd = $h_a)]],["promiseCatch", [$h_a => (promiseCatch = $h_a)]],["promiseThen", [$h_a => (promiseThen = $h_a)]],["values", [$h_a => (values = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
3982
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let ReferenceError,TypeError,Map,Set,arrayJoin,arrayMap,arrayPush,create,freeze,mapGet,mapHas,mapSet,setAdd,promiseCatch,promiseThen,values,weakmapGet,assert;$h_imports([["./commons.js", [["ReferenceError", [$h_a => (ReferenceError = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["Map", [$h_a => (Map = $h_a)]],["Set", [$h_a => (Set = $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)]],["mapGet", [$h_a => (mapGet = $h_a)]],["mapHas", [$h_a => (mapHas = $h_a)]],["mapSet", [$h_a => (mapSet = $h_a)]],["setAdd", [$h_a => (setAdd = $h_a)]],["promiseCatch", [$h_a => (promiseCatch = $h_a)]],["promiseThen", [$h_a => (promiseThen = $h_a)]],["values", [$h_a => (values = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
3983
3983
|
|
|
3984
3984
|
|
|
3985
3985
|
|
|
@@ -4043,7 +4043,8 @@ const loadRecord= async(
|
|
|
4043
4043
|
staticModuleRecord,
|
|
4044
4044
|
pendingJobs,
|
|
4045
4045
|
moduleLoads,
|
|
4046
|
-
errors
|
|
4046
|
+
errors,
|
|
4047
|
+
importMeta)=>
|
|
4047
4048
|
{
|
|
4048
4049
|
const { resolveHook, moduleRecords}= weakmapGet(
|
|
4049
4050
|
compartmentPrivateFields,
|
|
@@ -4060,7 +4061,8 @@ const loadRecord= async(
|
|
|
4060
4061
|
compartment,
|
|
4061
4062
|
staticModuleRecord,
|
|
4062
4063
|
moduleSpecifier,
|
|
4063
|
-
resolvedImports
|
|
4064
|
+
resolvedImports,
|
|
4065
|
+
importMeta});
|
|
4064
4066
|
|
|
4065
4067
|
|
|
4066
4068
|
// Enqueue jobs to load this module's shallow dependencies.
|
|
@@ -4161,7 +4163,8 @@ const loadWithoutErrorAnnotation= async(
|
|
|
4161
4163
|
const {
|
|
4162
4164
|
compartment: aliasCompartment= compartment,
|
|
4163
4165
|
specifier: aliasSpecifier= moduleSpecifier,
|
|
4164
|
-
record: aliasModuleRecord
|
|
4166
|
+
record: aliasModuleRecord,
|
|
4167
|
+
importMeta}=
|
|
4165
4168
|
staticModuleRecord;
|
|
4166
4169
|
|
|
4167
4170
|
const aliasRecord= await loadRecord(
|
|
@@ -4172,7 +4175,8 @@ const loadWithoutErrorAnnotation= async(
|
|
|
4172
4175
|
aliasModuleRecord,
|
|
4173
4176
|
pendingJobs,
|
|
4174
4177
|
moduleLoads,
|
|
4175
|
-
errors
|
|
4178
|
+
errors,
|
|
4179
|
+
importMeta);
|
|
4176
4180
|
|
|
4177
4181
|
mapSet(moduleRecords, moduleSpecifier, aliasRecord);
|
|
4178
4182
|
return aliasRecord;
|
|
@@ -4307,7 +4311,7 @@ const load= async(
|
|
|
4307
4311
|
})
|
|
4308
4312
|
,
|
|
4309
4313
|
// === functors[17] ===
|
|
4310
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let makeAlias,Proxy,TypeError,create,freeze,mapGet,mapHas,mapSet,ownKeys,reflectGet,reflectGetOwnPropertyDescriptor,reflectHas,reflectIsExtensible,reflectPreventExtensions,weakmapSet,assert;$h_imports([["./module-load.js", [["makeAlias", [$h_a => (makeAlias = $h_a)]]]],["./commons.js", [["Proxy", [$h_a => (Proxy = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["create", [$h_a => (create = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["mapGet", [$h_a => (mapGet = $h_a)]],["mapHas", [$h_a => (mapHas = $h_a)]],["mapSet", [$h_a => (mapSet = $h_a)]],["ownKeys", [$h_a => (ownKeys = $h_a)]],["reflectGet", [$h_a => (reflectGet = $h_a)]],["reflectGetOwnPropertyDescriptor", [$h_a => (reflectGetOwnPropertyDescriptor = $h_a)]],["reflectHas", [$h_a => (reflectHas = $h_a)]],["reflectIsExtensible", [$h_a => (reflectIsExtensible = $h_a)]],["reflectPreventExtensions", [$h_a => (reflectPreventExtensions = $h_a)]],["weakmapSet", [$h_a => (weakmapSet = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
4314
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let makeAlias,Proxy,TypeError,create,freeze,mapGet,mapHas,mapSet,ownKeys,reflectGet,reflectGetOwnPropertyDescriptor,reflectHas,reflectIsExtensible,reflectPreventExtensions,weakmapSet,assert;$h_imports([["./module-load.js", [["makeAlias", [$h_a => (makeAlias = $h_a)]]]],["./commons.js", [["Proxy", [$h_a => (Proxy = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["create", [$h_a => (create = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["mapGet", [$h_a => (mapGet = $h_a)]],["mapHas", [$h_a => (mapHas = $h_a)]],["mapSet", [$h_a => (mapSet = $h_a)]],["ownKeys", [$h_a => (ownKeys = $h_a)]],["reflectGet", [$h_a => (reflectGet = $h_a)]],["reflectGetOwnPropertyDescriptor", [$h_a => (reflectGetOwnPropertyDescriptor = $h_a)]],["reflectHas", [$h_a => (reflectHas = $h_a)]],["reflectIsExtensible", [$h_a => (reflectIsExtensible = $h_a)]],["reflectPreventExtensions", [$h_a => (reflectPreventExtensions = $h_a)]],["weakmapSet", [$h_a => (weakmapSet = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
4311
4315
|
|
|
4312
4316
|
|
|
4313
4317
|
|
|
@@ -4482,7 +4486,8 @@ $h_once.deferExports(deferExports);const getDeferredExports=(
|
|
|
4482
4486
|
})
|
|
4483
4487
|
,
|
|
4484
4488
|
// === functors[18] ===
|
|
4485
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let assert,getDeferredExports,ReferenceError,SyntaxError,TypeError,arrayForEach,arrayIncludes,arrayPush,arraySome,arraySort,create,defineProperty,entries,freeze,isArray,keys,mapGet,weakmapGet,reflectHas,compartmentEvaluate;$h_imports([["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]],["./module-proxy.js", [["getDeferredExports", [$h_a => (getDeferredExports = $h_a)]]]],["./commons.js", [["ReferenceError", [$h_a => (ReferenceError = $h_a)]],["SyntaxError", [$h_a => (SyntaxError = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["arrayForEach", [$h_a => (arrayForEach = $h_a)]],["arrayIncludes", [$h_a => (arrayIncludes = $h_a)]],["arrayPush", [$h_a => (arrayPush = $h_a)]],["arraySome", [$h_a => (arraySome = $h_a)]],["arraySort", [$h_a => (arraySort = $h_a)]],["create", [$h_a => (create = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]],["entries", [$h_a => (entries = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["isArray", [$h_a => (isArray = $h_a)]],["keys", [$h_a => (keys = $h_a)]],["mapGet", [$h_a => (mapGet = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["reflectHas", [$h_a => (reflectHas = $h_a)]]]],["./compartment-evaluate.js", [["compartmentEvaluate", [$h_a => (compartmentEvaluate = $h_a)]]]]]);
|
|
4489
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let assert,getDeferredExports,ReferenceError,SyntaxError,TypeError,arrayForEach,arrayIncludes,arrayPush,arraySome,arraySort,create,defineProperty,entries,freeze,isArray,keys,mapGet,weakmapGet,reflectHas,assign,compartmentEvaluate;$h_imports([["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]],["./module-proxy.js", [["getDeferredExports", [$h_a => (getDeferredExports = $h_a)]]]],["./commons.js", [["ReferenceError", [$h_a => (ReferenceError = $h_a)]],["SyntaxError", [$h_a => (SyntaxError = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["arrayForEach", [$h_a => (arrayForEach = $h_a)]],["arrayIncludes", [$h_a => (arrayIncludes = $h_a)]],["arrayPush", [$h_a => (arrayPush = $h_a)]],["arraySome", [$h_a => (arraySome = $h_a)]],["arraySort", [$h_a => (arraySort = $h_a)]],["create", [$h_a => (create = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]],["entries", [$h_a => (entries = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["isArray", [$h_a => (isArray = $h_a)]],["keys", [$h_a => (keys = $h_a)]],["mapGet", [$h_a => (mapGet = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["reflectHas", [$h_a => (reflectHas = $h_a)]],["assign", [$h_a => (assign = $h_a)]]]],["./compartment-evaluate.js", [["compartmentEvaluate", [$h_a => (compartmentEvaluate = $h_a)]]]]]);
|
|
4490
|
+
|
|
4486
4491
|
|
|
4487
4492
|
|
|
4488
4493
|
|
|
@@ -4606,17 +4611,23 @@ $h_once.makeThirdPartyModuleInstance(makeThirdPartyModuleInstance);const make
|
|
|
4606
4611
|
moduleRecord,
|
|
4607
4612
|
importedInstances)=>
|
|
4608
4613
|
{
|
|
4609
|
-
const {
|
|
4614
|
+
const {
|
|
4615
|
+
compartment,
|
|
4616
|
+
moduleSpecifier,
|
|
4617
|
+
staticModuleRecord,
|
|
4618
|
+
importMeta: moduleRecordMeta}=
|
|
4619
|
+
moduleRecord;
|
|
4610
4620
|
const {
|
|
4611
4621
|
reexports: exportAlls= [],
|
|
4612
4622
|
__syncModuleProgram__: functorSource,
|
|
4613
4623
|
__fixedExportMap__: fixedExportMap= {},
|
|
4614
|
-
__liveExportMap__: liveExportMap= {}
|
|
4624
|
+
__liveExportMap__: liveExportMap= {},
|
|
4625
|
+
__needsImportMeta__: needsImportMeta= false}=
|
|
4615
4626
|
staticModuleRecord;
|
|
4616
4627
|
|
|
4617
4628
|
const compartmentFields= weakmapGet(privateFields, compartment);
|
|
4618
4629
|
|
|
4619
|
-
const { __shimTransforms__}= compartmentFields;
|
|
4630
|
+
const { __shimTransforms__, importMetaHook}= compartmentFields;
|
|
4620
4631
|
|
|
4621
4632
|
const { exportsProxy, proxiedExports, activate}= getDeferredExports(
|
|
4622
4633
|
compartment,
|
|
@@ -4642,6 +4653,14 @@ $h_once.makeThirdPartyModuleInstance(makeThirdPartyModuleInstance);const make
|
|
|
4642
4653
|
// both initialize and update live bindings.
|
|
4643
4654
|
const liveVar= create(null);
|
|
4644
4655
|
|
|
4656
|
+
const importMeta= create(null);
|
|
4657
|
+
if( moduleRecordMeta) {
|
|
4658
|
+
assign(importMeta, moduleRecordMeta);
|
|
4659
|
+
}
|
|
4660
|
+
if( needsImportMeta&& importMetaHook) {
|
|
4661
|
+
importMetaHook(moduleSpecifier, importMeta);
|
|
4662
|
+
}
|
|
4663
|
+
|
|
4645
4664
|
// {_localName_: [{get, set, notify}]} used to merge all the export updaters.
|
|
4646
4665
|
const localGetNotify= create(null);
|
|
4647
4666
|
|
|
@@ -4921,7 +4940,8 @@ $h_once.makeThirdPartyModuleInstance(makeThirdPartyModuleInstance);const make
|
|
|
4921
4940
|
freeze({
|
|
4922
4941
|
imports: freeze(imports),
|
|
4923
4942
|
onceVar: freeze(onceVar),
|
|
4924
|
-
liveVar: freeze(liveVar)
|
|
4943
|
+
liveVar: freeze(liveVar),
|
|
4944
|
+
importMeta}));
|
|
4925
4945
|
|
|
4926
4946
|
|
|
4927
4947
|
}catch( e) {
|
|
@@ -4944,7 +4964,7 @@ $h_once.makeThirdPartyModuleInstance(makeThirdPartyModuleInstance);const make
|
|
|
4944
4964
|
})
|
|
4945
4965
|
,
|
|
4946
4966
|
// === functors[19] ===
|
|
4947
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let assert,makeModuleInstance,makeThirdPartyModuleInstance,Map,ReferenceError,TypeError,entries,isArray,isObject,mapGet,mapHas,mapSet,weakmapGet;$h_imports([["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]],["./module-instance.js", [["makeModuleInstance", [$h_a => (makeModuleInstance = $h_a)]],["makeThirdPartyModuleInstance", [$h_a => (makeThirdPartyModuleInstance = $h_a)]]]],["./commons.js", [["Map", [$h_a => (Map = $h_a)]],["ReferenceError", [$h_a => (ReferenceError = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["entries", [$h_a => (entries = $h_a)]],["isArray", [$h_a => (isArray = $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)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]]]]]);
|
|
4967
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let assert,makeModuleInstance,makeThirdPartyModuleInstance,Map,ReferenceError,TypeError,entries,isArray,isObject,mapGet,mapHas,mapSet,weakmapGet;$h_imports([["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]],["./module-instance.js", [["makeModuleInstance", [$h_a => (makeModuleInstance = $h_a)]],["makeThirdPartyModuleInstance", [$h_a => (makeThirdPartyModuleInstance = $h_a)]]]],["./commons.js", [["Map", [$h_a => (Map = $h_a)]],["ReferenceError", [$h_a => (ReferenceError = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["entries", [$h_a => (entries = $h_a)]],["isArray", [$h_a => (isArray = $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)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]]]]]);
|
|
4948
4968
|
|
|
4949
4969
|
|
|
4950
4970
|
|
|
@@ -5142,7 +5162,7 @@ const instantiate= (
|
|
|
5142
5162
|
})
|
|
5143
5163
|
,
|
|
5144
5164
|
// === functors[20] ===
|
|
5145
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let Map,ReferenceError,TypeError,WeakMap,WeakSet,arrayFilter,arrayJoin,assign,defineProperties,entries,freeze,getOwnPropertyNames,promiseThen,weakmapGet,weakmapSet,weaksetHas,setGlobalObjectConstantProperties,setGlobalObjectMutableProperties,setGlobalObjectEvaluators,isValidIdentifierName,sharedGlobalPropertyNames,load,link,getDeferredExports,assert,compartmentEvaluate,makeSafeEvaluator;$h_imports([["./commons.js", [["Map", [$h_a => (Map = $h_a)]],["ReferenceError", [$h_a => (ReferenceError = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["WeakMap", [$h_a => (WeakMap = $h_a)]],["WeakSet", [$h_a => (WeakSet = $h_a)]],["arrayFilter", [$h_a => (arrayFilter = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["assign", [$h_a => (assign = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]],["entries", [$h_a => (entries = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["getOwnPropertyNames", [$h_a => (getOwnPropertyNames = $h_a)]],["promiseThen", [$h_a => (promiseThen = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["weakmapSet", [$h_a => (weakmapSet = $h_a)]],["weaksetHas", [$h_a => (weaksetHas = $h_a)]]]],["./global-object.js", [["setGlobalObjectConstantProperties", [$h_a => (setGlobalObjectConstantProperties = $h_a)]],["setGlobalObjectMutableProperties", [$h_a => (setGlobalObjectMutableProperties = $h_a)]],["setGlobalObjectEvaluators", [$h_a => (setGlobalObjectEvaluators = $h_a)]]]],["./scope-constants.js", [["isValidIdentifierName", [$h_a => (isValidIdentifierName = $h_a)]]]],["./whitelist.js", [["sharedGlobalPropertyNames", [$h_a => (sharedGlobalPropertyNames = $h_a)]]]],["./module-load.js", [["load", [$h_a => (load = $h_a)]]]],["./module-link.js", [["link", [$h_a => (link = $h_a)]]]],["./module-proxy.js", [["getDeferredExports", [$h_a => (getDeferredExports = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]],["./compartment-evaluate.js", [["compartmentEvaluate", [$h_a => (compartmentEvaluate = $h_a)]]]],["./make-safe-evaluator.js", [["makeSafeEvaluator", [$h_a => (makeSafeEvaluator = $h_a)]]]]]);
|
|
5165
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let Map,ReferenceError,TypeError,WeakMap,WeakSet,arrayFilter,arrayJoin,assign,defineProperties,entries,freeze,getOwnPropertyNames,promiseThen,weakmapGet,weakmapSet,weaksetHas,setGlobalObjectConstantProperties,setGlobalObjectMutableProperties,setGlobalObjectEvaluators,isValidIdentifierName,sharedGlobalPropertyNames,load,link,getDeferredExports,assert,compartmentEvaluate,makeSafeEvaluator;$h_imports([["./commons.js", [["Map", [$h_a => (Map = $h_a)]],["ReferenceError", [$h_a => (ReferenceError = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["WeakMap", [$h_a => (WeakMap = $h_a)]],["WeakSet", [$h_a => (WeakSet = $h_a)]],["arrayFilter", [$h_a => (arrayFilter = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["assign", [$h_a => (assign = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]],["entries", [$h_a => (entries = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["getOwnPropertyNames", [$h_a => (getOwnPropertyNames = $h_a)]],["promiseThen", [$h_a => (promiseThen = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["weakmapSet", [$h_a => (weakmapSet = $h_a)]],["weaksetHas", [$h_a => (weaksetHas = $h_a)]]]],["./global-object.js", [["setGlobalObjectConstantProperties", [$h_a => (setGlobalObjectConstantProperties = $h_a)]],["setGlobalObjectMutableProperties", [$h_a => (setGlobalObjectMutableProperties = $h_a)]],["setGlobalObjectEvaluators", [$h_a => (setGlobalObjectEvaluators = $h_a)]]]],["./scope-constants.js", [["isValidIdentifierName", [$h_a => (isValidIdentifierName = $h_a)]]]],["./whitelist.js", [["sharedGlobalPropertyNames", [$h_a => (sharedGlobalPropertyNames = $h_a)]]]],["./module-load.js", [["load", [$h_a => (load = $h_a)]]]],["./module-link.js", [["link", [$h_a => (link = $h_a)]]]],["./module-proxy.js", [["getDeferredExports", [$h_a => (getDeferredExports = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]],["./compartment-evaluate.js", [["compartmentEvaluate", [$h_a => (compartmentEvaluate = $h_a)]]]],["./make-safe-evaluator.js", [["makeSafeEvaluator", [$h_a => (makeSafeEvaluator = $h_a)]]]]]);
|
|
5146
5166
|
|
|
5147
5167
|
|
|
5148
5168
|
|
|
@@ -5358,7 +5378,8 @@ const makeCompartmentConstructor= (
|
|
|
5358
5378
|
globalLexicals: globalLexicalsOption= {},
|
|
5359
5379
|
resolveHook,
|
|
5360
5380
|
importHook,
|
|
5361
|
-
moduleMapHook
|
|
5381
|
+
moduleMapHook,
|
|
5382
|
+
importMetaHook}=
|
|
5362
5383
|
options;
|
|
5363
5384
|
const globalTransforms= [...transforms, ...__shimTransforms__];
|
|
5364
5385
|
|
|
@@ -5460,6 +5481,7 @@ const makeCompartmentConstructor= (
|
|
|
5460
5481
|
importHook,
|
|
5461
5482
|
moduleMap,
|
|
5462
5483
|
moduleMapHook,
|
|
5484
|
+
importMetaHook,
|
|
5463
5485
|
moduleRecords,
|
|
5464
5486
|
__shimTransforms__,
|
|
5465
5487
|
deferredExports,
|
|
@@ -5474,7 +5496,7 @@ const makeCompartmentConstructor= (
|
|
|
5474
5496
|
})
|
|
5475
5497
|
,
|
|
5476
5498
|
// === functors[21] ===
|
|
5477
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let TypeError,WeakSet,arrayFilter,defineProperty,entries,freeze,getOwnPropertyDescriptor,getOwnPropertyDescriptors,globalThis,is,isObject,objectHasOwnProperty,values,weaksetHas,constantProperties,sharedGlobalPropertyNames,universalPropertyNames,whitelist;$h_imports([["./commons.js", [["TypeError", [$h_a => (TypeError = $h_a)]],["WeakSet", [$h_a => (WeakSet = $h_a)]],["arrayFilter", [$h_a => (arrayFilter = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]],["entries", [$h_a => (entries = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["getOwnPropertyDescriptors", [$h_a => (getOwnPropertyDescriptors = $h_a)]],["globalThis", [$h_a => (globalThis = $h_a)]],["is", [$h_a => (is = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["objectHasOwnProperty", [$h_a => (objectHasOwnProperty = $h_a)]],["values", [$h_a => (values = $h_a)]],["weaksetHas", [$h_a => (weaksetHas = $h_a)]]]],["./whitelist.js", [["constantProperties", [$h_a => (constantProperties = $h_a)]],["sharedGlobalPropertyNames", [$h_a => (sharedGlobalPropertyNames = $h_a)]],["universalPropertyNames", [$h_a => (universalPropertyNames = $h_a)]],["whitelist", [$h_a => (whitelist = $h_a)]]]]]);
|
|
5499
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let TypeError,WeakSet,arrayFilter,defineProperty,entries,freeze,getOwnPropertyDescriptor,getOwnPropertyDescriptors,globalThis,is,isObject,objectHasOwnProperty,values,weaksetHas,constantProperties,sharedGlobalPropertyNames,universalPropertyNames,whitelist;$h_imports([["./commons.js", [["TypeError", [$h_a => (TypeError = $h_a)]],["WeakSet", [$h_a => (WeakSet = $h_a)]],["arrayFilter", [$h_a => (arrayFilter = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]],["entries", [$h_a => (entries = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["getOwnPropertyDescriptors", [$h_a => (getOwnPropertyDescriptors = $h_a)]],["globalThis", [$h_a => (globalThis = $h_a)]],["is", [$h_a => (is = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["objectHasOwnProperty", [$h_a => (objectHasOwnProperty = $h_a)]],["values", [$h_a => (values = $h_a)]],["weaksetHas", [$h_a => (weaksetHas = $h_a)]]]],["./whitelist.js", [["constantProperties", [$h_a => (constantProperties = $h_a)]],["sharedGlobalPropertyNames", [$h_a => (sharedGlobalPropertyNames = $h_a)]],["universalPropertyNames", [$h_a => (universalPropertyNames = $h_a)]],["whitelist", [$h_a => (whitelist = $h_a)]]]]]);
|
|
5478
5500
|
|
|
5479
5501
|
|
|
5480
5502
|
|
|
@@ -5648,7 +5670,7 @@ const getGlobalIntrinsics= (globalObject)=>{
|
|
|
5648
5670
|
})
|
|
5649
5671
|
,
|
|
5650
5672
|
// === functors[22] ===
|
|
5651
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { $h_imports([]); /**
|
|
5673
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { $h_imports([]); /**
|
|
5652
5674
|
* @file Exports {@code enablements}, a recursively defined
|
|
5653
5675
|
* JSON record defining the optimum set of intrinsics properties
|
|
5654
5676
|
* that need to be "repaired" before hardening is applied on
|
|
@@ -5854,7 +5876,7 @@ const severeEnablements= {
|
|
|
5854
5876
|
})
|
|
5855
5877
|
,
|
|
5856
5878
|
// === functors[23] ===
|
|
5857
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let Set,String,TypeError,arrayForEach,defineProperty,getOwnPropertyDescriptor,getOwnPropertyDescriptors,getOwnPropertyNames,isObject,objectHasOwnProperty,ownKeys,setHas,minEnablements,moderateEnablements,severeEnablements;$h_imports([["./commons.js", [["Set", [$h_a => (Set = $h_a)]],["String", [$h_a => (String = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["arrayForEach", [$h_a => (arrayForEach = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["getOwnPropertyDescriptors", [$h_a => (getOwnPropertyDescriptors = $h_a)]],["getOwnPropertyNames", [$h_a => (getOwnPropertyNames = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["objectHasOwnProperty", [$h_a => (objectHasOwnProperty = $h_a)]],["ownKeys", [$h_a => (ownKeys = $h_a)]],["setHas", [$h_a => (setHas = $h_a)]]]],["./enablements.js", [["minEnablements", [$h_a => (minEnablements = $h_a)]],["moderateEnablements", [$h_a => (moderateEnablements = $h_a)]],["severeEnablements", [$h_a => (severeEnablements = $h_a)]]]]]);
|
|
5879
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let Set,String,TypeError,arrayForEach,defineProperty,getOwnPropertyDescriptor,getOwnPropertyDescriptors,getOwnPropertyNames,isObject,objectHasOwnProperty,ownKeys,setHas,minEnablements,moderateEnablements,severeEnablements;$h_imports([["./commons.js", [["Set", [$h_a => (Set = $h_a)]],["String", [$h_a => (String = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["arrayForEach", [$h_a => (arrayForEach = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["getOwnPropertyDescriptors", [$h_a => (getOwnPropertyDescriptors = $h_a)]],["getOwnPropertyNames", [$h_a => (getOwnPropertyNames = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["objectHasOwnProperty", [$h_a => (objectHasOwnProperty = $h_a)]],["ownKeys", [$h_a => (ownKeys = $h_a)]],["setHas", [$h_a => (setHas = $h_a)]]]],["./enablements.js", [["minEnablements", [$h_a => (minEnablements = $h_a)]],["moderateEnablements", [$h_a => (moderateEnablements = $h_a)]],["severeEnablements", [$h_a => (severeEnablements = $h_a)]]]]]);
|
|
5858
5880
|
|
|
5859
5881
|
|
|
5860
5882
|
|
|
@@ -6061,7 +6083,7 @@ function enablePropertyOverrides(
|
|
|
6061
6083
|
})
|
|
6062
6084
|
,
|
|
6063
6085
|
// === functors[24] ===
|
|
6064
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let arrayPush,arraySlice,freeze,assert;$h_imports([["./commons.js", [["arrayPush", [$h_a => (arrayPush = $h_a)]],["arraySlice", [$h_a => (arraySlice = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
6086
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let arrayPush,arraySlice,freeze,assert;$h_imports([["./commons.js", [["arrayPush", [$h_a => (arrayPush = $h_a)]],["arraySlice", [$h_a => (arraySlice = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
6065
6087
|
|
|
6066
6088
|
|
|
6067
6089
|
|
|
@@ -6189,7 +6211,7 @@ freeze(makeEnvironmentCaptor);
|
|
|
6189
6211
|
})
|
|
6190
6212
|
,
|
|
6191
6213
|
// === functors[25] ===
|
|
6192
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let WeakSet,arrayFilter,arrayMap,arrayPush,defineProperty,freeze,fromEntries,isError,stringEndsWith,weaksetAdd,weaksetHas;$h_imports([["../commons.js", [["WeakSet", [$h_a => (WeakSet = $h_a)]],["arrayFilter", [$h_a => (arrayFilter = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["arrayPush", [$h_a => (arrayPush = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["fromEntries", [$h_a => (fromEntries = $h_a)]],["isError", [$h_a => (isError = $h_a)]],["stringEndsWith", [$h_a => (stringEndsWith = $h_a)]],["weaksetAdd", [$h_a => (weaksetAdd = $h_a)]],["weaksetHas", [$h_a => (weaksetHas = $h_a)]]]],["./types.js", []],["./internal-types.js", []]]);
|
|
6214
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let WeakSet,arrayFilter,arrayMap,arrayPush,defineProperty,freeze,fromEntries,isError,stringEndsWith,weaksetAdd,weaksetHas;$h_imports([["../commons.js", [["WeakSet", [$h_a => (WeakSet = $h_a)]],["arrayFilter", [$h_a => (arrayFilter = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["arrayPush", [$h_a => (arrayPush = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["fromEntries", [$h_a => (fromEntries = $h_a)]],["isError", [$h_a => (isError = $h_a)]],["stringEndsWith", [$h_a => (stringEndsWith = $h_a)]],["weaksetAdd", [$h_a => (weaksetAdd = $h_a)]],["weaksetHas", [$h_a => (weaksetHas = $h_a)]]]],["./types.js", []],["./internal-types.js", []]]);
|
|
6193
6215
|
|
|
6194
6216
|
|
|
6195
6217
|
|
|
@@ -6575,7 +6597,7 @@ freeze(filterConsole);
|
|
|
6575
6597
|
})
|
|
6576
6598
|
,
|
|
6577
6599
|
// === functors[26] ===
|
|
6578
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let FinalizationRegistry,Map,mapGet,mapDelete,WeakMap,mapSet,finalizationRegistryRegister,weakmapSet,weakmapGet,mapEntries,mapHas;$h_imports([["../commons.js", [["FinalizationRegistry", [$h_a => (FinalizationRegistry = $h_a)]],["Map", [$h_a => (Map = $h_a)]],["mapGet", [$h_a => (mapGet = $h_a)]],["mapDelete", [$h_a => (mapDelete = $h_a)]],["WeakMap", [$h_a => (WeakMap = $h_a)]],["mapSet", [$h_a => (mapSet = $h_a)]],["finalizationRegistryRegister", [$h_a => (finalizationRegistryRegister = $h_a)]],["weakmapSet", [$h_a => (weakmapSet = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["mapEntries", [$h_a => (mapEntries = $h_a)]],["mapHas", [$h_a => (mapHas = $h_a)]]]]]);
|
|
6600
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let FinalizationRegistry,Map,mapGet,mapDelete,WeakMap,mapSet,finalizationRegistryRegister,weakmapSet,weakmapGet,mapEntries,mapHas;$h_imports([["../commons.js", [["FinalizationRegistry", [$h_a => (FinalizationRegistry = $h_a)]],["Map", [$h_a => (Map = $h_a)]],["mapGet", [$h_a => (mapGet = $h_a)]],["mapDelete", [$h_a => (mapDelete = $h_a)]],["WeakMap", [$h_a => (WeakMap = $h_a)]],["mapSet", [$h_a => (mapSet = $h_a)]],["finalizationRegistryRegister", [$h_a => (finalizationRegistryRegister = $h_a)]],["weakmapSet", [$h_a => (weakmapSet = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["mapEntries", [$h_a => (mapEntries = $h_a)]],["mapHas", [$h_a => (mapHas = $h_a)]]]]]);
|
|
6579
6601
|
|
|
6580
6602
|
|
|
6581
6603
|
|
|
@@ -6700,7 +6722,7 @@ const makeRejectionHandlers= (reportReason)=>{
|
|
|
6700
6722
|
})
|
|
6701
6723
|
,
|
|
6702
6724
|
// === functors[27] ===
|
|
6703
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let TypeError,globalThis,defaultHandler,makeCausalConsole,makeRejectionHandlers;$h_imports([["../commons.js", [["TypeError", [$h_a => (TypeError = $h_a)]],["globalThis", [$h_a => (globalThis = $h_a)]]]],["./assert.js", [["loggedErrorHandler", [$h_a => (defaultHandler = $h_a)]]]],["./console.js", [["makeCausalConsole", [$h_a => (makeCausalConsole = $h_a)]]]],["./unhandled-rejection.js", [["makeRejectionHandlers", [$h_a => (makeRejectionHandlers = $h_a)]]]],["./types.js", []],["./internal-types.js", []]]);
|
|
6725
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let TypeError,globalThis,defaultHandler,makeCausalConsole,makeRejectionHandlers;$h_imports([["../commons.js", [["TypeError", [$h_a => (TypeError = $h_a)]],["globalThis", [$h_a => (globalThis = $h_a)]]]],["./assert.js", [["loggedErrorHandler", [$h_a => (defaultHandler = $h_a)]]]],["./console.js", [["makeCausalConsole", [$h_a => (makeCausalConsole = $h_a)]]]],["./unhandled-rejection.js", [["makeRejectionHandlers", [$h_a => (makeRejectionHandlers = $h_a)]]]],["./types.js", []],["./internal-types.js", []]]);
|
|
6704
6726
|
|
|
6705
6727
|
|
|
6706
6728
|
|
|
@@ -6843,7 +6865,7 @@ const tameConsole= (
|
|
|
6843
6865
|
})
|
|
6844
6866
|
,
|
|
6845
6867
|
// === functors[28] ===
|
|
6846
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let WeakMap,WeakSet,apply,arrayFilter,arrayJoin,arrayMap,arraySlice,create,defineProperties,fromEntries,reflectSet,regexpExec,regexpTest,weakmapGet,weakmapHas,weakmapSet,weaksetAdd,weaksetHas;$h_imports([["../commons.js", [["WeakMap", [$h_a => (WeakMap = $h_a)]],["WeakSet", [$h_a => (WeakSet = $h_a)]],["apply", [$h_a => (apply = $h_a)]],["arrayFilter", [$h_a => (arrayFilter = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["arraySlice", [$h_a => (arraySlice = $h_a)]],["create", [$h_a => (create = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]],["fromEntries", [$h_a => (fromEntries = $h_a)]],["reflectSet", [$h_a => (reflectSet = $h_a)]],["regexpExec", [$h_a => (regexpExec = $h_a)]],["regexpTest", [$h_a => (regexpTest = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["weakmapHas", [$h_a => (weakmapHas = $h_a)]],["weakmapSet", [$h_a => (weakmapSet = $h_a)]],["weaksetAdd", [$h_a => (weaksetAdd = $h_a)]],["weaksetHas", [$h_a => (weaksetHas = $h_a)]]]]]);
|
|
6868
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let WeakMap,WeakSet,apply,arrayFilter,arrayJoin,arrayMap,arraySlice,create,defineProperties,fromEntries,reflectSet,regexpExec,regexpTest,weakmapGet,weakmapHas,weakmapSet,weaksetAdd,weaksetHas;$h_imports([["../commons.js", [["WeakMap", [$h_a => (WeakMap = $h_a)]],["WeakSet", [$h_a => (WeakSet = $h_a)]],["apply", [$h_a => (apply = $h_a)]],["arrayFilter", [$h_a => (arrayFilter = $h_a)]],["arrayJoin", [$h_a => (arrayJoin = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["arraySlice", [$h_a => (arraySlice = $h_a)]],["create", [$h_a => (create = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]],["fromEntries", [$h_a => (fromEntries = $h_a)]],["reflectSet", [$h_a => (reflectSet = $h_a)]],["regexpExec", [$h_a => (regexpExec = $h_a)]],["regexpTest", [$h_a => (regexpTest = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["weakmapHas", [$h_a => (weakmapHas = $h_a)]],["weakmapSet", [$h_a => (weakmapSet = $h_a)]],["weaksetAdd", [$h_a => (weaksetAdd = $h_a)]],["weaksetHas", [$h_a => (weaksetHas = $h_a)]]]]]);
|
|
6847
6869
|
|
|
6848
6870
|
|
|
6849
6871
|
|
|
@@ -7149,7 +7171,7 @@ const tameV8ErrorConstructor= (
|
|
|
7149
7171
|
})
|
|
7150
7172
|
,
|
|
7151
7173
|
// === functors[29] ===
|
|
7152
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let FERAL_ERROR,TypeError,apply,construct,defineProperties,setPrototypeOf,getOwnPropertyDescriptor,NativeErrors,tameV8ErrorConstructor;$h_imports([["../commons.js", [["FERAL_ERROR", [$h_a => (FERAL_ERROR = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["apply", [$h_a => (apply = $h_a)]],["construct", [$h_a => (construct = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]],["setPrototypeOf", [$h_a => (setPrototypeOf = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]]]],["../whitelist.js", [["NativeErrors", [$h_a => (NativeErrors = $h_a)]]]],["./tame-v8-error-constructor.js", [["tameV8ErrorConstructor", [$h_a => (tameV8ErrorConstructor = $h_a)]]]]]);
|
|
7174
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let FERAL_ERROR,TypeError,apply,construct,defineProperties,setPrototypeOf,getOwnPropertyDescriptor,NativeErrors,tameV8ErrorConstructor;$h_imports([["../commons.js", [["FERAL_ERROR", [$h_a => (FERAL_ERROR = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["apply", [$h_a => (apply = $h_a)]],["construct", [$h_a => (construct = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]],["setPrototypeOf", [$h_a => (setPrototypeOf = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]]]],["../whitelist.js", [["NativeErrors", [$h_a => (NativeErrors = $h_a)]]]],["./tame-v8-error-constructor.js", [["tameV8ErrorConstructor", [$h_a => (tameV8ErrorConstructor = $h_a)]]]]]);
|
|
7153
7175
|
|
|
7154
7176
|
|
|
7155
7177
|
|
|
@@ -7369,7 +7391,7 @@ function tameErrorConstructor(
|
|
|
7369
7391
|
})
|
|
7370
7392
|
,
|
|
7371
7393
|
// === functors[30] ===
|
|
7372
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let FERAL_FUNCTION,Float32Array,Map,Set,String,getOwnPropertyDescriptor,getPrototypeOf,iterateArray,iterateMap,iterateSet,iterateString,matchAllRegExp,matchAllSymbol,regexpPrototype,InertCompartment;$h_imports([["./commons.js", [["FERAL_FUNCTION", [$h_a => (FERAL_FUNCTION = $h_a)]],["Float32Array", [$h_a => (Float32Array = $h_a)]],["Map", [$h_a => (Map = $h_a)]],["Set", [$h_a => (Set = $h_a)]],["String", [$h_a => (String = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["getPrototypeOf", [$h_a => (getPrototypeOf = $h_a)]],["iterateArray", [$h_a => (iterateArray = $h_a)]],["iterateMap", [$h_a => (iterateMap = $h_a)]],["iterateSet", [$h_a => (iterateSet = $h_a)]],["iterateString", [$h_a => (iterateString = $h_a)]],["matchAllRegExp", [$h_a => (matchAllRegExp = $h_a)]],["matchAllSymbol", [$h_a => (matchAllSymbol = $h_a)]],["regexpPrototype", [$h_a => (regexpPrototype = $h_a)]]]],["./compartment-shim.js", [["InertCompartment", [$h_a => (InertCompartment = $h_a)]]]]]);
|
|
7394
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let FERAL_FUNCTION,Float32Array,Map,Set,String,getOwnPropertyDescriptor,getPrototypeOf,iterateArray,iterateMap,iterateSet,iterateString,matchAllRegExp,matchAllSymbol,regexpPrototype,InertCompartment;$h_imports([["./commons.js", [["FERAL_FUNCTION", [$h_a => (FERAL_FUNCTION = $h_a)]],["Float32Array", [$h_a => (Float32Array = $h_a)]],["Map", [$h_a => (Map = $h_a)]],["Set", [$h_a => (Set = $h_a)]],["String", [$h_a => (String = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["getPrototypeOf", [$h_a => (getPrototypeOf = $h_a)]],["iterateArray", [$h_a => (iterateArray = $h_a)]],["iterateMap", [$h_a => (iterateMap = $h_a)]],["iterateSet", [$h_a => (iterateSet = $h_a)]],["iterateString", [$h_a => (iterateString = $h_a)]],["matchAllRegExp", [$h_a => (matchAllRegExp = $h_a)]],["matchAllSymbol", [$h_a => (matchAllSymbol = $h_a)]],["regexpPrototype", [$h_a => (regexpPrototype = $h_a)]]]],["./compartment-shim.js", [["InertCompartment", [$h_a => (InertCompartment = $h_a)]]]]]);
|
|
7373
7395
|
|
|
7374
7396
|
|
|
7375
7397
|
|
|
@@ -7510,7 +7532,7 @@ const getAnonymousIntrinsics= ()=> {
|
|
|
7510
7532
|
})
|
|
7511
7533
|
,
|
|
7512
7534
|
// === functors[31] ===
|
|
7513
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let Set,String,TypeError,WeakMap,WeakSet,apply,arrayForEach,defineProperty,freeze,getOwnPropertyDescriptor,getOwnPropertyDescriptors,getPrototypeOf,isInteger,isObject,objectHasOwnProperty,ownKeys,preventExtensions,setAdd,setForEach,setHas,toStringTagSymbol,typedArrayPrototype,weakmapGet,weakmapSet,weaksetAdd,weaksetHas,assert;$h_imports([["./commons.js", [["Set", [$h_a => (Set = $h_a)]],["String", [$h_a => (String = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["WeakMap", [$h_a => (WeakMap = $h_a)]],["WeakSet", [$h_a => (WeakSet = $h_a)]],["apply", [$h_a => (apply = $h_a)]],["arrayForEach", [$h_a => (arrayForEach = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["getOwnPropertyDescriptors", [$h_a => (getOwnPropertyDescriptors = $h_a)]],["getPrototypeOf", [$h_a => (getPrototypeOf = $h_a)]],["isInteger", [$h_a => (isInteger = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["objectHasOwnProperty", [$h_a => (objectHasOwnProperty = $h_a)]],["ownKeys", [$h_a => (ownKeys = $h_a)]],["preventExtensions", [$h_a => (preventExtensions = $h_a)]],["setAdd", [$h_a => (setAdd = $h_a)]],["setForEach", [$h_a => (setForEach = $h_a)]],["setHas", [$h_a => (setHas = $h_a)]],["toStringTagSymbol", [$h_a => (toStringTagSymbol = $h_a)]],["typedArrayPrototype", [$h_a => (typedArrayPrototype = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["weakmapSet", [$h_a => (weakmapSet = $h_a)]],["weaksetAdd", [$h_a => (weaksetAdd = $h_a)]],["weaksetHas", [$h_a => (weaksetHas = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
7535
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let Set,String,TypeError,WeakMap,WeakSet,apply,arrayForEach,defineProperty,freeze,getOwnPropertyDescriptor,getOwnPropertyDescriptors,getPrototypeOf,isInteger,isObject,objectHasOwnProperty,ownKeys,preventExtensions,setAdd,setForEach,setHas,toStringTagSymbol,typedArrayPrototype,weakmapGet,weakmapSet,weaksetAdd,weaksetHas,assert;$h_imports([["./commons.js", [["Set", [$h_a => (Set = $h_a)]],["String", [$h_a => (String = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["WeakMap", [$h_a => (WeakMap = $h_a)]],["WeakSet", [$h_a => (WeakSet = $h_a)]],["apply", [$h_a => (apply = $h_a)]],["arrayForEach", [$h_a => (arrayForEach = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["getOwnPropertyDescriptors", [$h_a => (getOwnPropertyDescriptors = $h_a)]],["getPrototypeOf", [$h_a => (getPrototypeOf = $h_a)]],["isInteger", [$h_a => (isInteger = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["objectHasOwnProperty", [$h_a => (objectHasOwnProperty = $h_a)]],["ownKeys", [$h_a => (ownKeys = $h_a)]],["preventExtensions", [$h_a => (preventExtensions = $h_a)]],["setAdd", [$h_a => (setAdd = $h_a)]],["setForEach", [$h_a => (setForEach = $h_a)]],["setHas", [$h_a => (setHas = $h_a)]],["toStringTagSymbol", [$h_a => (toStringTagSymbol = $h_a)]],["typedArrayPrototype", [$h_a => (typedArrayPrototype = $h_a)]],["weakmapGet", [$h_a => (weakmapGet = $h_a)]],["weakmapSet", [$h_a => (weakmapSet = $h_a)]],["weaksetAdd", [$h_a => (weaksetAdd = $h_a)]],["weaksetHas", [$h_a => (weaksetHas = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
7514
7536
|
|
|
7515
7537
|
|
|
7516
7538
|
|
|
@@ -7741,7 +7763,7 @@ const makeHardener= ()=> {
|
|
|
7741
7763
|
})
|
|
7742
7764
|
,
|
|
7743
7765
|
// === functors[32] ===
|
|
7744
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let Date,TypeError,apply,construct,defineProperties;$h_imports([["./commons.js", [["Date", [$h_a => (Date = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["apply", [$h_a => (apply = $h_a)]],["construct", [$h_a => (construct = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]]]]]);
|
|
7766
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let Date,TypeError,apply,construct,defineProperties;$h_imports([["./commons.js", [["Date", [$h_a => (Date = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["apply", [$h_a => (apply = $h_a)]],["construct", [$h_a => (construct = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]]]]]);
|
|
7745
7767
|
|
|
7746
7768
|
|
|
7747
7769
|
|
|
@@ -7858,7 +7880,7 @@ function tameDateConstructor(dateTaming= 'safe') {
|
|
|
7858
7880
|
})
|
|
7859
7881
|
,
|
|
7860
7882
|
// === functors[33] ===
|
|
7861
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let TypeError,globalThis,getOwnPropertyDescriptor,defineProperty;$h_imports([["./commons.js", [["TypeError", [$h_a => (TypeError = $h_a)]],["globalThis", [$h_a => (globalThis = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]]]]]);Object.defineProperty(tameDomains, 'name', {value: "tameDomains"});$h_once.tameDomains(tameDomains);
|
|
7883
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let TypeError,globalThis,getOwnPropertyDescriptor,defineProperty;$h_imports([["./commons.js", [["TypeError", [$h_a => (TypeError = $h_a)]],["globalThis", [$h_a => (globalThis = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]]]]]);Object.defineProperty(tameDomains, 'name', {value: "tameDomains"});$h_once.tameDomains(tameDomains);
|
|
7862
7884
|
|
|
7863
7885
|
|
|
7864
7886
|
|
|
@@ -7907,7 +7929,7 @@ function tameDomains(domainTaming= 'safe') {
|
|
|
7907
7929
|
})
|
|
7908
7930
|
,
|
|
7909
7931
|
// === functors[34] ===
|
|
7910
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let FERAL_FUNCTION,SyntaxError,TypeError,defineProperties,getPrototypeOf,setPrototypeOf;$h_imports([["./commons.js", [["FERAL_FUNCTION", [$h_a => (FERAL_FUNCTION = $h_a)]],["SyntaxError", [$h_a => (SyntaxError = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]],["getPrototypeOf", [$h_a => (getPrototypeOf = $h_a)]],["setPrototypeOf", [$h_a => (setPrototypeOf = $h_a)]]]]]);
|
|
7932
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let FERAL_FUNCTION,SyntaxError,TypeError,defineProperties,getPrototypeOf,setPrototypeOf;$h_imports([["./commons.js", [["FERAL_FUNCTION", [$h_a => (FERAL_FUNCTION = $h_a)]],["SyntaxError", [$h_a => (SyntaxError = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]],["getPrototypeOf", [$h_a => (getPrototypeOf = $h_a)]],["setPrototypeOf", [$h_a => (setPrototypeOf = $h_a)]]]]]);
|
|
7911
7933
|
|
|
7912
7934
|
|
|
7913
7935
|
|
|
@@ -8045,7 +8067,7 @@ function tameFunctionConstructors() {
|
|
|
8045
8067
|
})
|
|
8046
8068
|
,
|
|
8047
8069
|
// === functors[35] ===
|
|
8048
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let WeakSet,defineProperty,freeze,functionPrototype,functionToString,stringEndsWith,weaksetAdd,weaksetHas;$h_imports([["./commons.js", [["WeakSet", [$h_a => (WeakSet = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["functionPrototype", [$h_a => (functionPrototype = $h_a)]],["functionToString", [$h_a => (functionToString = $h_a)]],["stringEndsWith", [$h_a => (stringEndsWith = $h_a)]],["weaksetAdd", [$h_a => (weaksetAdd = $h_a)]],["weaksetHas", [$h_a => (weaksetHas = $h_a)]]]]]);
|
|
8070
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let WeakSet,defineProperty,freeze,functionPrototype,functionToString,stringEndsWith,weaksetAdd,weaksetHas;$h_imports([["./commons.js", [["WeakSet", [$h_a => (WeakSet = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]],["freeze", [$h_a => (freeze = $h_a)]],["functionPrototype", [$h_a => (functionPrototype = $h_a)]],["functionToString", [$h_a => (functionToString = $h_a)]],["stringEndsWith", [$h_a => (stringEndsWith = $h_a)]],["weaksetAdd", [$h_a => (weaksetAdd = $h_a)]],["weaksetHas", [$h_a => (weaksetHas = $h_a)]]]]]);
|
|
8049
8071
|
|
|
8050
8072
|
|
|
8051
8073
|
|
|
@@ -8098,7 +8120,7 @@ const tameFunctionToString= ()=> {
|
|
|
8098
8120
|
})
|
|
8099
8121
|
,
|
|
8100
8122
|
// === functors[36] ===
|
|
8101
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let Number,String,TypeError,defineProperty,getOwnPropertyNames,isObject,regexpExec,assert;$h_imports([["./commons.js", [["Number", [$h_a => (Number = $h_a)]],["String", [$h_a => (String = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]],["getOwnPropertyNames", [$h_a => (getOwnPropertyNames = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["regexpExec", [$h_a => (regexpExec = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
8123
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let Number,String,TypeError,defineProperty,getOwnPropertyNames,isObject,regexpExec,assert;$h_imports([["./commons.js", [["Number", [$h_a => (Number = $h_a)]],["String", [$h_a => (String = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["defineProperty", [$h_a => (defineProperty = $h_a)]],["getOwnPropertyNames", [$h_a => (getOwnPropertyNames = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["regexpExec", [$h_a => (regexpExec = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
8102
8124
|
|
|
8103
8125
|
|
|
8104
8126
|
|
|
@@ -8186,7 +8208,7 @@ function tameLocaleMethods(intrinsics, localeTaming= 'safe') {
|
|
|
8186
8208
|
})
|
|
8187
8209
|
,
|
|
8188
8210
|
// === functors[37] ===
|
|
8189
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let Math,TypeError,create,getOwnPropertyDescriptors,objectPrototype;$h_imports([["./commons.js", [["Math", [$h_a => (Math = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["create", [$h_a => (create = $h_a)]],["getOwnPropertyDescriptors", [$h_a => (getOwnPropertyDescriptors = $h_a)]],["objectPrototype", [$h_a => (objectPrototype = $h_a)]]]]]);
|
|
8211
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let Math,TypeError,create,getOwnPropertyDescriptors,objectPrototype;$h_imports([["./commons.js", [["Math", [$h_a => (Math = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["create", [$h_a => (create = $h_a)]],["getOwnPropertyDescriptors", [$h_a => (getOwnPropertyDescriptors = $h_a)]],["objectPrototype", [$h_a => (objectPrototype = $h_a)]]]]]);
|
|
8190
8212
|
|
|
8191
8213
|
|
|
8192
8214
|
|
|
@@ -8215,7 +8237,7 @@ function tameMathObject(mathTaming= 'safe') {
|
|
|
8215
8237
|
})
|
|
8216
8238
|
,
|
|
8217
8239
|
// === functors[38] ===
|
|
8218
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let FERAL_REG_EXP,TypeError,construct,defineProperties,getOwnPropertyDescriptor,speciesSymbol;$h_imports([["./commons.js", [["FERAL_REG_EXP", [$h_a => (FERAL_REG_EXP = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["construct", [$h_a => (construct = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["speciesSymbol", [$h_a => (speciesSymbol = $h_a)]]]]]);
|
|
8240
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let FERAL_REG_EXP,TypeError,construct,defineProperties,getOwnPropertyDescriptor,speciesSymbol;$h_imports([["./commons.js", [["FERAL_REG_EXP", [$h_a => (FERAL_REG_EXP = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["construct", [$h_a => (construct = $h_a)]],["defineProperties", [$h_a => (defineProperties = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["speciesSymbol", [$h_a => (speciesSymbol = $h_a)]]]]]);
|
|
8219
8241
|
|
|
8220
8242
|
|
|
8221
8243
|
|
|
@@ -8270,7 +8292,7 @@ function tameRegExpConstructor(regExpTaming= 'safe') {
|
|
|
8270
8292
|
})
|
|
8271
8293
|
,
|
|
8272
8294
|
// === functors[39] ===
|
|
8273
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let whitelist,FunctionInstance,isAccessorPermit,Map,String,TypeError,arrayFilter,arrayIncludes,arrayMap,entries,getOwnPropertyDescriptor,getPrototypeOf,isObject,mapGet,objectHasOwnProperty,ownKeys,symbolKeyFor;$h_imports([["./whitelist.js", [["whitelist", [$h_a => (whitelist = $h_a)]],["FunctionInstance", [$h_a => (FunctionInstance = $h_a)]],["isAccessorPermit", [$h_a => (isAccessorPermit = $h_a)]]]],["./commons.js", [["Map", [$h_a => (Map = $h_a)]],["String", [$h_a => (String = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["arrayFilter", [$h_a => (arrayFilter = $h_a)]],["arrayIncludes", [$h_a => (arrayIncludes = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["entries", [$h_a => (entries = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["getPrototypeOf", [$h_a => (getPrototypeOf = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["mapGet", [$h_a => (mapGet = $h_a)]],["objectHasOwnProperty", [$h_a => (objectHasOwnProperty = $h_a)]],["ownKeys", [$h_a => (ownKeys = $h_a)]],["symbolKeyFor", [$h_a => (symbolKeyFor = $h_a)]]]]]);
|
|
8295
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let whitelist,FunctionInstance,isAccessorPermit,Map,String,TypeError,arrayFilter,arrayIncludes,arrayMap,entries,getOwnPropertyDescriptor,getPrototypeOf,isObject,mapGet,objectHasOwnProperty,ownKeys,symbolKeyFor;$h_imports([["./whitelist.js", [["whitelist", [$h_a => (whitelist = $h_a)]],["FunctionInstance", [$h_a => (FunctionInstance = $h_a)]],["isAccessorPermit", [$h_a => (isAccessorPermit = $h_a)]]]],["./commons.js", [["Map", [$h_a => (Map = $h_a)]],["String", [$h_a => (String = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["arrayFilter", [$h_a => (arrayFilter = $h_a)]],["arrayIncludes", [$h_a => (arrayIncludes = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["entries", [$h_a => (entries = $h_a)]],["getOwnPropertyDescriptor", [$h_a => (getOwnPropertyDescriptor = $h_a)]],["getPrototypeOf", [$h_a => (getPrototypeOf = $h_a)]],["isObject", [$h_a => (isObject = $h_a)]],["mapGet", [$h_a => (mapGet = $h_a)]],["objectHasOwnProperty", [$h_a => (objectHasOwnProperty = $h_a)]],["ownKeys", [$h_a => (ownKeys = $h_a)]],["symbolKeyFor", [$h_a => (symbolKeyFor = $h_a)]]]]]);
|
|
8274
8296
|
|
|
8275
8297
|
|
|
8276
8298
|
|
|
@@ -8557,6 +8579,15 @@ function whitelistIntrinsics(
|
|
|
8557
8579
|
delete obj[prop];
|
|
8558
8580
|
}catch( err) {
|
|
8559
8581
|
if( prop in obj) {
|
|
8582
|
+
if( typeof obj=== 'function'&& prop=== 'prototype') {
|
|
8583
|
+
obj.prototype= undefined;
|
|
8584
|
+
if( obj.prototype=== undefined) {
|
|
8585
|
+
// eslint-disable-next-line @endo/no-polymorphic-call
|
|
8586
|
+
console.warn( `Tolerating undeletable ${subPath} === undefined`);
|
|
8587
|
+
// eslint-disable-next-line no-continue
|
|
8588
|
+
continue;
|
|
8589
|
+
}
|
|
8590
|
+
}
|
|
8560
8591
|
// eslint-disable-next-line @endo/no-polymorphic-call
|
|
8561
8592
|
console.error( `failed to delete ${subPath}`,err);
|
|
8562
8593
|
}else {
|
|
@@ -8576,7 +8607,7 @@ function whitelistIntrinsics(
|
|
|
8576
8607
|
})
|
|
8577
8608
|
,
|
|
8578
8609
|
// === functors[40] ===
|
|
8579
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let FERAL_FUNCTION,FERAL_EVAL,TypeError,arrayFilter,arrayMap,globalThis,is,ownKeys,stringSplit,noEvalEvaluate,enJoin,makeHardener,makeIntrinsicsCollector,whitelistIntrinsics,tameFunctionConstructors,tameDateConstructor,tameMathObject,tameRegExpConstructor,enablePropertyOverrides,tameLocaleMethods,setGlobalObjectConstantProperties,setGlobalObjectMutableProperties,setGlobalObjectEvaluators,makeSafeEvaluator,initialGlobalPropertyNames,tameFunctionToString,tameDomains,tameConsole,tameErrorConstructor,assert,makeAssert,makeEnvironmentCaptor,getAnonymousIntrinsics,makeCompartmentConstructor;$h_imports([["./commons.js", [["FERAL_FUNCTION", [$h_a => (FERAL_FUNCTION = $h_a)]],["FERAL_EVAL", [$h_a => (FERAL_EVAL = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["arrayFilter", [$h_a => (arrayFilter = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["globalThis", [$h_a => (globalThis = $h_a)]],["is", [$h_a => (is = $h_a)]],["ownKeys", [$h_a => (ownKeys = $h_a)]],["stringSplit", [$h_a => (stringSplit = $h_a)]],["noEvalEvaluate", [$h_a => (noEvalEvaluate = $h_a)]]]],["./error/stringify-utils.js", [["enJoin", [$h_a => (enJoin = $h_a)]]]],["./make-hardener.js", [["makeHardener", [$h_a => (makeHardener = $h_a)]]]],["./intrinsics.js", [["makeIntrinsicsCollector", [$h_a => (makeIntrinsicsCollector = $h_a)]]]],["./whitelist-intrinsics.js", [["default", [$h_a => (whitelistIntrinsics = $h_a)]]]],["./tame-function-constructors.js", [["default", [$h_a => (tameFunctionConstructors = $h_a)]]]],["./tame-date-constructor.js", [["default", [$h_a => (tameDateConstructor = $h_a)]]]],["./tame-math-object.js", [["default", [$h_a => (tameMathObject = $h_a)]]]],["./tame-regexp-constructor.js", [["default", [$h_a => (tameRegExpConstructor = $h_a)]]]],["./enable-property-overrides.js", [["default", [$h_a => (enablePropertyOverrides = $h_a)]]]],["./tame-locale-methods.js", [["default", [$h_a => (tameLocaleMethods = $h_a)]]]],["./global-object.js", [["setGlobalObjectConstantProperties", [$h_a => (setGlobalObjectConstantProperties = $h_a)]],["setGlobalObjectMutableProperties", [$h_a => (setGlobalObjectMutableProperties = $h_a)]],["setGlobalObjectEvaluators", [$h_a => (setGlobalObjectEvaluators = $h_a)]]]],["./make-safe-evaluator.js", [["makeSafeEvaluator", [$h_a => (makeSafeEvaluator = $h_a)]]]],["./whitelist.js", [["initialGlobalPropertyNames", [$h_a => (initialGlobalPropertyNames = $h_a)]]]],["./tame-function-tostring.js", [["tameFunctionToString", [$h_a => (tameFunctionToString = $h_a)]]]],["./tame-domains.js", [["tameDomains", [$h_a => (tameDomains = $h_a)]]]],["./error/tame-console.js", [["tameConsole", [$h_a => (tameConsole = $h_a)]]]],["./error/tame-error-constructor.js", [["default", [$h_a => (tameErrorConstructor = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]],["makeAssert", [$h_a => (makeAssert = $h_a)]]]],["./environment-options.js", [["makeEnvironmentCaptor", [$h_a => (makeEnvironmentCaptor = $h_a)]]]],["./get-anonymous-intrinsics.js", [["getAnonymousIntrinsics", [$h_a => (getAnonymousIntrinsics = $h_a)]]]],["./compartment-shim.js", [["makeCompartmentConstructor", [$h_a => (makeCompartmentConstructor = $h_a)]]]]]);
|
|
8610
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let FERAL_FUNCTION,FERAL_EVAL,TypeError,arrayFilter,arrayMap,globalThis,is,ownKeys,stringSplit,noEvalEvaluate,enJoin,makeHardener,makeIntrinsicsCollector,whitelistIntrinsics,tameFunctionConstructors,tameDateConstructor,tameMathObject,tameRegExpConstructor,enablePropertyOverrides,tameLocaleMethods,setGlobalObjectConstantProperties,setGlobalObjectMutableProperties,setGlobalObjectEvaluators,makeSafeEvaluator,initialGlobalPropertyNames,tameFunctionToString,tameDomains,tameConsole,tameErrorConstructor,assert,makeAssert,makeEnvironmentCaptor,getAnonymousIntrinsics,makeCompartmentConstructor;$h_imports([["./commons.js", [["FERAL_FUNCTION", [$h_a => (FERAL_FUNCTION = $h_a)]],["FERAL_EVAL", [$h_a => (FERAL_EVAL = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["arrayFilter", [$h_a => (arrayFilter = $h_a)]],["arrayMap", [$h_a => (arrayMap = $h_a)]],["globalThis", [$h_a => (globalThis = $h_a)]],["is", [$h_a => (is = $h_a)]],["ownKeys", [$h_a => (ownKeys = $h_a)]],["stringSplit", [$h_a => (stringSplit = $h_a)]],["noEvalEvaluate", [$h_a => (noEvalEvaluate = $h_a)]]]],["./error/stringify-utils.js", [["enJoin", [$h_a => (enJoin = $h_a)]]]],["./make-hardener.js", [["makeHardener", [$h_a => (makeHardener = $h_a)]]]],["./intrinsics.js", [["makeIntrinsicsCollector", [$h_a => (makeIntrinsicsCollector = $h_a)]]]],["./whitelist-intrinsics.js", [["default", [$h_a => (whitelistIntrinsics = $h_a)]]]],["./tame-function-constructors.js", [["default", [$h_a => (tameFunctionConstructors = $h_a)]]]],["./tame-date-constructor.js", [["default", [$h_a => (tameDateConstructor = $h_a)]]]],["./tame-math-object.js", [["default", [$h_a => (tameMathObject = $h_a)]]]],["./tame-regexp-constructor.js", [["default", [$h_a => (tameRegExpConstructor = $h_a)]]]],["./enable-property-overrides.js", [["default", [$h_a => (enablePropertyOverrides = $h_a)]]]],["./tame-locale-methods.js", [["default", [$h_a => (tameLocaleMethods = $h_a)]]]],["./global-object.js", [["setGlobalObjectConstantProperties", [$h_a => (setGlobalObjectConstantProperties = $h_a)]],["setGlobalObjectMutableProperties", [$h_a => (setGlobalObjectMutableProperties = $h_a)]],["setGlobalObjectEvaluators", [$h_a => (setGlobalObjectEvaluators = $h_a)]]]],["./make-safe-evaluator.js", [["makeSafeEvaluator", [$h_a => (makeSafeEvaluator = $h_a)]]]],["./whitelist.js", [["initialGlobalPropertyNames", [$h_a => (initialGlobalPropertyNames = $h_a)]]]],["./tame-function-tostring.js", [["tameFunctionToString", [$h_a => (tameFunctionToString = $h_a)]]]],["./tame-domains.js", [["tameDomains", [$h_a => (tameDomains = $h_a)]]]],["./error/tame-console.js", [["tameConsole", [$h_a => (tameConsole = $h_a)]]]],["./error/tame-error-constructor.js", [["default", [$h_a => (tameErrorConstructor = $h_a)]]]],["./error/assert.js", [["assert", [$h_a => (assert = $h_a)]],["makeAssert", [$h_a => (makeAssert = $h_a)]]]],["./environment-options.js", [["makeEnvironmentCaptor", [$h_a => (makeEnvironmentCaptor = $h_a)]]]],["./get-anonymous-intrinsics.js", [["getAnonymousIntrinsics", [$h_a => (getAnonymousIntrinsics = $h_a)]]]],["./compartment-shim.js", [["makeCompartmentConstructor", [$h_a => (makeCompartmentConstructor = $h_a)]]]]]);
|
|
8580
8611
|
|
|
8581
8612
|
|
|
8582
8613
|
|
|
@@ -8997,7 +9028,7 @@ const lockdown= (options= {})=> {
|
|
|
8997
9028
|
})
|
|
8998
9029
|
,
|
|
8999
9030
|
// === functors[41] ===
|
|
9000
|
-
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, }) => { let globalThis,TypeError,assign,tameFunctionToString,getGlobalIntrinsics,lockdown,makeCompartmentConstructor,assert;$h_imports([["./src/commons.js", [["globalThis", [$h_a => (globalThis = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["assign", [$h_a => (assign = $h_a)]]]],["./src/tame-function-tostring.js", [["tameFunctionToString", [$h_a => (tameFunctionToString = $h_a)]]]],["./src/intrinsics.js", [["getGlobalIntrinsics", [$h_a => (getGlobalIntrinsics = $h_a)]]]],["./src/lockdown-shim.js", [["lockdown", [$h_a => (lockdown = $h_a)]]]],["./src/compartment-shim.js", [["makeCompartmentConstructor", [$h_a => (makeCompartmentConstructor = $h_a)]]]],["./src/error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
9031
|
+
(({ imports: $h_imports, liveVar: $h_live, onceVar: $h_once, importMeta: $h____meta, }) => { let globalThis,TypeError,assign,tameFunctionToString,getGlobalIntrinsics,lockdown,makeCompartmentConstructor,assert;$h_imports([["./src/commons.js", [["globalThis", [$h_a => (globalThis = $h_a)]],["TypeError", [$h_a => (TypeError = $h_a)]],["assign", [$h_a => (assign = $h_a)]]]],["./src/tame-function-tostring.js", [["tameFunctionToString", [$h_a => (tameFunctionToString = $h_a)]]]],["./src/intrinsics.js", [["getGlobalIntrinsics", [$h_a => (getGlobalIntrinsics = $h_a)]]]],["./src/lockdown-shim.js", [["lockdown", [$h_a => (lockdown = $h_a)]]]],["./src/compartment-shim.js", [["makeCompartmentConstructor", [$h_a => (makeCompartmentConstructor = $h_a)]]]],["./src/error/assert.js", [["assert", [$h_a => (assert = $h_a)]]]]]);
|
|
9001
9032
|
|
|
9002
9033
|
|
|
9003
9034
|
|
|
@@ -9509,6 +9540,7 @@ assign(globalThis, {
|
|
|
9509
9540
|
FERAL_FUNCTION: cells[0].FERAL_FUNCTION.set,
|
|
9510
9541
|
noEvalEvaluate: cells[0].noEvalEvaluate.set,
|
|
9511
9542
|
},
|
|
9543
|
+
importMeta: {},
|
|
9512
9544
|
});
|
|
9513
9545
|
functors[1]({
|
|
9514
9546
|
imports(entries) {
|
|
@@ -9518,6 +9550,7 @@ assign(globalThis, {
|
|
|
9518
9550
|
},
|
|
9519
9551
|
onceVar: {
|
|
9520
9552
|
},
|
|
9553
|
+
importMeta: {},
|
|
9521
9554
|
});
|
|
9522
9555
|
functors[2]({
|
|
9523
9556
|
imports(entries) {
|
|
@@ -9531,6 +9564,7 @@ assign(globalThis, {
|
|
|
9531
9564
|
bestEffortStringify: cells[2].bestEffortStringify.set,
|
|
9532
9565
|
enJoin: cells[2].enJoin.set,
|
|
9533
9566
|
},
|
|
9567
|
+
importMeta: {},
|
|
9534
9568
|
});
|
|
9535
9569
|
functors[3]({
|
|
9536
9570
|
imports(entries) {
|
|
@@ -9540,6 +9574,7 @@ assign(globalThis, {
|
|
|
9540
9574
|
},
|
|
9541
9575
|
onceVar: {
|
|
9542
9576
|
},
|
|
9577
|
+
importMeta: {},
|
|
9543
9578
|
});
|
|
9544
9579
|
functors[4]({
|
|
9545
9580
|
imports(entries) {
|
|
@@ -9557,6 +9592,7 @@ assign(globalThis, {
|
|
|
9557
9592
|
makeAssert: cells[4].makeAssert.set,
|
|
9558
9593
|
assert: cells[4].assert.set,
|
|
9559
9594
|
},
|
|
9595
|
+
importMeta: {},
|
|
9560
9596
|
});
|
|
9561
9597
|
functors[5]({
|
|
9562
9598
|
imports(entries) {
|
|
@@ -9568,6 +9604,7 @@ assign(globalThis, {
|
|
|
9568
9604
|
onceVar: {
|
|
9569
9605
|
makeEvaluateFactory: cells[5].makeEvaluateFactory.set,
|
|
9570
9606
|
},
|
|
9607
|
+
importMeta: {},
|
|
9571
9608
|
});
|
|
9572
9609
|
functors[6]({
|
|
9573
9610
|
imports(entries) {
|
|
@@ -9580,6 +9617,7 @@ assign(globalThis, {
|
|
|
9580
9617
|
isValidIdentifierName: cells[6].isValidIdentifierName.set,
|
|
9581
9618
|
getScopeConstants: cells[6].getScopeConstants.set,
|
|
9582
9619
|
},
|
|
9620
|
+
importMeta: {},
|
|
9583
9621
|
});
|
|
9584
9622
|
functors[7]({
|
|
9585
9623
|
imports(entries) {
|
|
@@ -9592,6 +9630,7 @@ assign(globalThis, {
|
|
|
9592
9630
|
onceVar: {
|
|
9593
9631
|
createScopeHandler: cells[7].createScopeHandler.set,
|
|
9594
9632
|
},
|
|
9633
|
+
importMeta: {},
|
|
9595
9634
|
});
|
|
9596
9635
|
functors[8]({
|
|
9597
9636
|
imports(entries) {
|
|
@@ -9603,6 +9642,7 @@ assign(globalThis, {
|
|
|
9603
9642
|
onceVar: {
|
|
9604
9643
|
getSourceURL: cells[8].getSourceURL.set,
|
|
9605
9644
|
},
|
|
9645
|
+
importMeta: {},
|
|
9606
9646
|
});
|
|
9607
9647
|
functors[9]({
|
|
9608
9648
|
imports(entries) {
|
|
@@ -9621,6 +9661,7 @@ assign(globalThis, {
|
|
|
9621
9661
|
mandatoryTransforms: cells[9].mandatoryTransforms.set,
|
|
9622
9662
|
applyTransforms: cells[9].applyTransforms.set,
|
|
9623
9663
|
},
|
|
9664
|
+
importMeta: {},
|
|
9624
9665
|
});
|
|
9625
9666
|
functors[10]({
|
|
9626
9667
|
imports(entries) {
|
|
@@ -9637,6 +9678,7 @@ assign(globalThis, {
|
|
|
9637
9678
|
onceVar: {
|
|
9638
9679
|
makeSafeEvaluator: cells[10].makeSafeEvaluator.set,
|
|
9639
9680
|
},
|
|
9681
|
+
importMeta: {},
|
|
9640
9682
|
});
|
|
9641
9683
|
functors[11]({
|
|
9642
9684
|
imports(entries) {
|
|
@@ -9651,6 +9693,7 @@ assign(globalThis, {
|
|
|
9651
9693
|
provideCompartmentEvaluator: cells[11].provideCompartmentEvaluator.set,
|
|
9652
9694
|
compartmentEvaluate: cells[11].compartmentEvaluate.set,
|
|
9653
9695
|
},
|
|
9696
|
+
importMeta: {},
|
|
9654
9697
|
});
|
|
9655
9698
|
functors[12]({
|
|
9656
9699
|
imports(entries) {
|
|
@@ -9661,6 +9704,7 @@ assign(globalThis, {
|
|
|
9661
9704
|
onceVar: {
|
|
9662
9705
|
makeEvalFunction: cells[12].makeEvalFunction.set,
|
|
9663
9706
|
},
|
|
9707
|
+
importMeta: {},
|
|
9664
9708
|
});
|
|
9665
9709
|
functors[13]({
|
|
9666
9710
|
imports(entries) {
|
|
@@ -9673,6 +9717,7 @@ assign(globalThis, {
|
|
|
9673
9717
|
onceVar: {
|
|
9674
9718
|
makeFunctionConstructor: cells[13].makeFunctionConstructor.set,
|
|
9675
9719
|
},
|
|
9720
|
+
importMeta: {},
|
|
9676
9721
|
});
|
|
9677
9722
|
functors[14]({
|
|
9678
9723
|
imports(entries) {
|
|
@@ -9691,6 +9736,7 @@ assign(globalThis, {
|
|
|
9691
9736
|
isAccessorPermit: cells[14].isAccessorPermit.set,
|
|
9692
9737
|
whitelist: cells[14].whitelist.set,
|
|
9693
9738
|
},
|
|
9739
|
+
importMeta: {},
|
|
9694
9740
|
});
|
|
9695
9741
|
functors[15]({
|
|
9696
9742
|
imports(entries) {
|
|
@@ -9707,6 +9753,7 @@ assign(globalThis, {
|
|
|
9707
9753
|
setGlobalObjectMutableProperties: cells[15].setGlobalObjectMutableProperties.set,
|
|
9708
9754
|
setGlobalObjectEvaluators: cells[15].setGlobalObjectEvaluators.set,
|
|
9709
9755
|
},
|
|
9756
|
+
importMeta: {},
|
|
9710
9757
|
});
|
|
9711
9758
|
functors[16]({
|
|
9712
9759
|
imports(entries) {
|
|
@@ -9720,6 +9767,7 @@ assign(globalThis, {
|
|
|
9720
9767
|
makeAlias: cells[16].makeAlias.set,
|
|
9721
9768
|
load: cells[16].load.set,
|
|
9722
9769
|
},
|
|
9770
|
+
importMeta: {},
|
|
9723
9771
|
});
|
|
9724
9772
|
functors[17]({
|
|
9725
9773
|
imports(entries) {
|
|
@@ -9734,6 +9782,7 @@ assign(globalThis, {
|
|
|
9734
9782
|
deferExports: cells[17].deferExports.set,
|
|
9735
9783
|
getDeferredExports: cells[17].getDeferredExports.set,
|
|
9736
9784
|
},
|
|
9785
|
+
importMeta: {},
|
|
9737
9786
|
});
|
|
9738
9787
|
functors[18]({
|
|
9739
9788
|
imports(entries) {
|
|
@@ -9749,6 +9798,7 @@ assign(globalThis, {
|
|
|
9749
9798
|
makeThirdPartyModuleInstance: cells[18].makeThirdPartyModuleInstance.set,
|
|
9750
9799
|
makeModuleInstance: cells[18].makeModuleInstance.set,
|
|
9751
9800
|
},
|
|
9801
|
+
importMeta: {},
|
|
9752
9802
|
});
|
|
9753
9803
|
functors[19]({
|
|
9754
9804
|
imports(entries) {
|
|
@@ -9763,6 +9813,7 @@ assign(globalThis, {
|
|
|
9763
9813
|
link: cells[19].link.set,
|
|
9764
9814
|
instantiate: cells[19].instantiate.set,
|
|
9765
9815
|
},
|
|
9816
|
+
importMeta: {},
|
|
9766
9817
|
});
|
|
9767
9818
|
functors[20]({
|
|
9768
9819
|
imports(entries) {
|
|
@@ -9785,6 +9836,7 @@ assign(globalThis, {
|
|
|
9785
9836
|
CompartmentPrototype: cells[20].CompartmentPrototype.set,
|
|
9786
9837
|
makeCompartmentConstructor: cells[20].makeCompartmentConstructor.set,
|
|
9787
9838
|
},
|
|
9839
|
+
importMeta: {},
|
|
9788
9840
|
});
|
|
9789
9841
|
functors[21]({
|
|
9790
9842
|
imports(entries) {
|
|
@@ -9798,6 +9850,7 @@ assign(globalThis, {
|
|
|
9798
9850
|
makeIntrinsicsCollector: cells[21].makeIntrinsicsCollector.set,
|
|
9799
9851
|
getGlobalIntrinsics: cells[21].getGlobalIntrinsics.set,
|
|
9800
9852
|
},
|
|
9853
|
+
importMeta: {},
|
|
9801
9854
|
});
|
|
9802
9855
|
functors[22]({
|
|
9803
9856
|
imports(entries) {
|
|
@@ -9810,6 +9863,7 @@ assign(globalThis, {
|
|
|
9810
9863
|
moderateEnablements: cells[22].moderateEnablements.set,
|
|
9811
9864
|
severeEnablements: cells[22].severeEnablements.set,
|
|
9812
9865
|
},
|
|
9866
|
+
importMeta: {},
|
|
9813
9867
|
});
|
|
9814
9868
|
functors[23]({
|
|
9815
9869
|
imports(entries) {
|
|
@@ -9822,6 +9876,7 @@ assign(globalThis, {
|
|
|
9822
9876
|
onceVar: {
|
|
9823
9877
|
default: cells[23].default.set,
|
|
9824
9878
|
},
|
|
9879
|
+
importMeta: {},
|
|
9825
9880
|
});
|
|
9826
9881
|
functors[24]({
|
|
9827
9882
|
imports(entries) {
|
|
@@ -9834,6 +9889,7 @@ assign(globalThis, {
|
|
|
9834
9889
|
onceVar: {
|
|
9835
9890
|
makeEnvironmentCaptor: cells[24].makeEnvironmentCaptor.set,
|
|
9836
9891
|
},
|
|
9892
|
+
importMeta: {},
|
|
9837
9893
|
});
|
|
9838
9894
|
functors[25]({
|
|
9839
9895
|
imports(entries) {
|
|
@@ -9850,6 +9906,7 @@ assign(globalThis, {
|
|
|
9850
9906
|
filterConsole: cells[25].filterConsole.set,
|
|
9851
9907
|
consoleWhitelist: cells[25].consoleWhitelist.set,
|
|
9852
9908
|
},
|
|
9909
|
+
importMeta: {},
|
|
9853
9910
|
});
|
|
9854
9911
|
functors[26]({
|
|
9855
9912
|
imports(entries) {
|
|
@@ -9861,6 +9918,7 @@ assign(globalThis, {
|
|
|
9861
9918
|
onceVar: {
|
|
9862
9919
|
makeRejectionHandlers: cells[26].makeRejectionHandlers.set,
|
|
9863
9920
|
},
|
|
9921
|
+
importMeta: {},
|
|
9864
9922
|
});
|
|
9865
9923
|
functors[27]({
|
|
9866
9924
|
imports(entries) {
|
|
@@ -9877,6 +9935,7 @@ assign(globalThis, {
|
|
|
9877
9935
|
onceVar: {
|
|
9878
9936
|
tameConsole: cells[27].tameConsole.set,
|
|
9879
9937
|
},
|
|
9938
|
+
importMeta: {},
|
|
9880
9939
|
});
|
|
9881
9940
|
functors[28]({
|
|
9882
9941
|
imports(entries) {
|
|
@@ -9890,6 +9949,7 @@ assign(globalThis, {
|
|
|
9890
9949
|
shortenCallSiteString: cells[28].shortenCallSiteString.set,
|
|
9891
9950
|
tameV8ErrorConstructor: cells[28].tameV8ErrorConstructor.set,
|
|
9892
9951
|
},
|
|
9952
|
+
importMeta: {},
|
|
9893
9953
|
});
|
|
9894
9954
|
functors[29]({
|
|
9895
9955
|
imports(entries) {
|
|
@@ -9903,6 +9963,7 @@ assign(globalThis, {
|
|
|
9903
9963
|
onceVar: {
|
|
9904
9964
|
default: cells[29].default.set,
|
|
9905
9965
|
},
|
|
9966
|
+
importMeta: {},
|
|
9906
9967
|
});
|
|
9907
9968
|
functors[30]({
|
|
9908
9969
|
imports(entries) {
|
|
@@ -9915,6 +9976,7 @@ assign(globalThis, {
|
|
|
9915
9976
|
onceVar: {
|
|
9916
9977
|
getAnonymousIntrinsics: cells[30].getAnonymousIntrinsics.set,
|
|
9917
9978
|
},
|
|
9979
|
+
importMeta: {},
|
|
9918
9980
|
});
|
|
9919
9981
|
functors[31]({
|
|
9920
9982
|
imports(entries) {
|
|
@@ -9928,6 +9990,7 @@ assign(globalThis, {
|
|
|
9928
9990
|
isTypedArray: cells[31].isTypedArray.set,
|
|
9929
9991
|
makeHardener: cells[31].makeHardener.set,
|
|
9930
9992
|
},
|
|
9993
|
+
importMeta: {},
|
|
9931
9994
|
});
|
|
9932
9995
|
functors[32]({
|
|
9933
9996
|
imports(entries) {
|
|
@@ -9939,6 +10002,7 @@ assign(globalThis, {
|
|
|
9939
10002
|
onceVar: {
|
|
9940
10003
|
default: cells[32].default.set,
|
|
9941
10004
|
},
|
|
10005
|
+
importMeta: {},
|
|
9942
10006
|
});
|
|
9943
10007
|
functors[33]({
|
|
9944
10008
|
imports(entries) {
|
|
@@ -9950,6 +10014,7 @@ assign(globalThis, {
|
|
|
9950
10014
|
onceVar: {
|
|
9951
10015
|
tameDomains: cells[33].tameDomains.set,
|
|
9952
10016
|
},
|
|
10017
|
+
importMeta: {},
|
|
9953
10018
|
});
|
|
9954
10019
|
functors[34]({
|
|
9955
10020
|
imports(entries) {
|
|
@@ -9961,6 +10026,7 @@ assign(globalThis, {
|
|
|
9961
10026
|
onceVar: {
|
|
9962
10027
|
default: cells[34].default.set,
|
|
9963
10028
|
},
|
|
10029
|
+
importMeta: {},
|
|
9964
10030
|
});
|
|
9965
10031
|
functors[35]({
|
|
9966
10032
|
imports(entries) {
|
|
@@ -9972,6 +10038,7 @@ assign(globalThis, {
|
|
|
9972
10038
|
onceVar: {
|
|
9973
10039
|
tameFunctionToString: cells[35].tameFunctionToString.set,
|
|
9974
10040
|
},
|
|
10041
|
+
importMeta: {},
|
|
9975
10042
|
});
|
|
9976
10043
|
functors[36]({
|
|
9977
10044
|
imports(entries) {
|
|
@@ -9984,6 +10051,7 @@ assign(globalThis, {
|
|
|
9984
10051
|
onceVar: {
|
|
9985
10052
|
default: cells[36].default.set,
|
|
9986
10053
|
},
|
|
10054
|
+
importMeta: {},
|
|
9987
10055
|
});
|
|
9988
10056
|
functors[37]({
|
|
9989
10057
|
imports(entries) {
|
|
@@ -9995,6 +10063,7 @@ assign(globalThis, {
|
|
|
9995
10063
|
onceVar: {
|
|
9996
10064
|
default: cells[37].default.set,
|
|
9997
10065
|
},
|
|
10066
|
+
importMeta: {},
|
|
9998
10067
|
});
|
|
9999
10068
|
functors[38]({
|
|
10000
10069
|
imports(entries) {
|
|
@@ -10006,6 +10075,7 @@ assign(globalThis, {
|
|
|
10006
10075
|
onceVar: {
|
|
10007
10076
|
default: cells[38].default.set,
|
|
10008
10077
|
},
|
|
10078
|
+
importMeta: {},
|
|
10009
10079
|
});
|
|
10010
10080
|
functors[39]({
|
|
10011
10081
|
imports(entries) {
|
|
@@ -10018,6 +10088,7 @@ assign(globalThis, {
|
|
|
10018
10088
|
onceVar: {
|
|
10019
10089
|
default: cells[39].default.set,
|
|
10020
10090
|
},
|
|
10091
|
+
importMeta: {},
|
|
10021
10092
|
});
|
|
10022
10093
|
functors[40]({
|
|
10023
10094
|
imports(entries) {
|
|
@@ -10051,6 +10122,7 @@ assign(globalThis, {
|
|
|
10051
10122
|
repairIntrinsics: cells[40].repairIntrinsics.set,
|
|
10052
10123
|
lockdown: cells[40].lockdown.set,
|
|
10053
10124
|
},
|
|
10125
|
+
importMeta: {},
|
|
10054
10126
|
});
|
|
10055
10127
|
functors[41]({
|
|
10056
10128
|
imports(entries) {
|
|
@@ -10066,5 +10138,6 @@ assign(globalThis, {
|
|
|
10066
10138
|
},
|
|
10067
10139
|
onceVar: {
|
|
10068
10140
|
},
|
|
10141
|
+
importMeta: {},
|
|
10069
10142
|
});
|
|
10070
10143
|
})();
|