ses 1.9.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/lockdown.cjs +20 -13
- package/dist/lockdown.mjs +20 -13
- package/dist/lockdown.umd.js +20 -13
- package/dist/lockdown.umd.min.js +1 -1
- package/dist/ses.cjs +20 -13
- package/dist/ses.mjs +20 -13
- package/dist/ses.umd.js +20 -13
- package/dist/ses.umd.min.js +1 -1
- package/package.json +5 -5
- package/src/compartment-shim.js +0 -2
- package/src/error/assert.js +1 -0
- package/src/error/console.js +5 -2
- package/src/error/internal-types.js +4 -0
- package/src/error/note-log-args.js +4 -1
- package/src/error/tame-console.js +5 -2
package/dist/ses.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ses@1.9.
|
|
1
|
+
// ses@1.9.1
|
|
2
2
|
'use strict';
|
|
3
3
|
(functors => {
|
|
4
4
|
|
|
@@ -664,7 +664,6 @@ function observeImports(map, importName, importIndex) {
|
|
|
664
664
|
imports(entries) {
|
|
665
665
|
const map = new Map(entries);
|
|
666
666
|
observeImports(map, "../make-lru-cachemap.js", 7);
|
|
667
|
-
observeImports(map, "./internal-types.js", 6);
|
|
668
667
|
},
|
|
669
668
|
liveVar: {
|
|
670
669
|
},
|
|
@@ -1048,8 +1047,6 @@ function observeImports(map, importName, importIndex) {
|
|
|
1048
1047
|
imports(entries) {
|
|
1049
1048
|
const map = new Map(entries);
|
|
1050
1049
|
observeImports(map, "../commons.js", 0);
|
|
1051
|
-
observeImports(map, "./types.js", 5);
|
|
1052
|
-
observeImports(map, "./internal-types.js", 6);
|
|
1053
1050
|
},
|
|
1054
1051
|
liveVar: {
|
|
1055
1052
|
},
|
|
@@ -1083,8 +1080,6 @@ function observeImports(map, importName, importIndex) {
|
|
|
1083
1080
|
observeImports(map, "./assert.js", 9);
|
|
1084
1081
|
observeImports(map, "./console.js", 35);
|
|
1085
1082
|
observeImports(map, "./unhandled-rejection.js", 36);
|
|
1086
|
-
observeImports(map, "./types.js", 5);
|
|
1087
|
-
observeImports(map, "./internal-types.js", 6);
|
|
1088
1083
|
},
|
|
1089
1084
|
liveVar: {
|
|
1090
1085
|
},
|
|
@@ -2203,6 +2198,10 @@ freeze(bestEffortStringify);
|
|
|
2203
2198
|
// === functors[6] ===
|
|
2204
2199
|
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; $h͏_imports([]); // @ts-check
|
|
2205
2200
|
|
|
2201
|
+
/**
|
|
2202
|
+
* @import {VirtualConsole} from './types.js'
|
|
2203
|
+
*/
|
|
2204
|
+
|
|
2206
2205
|
/**
|
|
2207
2206
|
* @typedef {readonly any[]} LogArgs
|
|
2208
2207
|
*
|
|
@@ -2522,12 +2521,15 @@ freeze(makeLRUCacheMap);
|
|
|
2522
2521
|
})()
|
|
2523
2522
|
,
|
|
2524
2523
|
// === functors[8] ===
|
|
2525
|
-
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let makeLRUCacheMap;$h͏_imports([["../make-lru-cachemap.js", [["makeLRUCacheMap", [$h͏_a => (makeLRUCacheMap = $h͏_a)]]]]
|
|
2524
|
+
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let makeLRUCacheMap;$h͏_imports([["../make-lru-cachemap.js", [["makeLRUCacheMap", [$h͏_a => (makeLRUCacheMap = $h͏_a)]]]]]);
|
|
2526
2525
|
|
|
2527
2526
|
|
|
2528
2527
|
|
|
2529
2528
|
|
|
2530
2529
|
|
|
2530
|
+
/**
|
|
2531
|
+
* @import {LogArgs} from './internal-types.js';
|
|
2532
|
+
*/
|
|
2531
2533
|
|
|
2532
2534
|
const { freeze}= Object;
|
|
2533
2535
|
const { isSafeInteger}= Number;
|
|
@@ -2648,6 +2650,7 @@ freeze(makeNoteLogArgsArrayKit);
|
|
|
2648
2650
|
|
|
2649
2651
|
/**
|
|
2650
2652
|
* @import {BaseAssert, Assert, AssertionFunctions, AssertionUtilities, StringablePayload, DetailsToken, MakeAssert} from '../../types.js'
|
|
2653
|
+
* @import {LogArgs, NoteCallback, LoggedErrorHandler} from "./internal-types.js";
|
|
2651
2654
|
*/
|
|
2652
2655
|
|
|
2653
2656
|
// For our internal debugging purposes, uncomment
|
|
@@ -7961,8 +7964,7 @@ const tameModuleSource= ()=> {
|
|
|
7961
7964
|
})()
|
|
7962
7965
|
,
|
|
7963
7966
|
// === functors[35] ===
|
|
7964
|
-
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let WeakSet,arrayFilter,arrayFlatMap,arrayMap,arrayPop,arrayPush,defineProperty,freeze,fromEntries,isError,stringEndsWith,stringIncludes,stringSplit,weaksetAdd,weaksetHas;$h͏_imports([["../commons.js", [["WeakSet", [$h͏_a => (WeakSet = $h͏_a)]],["arrayFilter", [$h͏_a => (arrayFilter = $h͏_a)]],["arrayFlatMap", [$h͏_a => (arrayFlatMap = $h͏_a)]],["arrayMap", [$h͏_a => (arrayMap = $h͏_a)]],["arrayPop", [$h͏_a => (arrayPop = $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)]],["stringIncludes", [$h͏_a => (stringIncludes = $h͏_a)]],["stringSplit", [$h͏_a => (stringSplit = $h͏_a)]],["weaksetAdd", [$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas", [$h͏_a => (weaksetHas = $h͏_a)]]]]
|
|
7965
|
-
|
|
7967
|
+
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let WeakSet,arrayFilter,arrayFlatMap,arrayMap,arrayPop,arrayPush,defineProperty,freeze,fromEntries,isError,stringEndsWith,stringIncludes,stringSplit,weaksetAdd,weaksetHas;$h͏_imports([["../commons.js", [["WeakSet", [$h͏_a => (WeakSet = $h͏_a)]],["arrayFilter", [$h͏_a => (arrayFilter = $h͏_a)]],["arrayFlatMap", [$h͏_a => (arrayFlatMap = $h͏_a)]],["arrayMap", [$h͏_a => (arrayMap = $h͏_a)]],["arrayPop", [$h͏_a => (arrayPop = $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)]],["stringIncludes", [$h͏_a => (stringIncludes = $h͏_a)]],["stringSplit", [$h͏_a => (stringSplit = $h͏_a)]],["weaksetAdd", [$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas", [$h͏_a => (weaksetHas = $h͏_a)]]]]]);
|
|
7966
7968
|
|
|
7967
7969
|
|
|
7968
7970
|
|
|
@@ -7987,6 +7989,10 @@ const tameModuleSource= ()=> {
|
|
|
7987
7989
|
|
|
7988
7990
|
|
|
7989
7991
|
|
|
7992
|
+
/**
|
|
7993
|
+
* @import {FilterConsole, LogSeverity, VirtualConsole} from './types.js'
|
|
7994
|
+
* @import {ErrorInfo, ErrorInfoKind, LogRecord, NoteCallback, LoggedErrorHandler, MakeCausalConsole, MakeLoggingConsoleKit} from "./internal-types.js";
|
|
7995
|
+
*/
|
|
7990
7996
|
|
|
7991
7997
|
// For our internal debugging purposes, uncomment
|
|
7992
7998
|
// const internalDebugConsole = console;
|
|
@@ -8618,8 +8624,7 @@ const makeRejectionHandlers= (reportReason)=>{
|
|
|
8618
8624
|
})()
|
|
8619
8625
|
,
|
|
8620
8626
|
// === functors[37] ===
|
|
8621
|
-
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let TypeError,apply,defineProperty,freeze,globalThis,defaultHandler,makeCausalConsole,makeRejectionHandlers;$h͏_imports([["../commons.js", [["TypeError", [$h͏_a => (TypeError = $h͏_a)]],["apply", [$h͏_a => (apply = $h͏_a)]],["defineProperty", [$h͏_a => (defineProperty = $h͏_a)]],["freeze", [$h͏_a => (freeze = $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)]]]]
|
|
8622
|
-
|
|
8627
|
+
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let TypeError,apply,defineProperty,freeze,globalThis,defaultHandler,makeCausalConsole,makeRejectionHandlers;$h͏_imports([["../commons.js", [["TypeError", [$h͏_a => (TypeError = $h͏_a)]],["apply", [$h͏_a => (apply = $h͏_a)]],["defineProperty", [$h͏_a => (defineProperty = $h͏_a)]],["freeze", [$h͏_a => (freeze = $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)]]]]]);
|
|
8623
8628
|
|
|
8624
8629
|
|
|
8625
8630
|
|
|
@@ -8633,6 +8638,10 @@ const makeRejectionHandlers= (reportReason)=>{
|
|
|
8633
8638
|
|
|
8634
8639
|
|
|
8635
8640
|
|
|
8641
|
+
/**
|
|
8642
|
+
* @import {VirtualConsole} from './types.js'
|
|
8643
|
+
* @import {GetStackString} from './internal-types.js';
|
|
8644
|
+
*/
|
|
8636
8645
|
|
|
8637
8646
|
const failFast= (message)=>{
|
|
8638
8647
|
throw TypeError(message);
|
|
@@ -12506,8 +12515,6 @@ globalThis.repairIntrinsics= (options)=>{
|
|
|
12506
12515
|
|
|
12507
12516
|
|
|
12508
12517
|
|
|
12509
|
-
|
|
12510
|
-
|
|
12511
12518
|
const markVirtualizedNativeFunction= tameFunctionToString();
|
|
12512
12519
|
|
|
12513
12520
|
// @ts-ignore Compartment is definitely on globalThis.
|
package/dist/ses.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ses@1.9.
|
|
1
|
+
// ses@1.9.1
|
|
2
2
|
'use strict';
|
|
3
3
|
(functors => {
|
|
4
4
|
|
|
@@ -664,7 +664,6 @@ function observeImports(map, importName, importIndex) {
|
|
|
664
664
|
imports(entries) {
|
|
665
665
|
const map = new Map(entries);
|
|
666
666
|
observeImports(map, "../make-lru-cachemap.js", 7);
|
|
667
|
-
observeImports(map, "./internal-types.js", 6);
|
|
668
667
|
},
|
|
669
668
|
liveVar: {
|
|
670
669
|
},
|
|
@@ -1048,8 +1047,6 @@ function observeImports(map, importName, importIndex) {
|
|
|
1048
1047
|
imports(entries) {
|
|
1049
1048
|
const map = new Map(entries);
|
|
1050
1049
|
observeImports(map, "../commons.js", 0);
|
|
1051
|
-
observeImports(map, "./types.js", 5);
|
|
1052
|
-
observeImports(map, "./internal-types.js", 6);
|
|
1053
1050
|
},
|
|
1054
1051
|
liveVar: {
|
|
1055
1052
|
},
|
|
@@ -1083,8 +1080,6 @@ function observeImports(map, importName, importIndex) {
|
|
|
1083
1080
|
observeImports(map, "./assert.js", 9);
|
|
1084
1081
|
observeImports(map, "./console.js", 35);
|
|
1085
1082
|
observeImports(map, "./unhandled-rejection.js", 36);
|
|
1086
|
-
observeImports(map, "./types.js", 5);
|
|
1087
|
-
observeImports(map, "./internal-types.js", 6);
|
|
1088
1083
|
},
|
|
1089
1084
|
liveVar: {
|
|
1090
1085
|
},
|
|
@@ -2203,6 +2198,10 @@ freeze(bestEffortStringify);
|
|
|
2203
2198
|
// === functors[6] ===
|
|
2204
2199
|
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; $h͏_imports([]); // @ts-check
|
|
2205
2200
|
|
|
2201
|
+
/**
|
|
2202
|
+
* @import {VirtualConsole} from './types.js'
|
|
2203
|
+
*/
|
|
2204
|
+
|
|
2206
2205
|
/**
|
|
2207
2206
|
* @typedef {readonly any[]} LogArgs
|
|
2208
2207
|
*
|
|
@@ -2522,12 +2521,15 @@ freeze(makeLRUCacheMap);
|
|
|
2522
2521
|
})()
|
|
2523
2522
|
,
|
|
2524
2523
|
// === functors[8] ===
|
|
2525
|
-
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let makeLRUCacheMap;$h͏_imports([["../make-lru-cachemap.js", [["makeLRUCacheMap", [$h͏_a => (makeLRUCacheMap = $h͏_a)]]]]
|
|
2524
|
+
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let makeLRUCacheMap;$h͏_imports([["../make-lru-cachemap.js", [["makeLRUCacheMap", [$h͏_a => (makeLRUCacheMap = $h͏_a)]]]]]);
|
|
2526
2525
|
|
|
2527
2526
|
|
|
2528
2527
|
|
|
2529
2528
|
|
|
2530
2529
|
|
|
2530
|
+
/**
|
|
2531
|
+
* @import {LogArgs} from './internal-types.js';
|
|
2532
|
+
*/
|
|
2531
2533
|
|
|
2532
2534
|
const { freeze}= Object;
|
|
2533
2535
|
const { isSafeInteger}= Number;
|
|
@@ -2648,6 +2650,7 @@ freeze(makeNoteLogArgsArrayKit);
|
|
|
2648
2650
|
|
|
2649
2651
|
/**
|
|
2650
2652
|
* @import {BaseAssert, Assert, AssertionFunctions, AssertionUtilities, StringablePayload, DetailsToken, MakeAssert} from '../../types.js'
|
|
2653
|
+
* @import {LogArgs, NoteCallback, LoggedErrorHandler} from "./internal-types.js";
|
|
2651
2654
|
*/
|
|
2652
2655
|
|
|
2653
2656
|
// For our internal debugging purposes, uncomment
|
|
@@ -7961,8 +7964,7 @@ const tameModuleSource= ()=> {
|
|
|
7961
7964
|
})()
|
|
7962
7965
|
,
|
|
7963
7966
|
// === functors[35] ===
|
|
7964
|
-
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let WeakSet,arrayFilter,arrayFlatMap,arrayMap,arrayPop,arrayPush,defineProperty,freeze,fromEntries,isError,stringEndsWith,stringIncludes,stringSplit,weaksetAdd,weaksetHas;$h͏_imports([["../commons.js", [["WeakSet", [$h͏_a => (WeakSet = $h͏_a)]],["arrayFilter", [$h͏_a => (arrayFilter = $h͏_a)]],["arrayFlatMap", [$h͏_a => (arrayFlatMap = $h͏_a)]],["arrayMap", [$h͏_a => (arrayMap = $h͏_a)]],["arrayPop", [$h͏_a => (arrayPop = $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)]],["stringIncludes", [$h͏_a => (stringIncludes = $h͏_a)]],["stringSplit", [$h͏_a => (stringSplit = $h͏_a)]],["weaksetAdd", [$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas", [$h͏_a => (weaksetHas = $h͏_a)]]]]
|
|
7965
|
-
|
|
7967
|
+
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let WeakSet,arrayFilter,arrayFlatMap,arrayMap,arrayPop,arrayPush,defineProperty,freeze,fromEntries,isError,stringEndsWith,stringIncludes,stringSplit,weaksetAdd,weaksetHas;$h͏_imports([["../commons.js", [["WeakSet", [$h͏_a => (WeakSet = $h͏_a)]],["arrayFilter", [$h͏_a => (arrayFilter = $h͏_a)]],["arrayFlatMap", [$h͏_a => (arrayFlatMap = $h͏_a)]],["arrayMap", [$h͏_a => (arrayMap = $h͏_a)]],["arrayPop", [$h͏_a => (arrayPop = $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)]],["stringIncludes", [$h͏_a => (stringIncludes = $h͏_a)]],["stringSplit", [$h͏_a => (stringSplit = $h͏_a)]],["weaksetAdd", [$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas", [$h͏_a => (weaksetHas = $h͏_a)]]]]]);
|
|
7966
7968
|
|
|
7967
7969
|
|
|
7968
7970
|
|
|
@@ -7987,6 +7989,10 @@ const tameModuleSource= ()=> {
|
|
|
7987
7989
|
|
|
7988
7990
|
|
|
7989
7991
|
|
|
7992
|
+
/**
|
|
7993
|
+
* @import {FilterConsole, LogSeverity, VirtualConsole} from './types.js'
|
|
7994
|
+
* @import {ErrorInfo, ErrorInfoKind, LogRecord, NoteCallback, LoggedErrorHandler, MakeCausalConsole, MakeLoggingConsoleKit} from "./internal-types.js";
|
|
7995
|
+
*/
|
|
7990
7996
|
|
|
7991
7997
|
// For our internal debugging purposes, uncomment
|
|
7992
7998
|
// const internalDebugConsole = console;
|
|
@@ -8618,8 +8624,7 @@ const makeRejectionHandlers= (reportReason)=>{
|
|
|
8618
8624
|
})()
|
|
8619
8625
|
,
|
|
8620
8626
|
// === functors[37] ===
|
|
8621
|
-
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let TypeError,apply,defineProperty,freeze,globalThis,defaultHandler,makeCausalConsole,makeRejectionHandlers;$h͏_imports([["../commons.js", [["TypeError", [$h͏_a => (TypeError = $h͏_a)]],["apply", [$h͏_a => (apply = $h͏_a)]],["defineProperty", [$h͏_a => (defineProperty = $h͏_a)]],["freeze", [$h͏_a => (freeze = $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)]]]]
|
|
8622
|
-
|
|
8627
|
+
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let TypeError,apply,defineProperty,freeze,globalThis,defaultHandler,makeCausalConsole,makeRejectionHandlers;$h͏_imports([["../commons.js", [["TypeError", [$h͏_a => (TypeError = $h͏_a)]],["apply", [$h͏_a => (apply = $h͏_a)]],["defineProperty", [$h͏_a => (defineProperty = $h͏_a)]],["freeze", [$h͏_a => (freeze = $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)]]]]]);
|
|
8623
8628
|
|
|
8624
8629
|
|
|
8625
8630
|
|
|
@@ -8633,6 +8638,10 @@ const makeRejectionHandlers= (reportReason)=>{
|
|
|
8633
8638
|
|
|
8634
8639
|
|
|
8635
8640
|
|
|
8641
|
+
/**
|
|
8642
|
+
* @import {VirtualConsole} from './types.js'
|
|
8643
|
+
* @import {GetStackString} from './internal-types.js';
|
|
8644
|
+
*/
|
|
8636
8645
|
|
|
8637
8646
|
const failFast= (message)=>{
|
|
8638
8647
|
throw TypeError(message);
|
|
@@ -12506,8 +12515,6 @@ globalThis.repairIntrinsics= (options)=>{
|
|
|
12506
12515
|
|
|
12507
12516
|
|
|
12508
12517
|
|
|
12509
|
-
|
|
12510
|
-
|
|
12511
12518
|
const markVirtualizedNativeFunction= tameFunctionToString();
|
|
12512
12519
|
|
|
12513
12520
|
// @ts-ignore Compartment is definitely on globalThis.
|
package/dist/ses.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ses@1.9.
|
|
1
|
+
// ses@1.9.1
|
|
2
2
|
'use strict';
|
|
3
3
|
(functors => {
|
|
4
4
|
|
|
@@ -664,7 +664,6 @@ function observeImports(map, importName, importIndex) {
|
|
|
664
664
|
imports(entries) {
|
|
665
665
|
const map = new Map(entries);
|
|
666
666
|
observeImports(map, "../make-lru-cachemap.js", 7);
|
|
667
|
-
observeImports(map, "./internal-types.js", 6);
|
|
668
667
|
},
|
|
669
668
|
liveVar: {
|
|
670
669
|
},
|
|
@@ -1048,8 +1047,6 @@ function observeImports(map, importName, importIndex) {
|
|
|
1048
1047
|
imports(entries) {
|
|
1049
1048
|
const map = new Map(entries);
|
|
1050
1049
|
observeImports(map, "../commons.js", 0);
|
|
1051
|
-
observeImports(map, "./types.js", 5);
|
|
1052
|
-
observeImports(map, "./internal-types.js", 6);
|
|
1053
1050
|
},
|
|
1054
1051
|
liveVar: {
|
|
1055
1052
|
},
|
|
@@ -1083,8 +1080,6 @@ function observeImports(map, importName, importIndex) {
|
|
|
1083
1080
|
observeImports(map, "./assert.js", 9);
|
|
1084
1081
|
observeImports(map, "./console.js", 35);
|
|
1085
1082
|
observeImports(map, "./unhandled-rejection.js", 36);
|
|
1086
|
-
observeImports(map, "./types.js", 5);
|
|
1087
|
-
observeImports(map, "./internal-types.js", 6);
|
|
1088
1083
|
},
|
|
1089
1084
|
liveVar: {
|
|
1090
1085
|
},
|
|
@@ -2203,6 +2198,10 @@ freeze(bestEffortStringify);
|
|
|
2203
2198
|
// === functors[6] ===
|
|
2204
2199
|
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; $h͏_imports([]); // @ts-check
|
|
2205
2200
|
|
|
2201
|
+
/**
|
|
2202
|
+
* @import {VirtualConsole} from './types.js'
|
|
2203
|
+
*/
|
|
2204
|
+
|
|
2206
2205
|
/**
|
|
2207
2206
|
* @typedef {readonly any[]} LogArgs
|
|
2208
2207
|
*
|
|
@@ -2522,12 +2521,15 @@ freeze(makeLRUCacheMap);
|
|
|
2522
2521
|
})()
|
|
2523
2522
|
,
|
|
2524
2523
|
// === functors[8] ===
|
|
2525
|
-
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let makeLRUCacheMap;$h͏_imports([["../make-lru-cachemap.js", [["makeLRUCacheMap", [$h͏_a => (makeLRUCacheMap = $h͏_a)]]]]
|
|
2524
|
+
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let makeLRUCacheMap;$h͏_imports([["../make-lru-cachemap.js", [["makeLRUCacheMap", [$h͏_a => (makeLRUCacheMap = $h͏_a)]]]]]);
|
|
2526
2525
|
|
|
2527
2526
|
|
|
2528
2527
|
|
|
2529
2528
|
|
|
2530
2529
|
|
|
2530
|
+
/**
|
|
2531
|
+
* @import {LogArgs} from './internal-types.js';
|
|
2532
|
+
*/
|
|
2531
2533
|
|
|
2532
2534
|
const { freeze}= Object;
|
|
2533
2535
|
const { isSafeInteger}= Number;
|
|
@@ -2648,6 +2650,7 @@ freeze(makeNoteLogArgsArrayKit);
|
|
|
2648
2650
|
|
|
2649
2651
|
/**
|
|
2650
2652
|
* @import {BaseAssert, Assert, AssertionFunctions, AssertionUtilities, StringablePayload, DetailsToken, MakeAssert} from '../../types.js'
|
|
2653
|
+
* @import {LogArgs, NoteCallback, LoggedErrorHandler} from "./internal-types.js";
|
|
2651
2654
|
*/
|
|
2652
2655
|
|
|
2653
2656
|
// For our internal debugging purposes, uncomment
|
|
@@ -7961,8 +7964,7 @@ const tameModuleSource= ()=> {
|
|
|
7961
7964
|
})()
|
|
7962
7965
|
,
|
|
7963
7966
|
// === functors[35] ===
|
|
7964
|
-
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let WeakSet,arrayFilter,arrayFlatMap,arrayMap,arrayPop,arrayPush,defineProperty,freeze,fromEntries,isError,stringEndsWith,stringIncludes,stringSplit,weaksetAdd,weaksetHas;$h͏_imports([["../commons.js", [["WeakSet", [$h͏_a => (WeakSet = $h͏_a)]],["arrayFilter", [$h͏_a => (arrayFilter = $h͏_a)]],["arrayFlatMap", [$h͏_a => (arrayFlatMap = $h͏_a)]],["arrayMap", [$h͏_a => (arrayMap = $h͏_a)]],["arrayPop", [$h͏_a => (arrayPop = $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)]],["stringIncludes", [$h͏_a => (stringIncludes = $h͏_a)]],["stringSplit", [$h͏_a => (stringSplit = $h͏_a)]],["weaksetAdd", [$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas", [$h͏_a => (weaksetHas = $h͏_a)]]]]
|
|
7965
|
-
|
|
7967
|
+
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let WeakSet,arrayFilter,arrayFlatMap,arrayMap,arrayPop,arrayPush,defineProperty,freeze,fromEntries,isError,stringEndsWith,stringIncludes,stringSplit,weaksetAdd,weaksetHas;$h͏_imports([["../commons.js", [["WeakSet", [$h͏_a => (WeakSet = $h͏_a)]],["arrayFilter", [$h͏_a => (arrayFilter = $h͏_a)]],["arrayFlatMap", [$h͏_a => (arrayFlatMap = $h͏_a)]],["arrayMap", [$h͏_a => (arrayMap = $h͏_a)]],["arrayPop", [$h͏_a => (arrayPop = $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)]],["stringIncludes", [$h͏_a => (stringIncludes = $h͏_a)]],["stringSplit", [$h͏_a => (stringSplit = $h͏_a)]],["weaksetAdd", [$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas", [$h͏_a => (weaksetHas = $h͏_a)]]]]]);
|
|
7966
7968
|
|
|
7967
7969
|
|
|
7968
7970
|
|
|
@@ -7987,6 +7989,10 @@ const tameModuleSource= ()=> {
|
|
|
7987
7989
|
|
|
7988
7990
|
|
|
7989
7991
|
|
|
7992
|
+
/**
|
|
7993
|
+
* @import {FilterConsole, LogSeverity, VirtualConsole} from './types.js'
|
|
7994
|
+
* @import {ErrorInfo, ErrorInfoKind, LogRecord, NoteCallback, LoggedErrorHandler, MakeCausalConsole, MakeLoggingConsoleKit} from "./internal-types.js";
|
|
7995
|
+
*/
|
|
7990
7996
|
|
|
7991
7997
|
// For our internal debugging purposes, uncomment
|
|
7992
7998
|
// const internalDebugConsole = console;
|
|
@@ -8618,8 +8624,7 @@ const makeRejectionHandlers= (reportReason)=>{
|
|
|
8618
8624
|
})()
|
|
8619
8625
|
,
|
|
8620
8626
|
// === functors[37] ===
|
|
8621
|
-
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let TypeError,apply,defineProperty,freeze,globalThis,defaultHandler,makeCausalConsole,makeRejectionHandlers;$h͏_imports([["../commons.js", [["TypeError", [$h͏_a => (TypeError = $h͏_a)]],["apply", [$h͏_a => (apply = $h͏_a)]],["defineProperty", [$h͏_a => (defineProperty = $h͏_a)]],["freeze", [$h͏_a => (freeze = $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)]]]]
|
|
8622
|
-
|
|
8627
|
+
({ imports: $h͏_imports, liveVar: $h͏_live, onceVar: $h͏_once, importMeta: $h͏____meta, }) => (function () { 'use strict'; let TypeError,apply,defineProperty,freeze,globalThis,defaultHandler,makeCausalConsole,makeRejectionHandlers;$h͏_imports([["../commons.js", [["TypeError", [$h͏_a => (TypeError = $h͏_a)]],["apply", [$h͏_a => (apply = $h͏_a)]],["defineProperty", [$h͏_a => (defineProperty = $h͏_a)]],["freeze", [$h͏_a => (freeze = $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)]]]]]);
|
|
8623
8628
|
|
|
8624
8629
|
|
|
8625
8630
|
|
|
@@ -8633,6 +8638,10 @@ const makeRejectionHandlers= (reportReason)=>{
|
|
|
8633
8638
|
|
|
8634
8639
|
|
|
8635
8640
|
|
|
8641
|
+
/**
|
|
8642
|
+
* @import {VirtualConsole} from './types.js'
|
|
8643
|
+
* @import {GetStackString} from './internal-types.js';
|
|
8644
|
+
*/
|
|
8636
8645
|
|
|
8637
8646
|
const failFast= (message)=>{
|
|
8638
8647
|
throw TypeError(message);
|
|
@@ -12506,8 +12515,6 @@ globalThis.repairIntrinsics= (options)=>{
|
|
|
12506
12515
|
|
|
12507
12516
|
|
|
12508
12517
|
|
|
12509
|
-
|
|
12510
|
-
|
|
12511
12518
|
const markVirtualizedNativeFunction= tameFunctionToString();
|
|
12512
12519
|
|
|
12513
12520
|
// @ts-ignore Compartment is definitely on globalThis.
|