ses 1.15.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lockdown.cjs +360 -219
- package/dist/lockdown.mjs +360 -219
- package/dist/lockdown.umd.js +360 -219
- package/dist/lockdown.umd.min.js +1 -1
- package/dist/ses-hermes.cjs +360 -219
- package/dist/ses.cjs +360 -219
- package/dist/ses.mjs +360 -219
- package/dist/ses.umd.js +360 -219
- package/dist/ses.umd.min.js +1 -1
- package/package.json +7 -7
- package/src/commons.js +4 -1
- package/src/enablements.js +15 -14
- package/src/get-anonymous-intrinsics.js +2 -2
- package/src/lockdown.js +2 -0
- package/src/module-load.js +4 -4
- package/src/permits.js +13 -4
- package/src/tame-nan-sidechannel.js +103 -0
package/dist/ses-hermes.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ses@
|
|
1
|
+
// ses@2.0.0
|
|
2
2
|
(functors => options => {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -53,11 +53,13 @@
|
|
|
53
53
|
ArrayBuffer: cell("ArrayBuffer"),
|
|
54
54
|
Date: cell("Date"),
|
|
55
55
|
FinalizationRegistry: cell("FinalizationRegistry"),
|
|
56
|
-
|
|
56
|
+
FERAL_FLOAT64_ARRAY: cell("FERAL_FLOAT64_ARRAY"),
|
|
57
|
+
DataView: cell("DataView"),
|
|
57
58
|
JSON: cell("JSON"),
|
|
58
59
|
Map: cell("Map"),
|
|
59
60
|
Math: cell("Math"),
|
|
60
61
|
Number: cell("Number"),
|
|
62
|
+
BigInt: cell("BigInt"),
|
|
61
63
|
Object: cell("Object"),
|
|
62
64
|
Promise: cell("Promise"),
|
|
63
65
|
Proxy: cell("Proxy"),
|
|
@@ -281,6 +283,9 @@
|
|
|
281
283
|
{
|
|
282
284
|
default: cell("default"),
|
|
283
285
|
},
|
|
286
|
+
{
|
|
287
|
+
tameNaNSideChannel: cell("tameNaNSideChannel"),
|
|
288
|
+
},
|
|
284
289
|
{
|
|
285
290
|
default: cell("default"),
|
|
286
291
|
},
|
|
@@ -481,11 +486,13 @@ function observeImports(map, importName, importIndex) {
|
|
|
481
486
|
ArrayBuffer: cells[0].ArrayBuffer.set,
|
|
482
487
|
Date: cells[0].Date.set,
|
|
483
488
|
FinalizationRegistry: cells[0].FinalizationRegistry.set,
|
|
484
|
-
|
|
489
|
+
FERAL_FLOAT64_ARRAY: cells[0].FERAL_FLOAT64_ARRAY.set,
|
|
490
|
+
DataView: cells[0].DataView.set,
|
|
485
491
|
JSON: cells[0].JSON.set,
|
|
486
492
|
Map: cells[0].Map.set,
|
|
487
493
|
Math: cells[0].Math.set,
|
|
488
494
|
Number: cells[0].Number.set,
|
|
495
|
+
BigInt: cells[0].BigInt.set,
|
|
489
496
|
Object: cells[0].Object.set,
|
|
490
497
|
Promise: cells[0].Promise.set,
|
|
491
498
|
Proxy: cells[0].Proxy.set,
|
|
@@ -911,7 +918,7 @@ function observeImports(map, importName, importIndex) {
|
|
|
911
918
|
liveVar: {
|
|
912
919
|
},
|
|
913
920
|
onceVar: {
|
|
914
|
-
|
|
921
|
+
tameNaNSideChannel: cells[22].tameNaNSideChannel.set,
|
|
915
922
|
},
|
|
916
923
|
importMeta: {},
|
|
917
924
|
});
|
|
@@ -923,9 +930,7 @@ function observeImports(map, importName, importIndex) {
|
|
|
923
930
|
liveVar: {
|
|
924
931
|
},
|
|
925
932
|
onceVar: {
|
|
926
|
-
|
|
927
|
-
moderateEnablements: cells[23].moderateEnablements.set,
|
|
928
|
-
severeEnablements: cells[23].severeEnablements.set,
|
|
933
|
+
default: cells[23].default.set,
|
|
929
934
|
},
|
|
930
935
|
importMeta: {},
|
|
931
936
|
});
|
|
@@ -933,12 +938,13 @@ function observeImports(map, importName, importIndex) {
|
|
|
933
938
|
imports(entries) {
|
|
934
939
|
const map = new Map(entries);
|
|
935
940
|
observeImports(map, "./commons.js", 0);
|
|
936
|
-
observeImports(map, "./enablements.js", 23);
|
|
937
941
|
},
|
|
938
942
|
liveVar: {
|
|
939
943
|
},
|
|
940
944
|
onceVar: {
|
|
941
|
-
|
|
945
|
+
minEnablements: cells[24].minEnablements.set,
|
|
946
|
+
moderateEnablements: cells[24].moderateEnablements.set,
|
|
947
|
+
severeEnablements: cells[24].severeEnablements.set,
|
|
942
948
|
},
|
|
943
949
|
importMeta: {},
|
|
944
950
|
});
|
|
@@ -946,7 +952,7 @@ function observeImports(map, importName, importIndex) {
|
|
|
946
952
|
imports(entries) {
|
|
947
953
|
const map = new Map(entries);
|
|
948
954
|
observeImports(map, "./commons.js", 0);
|
|
949
|
-
observeImports(map, "./
|
|
955
|
+
observeImports(map, "./enablements.js", 24);
|
|
950
956
|
},
|
|
951
957
|
liveVar: {
|
|
952
958
|
},
|
|
@@ -958,24 +964,24 @@ function observeImports(map, importName, importIndex) {
|
|
|
958
964
|
functors[26]({
|
|
959
965
|
imports(entries) {
|
|
960
966
|
const map = new Map(entries);
|
|
967
|
+
observeImports(map, "./commons.js", 0);
|
|
968
|
+
observeImports(map, "./error/assert.js", 13);
|
|
961
969
|
},
|
|
962
970
|
liveVar: {
|
|
963
971
|
},
|
|
964
972
|
onceVar: {
|
|
965
|
-
|
|
973
|
+
default: cells[26].default.set,
|
|
966
974
|
},
|
|
967
975
|
importMeta: {},
|
|
968
976
|
});
|
|
969
977
|
functors[27]({
|
|
970
978
|
imports(entries) {
|
|
971
979
|
const map = new Map(entries);
|
|
972
|
-
observeImports(map, "./commons.js", 0);
|
|
973
|
-
observeImports(map, "./error/assert.js", 13);
|
|
974
980
|
},
|
|
975
981
|
liveVar: {
|
|
976
982
|
},
|
|
977
983
|
onceVar: {
|
|
978
|
-
|
|
984
|
+
makeEvalFunction: cells[27].makeEvalFunction.set,
|
|
979
985
|
},
|
|
980
986
|
importMeta: {},
|
|
981
987
|
});
|
|
@@ -983,17 +989,12 @@ function observeImports(map, importName, importIndex) {
|
|
|
983
989
|
imports(entries) {
|
|
984
990
|
const map = new Map(entries);
|
|
985
991
|
observeImports(map, "./commons.js", 0);
|
|
986
|
-
observeImports(map, "./
|
|
987
|
-
observeImports(map, "./make-function-constructor.js", 27);
|
|
988
|
-
observeImports(map, "./permits.js", 16);
|
|
992
|
+
observeImports(map, "./error/assert.js", 13);
|
|
989
993
|
},
|
|
990
994
|
liveVar: {
|
|
991
995
|
},
|
|
992
996
|
onceVar: {
|
|
993
|
-
|
|
994
|
-
setGlobalObjectConstantProperties: cells[28].setGlobalObjectConstantProperties.set,
|
|
995
|
-
setGlobalObjectMutableProperties: cells[28].setGlobalObjectMutableProperties.set,
|
|
996
|
-
setGlobalObjectEvaluators: cells[28].setGlobalObjectEvaluators.set,
|
|
997
|
+
makeFunctionConstructor: cells[28].makeFunctionConstructor.set,
|
|
997
998
|
},
|
|
998
999
|
importMeta: {},
|
|
999
1000
|
});
|
|
@@ -1001,14 +1002,17 @@ function observeImports(map, importName, importIndex) {
|
|
|
1001
1002
|
imports(entries) {
|
|
1002
1003
|
const map = new Map(entries);
|
|
1003
1004
|
observeImports(map, "./commons.js", 0);
|
|
1004
|
-
observeImports(map, "./
|
|
1005
|
+
observeImports(map, "./make-eval-function.js", 27);
|
|
1006
|
+
observeImports(map, "./make-function-constructor.js", 28);
|
|
1007
|
+
observeImports(map, "./permits.js", 16);
|
|
1005
1008
|
},
|
|
1006
1009
|
liveVar: {
|
|
1007
1010
|
},
|
|
1008
1011
|
onceVar: {
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
+
setGlobalObjectSymbolUnscopables: cells[29].setGlobalObjectSymbolUnscopables.set,
|
|
1013
|
+
setGlobalObjectConstantProperties: cells[29].setGlobalObjectConstantProperties.set,
|
|
1014
|
+
setGlobalObjectMutableProperties: cells[29].setGlobalObjectMutableProperties.set,
|
|
1015
|
+
setGlobalObjectEvaluators: cells[29].setGlobalObjectEvaluators.set,
|
|
1012
1016
|
},
|
|
1013
1017
|
importMeta: {},
|
|
1014
1018
|
});
|
|
@@ -1016,12 +1020,14 @@ function observeImports(map, importName, importIndex) {
|
|
|
1016
1020
|
imports(entries) {
|
|
1017
1021
|
const map = new Map(entries);
|
|
1018
1022
|
observeImports(map, "./commons.js", 0);
|
|
1019
|
-
observeImports(map, "./
|
|
1023
|
+
observeImports(map, "./error/assert.js", 13);
|
|
1020
1024
|
},
|
|
1021
1025
|
liveVar: {
|
|
1022
1026
|
},
|
|
1023
1027
|
onceVar: {
|
|
1024
|
-
|
|
1028
|
+
alwaysThrowHandler: cells[30].alwaysThrowHandler.set,
|
|
1029
|
+
strictScopeTerminatorHandler: cells[30].strictScopeTerminatorHandler.set,
|
|
1030
|
+
strictScopeTerminator: cells[30].strictScopeTerminator.set,
|
|
1025
1031
|
},
|
|
1026
1032
|
importMeta: {},
|
|
1027
1033
|
});
|
|
@@ -1029,12 +1035,12 @@ function observeImports(map, importName, importIndex) {
|
|
|
1029
1035
|
imports(entries) {
|
|
1030
1036
|
const map = new Map(entries);
|
|
1031
1037
|
observeImports(map, "./commons.js", 0);
|
|
1032
|
-
observeImports(map, "./
|
|
1038
|
+
observeImports(map, "./strict-scope-terminator.js", 30);
|
|
1033
1039
|
},
|
|
1034
1040
|
liveVar: {
|
|
1035
1041
|
},
|
|
1036
1042
|
onceVar: {
|
|
1037
|
-
|
|
1043
|
+
createSloppyGlobalsScopeTerminator: cells[31].createSloppyGlobalsScopeTerminator.set,
|
|
1038
1044
|
},
|
|
1039
1045
|
importMeta: {},
|
|
1040
1046
|
});
|
|
@@ -1042,11 +1048,12 @@ function observeImports(map, importName, importIndex) {
|
|
|
1042
1048
|
imports(entries) {
|
|
1043
1049
|
const map = new Map(entries);
|
|
1044
1050
|
observeImports(map, "./commons.js", 0);
|
|
1051
|
+
observeImports(map, "./error/assert.js", 13);
|
|
1045
1052
|
},
|
|
1046
1053
|
liveVar: {
|
|
1047
1054
|
},
|
|
1048
1055
|
onceVar: {
|
|
1049
|
-
|
|
1056
|
+
makeEvalScopeKit: cells[32].makeEvalScopeKit.set,
|
|
1050
1057
|
},
|
|
1051
1058
|
importMeta: {},
|
|
1052
1059
|
});
|
|
@@ -1054,19 +1061,11 @@ function observeImports(map, importName, importIndex) {
|
|
|
1054
1061
|
imports(entries) {
|
|
1055
1062
|
const map = new Map(entries);
|
|
1056
1063
|
observeImports(map, "./commons.js", 0);
|
|
1057
|
-
observeImports(map, "./get-source-url.js", 32);
|
|
1058
1064
|
},
|
|
1059
1065
|
liveVar: {
|
|
1060
1066
|
},
|
|
1061
1067
|
onceVar: {
|
|
1062
|
-
|
|
1063
|
-
evadeHtmlCommentTest: cells[33].evadeHtmlCommentTest.set,
|
|
1064
|
-
rejectImportExpressions: cells[33].rejectImportExpressions.set,
|
|
1065
|
-
evadeImportExpressionTest: cells[33].evadeImportExpressionTest.set,
|
|
1066
|
-
rejectSomeDirectEvalExpressions: cells[33].rejectSomeDirectEvalExpressions.set,
|
|
1067
|
-
mandatoryTransforms: cells[33].mandatoryTransforms.set,
|
|
1068
|
-
applyTransforms: cells[33].applyTransforms.set,
|
|
1069
|
-
transforms: cells[33].transforms.set,
|
|
1068
|
+
getSourceURL: cells[33].getSourceURL.set,
|
|
1070
1069
|
},
|
|
1071
1070
|
importMeta: {},
|
|
1072
1071
|
});
|
|
@@ -1074,12 +1073,19 @@ function observeImports(map, importName, importIndex) {
|
|
|
1074
1073
|
imports(entries) {
|
|
1075
1074
|
const map = new Map(entries);
|
|
1076
1075
|
observeImports(map, "./commons.js", 0);
|
|
1076
|
+
observeImports(map, "./get-source-url.js", 33);
|
|
1077
1077
|
},
|
|
1078
1078
|
liveVar: {
|
|
1079
1079
|
},
|
|
1080
1080
|
onceVar: {
|
|
1081
|
-
|
|
1082
|
-
|
|
1081
|
+
rejectHtmlComments: cells[34].rejectHtmlComments.set,
|
|
1082
|
+
evadeHtmlCommentTest: cells[34].evadeHtmlCommentTest.set,
|
|
1083
|
+
rejectImportExpressions: cells[34].rejectImportExpressions.set,
|
|
1084
|
+
evadeImportExpressionTest: cells[34].evadeImportExpressionTest.set,
|
|
1085
|
+
rejectSomeDirectEvalExpressions: cells[34].rejectSomeDirectEvalExpressions.set,
|
|
1086
|
+
mandatoryTransforms: cells[34].mandatoryTransforms.set,
|
|
1087
|
+
applyTransforms: cells[34].applyTransforms.set,
|
|
1088
|
+
transforms: cells[34].transforms.set,
|
|
1083
1089
|
},
|
|
1084
1090
|
importMeta: {},
|
|
1085
1091
|
});
|
|
@@ -1087,12 +1093,12 @@ function observeImports(map, importName, importIndex) {
|
|
|
1087
1093
|
imports(entries) {
|
|
1088
1094
|
const map = new Map(entries);
|
|
1089
1095
|
observeImports(map, "./commons.js", 0);
|
|
1090
|
-
observeImports(map, "./scope-constants.js", 34);
|
|
1091
1096
|
},
|
|
1092
1097
|
liveVar: {
|
|
1093
1098
|
},
|
|
1094
1099
|
onceVar: {
|
|
1095
|
-
|
|
1100
|
+
isValidIdentifierName: cells[35].isValidIdentifierName.set,
|
|
1101
|
+
getScopeConstants: cells[35].getScopeConstants.set,
|
|
1096
1102
|
},
|
|
1097
1103
|
importMeta: {},
|
|
1098
1104
|
});
|
|
@@ -1100,17 +1106,12 @@ function observeImports(map, importName, importIndex) {
|
|
|
1100
1106
|
imports(entries) {
|
|
1101
1107
|
const map = new Map(entries);
|
|
1102
1108
|
observeImports(map, "./commons.js", 0);
|
|
1103
|
-
observeImports(map, "./
|
|
1104
|
-
observeImports(map, "./sloppy-globals-scope-terminator.js", 30);
|
|
1105
|
-
observeImports(map, "./eval-scope.js", 31);
|
|
1106
|
-
observeImports(map, "./transforms.js", 33);
|
|
1107
|
-
observeImports(map, "./make-evaluate.js", 35);
|
|
1108
|
-
observeImports(map, "./error/assert.js", 13);
|
|
1109
|
+
observeImports(map, "./scope-constants.js", 35);
|
|
1109
1110
|
},
|
|
1110
1111
|
liveVar: {
|
|
1111
1112
|
},
|
|
1112
1113
|
onceVar: {
|
|
1113
|
-
|
|
1114
|
+
makeEvaluate: cells[36].makeEvaluate.set,
|
|
1114
1115
|
},
|
|
1115
1116
|
importMeta: {},
|
|
1116
1117
|
});
|
|
@@ -1118,11 +1119,17 @@ function observeImports(map, importName, importIndex) {
|
|
|
1118
1119
|
imports(entries) {
|
|
1119
1120
|
const map = new Map(entries);
|
|
1120
1121
|
observeImports(map, "./commons.js", 0);
|
|
1122
|
+
observeImports(map, "./strict-scope-terminator.js", 30);
|
|
1123
|
+
observeImports(map, "./sloppy-globals-scope-terminator.js", 31);
|
|
1124
|
+
observeImports(map, "./eval-scope.js", 32);
|
|
1125
|
+
observeImports(map, "./transforms.js", 34);
|
|
1126
|
+
observeImports(map, "./make-evaluate.js", 36);
|
|
1127
|
+
observeImports(map, "./error/assert.js", 13);
|
|
1121
1128
|
},
|
|
1122
1129
|
liveVar: {
|
|
1123
1130
|
},
|
|
1124
1131
|
onceVar: {
|
|
1125
|
-
|
|
1132
|
+
makeSafeEvaluator: cells[37].makeSafeEvaluator.set,
|
|
1126
1133
|
},
|
|
1127
1134
|
importMeta: {},
|
|
1128
1135
|
});
|
|
@@ -1134,7 +1141,7 @@ function observeImports(map, importName, importIndex) {
|
|
|
1134
1141
|
liveVar: {
|
|
1135
1142
|
},
|
|
1136
1143
|
onceVar: {
|
|
1137
|
-
|
|
1144
|
+
tameFunctionToString: cells[38].tameFunctionToString.set,
|
|
1138
1145
|
},
|
|
1139
1146
|
importMeta: {},
|
|
1140
1147
|
});
|
|
@@ -1146,25 +1153,19 @@ function observeImports(map, importName, importIndex) {
|
|
|
1146
1153
|
liveVar: {
|
|
1147
1154
|
},
|
|
1148
1155
|
onceVar: {
|
|
1149
|
-
|
|
1156
|
+
tameDomains: cells[39].tameDomains.set,
|
|
1150
1157
|
},
|
|
1151
1158
|
importMeta: {},
|
|
1152
1159
|
});
|
|
1153
1160
|
functors[40]({
|
|
1154
1161
|
imports(entries) {
|
|
1155
1162
|
const map = new Map(entries);
|
|
1156
|
-
observeImports(map, "
|
|
1163
|
+
observeImports(map, "./commons.js", 0);
|
|
1157
1164
|
},
|
|
1158
1165
|
liveVar: {
|
|
1159
1166
|
},
|
|
1160
1167
|
onceVar: {
|
|
1161
|
-
|
|
1162
|
-
consoleOtherMethods: cells[40].consoleOtherMethods.set,
|
|
1163
|
-
makeLoggingConsoleKit: cells[40].makeLoggingConsoleKit.set,
|
|
1164
|
-
pumpLogToConsole: cells[40].pumpLogToConsole.set,
|
|
1165
|
-
makeCausalConsole: cells[40].makeCausalConsole.set,
|
|
1166
|
-
defineCausalConsoleFromLogger: cells[40].defineCausalConsoleFromLogger.set,
|
|
1167
|
-
filterConsole: cells[40].filterConsole.set,
|
|
1168
|
+
tameModuleSource: cells[40].tameModuleSource.set,
|
|
1168
1169
|
},
|
|
1169
1170
|
importMeta: {},
|
|
1170
1171
|
});
|
|
@@ -1176,7 +1177,13 @@ function observeImports(map, importName, importIndex) {
|
|
|
1176
1177
|
liveVar: {
|
|
1177
1178
|
},
|
|
1178
1179
|
onceVar: {
|
|
1179
|
-
|
|
1180
|
+
consoleLevelMethods: cells[41].consoleLevelMethods.set,
|
|
1181
|
+
consoleOtherMethods: cells[41].consoleOtherMethods.set,
|
|
1182
|
+
makeLoggingConsoleKit: cells[41].makeLoggingConsoleKit.set,
|
|
1183
|
+
pumpLogToConsole: cells[41].pumpLogToConsole.set,
|
|
1184
|
+
makeCausalConsole: cells[41].makeCausalConsole.set,
|
|
1185
|
+
defineCausalConsoleFromLogger: cells[41].defineCausalConsoleFromLogger.set,
|
|
1186
|
+
filterConsole: cells[41].filterConsole.set,
|
|
1180
1187
|
},
|
|
1181
1188
|
importMeta: {},
|
|
1182
1189
|
});
|
|
@@ -1184,14 +1191,11 @@ function observeImports(map, importName, importIndex) {
|
|
|
1184
1191
|
imports(entries) {
|
|
1185
1192
|
const map = new Map(entries);
|
|
1186
1193
|
observeImports(map, "../commons.js", 0);
|
|
1187
|
-
observeImports(map, "./assert.js", 13);
|
|
1188
|
-
observeImports(map, "./console.js", 40);
|
|
1189
|
-
observeImports(map, "./unhandled-rejection.js", 41);
|
|
1190
1194
|
},
|
|
1191
1195
|
liveVar: {
|
|
1192
1196
|
},
|
|
1193
1197
|
onceVar: {
|
|
1194
|
-
|
|
1198
|
+
makeRejectionHandlers: cells[42].makeRejectionHandlers.set,
|
|
1195
1199
|
},
|
|
1196
1200
|
importMeta: {},
|
|
1197
1201
|
});
|
|
@@ -1199,13 +1203,14 @@ function observeImports(map, importName, importIndex) {
|
|
|
1199
1203
|
imports(entries) {
|
|
1200
1204
|
const map = new Map(entries);
|
|
1201
1205
|
observeImports(map, "../commons.js", 0);
|
|
1206
|
+
observeImports(map, "./assert.js", 13);
|
|
1207
|
+
observeImports(map, "./console.js", 41);
|
|
1208
|
+
observeImports(map, "./unhandled-rejection.js", 42);
|
|
1202
1209
|
},
|
|
1203
1210
|
liveVar: {
|
|
1204
1211
|
},
|
|
1205
1212
|
onceVar: {
|
|
1206
|
-
|
|
1207
|
-
shortenCallSiteString: cells[43].shortenCallSiteString.set,
|
|
1208
|
-
tameV8ErrorConstructor: cells[43].tameV8ErrorConstructor.set,
|
|
1213
|
+
tameConsole: cells[43].tameConsole.set,
|
|
1209
1214
|
},
|
|
1210
1215
|
importMeta: {},
|
|
1211
1216
|
});
|
|
@@ -1213,75 +1218,73 @@ function observeImports(map, importName, importIndex) {
|
|
|
1213
1218
|
imports(entries) {
|
|
1214
1219
|
const map = new Map(entries);
|
|
1215
1220
|
observeImports(map, "../commons.js", 0);
|
|
1216
|
-
observeImports(map, "../permits.js", 16);
|
|
1217
|
-
observeImports(map, "./tame-v8-error-constructor.js", 43);
|
|
1218
1221
|
},
|
|
1219
1222
|
liveVar: {
|
|
1220
1223
|
},
|
|
1221
1224
|
onceVar: {
|
|
1222
|
-
|
|
1225
|
+
filterFileName: cells[44].filterFileName.set,
|
|
1226
|
+
shortenCallSiteString: cells[44].shortenCallSiteString.set,
|
|
1227
|
+
tameV8ErrorConstructor: cells[44].tameV8ErrorConstructor.set,
|
|
1223
1228
|
},
|
|
1224
1229
|
importMeta: {},
|
|
1225
1230
|
});
|
|
1226
1231
|
functors[45]({
|
|
1227
1232
|
imports(entries) {
|
|
1228
1233
|
const map = new Map(entries);
|
|
1229
|
-
observeImports(map, "
|
|
1230
|
-
observeImports(map, "
|
|
1231
|
-
observeImports(map, "./error
|
|
1234
|
+
observeImports(map, "../commons.js", 0);
|
|
1235
|
+
observeImports(map, "../permits.js", 16);
|
|
1236
|
+
observeImports(map, "./tame-v8-error-constructor.js", 44);
|
|
1232
1237
|
},
|
|
1233
1238
|
liveVar: {
|
|
1234
1239
|
},
|
|
1235
1240
|
onceVar: {
|
|
1236
|
-
|
|
1237
|
-
load: cells[45].load.set,
|
|
1238
|
-
loadNow: cells[45].loadNow.set,
|
|
1241
|
+
default: cells[45].default.set,
|
|
1239
1242
|
},
|
|
1240
1243
|
importMeta: {},
|
|
1241
1244
|
});
|
|
1242
1245
|
functors[46]({
|
|
1243
1246
|
imports(entries) {
|
|
1244
1247
|
const map = new Map(entries);
|
|
1245
|
-
observeImports(map, "
|
|
1248
|
+
observeImports(map, "@endo/env-options", 3);
|
|
1246
1249
|
observeImports(map, "./commons.js", 0);
|
|
1247
1250
|
observeImports(map, "./error/assert.js", 13);
|
|
1248
1251
|
},
|
|
1249
1252
|
liveVar: {
|
|
1250
1253
|
},
|
|
1251
1254
|
onceVar: {
|
|
1252
|
-
|
|
1253
|
-
|
|
1255
|
+
makeAlias: cells[46].makeAlias.set,
|
|
1256
|
+
load: cells[46].load.set,
|
|
1257
|
+
loadNow: cells[46].loadNow.set,
|
|
1254
1258
|
},
|
|
1255
1259
|
importMeta: {},
|
|
1256
1260
|
});
|
|
1257
1261
|
functors[47]({
|
|
1258
1262
|
imports(entries) {
|
|
1259
1263
|
const map = new Map(entries);
|
|
1264
|
+
observeImports(map, "./module-load.js", 46);
|
|
1260
1265
|
observeImports(map, "./commons.js", 0);
|
|
1261
|
-
observeImports(map, "./
|
|
1262
|
-
observeImports(map, "./make-safe-evaluator.js", 36);
|
|
1266
|
+
observeImports(map, "./error/assert.js", 13);
|
|
1263
1267
|
},
|
|
1264
1268
|
liveVar: {
|
|
1265
1269
|
},
|
|
1266
1270
|
onceVar: {
|
|
1267
|
-
|
|
1268
|
-
|
|
1271
|
+
deferExports: cells[47].deferExports.set,
|
|
1272
|
+
getDeferredExports: cells[47].getDeferredExports.set,
|
|
1269
1273
|
},
|
|
1270
1274
|
importMeta: {},
|
|
1271
1275
|
});
|
|
1272
1276
|
functors[48]({
|
|
1273
1277
|
imports(entries) {
|
|
1274
1278
|
const map = new Map(entries);
|
|
1275
|
-
observeImports(map, "./error/assert.js", 13);
|
|
1276
|
-
observeImports(map, "./module-proxy.js", 46);
|
|
1277
1279
|
observeImports(map, "./commons.js", 0);
|
|
1278
|
-
observeImports(map, "./
|
|
1280
|
+
observeImports(map, "./transforms.js", 34);
|
|
1281
|
+
observeImports(map, "./make-safe-evaluator.js", 37);
|
|
1279
1282
|
},
|
|
1280
1283
|
liveVar: {
|
|
1281
1284
|
},
|
|
1282
1285
|
onceVar: {
|
|
1283
|
-
|
|
1284
|
-
|
|
1286
|
+
provideCompartmentEvaluator: cells[48].provideCompartmentEvaluator.set,
|
|
1287
|
+
compartmentEvaluate: cells[48].compartmentEvaluate.set,
|
|
1285
1288
|
},
|
|
1286
1289
|
importMeta: {},
|
|
1287
1290
|
});
|
|
@@ -1289,37 +1292,30 @@ function observeImports(map, importName, importIndex) {
|
|
|
1289
1292
|
imports(entries) {
|
|
1290
1293
|
const map = new Map(entries);
|
|
1291
1294
|
observeImports(map, "./error/assert.js", 13);
|
|
1292
|
-
observeImports(map, "./module-
|
|
1295
|
+
observeImports(map, "./module-proxy.js", 47);
|
|
1293
1296
|
observeImports(map, "./commons.js", 0);
|
|
1297
|
+
observeImports(map, "./compartment-evaluate.js", 48);
|
|
1294
1298
|
},
|
|
1295
1299
|
liveVar: {
|
|
1296
1300
|
},
|
|
1297
1301
|
onceVar: {
|
|
1298
|
-
|
|
1299
|
-
|
|
1302
|
+
makeVirtualModuleInstance: cells[49].makeVirtualModuleInstance.set,
|
|
1303
|
+
makeModuleInstance: cells[49].makeModuleInstance.set,
|
|
1300
1304
|
},
|
|
1301
1305
|
importMeta: {},
|
|
1302
1306
|
});
|
|
1303
1307
|
functors[50]({
|
|
1304
1308
|
imports(entries) {
|
|
1305
1309
|
const map = new Map(entries);
|
|
1306
|
-
observeImports(map, "./commons.js", 0);
|
|
1307
|
-
observeImports(map, "./global-object.js", 28);
|
|
1308
1310
|
observeImports(map, "./error/assert.js", 13);
|
|
1309
|
-
observeImports(map, "./
|
|
1310
|
-
observeImports(map, "./
|
|
1311
|
-
observeImports(map, "./module-link.js", 49);
|
|
1312
|
-
observeImports(map, "./module-proxy.js", 46);
|
|
1313
|
-
observeImports(map, "./compartment-evaluate.js", 47);
|
|
1314
|
-
observeImports(map, "./make-safe-evaluator.js", 36);
|
|
1311
|
+
observeImports(map, "./module-instance.js", 49);
|
|
1312
|
+
observeImports(map, "./commons.js", 0);
|
|
1315
1313
|
},
|
|
1316
1314
|
liveVar: {
|
|
1317
1315
|
},
|
|
1318
1316
|
onceVar: {
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
compartmentOptions: cells[50].compartmentOptions.set,
|
|
1322
|
-
makeCompartmentConstructor: cells[50].makeCompartmentConstructor.set,
|
|
1317
|
+
link: cells[50].link.set,
|
|
1318
|
+
instantiate: cells[50].instantiate.set,
|
|
1323
1319
|
},
|
|
1324
1320
|
importMeta: {},
|
|
1325
1321
|
});
|
|
@@ -1327,12 +1323,22 @@ function observeImports(map, importName, importIndex) {
|
|
|
1327
1323
|
imports(entries) {
|
|
1328
1324
|
const map = new Map(entries);
|
|
1329
1325
|
observeImports(map, "./commons.js", 0);
|
|
1330
|
-
observeImports(map, "./
|
|
1326
|
+
observeImports(map, "./global-object.js", 29);
|
|
1327
|
+
observeImports(map, "./error/assert.js", 13);
|
|
1328
|
+
observeImports(map, "./permits.js", 16);
|
|
1329
|
+
observeImports(map, "./module-load.js", 46);
|
|
1330
|
+
observeImports(map, "./module-link.js", 50);
|
|
1331
|
+
observeImports(map, "./module-proxy.js", 47);
|
|
1332
|
+
observeImports(map, "./compartment-evaluate.js", 48);
|
|
1333
|
+
observeImports(map, "./make-safe-evaluator.js", 37);
|
|
1331
1334
|
},
|
|
1332
1335
|
liveVar: {
|
|
1333
1336
|
},
|
|
1334
1337
|
onceVar: {
|
|
1335
|
-
|
|
1338
|
+
InertCompartment: cells[51].InertCompartment.set,
|
|
1339
|
+
CompartmentPrototype: cells[51].CompartmentPrototype.set,
|
|
1340
|
+
compartmentOptions: cells[51].compartmentOptions.set,
|
|
1341
|
+
makeCompartmentConstructor: cells[51].makeCompartmentConstructor.set,
|
|
1336
1342
|
},
|
|
1337
1343
|
importMeta: {},
|
|
1338
1344
|
});
|
|
@@ -1340,11 +1346,12 @@ function observeImports(map, importName, importIndex) {
|
|
|
1340
1346
|
imports(entries) {
|
|
1341
1347
|
const map = new Map(entries);
|
|
1342
1348
|
observeImports(map, "./commons.js", 0);
|
|
1349
|
+
observeImports(map, "./compartment.js", 51);
|
|
1343
1350
|
},
|
|
1344
1351
|
liveVar: {
|
|
1345
1352
|
},
|
|
1346
1353
|
onceVar: {
|
|
1347
|
-
|
|
1354
|
+
getAnonymousIntrinsics: cells[52].getAnonymousIntrinsics.set,
|
|
1348
1355
|
},
|
|
1349
1356
|
importMeta: {},
|
|
1350
1357
|
});
|
|
@@ -1356,7 +1363,7 @@ function observeImports(map, importName, importIndex) {
|
|
|
1356
1363
|
liveVar: {
|
|
1357
1364
|
},
|
|
1358
1365
|
onceVar: {
|
|
1359
|
-
|
|
1366
|
+
tameHarden: cells[53].tameHarden.set,
|
|
1360
1367
|
},
|
|
1361
1368
|
importMeta: {},
|
|
1362
1369
|
});
|
|
@@ -1368,8 +1375,7 @@ function observeImports(map, importName, importIndex) {
|
|
|
1368
1375
|
liveVar: {
|
|
1369
1376
|
},
|
|
1370
1377
|
onceVar: {
|
|
1371
|
-
|
|
1372
|
-
tameFauxDataProperties: cells[54].tameFauxDataProperties.set,
|
|
1378
|
+
tameSymbolConstructor: cells[54].tameSymbolConstructor.set,
|
|
1373
1379
|
},
|
|
1374
1380
|
importMeta: {},
|
|
1375
1381
|
});
|
|
@@ -1381,7 +1387,8 @@ function observeImports(map, importName, importIndex) {
|
|
|
1381
1387
|
liveVar: {
|
|
1382
1388
|
},
|
|
1383
1389
|
onceVar: {
|
|
1384
|
-
|
|
1390
|
+
tameFauxDataProperty: cells[55].tameFauxDataProperty.set,
|
|
1391
|
+
tameFauxDataProperties: cells[55].tameFauxDataProperties.set,
|
|
1385
1392
|
},
|
|
1386
1393
|
importMeta: {},
|
|
1387
1394
|
});
|
|
@@ -1393,7 +1400,7 @@ function observeImports(map, importName, importIndex) {
|
|
|
1393
1400
|
liveVar: {
|
|
1394
1401
|
},
|
|
1395
1402
|
onceVar: {
|
|
1396
|
-
|
|
1403
|
+
tameRegeneratorRuntime: cells[56].tameRegeneratorRuntime.set,
|
|
1397
1404
|
},
|
|
1398
1405
|
importMeta: {},
|
|
1399
1406
|
});
|
|
@@ -1401,17 +1408,29 @@ function observeImports(map, importName, importIndex) {
|
|
|
1401
1408
|
imports(entries) {
|
|
1402
1409
|
const map = new Map(entries);
|
|
1403
1410
|
observeImports(map, "./commons.js", 0);
|
|
1404
|
-
observeImports(map, "./error/assert.js", 13);
|
|
1405
1411
|
},
|
|
1406
1412
|
liveVar: {
|
|
1407
1413
|
},
|
|
1408
1414
|
onceVar: {
|
|
1409
|
-
|
|
1410
|
-
reportInGroup: cells[57].reportInGroup.set,
|
|
1415
|
+
shimArrayBufferTransfer: cells[57].shimArrayBufferTransfer.set,
|
|
1411
1416
|
},
|
|
1412
1417
|
importMeta: {},
|
|
1413
1418
|
});
|
|
1414
1419
|
functors[58]({
|
|
1420
|
+
imports(entries) {
|
|
1421
|
+
const map = new Map(entries);
|
|
1422
|
+
observeImports(map, "./commons.js", 0);
|
|
1423
|
+
observeImports(map, "./error/assert.js", 13);
|
|
1424
|
+
},
|
|
1425
|
+
liveVar: {
|
|
1426
|
+
},
|
|
1427
|
+
onceVar: {
|
|
1428
|
+
chooseReporter: cells[58].chooseReporter.set,
|
|
1429
|
+
reportInGroup: cells[58].reportInGroup.set,
|
|
1430
|
+
},
|
|
1431
|
+
importMeta: {},
|
|
1432
|
+
});
|
|
1433
|
+
functors[59]({
|
|
1415
1434
|
imports(entries) {
|
|
1416
1435
|
const map = new Map(entries);
|
|
1417
1436
|
observeImports(map, "@endo/env-options", 3);
|
|
@@ -1423,40 +1442,41 @@ function observeImports(map, importName, importIndex) {
|
|
|
1423
1442
|
observeImports(map, "./tame-function-constructors.js", 19);
|
|
1424
1443
|
observeImports(map, "./tame-date-constructor.js", 20);
|
|
1425
1444
|
observeImports(map, "./tame-math-object.js", 21);
|
|
1426
|
-
observeImports(map, "./tame-
|
|
1427
|
-
observeImports(map, "./
|
|
1428
|
-
observeImports(map, "./
|
|
1429
|
-
observeImports(map, "./
|
|
1430
|
-
observeImports(map, "./
|
|
1445
|
+
observeImports(map, "./tame-nan-sidechannel.js", 22);
|
|
1446
|
+
observeImports(map, "./tame-regexp-constructor.js", 23);
|
|
1447
|
+
observeImports(map, "./enable-property-overrides.js", 25);
|
|
1448
|
+
observeImports(map, "./tame-locale-methods.js", 26);
|
|
1449
|
+
observeImports(map, "./global-object.js", 29);
|
|
1450
|
+
observeImports(map, "./make-safe-evaluator.js", 37);
|
|
1431
1451
|
observeImports(map, "./permits.js", 16);
|
|
1432
|
-
observeImports(map, "./tame-function-tostring.js",
|
|
1433
|
-
observeImports(map, "./tame-domains.js",
|
|
1434
|
-
observeImports(map, "./tame-module-source.js",
|
|
1435
|
-
observeImports(map, "./error/tame-console.js",
|
|
1436
|
-
observeImports(map, "./error/tame-error-constructor.js",
|
|
1452
|
+
observeImports(map, "./tame-function-tostring.js", 38);
|
|
1453
|
+
observeImports(map, "./tame-domains.js", 39);
|
|
1454
|
+
observeImports(map, "./tame-module-source.js", 40);
|
|
1455
|
+
observeImports(map, "./error/tame-console.js", 43);
|
|
1456
|
+
observeImports(map, "./error/tame-error-constructor.js", 45);
|
|
1437
1457
|
observeImports(map, "./error/assert.js", 13);
|
|
1438
|
-
observeImports(map, "./get-anonymous-intrinsics.js",
|
|
1439
|
-
observeImports(map, "./compartment.js",
|
|
1440
|
-
observeImports(map, "./tame-harden.js",
|
|
1441
|
-
observeImports(map, "./tame-symbol-constructor.js",
|
|
1442
|
-
observeImports(map, "./tame-faux-data-properties.js",
|
|
1443
|
-
observeImports(map, "./tame-regenerator-runtime.js",
|
|
1444
|
-
observeImports(map, "./shim-arraybuffer-transfer.js",
|
|
1445
|
-
observeImports(map, "./reporting.js",
|
|
1458
|
+
observeImports(map, "./get-anonymous-intrinsics.js", 52);
|
|
1459
|
+
observeImports(map, "./compartment.js", 51);
|
|
1460
|
+
observeImports(map, "./tame-harden.js", 53);
|
|
1461
|
+
observeImports(map, "./tame-symbol-constructor.js", 54);
|
|
1462
|
+
observeImports(map, "./tame-faux-data-properties.js", 55);
|
|
1463
|
+
observeImports(map, "./tame-regenerator-runtime.js", 56);
|
|
1464
|
+
observeImports(map, "./shim-arraybuffer-transfer.js", 57);
|
|
1465
|
+
observeImports(map, "./reporting.js", 58);
|
|
1446
1466
|
},
|
|
1447
1467
|
liveVar: {
|
|
1448
1468
|
},
|
|
1449
1469
|
onceVar: {
|
|
1450
|
-
repairIntrinsics: cells[
|
|
1470
|
+
repairIntrinsics: cells[59].repairIntrinsics.set,
|
|
1451
1471
|
},
|
|
1452
1472
|
importMeta: {},
|
|
1453
1473
|
});
|
|
1454
|
-
functors[
|
|
1474
|
+
functors[60]({
|
|
1455
1475
|
imports(entries) {
|
|
1456
1476
|
const map = new Map(entries);
|
|
1457
1477
|
observeImports(map, "./assert-sloppy-mode.js", 1);
|
|
1458
1478
|
observeImports(map, "./commons.js", 0);
|
|
1459
|
-
observeImports(map, "./lockdown.js",
|
|
1479
|
+
observeImports(map, "./lockdown.js", 59);
|
|
1460
1480
|
},
|
|
1461
1481
|
liveVar: {
|
|
1462
1482
|
},
|
|
@@ -1464,14 +1484,14 @@ function observeImports(map, importName, importIndex) {
|
|
|
1464
1484
|
},
|
|
1465
1485
|
importMeta: {},
|
|
1466
1486
|
});
|
|
1467
|
-
functors[
|
|
1487
|
+
functors[61]({
|
|
1468
1488
|
imports(entries) {
|
|
1469
1489
|
const map = new Map(entries);
|
|
1470
1490
|
observeImports(map, "./commons.js", 0);
|
|
1471
|
-
observeImports(map, "./compartment.js",
|
|
1472
|
-
observeImports(map, "./tame-function-tostring.js",
|
|
1491
|
+
observeImports(map, "./compartment.js", 51);
|
|
1492
|
+
observeImports(map, "./tame-function-tostring.js", 38);
|
|
1473
1493
|
observeImports(map, "./intrinsics.js", 17);
|
|
1474
|
-
observeImports(map, "./reporting.js",
|
|
1494
|
+
observeImports(map, "./reporting.js", 58);
|
|
1475
1495
|
},
|
|
1476
1496
|
liveVar: {
|
|
1477
1497
|
},
|
|
@@ -1479,7 +1499,7 @@ function observeImports(map, importName, importIndex) {
|
|
|
1479
1499
|
},
|
|
1480
1500
|
importMeta: {},
|
|
1481
1501
|
});
|
|
1482
|
-
functors[
|
|
1502
|
+
functors[62]({
|
|
1483
1503
|
imports(entries) {
|
|
1484
1504
|
const map = new Map(entries);
|
|
1485
1505
|
observeImports(map, "./commons.js", 0);
|
|
@@ -1491,11 +1511,11 @@ function observeImports(map, importName, importIndex) {
|
|
|
1491
1511
|
},
|
|
1492
1512
|
importMeta: {},
|
|
1493
1513
|
});
|
|
1494
|
-
functors[
|
|
1514
|
+
functors[63]({
|
|
1495
1515
|
imports(entries) {
|
|
1496
1516
|
const map = new Map(entries);
|
|
1497
1517
|
observeImports(map, "./commons.js", 0);
|
|
1498
|
-
observeImports(map, "./error/console.js",
|
|
1518
|
+
observeImports(map, "./error/console.js", 41);
|
|
1499
1519
|
observeImports(map, "./error/assert.js", 13);
|
|
1500
1520
|
},
|
|
1501
1521
|
liveVar: {
|
|
@@ -1504,13 +1524,13 @@ function observeImports(map, importName, importIndex) {
|
|
|
1504
1524
|
},
|
|
1505
1525
|
importMeta: {},
|
|
1506
1526
|
});
|
|
1507
|
-
functors[
|
|
1527
|
+
functors[64]({
|
|
1508
1528
|
imports(entries) {
|
|
1509
1529
|
const map = new Map(entries);
|
|
1510
|
-
observeImports(map, "./src/lockdown-shim.js",
|
|
1511
|
-
observeImports(map, "./src/compartment-shim.js",
|
|
1512
|
-
observeImports(map, "./src/assert-shim.js",
|
|
1513
|
-
observeImports(map, "./src/console-shim.js",
|
|
1530
|
+
observeImports(map, "./src/lockdown-shim.js", 60);
|
|
1531
|
+
observeImports(map, "./src/compartment-shim.js", 61);
|
|
1532
|
+
observeImports(map, "./src/assert-shim.js", 62);
|
|
1533
|
+
observeImports(map, "./src/console-shim.js", 63);
|
|
1514
1534
|
},
|
|
1515
1535
|
liveVar: {
|
|
1516
1536
|
},
|
|
@@ -1550,11 +1570,14 @@ const universalThis = globalThis;$h͏_once.universalThis(universalThis);
|
|
|
1550
1570
|
ArrayBuffer,
|
|
1551
1571
|
Date,
|
|
1552
1572
|
FinalizationRegistry,
|
|
1553
|
-
|
|
1573
|
+
// Renamed to FERAL_* because it enables the NaN side-channel
|
|
1574
|
+
Float64Array: FERAL_FLOAT64_ARRAY,
|
|
1575
|
+
DataView,
|
|
1554
1576
|
JSON,
|
|
1555
1577
|
Map,
|
|
1556
1578
|
Math,
|
|
1557
1579
|
Number,
|
|
1580
|
+
BigInt,
|
|
1558
1581
|
Object,
|
|
1559
1582
|
Promise,
|
|
1560
1583
|
Proxy,
|
|
@@ -1566,7 +1589,7 @@ const universalThis = globalThis;$h͏_once.universalThis(universalThis);
|
|
|
1566
1589
|
Uint8Array,
|
|
1567
1590
|
WeakMap,
|
|
1568
1591
|
WeakSet,
|
|
1569
|
-
} = globalThis;$h͏_once.Array(Array);$h͏_once.ArrayBuffer(ArrayBuffer);$h͏_once.Date(Date);$h͏_once.FinalizationRegistry(FinalizationRegistry);$h͏_once.
|
|
1592
|
+
} = globalThis;$h͏_once.Array(Array);$h͏_once.ArrayBuffer(ArrayBuffer);$h͏_once.Date(Date);$h͏_once.FinalizationRegistry(FinalizationRegistry);$h͏_once.FERAL_FLOAT64_ARRAY(FERAL_FLOAT64_ARRAY);$h͏_once.DataView(DataView);$h͏_once.JSON(JSON);$h͏_once.Map(Map);$h͏_once.Math(Math);$h͏_once.Number(Number);$h͏_once.BigInt(BigInt);$h͏_once.Object(Object);$h͏_once.Promise(Promise);$h͏_once.Proxy(Proxy);$h͏_once.Reflect(Reflect);$h͏_once.FERAL_REG_EXP(FERAL_REG_EXP);$h͏_once.Set(Set);$h͏_once.String(String);$h͏_once.Symbol(Symbol);$h͏_once.Uint8Array(Uint8Array);$h͏_once.WeakMap(WeakMap);$h͏_once.WeakSet(WeakSet);
|
|
1570
1593
|
|
|
1571
1594
|
const {
|
|
1572
1595
|
// The feral Error constructor is safe for internal use, but must not be
|
|
@@ -4318,10 +4341,7 @@ const freezeTypedArray = array => {
|
|
|
4318
4341
|
Boolean: 'Boolean',
|
|
4319
4342
|
DataView: 'DataView',
|
|
4320
4343
|
EvalError: 'EvalError',
|
|
4321
|
-
|
|
4322
|
-
Float16Array: 'Float16Array',
|
|
4323
|
-
Float32Array: 'Float32Array',
|
|
4324
|
-
Float64Array: 'Float64Array',
|
|
4344
|
+
|
|
4325
4345
|
Int8Array: 'Int8Array',
|
|
4326
4346
|
Int16Array: 'Int16Array',
|
|
4327
4347
|
Int32Array: 'Int32Array',
|
|
@@ -4403,6 +4423,18 @@ const freezeTypedArray = array => {
|
|
|
4403
4423
|
|
|
4404
4424
|
Math: '%InitialMath%',
|
|
4405
4425
|
|
|
4426
|
+
// We move these from universalPropertyNames because the NaN side channel
|
|
4427
|
+
// means that they are not quite harmless.
|
|
4428
|
+
// We move them to initialGlobalPropertyNames so that they'll still be
|
|
4429
|
+
// included in the primordials, repaired, and hardened. Thus, they
|
|
4430
|
+
// can be endowed into compartments without hazard beyond the
|
|
4431
|
+
// NaN side channel.
|
|
4432
|
+
//
|
|
4433
|
+
// // https://github.com/tc39/proposal-float16array
|
|
4434
|
+
Float16Array: 'Float16Array',
|
|
4435
|
+
Float32Array: 'Float32Array',
|
|
4436
|
+
Float64Array: 'Float64Array',
|
|
4437
|
+
|
|
4406
4438
|
// ESNext
|
|
4407
4439
|
|
|
4408
4440
|
// From Error-stack proposal
|
|
@@ -6831,7 +6863,113 @@ function sampleGlobals(globalObject, newPropertyNames) {
|
|
|
6831
6863
|
}$h͏_once.default( tameMathObject);
|
|
6832
6864
|
})()
|
|
6833
6865
|
,
|
|
6834
|
-
// === 22. ses ./src/tame-
|
|
6866
|
+
// === 22. ses ./src/tame-nan-sidechannel.js ===
|
|
6867
|
+
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Object,DataView,Reflect,Number;$h͏_imports([["./commons.js", [["Object",[$h͏_a => (Object = $h͏_a)]],["DataView",[$h͏_a => (DataView = $h͏_a)]],["Reflect",[$h͏_a => (Reflect = $h͏_a)]],["Number",[$h͏_a => (Number = $h͏_a)]]]]]);
|
|
6868
|
+
|
|
6869
|
+
const { is, defineProperty, entries } = Object;
|
|
6870
|
+
const { apply } = Reflect;
|
|
6871
|
+
|
|
6872
|
+
const { prototype: dataViewPrototype } = DataView;
|
|
6873
|
+
|
|
6874
|
+
/**
|
|
6875
|
+
* These `FERAL*` methods open up the NaN side-channel on some platforms,
|
|
6876
|
+
* like v8. Thus, we need to encapsulate them and replace them with wrappers
|
|
6877
|
+
* that canonicaize NaNs.
|
|
6878
|
+
*/
|
|
6879
|
+
const {
|
|
6880
|
+
setFloat16: FERAL_SET_FLOAT16,
|
|
6881
|
+
setFloat32: FERAL_SET_FLOAT32,
|
|
6882
|
+
setFloat64: FERAL_SET_FLOAT64,
|
|
6883
|
+
|
|
6884
|
+
setUint16,
|
|
6885
|
+
setUint32,
|
|
6886
|
+
setBigUint64,
|
|
6887
|
+
} = dataViewPrototype;
|
|
6888
|
+
|
|
6889
|
+
// See https://webidl.spec.whatwg.org/#js-unrestricted-double which implies
|
|
6890
|
+
// that this is the canonical NaN for web standards.
|
|
6891
|
+
// Casual googling stongly suggests that this is also the cosmWasm
|
|
6892
|
+
// canonical NaN. But I have not yet found an authoritative page stating this.
|
|
6893
|
+
const canonicalNaN = 0x7ff8000000000000n;
|
|
6894
|
+
|
|
6895
|
+
// Use method shorthand syntax to be this-sensitive but now be constructable
|
|
6896
|
+
// nor have a `prototype` property.
|
|
6897
|
+
const methods = {
|
|
6898
|
+
/**
|
|
6899
|
+
* @param {number} byteOffset
|
|
6900
|
+
* @param {number} value
|
|
6901
|
+
* @param {boolean} [littleEndian]
|
|
6902
|
+
*/
|
|
6903
|
+
setFloat16(byteOffset, value, littleEndian = undefined) {
|
|
6904
|
+
if (is(value, NaN)) {
|
|
6905
|
+
return apply(setUint16, this, [
|
|
6906
|
+
byteOffset,
|
|
6907
|
+
Number(canonicalNaN),
|
|
6908
|
+
littleEndian,
|
|
6909
|
+
]);
|
|
6910
|
+
} else {
|
|
6911
|
+
return apply(FERAL_SET_FLOAT16, this, [byteOffset, value, littleEndian]);
|
|
6912
|
+
}
|
|
6913
|
+
},
|
|
6914
|
+
/**
|
|
6915
|
+
* @param {number} byteOffset
|
|
6916
|
+
* @param {number} value
|
|
6917
|
+
* @param {boolean} [littleEndian]
|
|
6918
|
+
*/
|
|
6919
|
+
setFloat32(byteOffset, value, littleEndian = undefined) {
|
|
6920
|
+
if (is(value, NaN)) {
|
|
6921
|
+
return apply(setUint32, this, [
|
|
6922
|
+
byteOffset,
|
|
6923
|
+
Number(canonicalNaN),
|
|
6924
|
+
littleEndian,
|
|
6925
|
+
]);
|
|
6926
|
+
} else {
|
|
6927
|
+
return apply(FERAL_SET_FLOAT32, this, [byteOffset, value, littleEndian]);
|
|
6928
|
+
}
|
|
6929
|
+
},
|
|
6930
|
+
/**
|
|
6931
|
+
* @param {number} byteOffset
|
|
6932
|
+
* @param {number} value
|
|
6933
|
+
* @param {boolean} [littleEndian]
|
|
6934
|
+
*/
|
|
6935
|
+
setFloat64(byteOffset, value, littleEndian = undefined) {
|
|
6936
|
+
if (is(value, NaN)) {
|
|
6937
|
+
return apply(setBigUint64, this, [
|
|
6938
|
+
byteOffset,
|
|
6939
|
+
canonicalNaN,
|
|
6940
|
+
littleEndian,
|
|
6941
|
+
]);
|
|
6942
|
+
} else {
|
|
6943
|
+
return apply(FERAL_SET_FLOAT64, this, [byteOffset, value, littleEndian]);
|
|
6944
|
+
}
|
|
6945
|
+
},
|
|
6946
|
+
};
|
|
6947
|
+
|
|
6948
|
+
/**
|
|
6949
|
+
* Replaces the dangerous `setFloat*` methods on `DataView.prototype`
|
|
6950
|
+
* with safe wrappers that first canonicalize NaNs before calling the
|
|
6951
|
+
* original hidden methods.
|
|
6952
|
+
* By itself, this does not make us safe against the NaN side channel.
|
|
6953
|
+
* Separately, we do not include the `Float*Array` constructors on the
|
|
6954
|
+
* list of universal safe globals. Thus, constructed compartments do not
|
|
6955
|
+
* get these by default.
|
|
6956
|
+
*
|
|
6957
|
+
* These replacement `setFloat*` methods canonicalize NaN, but they
|
|
6958
|
+
* do not canonicalize `-0` to `0`. If callers wish to do so, they should do
|
|
6959
|
+
* it themselves before calling these
|
|
6960
|
+
*/
|
|
6961
|
+
const tameNaNSideChannel = () => {
|
|
6962
|
+
for (const [name, method] of entries(methods)) {
|
|
6963
|
+
defineProperty(dataViewPrototype, name, {
|
|
6964
|
+
// Since we're redefining properties that already exist, by omitting the
|
|
6965
|
+
// other descriptor attributes here, they are unchanged.
|
|
6966
|
+
value: method,
|
|
6967
|
+
});
|
|
6968
|
+
}
|
|
6969
|
+
};$h͏_once.tameNaNSideChannel(tameNaNSideChannel);
|
|
6970
|
+
})()
|
|
6971
|
+
,
|
|
6972
|
+
// === 23. ses ./src/tame-regexp-constructor.js ===
|
|
6835
6973
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';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)]]]]]);
|
|
6836
6974
|
|
|
6837
6975
|
|
|
@@ -6899,7 +7037,7 @@ function sampleGlobals(globalObject, newPropertyNames) {
|
|
|
6899
7037
|
}$h͏_once.default( tameRegExpConstructor);
|
|
6900
7038
|
})()
|
|
6901
7039
|
,
|
|
6902
|
-
// ===
|
|
7040
|
+
// === 24. ses ./src/enablements.js ===
|
|
6903
7041
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let toStringTagSymbol,iteratorSymbol;$h͏_imports([["./commons.js", [["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]],["iteratorSymbol",[$h͏_a => (iteratorSymbol = $h͏_a)]]]]]);
|
|
6904
7042
|
|
|
6905
7043
|
/**
|
|
@@ -6997,38 +7135,39 @@ function sampleGlobals(globalObject, newPropertyNames) {
|
|
|
6997
7135
|
...minEnablements,
|
|
6998
7136
|
|
|
6999
7137
|
'%ObjectPrototype%': {
|
|
7000
|
-
|
|
7138
|
+
...minEnablements['%ObjectPrototype%'],
|
|
7001
7139
|
valueOf: true,
|
|
7002
7140
|
},
|
|
7003
7141
|
|
|
7004
|
-
'%ArrayPrototype%': {
|
|
7005
|
-
toString: true,
|
|
7006
|
-
push: true, // set by "Google Analytics"
|
|
7007
|
-
concat: true, // set by mobx generated code (old TS compiler?)
|
|
7008
|
-
[iteratorSymbol]: true // set by mobx generated code (old TS compiler?)
|
|
7009
|
-
},
|
|
7010
|
-
|
|
7011
|
-
'%IteratorPrototype%': {
|
|
7012
|
-
[iteratorSymbol]: true // is sometimes used in custom iterators and generators implementations eg. @rive-app/canvas
|
|
7013
|
-
},
|
|
7014
|
-
|
|
7015
7142
|
// Function.prototype has no 'prototype' property to enable.
|
|
7016
7143
|
// Function instances have their own 'name' and 'length' properties
|
|
7017
7144
|
// which are configurable and non-writable. Thus, they are already
|
|
7018
7145
|
// non-assignable anyway.
|
|
7019
7146
|
'%FunctionPrototype%': {
|
|
7147
|
+
...minEnablements['%FunctionPrototype%'],
|
|
7020
7148
|
constructor: true, // set by "regenerator-runtime"
|
|
7021
|
-
bind: true
|
|
7022
|
-
toString: true // set by "rollup"
|
|
7149
|
+
bind: true // set by "underscore", "express"
|
|
7023
7150
|
},
|
|
7024
7151
|
|
|
7025
7152
|
'%ErrorPrototype%': {
|
|
7153
|
+
...minEnablements['%ErrorPrototype%'],
|
|
7026
7154
|
constructor: true, // set by "fast-json-patch", "node-fetch"
|
|
7027
7155
|
message: true,
|
|
7028
|
-
name: true, // set by "precond", "ava", "node-fetch", "node 14"
|
|
7029
7156
|
toString: true // set by "bluebird"
|
|
7030
7157
|
},
|
|
7031
7158
|
|
|
7159
|
+
'%IteratorPrototype%': {
|
|
7160
|
+
...minEnablements['%IteratorPrototype%'],
|
|
7161
|
+
[iteratorSymbol]: true // is sometimes used in custom iterators and generators implementations eg. @rive-app/canvas
|
|
7162
|
+
},
|
|
7163
|
+
|
|
7164
|
+
'%ArrayPrototype%': {
|
|
7165
|
+
toString: true,
|
|
7166
|
+
push: true, // set by "Google Analytics"
|
|
7167
|
+
concat: true, // set by mobx generated code (old TS compiler?)
|
|
7168
|
+
[iteratorSymbol]: true // set by mobx generated code (old TS compiler?)
|
|
7169
|
+
},
|
|
7170
|
+
|
|
7032
7171
|
'%TypeErrorPrototype%': {
|
|
7033
7172
|
constructor: true, // set by "readable-stream"
|
|
7034
7173
|
message: true, // set by "tape"
|
|
@@ -7145,7 +7284,7 @@ function sampleGlobals(globalObject, newPropertyNames) {
|
|
|
7145
7284
|
};$h͏_once.severeEnablements(severeEnablements);
|
|
7146
7285
|
})()
|
|
7147
7286
|
,
|
|
7148
|
-
// ===
|
|
7287
|
+
// === 25. ses ./src/enable-property-overrides.js ===
|
|
7149
7288
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Set,String,TypeError,arrayForEach,defineProperty,getOwnPropertyDescriptor,getOwnPropertyDescriptors,isPrimitive,hasOwn,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)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $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)]]]]]);
|
|
7150
7289
|
|
|
7151
7290
|
|
|
@@ -7359,7 +7498,7 @@ function sampleGlobals(globalObject, newPropertyNames) {
|
|
|
7359
7498
|
}$h͏_once.default( enablePropertyOverrides);
|
|
7360
7499
|
})()
|
|
7361
7500
|
,
|
|
7362
|
-
// ===
|
|
7501
|
+
// === 26. ses ./src/tame-locale-methods.js ===
|
|
7363
7502
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Number,String,TypeError,defineProperty,getOwnPropertyNames,isPrimitive,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)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["regexpExec",[$h͏_a => (regexpExec = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);
|
|
7364
7503
|
|
|
7365
7504
|
|
|
@@ -7440,7 +7579,7 @@ const numberToString = tamedMethods.toString;
|
|
|
7440
7579
|
}$h͏_once.default( tameLocaleMethods);
|
|
7441
7580
|
})()
|
|
7442
7581
|
,
|
|
7443
|
-
// ===
|
|
7582
|
+
// === 27. ses ./src/make-eval-function.js ===
|
|
7444
7583
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);/**
|
|
7445
7584
|
* makeEvalFunction()
|
|
7446
7585
|
* A safe version of the native eval function which relies on
|
|
@@ -7471,7 +7610,7 @@ const numberToString = tamedMethods.toString;
|
|
|
7471
7610
|
};$h͏_once.makeEvalFunction(makeEvalFunction);
|
|
7472
7611
|
})()
|
|
7473
7612
|
,
|
|
7474
|
-
// ===
|
|
7613
|
+
// === 28. ses ./src/make-function-constructor.js ===
|
|
7475
7614
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';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)]]]]]);
|
|
7476
7615
|
|
|
7477
7616
|
|
|
@@ -7553,7 +7692,7 @@ const { Fail } = assert;
|
|
|
7553
7692
|
};$h͏_once.makeFunctionConstructor(makeFunctionConstructor);
|
|
7554
7693
|
})()
|
|
7555
7694
|
,
|
|
7556
|
-
// ===
|
|
7695
|
+
// === 29. ses ./src/global-object.js ===
|
|
7557
7696
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let TypeError,assign,create,defineProperty,entries,freeze,hasOwn,unscopablesSymbol,makeEvalFunction,makeFunctionConstructor,constantProperties,universalPropertyNames;$h͏_imports([["./commons.js", [["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["assign",[$h͏_a => (assign = $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)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]],["unscopablesSymbol",[$h͏_a => (unscopablesSymbol = $h͏_a)]]]],["./make-eval-function.js", [["makeEvalFunction",[$h͏_a => (makeEvalFunction = $h͏_a)]]]],["./make-function-constructor.js", [["makeFunctionConstructor",[$h͏_a => (makeFunctionConstructor = $h͏_a)]]]],["./permits.js", [["constantProperties",[$h͏_a => (constantProperties = $h͏_a)]],["universalPropertyNames",[$h͏_a => (universalPropertyNames = $h͏_a)]]]]]);
|
|
7558
7697
|
|
|
7559
7698
|
|
|
@@ -7731,7 +7870,7 @@ const { Fail } = assert;
|
|
|
7731
7870
|
};$h͏_once.setGlobalObjectEvaluators(setGlobalObjectEvaluators);
|
|
7732
7871
|
})()
|
|
7733
7872
|
,
|
|
7734
|
-
// ===
|
|
7873
|
+
// === 30. ses ./src/strict-scope-terminator.js ===
|
|
7735
7874
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Proxy,String,TypeError,ReferenceError,create,freeze,getOwnPropertyDescriptors,assert;$h͏_imports([["./commons.js", [["Proxy",[$h͏_a => (Proxy = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["ReferenceError",[$h͏_a => (ReferenceError = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);
|
|
7736
7875
|
|
|
7737
7876
|
|
|
@@ -7833,7 +7972,7 @@ const scopeProxyHandlerProperties = {
|
|
|
7833
7972
|
);$h͏_once.strictScopeTerminator(strictScopeTerminator);
|
|
7834
7973
|
})()
|
|
7835
7974
|
,
|
|
7836
|
-
// ===
|
|
7975
|
+
// === 31. ses ./src/sloppy-globals-scope-terminator.js ===
|
|
7837
7976
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Proxy,create,freeze,getOwnPropertyDescriptors,reflectSet,strictScopeTerminatorHandler,alwaysThrowHandler;$h͏_imports([["./commons.js", [["Proxy",[$h͏_a => (Proxy = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["reflectSet",[$h͏_a => (reflectSet = $h͏_a)]]]],["./strict-scope-terminator.js", [["strictScopeTerminatorHandler",[$h͏_a => (strictScopeTerminatorHandler = $h͏_a)]],["alwaysThrowHandler",[$h͏_a => (alwaysThrowHandler = $h͏_a)]]]]]);
|
|
7838
7977
|
|
|
7839
7978
|
|
|
@@ -7897,7 +8036,7 @@ const objTarget = freeze({ __proto__: null });
|
|
|
7897
8036
|
freeze(createSloppyGlobalsScopeTerminator);
|
|
7898
8037
|
})()
|
|
7899
8038
|
,
|
|
7900
|
-
// ===
|
|
8039
|
+
// === 32. ses ./src/eval-scope.js ===
|
|
7901
8040
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_EVAL,create,defineProperties,freeze,assert;$h͏_imports([["./commons.js", [["FERAL_EVAL",[$h͏_a => (FERAL_EVAL = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);
|
|
7902
8041
|
|
|
7903
8042
|
|
|
@@ -7989,7 +8128,7 @@ const { Fail } = assert;
|
|
|
7989
8128
|
};$h͏_once.makeEvalScopeKit(makeEvalScopeKit);
|
|
7990
8129
|
})()
|
|
7991
8130
|
,
|
|
7992
|
-
// ===
|
|
8131
|
+
// === 33. ses ./src/get-source-url.js ===
|
|
7993
8132
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';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)]]]]]);
|
|
7994
8133
|
|
|
7995
8134
|
// Captures a key and value of the form #key=value or @key=value
|
|
@@ -8042,7 +8181,7 @@ const sourceMetaEntriesRegExp = new FERAL_REG_EXP(
|
|
|
8042
8181
|
};$h͏_once.getSourceURL(getSourceURL);
|
|
8043
8182
|
})()
|
|
8044
8183
|
,
|
|
8045
|
-
// ===
|
|
8184
|
+
// === 34. ses ./src/transforms.js ===
|
|
8046
8185
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_REG_EXP,SyntaxError,regexpReplace,sealRegexp,stringSearch,stringSlice,stringSplit,freeze,getSourceURL;$h͏_imports([["./commons.js", [["FERAL_REG_EXP",[$h͏_a => (FERAL_REG_EXP = $h͏_a)]],["SyntaxError",[$h͏_a => (SyntaxError = $h͏_a)]],["regexpReplace",[$h͏_a => (regexpReplace = $h͏_a)]],["sealRegexp",[$h͏_a => (sealRegexp = $h͏_a)]],["stringSearch",[$h͏_a => (stringSearch = $h͏_a)]],["stringSlice",[$h͏_a => (stringSlice = $h͏_a)]],["stringSplit",[$h͏_a => (stringSplit = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]]]],["./get-source-url.js", [["getSourceURL",[$h͏_a => (getSourceURL = $h͏_a)]]]]]);
|
|
8047
8186
|
|
|
8048
8187
|
|
|
@@ -8314,7 +8453,7 @@ $h͏_once.applyTransforms(applyTransforms);const transforms=freeze({
|
|
|
8314
8453
|
});$h͏_once.transforms(transforms);
|
|
8315
8454
|
})()
|
|
8316
8455
|
,
|
|
8317
|
-
// ===
|
|
8456
|
+
// === 35. ses ./src/scope-constants.js ===
|
|
8318
8457
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let arrayFilter,arrayIncludes,getOwnPropertyDescriptor,getOwnPropertyNames,hasOwn,regexpExec,Set,setHas;$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)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]],["regexpExec",[$h͏_a => (regexpExec = $h͏_a)]],["Set",[$h͏_a => (Set = $h͏_a)]],["setHas",[$h͏_a => (setHas = $h͏_a)]]]]]);
|
|
8319
8458
|
|
|
8320
8459
|
|
|
@@ -8491,7 +8630,7 @@ function isImmutableDataProperty(obj, name) {
|
|
|
8491
8630
|
};$h͏_once.getScopeConstants(getScopeConstants);
|
|
8492
8631
|
})()
|
|
8493
8632
|
,
|
|
8494
|
-
// ===
|
|
8633
|
+
// === 36. ses ./src/make-evaluate.js ===
|
|
8495
8634
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_FUNCTION,arrayJoin,apply,getScopeConstants;$h͏_imports([["./commons.js", [["FERAL_FUNCTION",[$h͏_a => (FERAL_FUNCTION = $h͏_a)]],["arrayJoin",[$h͏_a => (arrayJoin = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]]]],["./scope-constants.js", [["getScopeConstants",[$h͏_a => (getScopeConstants = $h͏_a)]]]]]);
|
|
8496
8635
|
|
|
8497
8636
|
|
|
@@ -8604,7 +8743,7 @@ function buildOptimizer(constants, name) {
|
|
|
8604
8743
|
};$h͏_once.makeEvaluate(makeEvaluate);
|
|
8605
8744
|
})()
|
|
8606
8745
|
,
|
|
8607
|
-
// ===
|
|
8746
|
+
// === 37. ses ./src/make-safe-evaluator.js ===
|
|
8608
8747
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let apply,arrayFlatMap,freeze,identity,strictScopeTerminator,createSloppyGlobalsScopeTerminator,makeEvalScopeKit,applyTransforms,mandatoryTransforms,makeEvaluate,assert;$h͏_imports([["./commons.js", [["apply",[$h͏_a => (apply = $h͏_a)]],["arrayFlatMap",[$h͏_a => (arrayFlatMap = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["identity",[$h͏_a => (identity = $h͏_a)]]]],["./strict-scope-terminator.js", [["strictScopeTerminator",[$h͏_a => (strictScopeTerminator = $h͏_a)]]]],["./sloppy-globals-scope-terminator.js", [["createSloppyGlobalsScopeTerminator",[$h͏_a => (createSloppyGlobalsScopeTerminator = $h͏_a)]]]],["./eval-scope.js", [["makeEvalScopeKit",[$h͏_a => (makeEvalScopeKit = $h͏_a)]]]],["./transforms.js", [["applyTransforms",[$h͏_a => (applyTransforms = $h͏_a)]],["mandatoryTransforms",[$h͏_a => (mandatoryTransforms = $h͏_a)]]]],["./make-evaluate.js", [["makeEvaluate",[$h͏_a => (makeEvaluate = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);
|
|
8609
8748
|
|
|
8610
8749
|
|
|
@@ -8719,7 +8858,7 @@ const { Fail } = assert;
|
|
|
8719
8858
|
};$h͏_once.makeSafeEvaluator(makeSafeEvaluator);
|
|
8720
8859
|
})()
|
|
8721
8860
|
,
|
|
8722
|
-
// ===
|
|
8861
|
+
// === 38. ses ./src/tame-function-tostring.js ===
|
|
8723
8862
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';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)]]]]]);
|
|
8724
8863
|
|
|
8725
8864
|
|
|
@@ -8772,7 +8911,7 @@ let markVirtualizedNativeFunction;
|
|
|
8772
8911
|
};$h͏_once.tameFunctionToString(tameFunctionToString);
|
|
8773
8912
|
})()
|
|
8774
8913
|
,
|
|
8775
|
-
// ===
|
|
8914
|
+
// === 39. ses ./src/tame-domains.js ===
|
|
8776
8915
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';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);
|
|
8777
8916
|
|
|
8778
8917
|
|
|
@@ -8816,7 +8955,7 @@ let markVirtualizedNativeFunction;
|
|
|
8816
8955
|
}
|
|
8817
8956
|
})()
|
|
8818
8957
|
,
|
|
8819
|
-
// ===
|
|
8958
|
+
// === 40. ses ./src/tame-module-source.js ===
|
|
8820
8959
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let functionPrototype,getPrototypeOf,globalThis,objectPrototype,setPrototypeOf;$h͏_imports([["./commons.js", [["functionPrototype",[$h͏_a => (functionPrototype = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["objectPrototype",[$h͏_a => (objectPrototype = $h͏_a)]],["setPrototypeOf",[$h͏_a => (setPrototypeOf = $h͏_a)]]]]]);
|
|
8821
8960
|
|
|
8822
8961
|
|
|
@@ -8870,7 +9009,7 @@ let markVirtualizedNativeFunction;
|
|
|
8870
9009
|
};$h͏_once.tameModuleSource(tameModuleSource);
|
|
8871
9010
|
})()
|
|
8872
9011
|
,
|
|
8873
|
-
// ===
|
|
9012
|
+
// === 41. ses ./src/error/console.js ===
|
|
8874
9013
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,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)]]]]]);
|
|
8875
9014
|
|
|
8876
9015
|
|
|
@@ -9414,7 +9553,7 @@ freeze(defineCausalConsoleFromLogger);
|
|
|
9414
9553
|
freeze(filterConsole);
|
|
9415
9554
|
})()
|
|
9416
9555
|
,
|
|
9417
|
-
// ===
|
|
9556
|
+
// === 42. ses ./src/error/unhandled-rejection.js ===
|
|
9418
9557
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';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)]]]]]);
|
|
9419
9558
|
|
|
9420
9559
|
|
|
@@ -9539,7 +9678,7 @@ freeze(filterConsole);
|
|
|
9539
9678
|
};$h͏_once.makeRejectionHandlers(makeRejectionHandlers);
|
|
9540
9679
|
})()
|
|
9541
9680
|
,
|
|
9542
|
-
// ===
|
|
9681
|
+
// === 43. ses ./src/error/tame-console.js ===
|
|
9543
9682
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,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)]]]]]);
|
|
9544
9683
|
|
|
9545
9684
|
|
|
@@ -9739,7 +9878,7 @@ const wrapLogger = (logger, thisArg) =>
|
|
|
9739
9878
|
};$h͏_once.tameConsole(tameConsole);
|
|
9740
9879
|
})()
|
|
9741
9880
|
,
|
|
9742
|
-
// ===
|
|
9881
|
+
// === 44. ses ./src/error/tame-v8-error-constructor.js ===
|
|
9743
9882
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let WeakMap,WeakSet,apply,arrayFilter,arrayJoin,arrayMap,arraySlice,create,defineProperties,fromEntries,reflectSet,regexpExec,weakmapGet,weakmapSet,weaksetAdd,weaksetHas,TypeError;$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)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["weakmapSet",[$h͏_a => (weakmapSet = $h͏_a)]],["weaksetAdd",[$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas",[$h͏_a => (weaksetHas = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]]]]]);
|
|
9744
9883
|
|
|
9745
9884
|
|
|
@@ -10131,7 +10270,7 @@ const CALLSITE_PATTERNS = [
|
|
|
10131
10270
|
};$h͏_once.tameV8ErrorConstructor(tameV8ErrorConstructor);
|
|
10132
10271
|
})()
|
|
10133
10272
|
,
|
|
10134
|
-
// ===
|
|
10273
|
+
// === 45. ses ./src/error/tame-error-constructor.js ===
|
|
10135
10274
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_ERROR,apply,construct,defineProperties,setPrototypeOf,getOwnPropertyDescriptor,defineProperty,getOwnPropertyDescriptors,NativeErrors,tameV8ErrorConstructor;$h͏_imports([["../commons.js", [["FERAL_ERROR",[$h͏_a => (FERAL_ERROR = $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)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]]]],["../permits.js", [["NativeErrors",[$h͏_a => (NativeErrors = $h͏_a)]]]],["./tame-v8-error-constructor.js", [["tameV8ErrorConstructor",[$h͏_a => (tameV8ErrorConstructor = $h͏_a)]]]]]);
|
|
10136
10275
|
|
|
10137
10276
|
|
|
@@ -10418,7 +10557,7 @@ let initialGetStackString = tamedMethods.getStackString;
|
|
|
10418
10557
|
}$h͏_once.default( tameErrorConstructor);
|
|
10419
10558
|
})()
|
|
10420
10559
|
,
|
|
10421
|
-
// ===
|
|
10560
|
+
// === 46. ses ./src/module-load.js ===
|
|
10422
10561
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let getenv,Map,Set,TypeError,arrayJoin,arrayMap,arrayPush,arraySome,create,freeze,generatorNext,generatorThrow,getOwnPropertyNames,isArray,isPrimitive,mapGet,mapHas,mapSet,promiseThen,setAdd,values,weakmapGet,weakmapHas,makeError,annotateError,q,b,X;$h͏_imports([["@endo/env-options", [["getEnvironmentOption",[$h͏_a => (getenv = $h͏_a)]]]],["./commons.js", [["Map",[$h͏_a => (Map = $h͏_a)]],["Set",[$h͏_a => (Set = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["arrayJoin",[$h͏_a => (arrayJoin = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["arrayPush",[$h͏_a => (arrayPush = $h͏_a)]],["arraySome",[$h͏_a => (arraySome = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["generatorNext",[$h͏_a => (generatorNext = $h͏_a)]],["generatorThrow",[$h͏_a => (generatorThrow = $h͏_a)]],["getOwnPropertyNames",[$h͏_a => (getOwnPropertyNames = $h͏_a)]],["isArray",[$h͏_a => (isArray = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["mapGet",[$h͏_a => (mapGet = $h͏_a)]],["mapHas",[$h͏_a => (mapHas = $h͏_a)]],["mapSet",[$h͏_a => (mapSet = $h͏_a)]],["promiseThen",[$h͏_a => (promiseThen = $h͏_a)]],["setAdd",[$h͏_a => (setAdd = $h͏_a)]],["values",[$h͏_a => (values = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["weakmapHas",[$h͏_a => (weakmapHas = $h͏_a)]]]],["./error/assert.js", [["makeError",[$h͏_a => (makeError = $h͏_a)]],["annotateError",[$h͏_a => (annotateError = $h͏_a)]],["q",[$h͏_a => (q = $h͏_a)]],["b",[$h͏_a => (b = $h͏_a)]],["X",[$h͏_a => (X = $h͏_a)]]]]]);
|
|
10423
10562
|
|
|
10424
10563
|
|
|
@@ -10931,7 +11070,7 @@ const memoizedLoadWithErrorAnnotation = (
|
|
|
10931
11070
|
/**
|
|
10932
11071
|
* If `aggregateErrors` is `false`, the `errors` property of the fulfilled object
|
|
10933
11072
|
* will always be empty.
|
|
10934
|
-
* @param {{errors?: Error[], noAggregateErrors?: boolean}} [options]
|
|
11073
|
+
* @param {{errors?: Error[], noAggregateErrors?: boolean | undefined}} [options]
|
|
10935
11074
|
*/
|
|
10936
11075
|
const asyncJobQueue = ({ errors = [], noAggregateErrors = false } = {}) => {
|
|
10937
11076
|
/** @type {Set<Promise<undefined>>} */
|
|
@@ -10973,7 +11112,7 @@ const asyncJobQueue = ({ errors = [], noAggregateErrors = false } = {}) => {
|
|
|
10973
11112
|
/**
|
|
10974
11113
|
* If `aggregateErrors` is `false`, the `errors` property of the returned object
|
|
10975
11114
|
* will always be empty.
|
|
10976
|
-
* @param {{errors?: Error[], noAggregateErrors?: boolean}} [options]
|
|
11115
|
+
* @param {{errors?: Error[], noAggregateErrors?: boolean | undefined}} [options]
|
|
10977
11116
|
*/
|
|
10978
11117
|
const syncJobQueue = ({ errors = [], noAggregateErrors = false } = {}) => {
|
|
10979
11118
|
let current = [];
|
|
@@ -11046,7 +11185,7 @@ const preferAsync = (asyncImpl, _syncImpl) => asyncImpl;
|
|
|
11046
11185
|
* @param {WeakMap<object, object>} moduleAliases
|
|
11047
11186
|
* @param {Compartment} compartment
|
|
11048
11187
|
* @param {string} moduleSpecifier - The module specifier to load.
|
|
11049
|
-
* @param {{ noAggregateErrors?: boolean}} options
|
|
11188
|
+
* @param {{ noAggregateErrors?: boolean | undefined}} options
|
|
11050
11189
|
*/
|
|
11051
11190
|
const load =async function(
|
|
11052
11191
|
compartmentPrivateFields,
|
|
@@ -11097,7 +11236,7 @@ const preferAsync = (asyncImpl, _syncImpl) => asyncImpl;
|
|
|
11097
11236
|
* @param {WeakMap<object, object>} moduleAliases
|
|
11098
11237
|
* @param {Compartment} compartment
|
|
11099
11238
|
* @param {string} moduleSpecifier - The module specifier to load.
|
|
11100
|
-
* @param {{ noAggregateErrors?: boolean}} options
|
|
11239
|
+
* @param {{ noAggregateErrors?: boolean | undefined}} options
|
|
11101
11240
|
*/$h͏_once.load(load);
|
|
11102
11241
|
|
|
11103
11242
|
const loadNow = (
|
|
@@ -11140,7 +11279,7 @@ const preferAsync = (asyncImpl, _syncImpl) => asyncImpl;
|
|
|
11140
11279
|
};$h͏_once.loadNow(loadNow);
|
|
11141
11280
|
})()
|
|
11142
11281
|
,
|
|
11143
|
-
// ===
|
|
11282
|
+
// === 47. ses ./src/module-proxy.js ===
|
|
11144
11283
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let makeAlias,Proxy,TypeError,create,freeze,mapGet,mapHas,mapSet,ownKeys,reflectGet,reflectGetOwnPropertyDescriptor,reflectHas,reflectIsExtensible,reflectPreventExtensions,toStringTagSymbol,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)]],["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]],["weakmapSet",[$h͏_a => (weakmapSet = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);
|
|
11145
11284
|
|
|
11146
11285
|
|
|
@@ -11343,7 +11482,7 @@ const { quote: q } = assert;
|
|
|
11343
11482
|
};$h͏_once.getDeferredExports(getDeferredExports);
|
|
11344
11483
|
})()
|
|
11345
11484
|
,
|
|
11346
|
-
// ===
|
|
11485
|
+
// === 48. ses ./src/compartment-evaluate.js ===
|
|
11347
11486
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let TypeError,arrayPush,create,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)]],["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)]]]]]);
|
|
11348
11487
|
|
|
11349
11488
|
|
|
@@ -11439,7 +11578,7 @@ const { quote: q } = assert;
|
|
|
11439
11578
|
};$h͏_once.compartmentEvaluate(compartmentEvaluate);
|
|
11440
11579
|
})()
|
|
11441
11580
|
,
|
|
11442
|
-
// ===
|
|
11581
|
+
// === 49. ses ./src/module-instance.js ===
|
|
11443
11582
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';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)]]]]]);
|
|
11444
11583
|
|
|
11445
11584
|
|
|
@@ -11943,7 +12082,7 @@ $h͏_once.makeVirtualModuleInstance(makeVirtualModuleInstance);const makeModuleI
|
|
|
11943
12082
|
};$h͏_once.makeModuleInstance(makeModuleInstance);
|
|
11944
12083
|
})()
|
|
11945
12084
|
,
|
|
11946
|
-
// ===
|
|
12085
|
+
// === 50. ses ./src/module-link.js ===
|
|
11947
12086
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let assert,makeModuleInstance,makeVirtualModuleInstance,Map,ReferenceError,TypeError,entries,isArray,isPrimitive,mapGet,mapHas,mapSet,weakmapGet;$h͏_imports([["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]],["./module-instance.js", [["makeModuleInstance",[$h͏_a => (makeModuleInstance = $h͏_a)]],["makeVirtualModuleInstance",[$h͏_a => (makeVirtualModuleInstance = $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)]],["isPrimitive",[$h͏_a => (isPrimitive = $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)]]]]]);
|
|
11948
12087
|
|
|
11949
12088
|
|
|
@@ -12105,7 +12244,7 @@ function validateModuleSource(moduleSource, moduleSpecifier) {
|
|
|
12105
12244
|
};$h͏_once.instantiate(instantiate);
|
|
12106
12245
|
})()
|
|
12107
12246
|
,
|
|
12108
|
-
// ===
|
|
12247
|
+
// === 51. ses ./src/compartment.js ===
|
|
12109
12248
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Map,TypeError,WeakMap,arrayFlatMap,assign,defineProperties,identity,promiseThen,toStringTagSymbol,weakmapGet,weakmapSet,setGlobalObjectSymbolUnscopables,setGlobalObjectConstantProperties,setGlobalObjectMutableProperties,setGlobalObjectEvaluators,assert,assertEqual,q,sharedGlobalPropertyNames,load,loadNow,link,getDeferredExports,compartmentEvaluate,makeSafeEvaluator;$h͏_imports([["./commons.js", [["Map",[$h͏_a => (Map = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["WeakMap",[$h͏_a => (WeakMap = $h͏_a)]],["arrayFlatMap",[$h͏_a => (arrayFlatMap = $h͏_a)]],["assign",[$h͏_a => (assign = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["identity",[$h͏_a => (identity = $h͏_a)]],["promiseThen",[$h͏_a => (promiseThen = $h͏_a)]],["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["weakmapSet",[$h͏_a => (weakmapSet = $h͏_a)]]]],["./global-object.js", [["setGlobalObjectSymbolUnscopables",[$h͏_a => (setGlobalObjectSymbolUnscopables = $h͏_a)]],["setGlobalObjectConstantProperties",[$h͏_a => (setGlobalObjectConstantProperties = $h͏_a)]],["setGlobalObjectMutableProperties",[$h͏_a => (setGlobalObjectMutableProperties = $h͏_a)]],["setGlobalObjectEvaluators",[$h͏_a => (setGlobalObjectEvaluators = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]],["assertEqual",[$h͏_a => (assertEqual = $h͏_a)]],["q",[$h͏_a => (q = $h͏_a)]]]],["./permits.js", [["sharedGlobalPropertyNames",[$h͏_a => (sharedGlobalPropertyNames = $h͏_a)]]]],["./module-load.js", [["load",[$h͏_a => (load = $h͏_a)]],["loadNow",[$h͏_a => (loadNow = $h͏_a)]]]],["./module-link.js", [["link",[$h͏_a => (link = $h͏_a)]]]],["./module-proxy.js", [["getDeferredExports",[$h͏_a => (getDeferredExports = $h͏_a)]]]],["./compartment-evaluate.js", [["compartmentEvaluate",[$h͏_a => (compartmentEvaluate = $h͏_a)]]]],["./make-safe-evaluator.js", [["makeSafeEvaluator",[$h͏_a => (makeSafeEvaluator = $h͏_a)]]]]]);
|
|
12110
12249
|
|
|
12111
12250
|
|
|
@@ -12585,8 +12724,8 @@ defineProperties(InertCompartment, {
|
|
|
12585
12724
|
};$h͏_once.makeCompartmentConstructor(makeCompartmentConstructor);
|
|
12586
12725
|
})()
|
|
12587
12726
|
,
|
|
12588
|
-
// ===
|
|
12589
|
-
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_FUNCTION,
|
|
12727
|
+
// === 52. ses ./src/get-anonymous-intrinsics.js ===
|
|
12728
|
+
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_FUNCTION,FERAL_FLOAT64_ARRAY,Map,Set,String,getOwnPropertyDescriptor,getPrototypeOf,iterateArray,iterateMap,iterateSet,iterateString,matchAllRegExp,matchAllSymbol,regexpPrototype,globalThis,assign,AsyncGeneratorFunctionInstance,ArrayBuffer,InertCompartment;$h͏_imports([["./commons.js", [["FERAL_FUNCTION",[$h͏_a => (FERAL_FUNCTION = $h͏_a)]],["FERAL_FLOAT64_ARRAY",[$h͏_a => (FERAL_FLOAT64_ARRAY = $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)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["assign",[$h͏_a => (assign = $h͏_a)]],["AsyncGeneratorFunctionInstance",[$h͏_a => (AsyncGeneratorFunctionInstance = $h͏_a)]],["ArrayBuffer",[$h͏_a => (ArrayBuffer = $h͏_a)]]]],["./compartment.js", [["InertCompartment",[$h͏_a => (InertCompartment = $h͏_a)]]]]]);
|
|
12590
12729
|
|
|
12591
12730
|
|
|
12592
12731
|
|
|
@@ -12660,7 +12799,7 @@ function makeArguments() {
|
|
|
12660
12799
|
|
|
12661
12800
|
// 22.2.1 The %TypedArray% Intrinsic Object
|
|
12662
12801
|
|
|
12663
|
-
const TypedArray = getPrototypeOf(
|
|
12802
|
+
const TypedArray = getPrototypeOf(FERAL_FLOAT64_ARRAY);
|
|
12664
12803
|
|
|
12665
12804
|
// 23.1.5.2 The %MapIteratorPrototype% Object
|
|
12666
12805
|
|
|
@@ -12768,7 +12907,7 @@ function makeArguments() {
|
|
|
12768
12907
|
};$h͏_once.getAnonymousIntrinsics(getAnonymousIntrinsics);
|
|
12769
12908
|
})()
|
|
12770
12909
|
,
|
|
12771
|
-
// ===
|
|
12910
|
+
// === 53. ses ./src/tame-harden.js ===
|
|
12772
12911
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let freeze;$h͏_imports([["./commons.js", [["freeze",[$h͏_a => (freeze = $h͏_a)]]]]]);
|
|
12773
12912
|
|
|
12774
12913
|
|
|
@@ -12800,7 +12939,7 @@ function makeArguments() {
|
|
|
12800
12939
|
freeze(tameHarden);
|
|
12801
12940
|
})()
|
|
12802
12941
|
,
|
|
12803
|
-
// ===
|
|
12942
|
+
// === 54. ses ./src/tame-symbol-constructor.js ===
|
|
12804
12943
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Symbol,entries,fromEntries,getOwnPropertyDescriptors,defineProperties,arrayMap,functionBind;$h͏_imports([["./commons.js", [["Symbol",[$h͏_a => (Symbol = $h͏_a)]],["entries",[$h͏_a => (entries = $h͏_a)]],["fromEntries",[$h͏_a => (fromEntries = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["functionBind",[$h͏_a => (functionBind = $h͏_a)]]]]]);
|
|
12805
12944
|
|
|
12806
12945
|
|
|
@@ -12867,7 +13006,7 @@ freeze(tameHarden);
|
|
|
12867
13006
|
};$h͏_once.tameSymbolConstructor(tameSymbolConstructor);
|
|
12868
13007
|
})()
|
|
12869
13008
|
,
|
|
12870
|
-
// ===
|
|
13009
|
+
// === 55. ses ./src/tame-faux-data-properties.js ===
|
|
12871
13010
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let getOwnPropertyDescriptor,apply,defineProperty,toStringTagSymbol;$h͏_imports([["./commons.js", [["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]]]]]);
|
|
12872
13011
|
|
|
12873
13012
|
|
|
@@ -13080,7 +13219,7 @@ const throws = thunk => {
|
|
|
13080
13219
|
};$h͏_once.tameFauxDataProperties(tameFauxDataProperties);
|
|
13081
13220
|
})()
|
|
13082
13221
|
,
|
|
13083
|
-
// ===
|
|
13222
|
+
// === 56. ses ./src/tame-regenerator-runtime.js ===
|
|
13084
13223
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let defineProperty,iteratorPrototype,iteratorSymbol,hasOwn;$h͏_imports([["./commons.js", [["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["iteratorPrototype",[$h͏_a => (iteratorPrototype = $h͏_a)]],["iteratorSymbol",[$h͏_a => (iteratorSymbol = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]]]]]);
|
|
13085
13224
|
|
|
13086
13225
|
|
|
@@ -13112,7 +13251,7 @@ const throws = thunk => {
|
|
|
13112
13251
|
};$h͏_once.tameRegeneratorRuntime(tameRegeneratorRuntime);
|
|
13113
13252
|
})()
|
|
13114
13253
|
,
|
|
13115
|
-
// ===
|
|
13254
|
+
// === 57. ses ./src/shim-arraybuffer-transfer.js ===
|
|
13116
13255
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let ArrayBuffer,arrayBufferPrototype,arrayBufferSlice,arrayBufferGetByteLength,Uint8Array,typedArraySet,globalThis,TypeError,defineProperty;$h͏_imports([["./commons.js", [["ArrayBuffer",[$h͏_a => (ArrayBuffer = $h͏_a)]],["arrayBufferPrototype",[$h͏_a => (arrayBufferPrototype = $h͏_a)]],["arrayBufferSlice",[$h͏_a => (arrayBufferSlice = $h͏_a)]],["arrayBufferGetByteLength",[$h͏_a => (arrayBufferGetByteLength = $h͏_a)]],["Uint8Array",[$h͏_a => (Uint8Array = $h͏_a)]],["typedArraySet",[$h͏_a => (typedArraySet = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]]]]]);
|
|
13117
13256
|
|
|
13118
13257
|
|
|
@@ -13200,7 +13339,7 @@ const throws = thunk => {
|
|
|
13200
13339
|
};$h͏_once.shimArrayBufferTransfer(shimArrayBufferTransfer);
|
|
13201
13340
|
})()
|
|
13202
13341
|
,
|
|
13203
|
-
// ===
|
|
13342
|
+
// === 58. ses ./src/reporting.js ===
|
|
13204
13343
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let globalThis,assert;$h͏_imports([["./commons.js", [["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);
|
|
13205
13344
|
|
|
13206
13345
|
|
|
@@ -13344,8 +13483,9 @@ const mute = () => {};
|
|
|
13344
13483
|
};$h͏_once.reportInGroup(reportInGroup);
|
|
13345
13484
|
})()
|
|
13346
13485
|
,
|
|
13347
|
-
// ===
|
|
13348
|
-
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let getenv,FERAL_FUNCTION,FERAL_EVAL,TypeError,arrayFilter,globalThis,is,ownKeys,stringSplit,symbolFor,noEvalEvaluate,getOwnPropertyNames,getPrototypeOf,makeHardener,makeIntrinsicsCollector,removeUnpermittedIntrinsics,tameFunctionConstructors,tameDateConstructor,tameMathObject,tameRegExpConstructor,enablePropertyOverrides,tameLocaleMethods,setGlobalObjectConstantProperties,setGlobalObjectMutableProperties,setGlobalObjectEvaluators,makeSafeEvaluator,initialGlobalPropertyNames,tameFunctionToString,tameDomains,tameModuleSource,tameConsole,tameErrorConstructor,assert,makeAssert,getAnonymousIntrinsics,makeCompartmentConstructor,tameHarden,tameSymbolConstructor,tameFauxDataProperties,tameRegeneratorRuntime,shimArrayBufferTransfer,reportInGroup,chooseReporter;$h͏_imports([["@endo/env-options", [["getEnvironmentOption",[$h͏_a => (getenv = $h͏_a)]]]],["@endo/immutable-arraybuffer/shim.js", []],["./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)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["is",[$h͏_a => (is = $h͏_a)]],["ownKeys",[$h͏_a => (ownKeys = $h͏_a)]],["stringSplit",[$h͏_a => (stringSplit = $h͏_a)]],["symbolFor",[$h͏_a => (symbolFor = $h͏_a)]],["noEvalEvaluate",[$h͏_a => (noEvalEvaluate = $h͏_a)]],["getOwnPropertyNames",[$h͏_a => (getOwnPropertyNames = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]]]],["./make-hardener.js", [["makeHardener",[$h͏_a => (makeHardener = $h͏_a)]]]],["./intrinsics.js", [["makeIntrinsicsCollector",[$h͏_a => (makeIntrinsicsCollector = $h͏_a)]]]],["./permits-intrinsics.js", [["default",[$h͏_a => (removeUnpermittedIntrinsics = $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)]]]],["./permits.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)]]]],["./tame-module-source.js", [["tameModuleSource",[$h͏_a => (tameModuleSource = $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)]]]],["./get-anonymous-intrinsics.js", [["getAnonymousIntrinsics",[$h͏_a => (getAnonymousIntrinsics = $h͏_a)]]]],["./compartment.js", [["makeCompartmentConstructor",[$h͏_a => (makeCompartmentConstructor = $h͏_a)]]]],["./tame-harden.js", [["tameHarden",[$h͏_a => (tameHarden = $h͏_a)]]]],["./tame-symbol-constructor.js", [["tameSymbolConstructor",[$h͏_a => (tameSymbolConstructor = $h͏_a)]]]],["./tame-faux-data-properties.js", [["tameFauxDataProperties",[$h͏_a => (tameFauxDataProperties = $h͏_a)]]]],["./tame-regenerator-runtime.js", [["tameRegeneratorRuntime",[$h͏_a => (tameRegeneratorRuntime = $h͏_a)]]]],["./shim-arraybuffer-transfer.js", [["shimArrayBufferTransfer",[$h͏_a => (shimArrayBufferTransfer = $h͏_a)]]]],["./reporting.js", [["reportInGroup",[$h͏_a => (reportInGroup = $h͏_a)]],["chooseReporter",[$h͏_a => (chooseReporter = $h͏_a)]]]]]);
|
|
13486
|
+
// === 59. ses ./src/lockdown.js ===
|
|
13487
|
+
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let getenv,FERAL_FUNCTION,FERAL_EVAL,TypeError,arrayFilter,globalThis,is,ownKeys,stringSplit,symbolFor,noEvalEvaluate,getOwnPropertyNames,getPrototypeOf,makeHardener,makeIntrinsicsCollector,removeUnpermittedIntrinsics,tameFunctionConstructors,tameDateConstructor,tameMathObject,tameNaNSideChannel,tameRegExpConstructor,enablePropertyOverrides,tameLocaleMethods,setGlobalObjectConstantProperties,setGlobalObjectMutableProperties,setGlobalObjectEvaluators,makeSafeEvaluator,initialGlobalPropertyNames,tameFunctionToString,tameDomains,tameModuleSource,tameConsole,tameErrorConstructor,assert,makeAssert,getAnonymousIntrinsics,makeCompartmentConstructor,tameHarden,tameSymbolConstructor,tameFauxDataProperties,tameRegeneratorRuntime,shimArrayBufferTransfer,reportInGroup,chooseReporter;$h͏_imports([["@endo/env-options", [["getEnvironmentOption",[$h͏_a => (getenv = $h͏_a)]]]],["@endo/immutable-arraybuffer/shim.js", []],["./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)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["is",[$h͏_a => (is = $h͏_a)]],["ownKeys",[$h͏_a => (ownKeys = $h͏_a)]],["stringSplit",[$h͏_a => (stringSplit = $h͏_a)]],["symbolFor",[$h͏_a => (symbolFor = $h͏_a)]],["noEvalEvaluate",[$h͏_a => (noEvalEvaluate = $h͏_a)]],["getOwnPropertyNames",[$h͏_a => (getOwnPropertyNames = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]]]],["./make-hardener.js", [["makeHardener",[$h͏_a => (makeHardener = $h͏_a)]]]],["./intrinsics.js", [["makeIntrinsicsCollector",[$h͏_a => (makeIntrinsicsCollector = $h͏_a)]]]],["./permits-intrinsics.js", [["default",[$h͏_a => (removeUnpermittedIntrinsics = $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-nan-sidechannel.js", [["tameNaNSideChannel",[$h͏_a => (tameNaNSideChannel = $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)]]]],["./permits.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)]]]],["./tame-module-source.js", [["tameModuleSource",[$h͏_a => (tameModuleSource = $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)]]]],["./get-anonymous-intrinsics.js", [["getAnonymousIntrinsics",[$h͏_a => (getAnonymousIntrinsics = $h͏_a)]]]],["./compartment.js", [["makeCompartmentConstructor",[$h͏_a => (makeCompartmentConstructor = $h͏_a)]]]],["./tame-harden.js", [["tameHarden",[$h͏_a => (tameHarden = $h͏_a)]]]],["./tame-symbol-constructor.js", [["tameSymbolConstructor",[$h͏_a => (tameSymbolConstructor = $h͏_a)]]]],["./tame-faux-data-properties.js", [["tameFauxDataProperties",[$h͏_a => (tameFauxDataProperties = $h͏_a)]]]],["./tame-regenerator-runtime.js", [["tameRegeneratorRuntime",[$h͏_a => (tameRegeneratorRuntime = $h͏_a)]]]],["./shim-arraybuffer-transfer.js", [["shimArrayBufferTransfer",[$h͏_a => (shimArrayBufferTransfer = $h͏_a)]]]],["./reporting.js", [["reportInGroup",[$h͏_a => (reportInGroup = $h͏_a)]],["chooseReporter",[$h͏_a => (chooseReporter = $h͏_a)]]]]]);
|
|
13488
|
+
|
|
13349
13489
|
|
|
13350
13490
|
|
|
13351
13491
|
|
|
@@ -13700,6 +13840,7 @@ const probeHostEvaluators = () => {
|
|
|
13700
13840
|
addIntrinsics(tameDateConstructor());
|
|
13701
13841
|
addIntrinsics(tameErrorConstructor(errorTaming, stackFiltering));
|
|
13702
13842
|
addIntrinsics(tameMathObject());
|
|
13843
|
+
tameNaNSideChannel();
|
|
13703
13844
|
addIntrinsics(tameRegExpConstructor(regExpTaming));
|
|
13704
13845
|
addIntrinsics(tameSymbolConstructor());
|
|
13705
13846
|
addIntrinsics(shimArrayBufferTransfer());
|
|
@@ -13927,7 +14068,7 @@ const probeHostEvaluators = () => {
|
|
|
13927
14068
|
};$h͏_once.repairIntrinsics(repairIntrinsics);
|
|
13928
14069
|
})()
|
|
13929
14070
|
,
|
|
13930
|
-
// ===
|
|
14071
|
+
// === 60. ses ./src/lockdown-shim.js ===
|
|
13931
14072
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let globalThis,repairIntrinsics;$h͏_imports([["./assert-sloppy-mode.js", []],["./commons.js", [["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./lockdown.js", [["repairIntrinsics",[$h͏_a => (repairIntrinsics = $h͏_a)]]]]]);
|
|
13932
14073
|
|
|
13933
14074
|
|
|
@@ -13967,7 +14108,7 @@ globalThis.repairIntrinsics = options => {
|
|
|
13967
14108
|
};
|
|
13968
14109
|
})()
|
|
13969
14110
|
,
|
|
13970
|
-
// ===
|
|
14111
|
+
// === 61. ses ./src/compartment-shim.js ===
|
|
13971
14112
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let globalThis,makeCompartmentConstructor,tameFunctionToString,getGlobalIntrinsics,chooseReporter;$h͏_imports([["./commons.js", [["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./compartment.js", [["makeCompartmentConstructor",[$h͏_a => (makeCompartmentConstructor = $h͏_a)]]]],["./tame-function-tostring.js", [["tameFunctionToString",[$h͏_a => (tameFunctionToString = $h͏_a)]]]],["./intrinsics.js", [["getGlobalIntrinsics",[$h͏_a => (getGlobalIntrinsics = $h͏_a)]]]],["./reporting.js", [["chooseReporter",[$h͏_a => (chooseReporter = $h͏_a)]]]]]);
|
|
13972
14113
|
|
|
13973
14114
|
|
|
@@ -13992,14 +14133,14 @@ globalThis.Compartment = makeCompartmentConstructor(
|
|
|
13992
14133
|
);
|
|
13993
14134
|
})()
|
|
13994
14135
|
,
|
|
13995
|
-
// ===
|
|
14136
|
+
// === 62. ses ./src/assert-shim.js ===
|
|
13996
14137
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let globalThis,makeAssert;$h͏_imports([["./commons.js", [["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./error/assert.js", [["makeAssert",[$h͏_a => (makeAssert = $h͏_a)]]]]]);
|
|
13997
14138
|
|
|
13998
14139
|
|
|
13999
14140
|
globalThis.assert = makeAssert(undefined, true);
|
|
14000
14141
|
})()
|
|
14001
14142
|
,
|
|
14002
|
-
// ===
|
|
14143
|
+
// === 63. ses ./src/console-shim.js ===
|
|
14003
14144
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let symbolFor,globalThis,defineCausalConsoleFromLogger,loggedErrorHandler;$h͏_imports([["./commons.js", [["symbolFor",[$h͏_a => (symbolFor = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./error/console.js", [["defineCausalConsoleFromLogger",[$h͏_a => (defineCausalConsoleFromLogger = $h͏_a)]]]],["./error/assert.js", [["loggedErrorHandler",[$h͏_a => (loggedErrorHandler = $h͏_a)]]]]]);
|
|
14004
14145
|
|
|
14005
14146
|
|
|
@@ -14052,7 +14193,7 @@ globalThis[MAKE_CAUSAL_CONSOLE_FROM_LOGGER_KEY_FOR_SES_AVA] =
|
|
|
14052
14193
|
makeCausalConsoleFromLoggerForSesAva;
|
|
14053
14194
|
})()
|
|
14054
14195
|
,
|
|
14055
|
-
// ===
|
|
14196
|
+
// === 64. ses ./index.js ===
|
|
14056
14197
|
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([["./src/lockdown-shim.js", []],["./src/compartment-shim.js", []],["./src/assert-shim.js", []],["./src/console-shim.js", []]]);
|
|
14057
14198
|
})()
|
|
14058
14199
|
,
|