@nudojs/core 2.0.1 → 3.0.0-beta.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/README.md +9 -5
- package/dist/check-report-BnOr1M8o.d.ts +653 -0
- package/dist/{chunk-6REHMIAE.js → chunk-LDBNOXEM.js} +11689 -7262
- package/dist/chunk-TVLM42WD.js +4920 -0
- package/dist/chunk-US532PZA.js +0 -0
- package/dist/exec.d.ts +2 -1
- package/dist/exec.js +124 -23
- package/dist/hof-types-oZFaba5a.d.ts +368 -0
- package/dist/index-BWgSZGm0.d.ts +715 -0
- package/dist/index.d.ts +464 -1075
- package/dist/index.js +1700 -5319
- package/dist/internal.d.ts +541 -0
- package/dist/internal.js +583 -0
- package/package.json +11 -7
- package/dist/index-DxjxtxOJ.d.ts +0 -855
|
File without changes
|
package/dist/exec.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { $ as $add,
|
|
1
|
+
export { $ as $add, a as $arguments, b as $arr, c as $arrMutContainer, d as $arrRest, e as $arrWithHoles, f as $assignRecord, g as $async, h as $asyncReturn, i as $await, j as $bitand, k as $bitnot, l as $bitor, m as $bitxor, n as $call, o as $callNamed, p as $catchVal, q as $class, r as $classExpr, s as $collectionForEach, t as $concat, u as $copy, v as $del, w as $delRes, x as $div, y as $dynamicImport, z as $elems, B as $eq, C as $eqLoose, D as $fnVal, E as $for, F as $forInKeys, G as $forIter, H as $forOf, I as $fork, J as $ge, K as $gen, L as $get, M as $gt, N as $idx, O as $idxSet, P as $importMeta, Q as $in, S as $instanceof, T as $instanceofNonIdent, U as $invoke, V as $invokeSuper, W as $isBreakTo, X as $isForkExit, Y as $join, Z as $le, _ as $len, a0 as $lit, a1 as $loopBreak, a2 as $loopContinue, a3 as $loopReturn, a4 as $lt, a5 as $mod, a6 as $mul, a7 as $ne, a8 as $neLoose, a9 as $neg, aa as $new, ab as $not, ac as $nullishTest, ad as $obj, ae as $objAccessor, af as $objRest, ag as $optionalGet, ah as $optionalInvoke, ai as $orDefault, aj as $pow, ak as $pushLoopExit, al as $rawThis, am as $reStateCall, an as $recordBinding, ao as $regex, ap as $rethrowIfNudoReturn, aq as $set, ar as $setKey, as as $shl, at as $shr, au as $spread, av as $staticInvoke, aw as $sub, ax as $super, ay as $switch, az as $thisGet, aA as $thisSet, aB as $throw, aC as $toNumber, aD as $tryCurrentMark, aE as $tryDetachSoftCatch, aF as $tryDigestSoftCatch, aG as $tryDiscardSoft, aH as $tryMark, aI as $tryOrphanSoft, aJ as $tryPopMark, aK as $tryReleaseSoftCatch, aL as $tryReleaseSoftOut, aM as $tryTakeSince, aN as $typeof, aO as $unknown, aP as $ushr, aQ as $while, aR as $whileSeq, aS as $yield, aT as BAbsAssignRecord, aU as BCallRecord, aV as BClassSpec, aW as BPathFallback, aX as DEFAULT_MAX_LOOP_ITERS, aY as MAX_B_CALL_DEPTH, aZ as MAX_B_TOTAL_CALLS, a_ as NudoLoopSignal, a$ as NudoReturn, b0 as NudoThrow, b1 as NudoUnsupportedError, b2 as RUNTIME_IMPORT_RE, R as RunTranspiledOptions, b3 as TranspileOptions, b4 as TranspiledCallResult, b5 as asAbsVal, b7 as bindingsOf, b8 as callAtFunctionBoundary, b9 as callTranspiledExport, ba as callTranspiledExportFull, bb as clearBClasses, bc as clearStaleTermPred, be as currentExecPhi, bf as evalExprAbs, bg as fillTuple, bh as foldRequireSpecArg, bi as foldStaticStringExpr, bj as getBCallCollector, bk as getBClass, bl as isArrMutator, bm as isDefinitelyFalse, bn as isDefinitelyTrue, bo as isNudoBreak, bp as isNudoContinue, bq as isNudoReturn, br as isNudoThrow, bs as litTruth, bt as lookupObjAccessor, bu as namespaceNameOf, bv as noteBCallRecord, bw as noteBPathFallback, bx as pushLoopExit, by as pushThrowExit, bz as registerBClass, bA as resetBCallBudget, bB as runTranspiled, bC as runTranspiledOptionsMemoKey, bD as runWithLoopExits, bE as runtimeImportOf, bF as setBAssignCollector, bG as setBBindingSink, bH as setBCallCollector, bI as setBPathFallbackCollector, bJ as takeLoopExits, bK as takeThrowExits, bL as transpile, bM as transpileBodyNode, bN as transpileExpression, bO as transpileFile, bP as transpileSource, bQ as tryRunTranspiled, bR as withExecPhi } from './index-BWgSZGm0.js';
|
|
2
|
+
import './hof-types-oZFaba5a.js';
|
|
2
3
|
import '@babel/types';
|
package/dist/exec.js
CHANGED
|
@@ -1,22 +1,37 @@
|
|
|
1
|
+
import "./chunk-US532PZA.js";
|
|
1
2
|
import {
|
|
2
3
|
$add,
|
|
4
|
+
$arguments,
|
|
3
5
|
$arr,
|
|
4
6
|
$arrMutContainer,
|
|
5
7
|
$arrRest,
|
|
8
|
+
$arrWithHoles,
|
|
9
|
+
$assignRecord,
|
|
6
10
|
$async,
|
|
7
11
|
$asyncReturn,
|
|
8
12
|
$await,
|
|
13
|
+
$bitand,
|
|
14
|
+
$bitnot,
|
|
15
|
+
$bitor,
|
|
16
|
+
$bitxor,
|
|
9
17
|
$call,
|
|
10
18
|
$callNamed,
|
|
11
19
|
$catchVal,
|
|
12
20
|
$class,
|
|
21
|
+
$classExpr,
|
|
22
|
+
$collectionForEach,
|
|
13
23
|
$concat,
|
|
24
|
+
$copy,
|
|
25
|
+
$del,
|
|
26
|
+
$delRes,
|
|
14
27
|
$div,
|
|
28
|
+
$dynamicImport,
|
|
15
29
|
$elems,
|
|
16
30
|
$eq,
|
|
17
31
|
$eqLoose,
|
|
18
32
|
$fnVal,
|
|
19
33
|
$for,
|
|
34
|
+
$forInKeys,
|
|
20
35
|
$forIter,
|
|
21
36
|
$forOf,
|
|
22
37
|
$fork,
|
|
@@ -26,13 +41,20 @@ import {
|
|
|
26
41
|
$gt,
|
|
27
42
|
$idx,
|
|
28
43
|
$idxSet,
|
|
44
|
+
$importMeta,
|
|
45
|
+
$in,
|
|
46
|
+
$instanceof,
|
|
47
|
+
$instanceofNonIdent,
|
|
29
48
|
$invoke,
|
|
30
49
|
$invokeSuper,
|
|
50
|
+
$isBreakTo,
|
|
31
51
|
$isForkExit,
|
|
32
52
|
$join,
|
|
33
53
|
$le,
|
|
34
54
|
$len,
|
|
35
55
|
$lit,
|
|
56
|
+
$loopBreak,
|
|
57
|
+
$loopContinue,
|
|
36
58
|
$loopReturn,
|
|
37
59
|
$lt,
|
|
38
60
|
$mod,
|
|
@@ -44,15 +66,22 @@ import {
|
|
|
44
66
|
$not,
|
|
45
67
|
$nullishTest,
|
|
46
68
|
$obj,
|
|
69
|
+
$objAccessor,
|
|
47
70
|
$objRest,
|
|
48
71
|
$optionalGet,
|
|
49
72
|
$optionalInvoke,
|
|
50
73
|
$orDefault,
|
|
74
|
+
$pow,
|
|
51
75
|
$pushLoopExit,
|
|
76
|
+
$rawThis,
|
|
77
|
+
$reStateCall,
|
|
78
|
+
$recordBinding,
|
|
52
79
|
$regex,
|
|
53
80
|
$rethrowIfNudoReturn,
|
|
54
81
|
$set,
|
|
55
82
|
$setKey,
|
|
83
|
+
$shl,
|
|
84
|
+
$shr,
|
|
56
85
|
$spread,
|
|
57
86
|
$staticInvoke,
|
|
58
87
|
$sub,
|
|
@@ -61,76 +90,112 @@ import {
|
|
|
61
90
|
$thisGet,
|
|
62
91
|
$thisSet,
|
|
63
92
|
$throw,
|
|
93
|
+
$toNumber,
|
|
64
94
|
$tryCurrentMark,
|
|
95
|
+
$tryDetachSoftCatch,
|
|
96
|
+
$tryDigestSoftCatch,
|
|
97
|
+
$tryDiscardSoft,
|
|
65
98
|
$tryMark,
|
|
99
|
+
$tryOrphanSoft,
|
|
66
100
|
$tryPopMark,
|
|
101
|
+
$tryReleaseSoftCatch,
|
|
102
|
+
$tryReleaseSoftOut,
|
|
67
103
|
$tryTakeSince,
|
|
68
104
|
$typeof,
|
|
105
|
+
$unknown,
|
|
106
|
+
$ushr,
|
|
69
107
|
$while,
|
|
70
108
|
$whileSeq,
|
|
71
109
|
$yield,
|
|
72
110
|
DEFAULT_MAX_LOOP_ITERS,
|
|
111
|
+
MAX_B_CALL_DEPTH,
|
|
112
|
+
MAX_B_TOTAL_CALLS,
|
|
113
|
+
NudoLoopSignal,
|
|
73
114
|
NudoReturn,
|
|
74
115
|
NudoThrow,
|
|
116
|
+
NudoUnsupportedError,
|
|
117
|
+
RUNTIME_IMPORT_RE,
|
|
75
118
|
asAbsVal,
|
|
119
|
+
bindingsOf,
|
|
76
120
|
callAtFunctionBoundary,
|
|
77
121
|
callTranspiledExport,
|
|
78
122
|
callTranspiledExportFull,
|
|
79
123
|
clearBClasses,
|
|
124
|
+
clearStaleTermPred,
|
|
80
125
|
currentExecPhi,
|
|
81
|
-
|
|
126
|
+
evalExprAbs,
|
|
127
|
+
fillTuple,
|
|
128
|
+
foldRequireSpecArg,
|
|
129
|
+
foldStaticStringExpr,
|
|
82
130
|
getBCallCollector,
|
|
83
131
|
getBClass,
|
|
84
132
|
isArrMutator,
|
|
85
133
|
isDefinitelyFalse,
|
|
86
134
|
isDefinitelyTrue,
|
|
87
|
-
|
|
135
|
+
isNudoBreak,
|
|
136
|
+
isNudoContinue,
|
|
88
137
|
isNudoReturn,
|
|
89
138
|
isNudoThrow,
|
|
90
139
|
litTruth,
|
|
140
|
+
lookupObjAccessor,
|
|
91
141
|
namespaceNameOf,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
notePrimMemberMissing,
|
|
95
|
-
noteUnknownMemberMissing,
|
|
142
|
+
noteBCallRecord,
|
|
143
|
+
noteBPathFallback,
|
|
96
144
|
pushLoopExit,
|
|
97
145
|
pushThrowExit,
|
|
98
|
-
recordMemberDiag,
|
|
99
146
|
registerBClass,
|
|
147
|
+
resetBCallBudget,
|
|
100
148
|
runTranspiled,
|
|
101
|
-
|
|
149
|
+
runTranspiledOptionsMemoKey,
|
|
102
150
|
runWithLoopExits,
|
|
151
|
+
runtimeImportOf,
|
|
152
|
+
setBAssignCollector,
|
|
153
|
+
setBBindingSink,
|
|
103
154
|
setBCallCollector,
|
|
104
|
-
|
|
105
|
-
setMemberDiagCollector,
|
|
106
|
-
tagAbsOrigin,
|
|
155
|
+
setBPathFallbackCollector,
|
|
107
156
|
takeLoopExits,
|
|
108
157
|
takeThrowExits,
|
|
109
158
|
transpile,
|
|
159
|
+
transpileBodyNode,
|
|
110
160
|
transpileExpression,
|
|
111
161
|
transpileFile,
|
|
112
162
|
transpileSource,
|
|
163
|
+
tryRunTranspiled,
|
|
113
164
|
withExecPhi
|
|
114
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-LDBNOXEM.js";
|
|
115
166
|
export {
|
|
116
167
|
$add,
|
|
168
|
+
$arguments,
|
|
117
169
|
$arr,
|
|
118
170
|
$arrMutContainer,
|
|
119
171
|
$arrRest,
|
|
172
|
+
$arrWithHoles,
|
|
173
|
+
$assignRecord,
|
|
120
174
|
$async,
|
|
121
175
|
$asyncReturn,
|
|
122
176
|
$await,
|
|
177
|
+
$bitand,
|
|
178
|
+
$bitnot,
|
|
179
|
+
$bitor,
|
|
180
|
+
$bitxor,
|
|
123
181
|
$call,
|
|
124
182
|
$callNamed,
|
|
125
183
|
$catchVal,
|
|
126
184
|
$class,
|
|
185
|
+
$classExpr,
|
|
186
|
+
$collectionForEach,
|
|
127
187
|
$concat,
|
|
188
|
+
$copy,
|
|
189
|
+
$del,
|
|
190
|
+
$delRes,
|
|
128
191
|
$div,
|
|
192
|
+
$dynamicImport,
|
|
129
193
|
$elems,
|
|
130
194
|
$eq,
|
|
131
195
|
$eqLoose,
|
|
132
196
|
$fnVal,
|
|
133
197
|
$for,
|
|
198
|
+
$forInKeys,
|
|
134
199
|
$forIter,
|
|
135
200
|
$forOf,
|
|
136
201
|
$fork,
|
|
@@ -140,13 +205,20 @@ export {
|
|
|
140
205
|
$gt,
|
|
141
206
|
$idx,
|
|
142
207
|
$idxSet,
|
|
208
|
+
$importMeta,
|
|
209
|
+
$in,
|
|
210
|
+
$instanceof,
|
|
211
|
+
$instanceofNonIdent,
|
|
143
212
|
$invoke,
|
|
144
213
|
$invokeSuper,
|
|
214
|
+
$isBreakTo,
|
|
145
215
|
$isForkExit,
|
|
146
216
|
$join,
|
|
147
217
|
$le,
|
|
148
218
|
$len,
|
|
149
219
|
$lit,
|
|
220
|
+
$loopBreak,
|
|
221
|
+
$loopContinue,
|
|
150
222
|
$loopReturn,
|
|
151
223
|
$lt,
|
|
152
224
|
$mod,
|
|
@@ -158,15 +230,22 @@ export {
|
|
|
158
230
|
$not,
|
|
159
231
|
$nullishTest,
|
|
160
232
|
$obj,
|
|
233
|
+
$objAccessor,
|
|
161
234
|
$objRest,
|
|
162
235
|
$optionalGet,
|
|
163
236
|
$optionalInvoke,
|
|
164
237
|
$orDefault,
|
|
238
|
+
$pow,
|
|
165
239
|
$pushLoopExit,
|
|
240
|
+
$rawThis,
|
|
241
|
+
$reStateCall,
|
|
242
|
+
$recordBinding,
|
|
166
243
|
$regex,
|
|
167
244
|
$rethrowIfNudoReturn,
|
|
168
245
|
$set,
|
|
169
246
|
$setKey,
|
|
247
|
+
$shl,
|
|
248
|
+
$shr,
|
|
170
249
|
$spread,
|
|
171
250
|
$staticInvoke,
|
|
172
251
|
$sub,
|
|
@@ -175,54 +254,76 @@ export {
|
|
|
175
254
|
$thisGet,
|
|
176
255
|
$thisSet,
|
|
177
256
|
$throw,
|
|
257
|
+
$toNumber,
|
|
178
258
|
$tryCurrentMark,
|
|
259
|
+
$tryDetachSoftCatch,
|
|
260
|
+
$tryDigestSoftCatch,
|
|
261
|
+
$tryDiscardSoft,
|
|
179
262
|
$tryMark,
|
|
263
|
+
$tryOrphanSoft,
|
|
180
264
|
$tryPopMark,
|
|
265
|
+
$tryReleaseSoftCatch,
|
|
266
|
+
$tryReleaseSoftOut,
|
|
181
267
|
$tryTakeSince,
|
|
182
268
|
$typeof,
|
|
269
|
+
$unknown,
|
|
270
|
+
$ushr,
|
|
183
271
|
$while,
|
|
184
272
|
$whileSeq,
|
|
185
273
|
$yield,
|
|
186
274
|
DEFAULT_MAX_LOOP_ITERS,
|
|
275
|
+
MAX_B_CALL_DEPTH,
|
|
276
|
+
MAX_B_TOTAL_CALLS,
|
|
277
|
+
NudoLoopSignal,
|
|
187
278
|
NudoReturn,
|
|
188
279
|
NudoThrow,
|
|
280
|
+
NudoUnsupportedError,
|
|
281
|
+
RUNTIME_IMPORT_RE,
|
|
189
282
|
asAbsVal,
|
|
283
|
+
bindingsOf,
|
|
190
284
|
callAtFunctionBoundary,
|
|
191
285
|
callTranspiledExport,
|
|
192
286
|
callTranspiledExportFull,
|
|
193
287
|
clearBClasses,
|
|
288
|
+
clearStaleTermPred,
|
|
194
289
|
currentExecPhi,
|
|
195
|
-
|
|
290
|
+
evalExprAbs,
|
|
291
|
+
fillTuple,
|
|
292
|
+
foldRequireSpecArg,
|
|
293
|
+
foldStaticStringExpr,
|
|
196
294
|
getBCallCollector,
|
|
197
295
|
getBClass,
|
|
198
296
|
isArrMutator,
|
|
199
297
|
isDefinitelyFalse,
|
|
200
298
|
isDefinitelyTrue,
|
|
201
|
-
|
|
299
|
+
isNudoBreak,
|
|
300
|
+
isNudoContinue,
|
|
202
301
|
isNudoReturn,
|
|
203
302
|
isNudoThrow,
|
|
204
303
|
litTruth,
|
|
304
|
+
lookupObjAccessor,
|
|
205
305
|
namespaceNameOf,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
notePrimMemberMissing,
|
|
209
|
-
noteUnknownMemberMissing,
|
|
306
|
+
noteBCallRecord,
|
|
307
|
+
noteBPathFallback,
|
|
210
308
|
pushLoopExit,
|
|
211
309
|
pushThrowExit,
|
|
212
|
-
recordMemberDiag,
|
|
213
310
|
registerBClass,
|
|
311
|
+
resetBCallBudget,
|
|
214
312
|
runTranspiled,
|
|
215
|
-
|
|
313
|
+
runTranspiledOptionsMemoKey,
|
|
216
314
|
runWithLoopExits,
|
|
315
|
+
runtimeImportOf,
|
|
316
|
+
setBAssignCollector,
|
|
317
|
+
setBBindingSink,
|
|
217
318
|
setBCallCollector,
|
|
218
|
-
|
|
219
|
-
setMemberDiagCollector,
|
|
220
|
-
tagAbsOrigin,
|
|
319
|
+
setBPathFallbackCollector,
|
|
221
320
|
takeLoopExits,
|
|
222
321
|
takeThrowExits,
|
|
223
322
|
transpile,
|
|
323
|
+
transpileBodyNode,
|
|
224
324
|
transpileExpression,
|
|
225
325
|
transpileFile,
|
|
226
326
|
transpileSource,
|
|
327
|
+
tryRunTranspiled,
|
|
227
328
|
withExecPhi
|
|
228
329
|
};
|