@rollup/wasm-node 4.14.0 → 4.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/rollup +2 -2
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +150 -147
- package/dist/es/shared/parseAst.js +113 -98
- package/dist/es/shared/watch.js +2 -2
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/parseAst.js +2 -2
- package/dist/rollup.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/parseAst.js +116 -97
- package/dist/shared/rollup.js +203 -200
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +12 -12
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.14.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.14.1
|
|
4
|
+
Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -24,6 +24,17 @@ const Property = 'Property';
|
|
|
24
24
|
const ReturnStatement = 'ReturnStatement';
|
|
25
25
|
const TemplateLiteral = 'TemplateLiteral';
|
|
26
26
|
|
|
27
|
+
const BLANK = Object.freeze(Object.create(null));
|
|
28
|
+
const EMPTY_OBJECT = Object.freeze({});
|
|
29
|
+
const EMPTY_ARRAY = Object.freeze([]);
|
|
30
|
+
const EMPTY_SET = Object.freeze(new (class extends Set {
|
|
31
|
+
add() {
|
|
32
|
+
throw new Error('Cannot add to empty set');
|
|
33
|
+
}
|
|
34
|
+
})());
|
|
35
|
+
|
|
36
|
+
// This file is generated by scripts/generate-string-constant.js.
|
|
37
|
+
// Do not edit this file directly.
|
|
27
38
|
const FIXED_STRINGS = [
|
|
28
39
|
'var',
|
|
29
40
|
'let',
|
|
@@ -93,6 +104,8 @@ const FIXED_STRINGS = [
|
|
|
93
104
|
const ANNOTATION_KEY = '_rollupAnnotations';
|
|
94
105
|
const INVALID_ANNOTATION_KEY = '_rollupRemoved';
|
|
95
106
|
const convertAnnotations = (position, buffer) => {
|
|
107
|
+
if (position === 0)
|
|
108
|
+
return EMPTY_ARRAY;
|
|
96
109
|
const length = buffer[position++];
|
|
97
110
|
const list = [];
|
|
98
111
|
for (let index = 0; index < length; index++) {
|
|
@@ -1052,7 +1065,7 @@ const nodeConverters = [
|
|
|
1052
1065
|
function panicError(position, buffer, readString) {
|
|
1053
1066
|
const start = buffer[position++];
|
|
1054
1067
|
const end = buffer[position++];
|
|
1055
|
-
const message = convertString(position, buffer, readString);
|
|
1068
|
+
const message = convertString(buffer[position], buffer, readString);
|
|
1056
1069
|
return {
|
|
1057
1070
|
type: 'PanicError',
|
|
1058
1071
|
start,
|
|
@@ -1063,7 +1076,7 @@ const nodeConverters = [
|
|
|
1063
1076
|
function parseError(position, buffer, readString) {
|
|
1064
1077
|
const start = buffer[position++];
|
|
1065
1078
|
const end = buffer[position++];
|
|
1066
|
-
const message = convertString(position, buffer, readString);
|
|
1079
|
+
const message = convertString(buffer[position], buffer, readString);
|
|
1067
1080
|
return {
|
|
1068
1081
|
type: 'ParseError',
|
|
1069
1082
|
start,
|
|
@@ -1074,7 +1087,7 @@ const nodeConverters = [
|
|
|
1074
1087
|
function arrayExpression(position, buffer, readString) {
|
|
1075
1088
|
const start = buffer[position++];
|
|
1076
1089
|
const end = buffer[position++];
|
|
1077
|
-
const elements = convertNodeList(position, buffer, readString);
|
|
1090
|
+
const elements = convertNodeList(buffer[position], buffer, readString);
|
|
1078
1091
|
return {
|
|
1079
1092
|
type: 'ArrayExpression',
|
|
1080
1093
|
start,
|
|
@@ -1085,7 +1098,7 @@ const nodeConverters = [
|
|
|
1085
1098
|
function arrayPattern(position, buffer, readString) {
|
|
1086
1099
|
const start = buffer[position++];
|
|
1087
1100
|
const end = buffer[position++];
|
|
1088
|
-
const elements = convertNodeList(position, buffer, readString);
|
|
1101
|
+
const elements = convertNodeList(buffer[position], buffer, readString);
|
|
1089
1102
|
return {
|
|
1090
1103
|
type: 'ArrayPattern',
|
|
1091
1104
|
start,
|
|
@@ -1100,9 +1113,9 @@ const nodeConverters = [
|
|
|
1100
1113
|
const async = (flags & 1) === 1;
|
|
1101
1114
|
const expression = (flags & 2) === 2;
|
|
1102
1115
|
const generator = (flags & 4) === 4;
|
|
1116
|
+
const annotations = convertAnnotations(buffer[position++], buffer);
|
|
1103
1117
|
const parameters = convertNodeList(buffer[position++], buffer, readString);
|
|
1104
|
-
const body = convertNode(buffer[position
|
|
1105
|
-
const annotations = convertAnnotations(position, buffer);
|
|
1118
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
1106
1119
|
return {
|
|
1107
1120
|
type: 'ArrowFunctionExpression',
|
|
1108
1121
|
start,
|
|
@@ -1120,8 +1133,8 @@ const nodeConverters = [
|
|
|
1120
1133
|
const start = buffer[position++];
|
|
1121
1134
|
const end = buffer[position++];
|
|
1122
1135
|
const operator = FIXED_STRINGS[buffer[position++]];
|
|
1123
|
-
const
|
|
1124
|
-
const
|
|
1136
|
+
const left = convertNode(buffer[position++], buffer, readString);
|
|
1137
|
+
const right = convertNode(buffer[position], buffer, readString);
|
|
1125
1138
|
return {
|
|
1126
1139
|
type: 'AssignmentExpression',
|
|
1127
1140
|
start,
|
|
@@ -1134,8 +1147,8 @@ const nodeConverters = [
|
|
|
1134
1147
|
function assignmentPattern(position, buffer, readString) {
|
|
1135
1148
|
const start = buffer[position++];
|
|
1136
1149
|
const end = buffer[position++];
|
|
1137
|
-
const
|
|
1138
|
-
const
|
|
1150
|
+
const left = convertNode(buffer[position++], buffer, readString);
|
|
1151
|
+
const right = convertNode(buffer[position], buffer, readString);
|
|
1139
1152
|
return {
|
|
1140
1153
|
type: 'AssignmentPattern',
|
|
1141
1154
|
start,
|
|
@@ -1147,7 +1160,7 @@ const nodeConverters = [
|
|
|
1147
1160
|
function awaitExpression(position, buffer, readString) {
|
|
1148
1161
|
const start = buffer[position++];
|
|
1149
1162
|
const end = buffer[position++];
|
|
1150
|
-
const argument = convertNode(position, buffer, readString);
|
|
1163
|
+
const argument = convertNode(buffer[position], buffer, readString);
|
|
1151
1164
|
return {
|
|
1152
1165
|
type: 'AwaitExpression',
|
|
1153
1166
|
start,
|
|
@@ -1159,8 +1172,8 @@ const nodeConverters = [
|
|
|
1159
1172
|
const start = buffer[position++];
|
|
1160
1173
|
const end = buffer[position++];
|
|
1161
1174
|
const operator = FIXED_STRINGS[buffer[position++]];
|
|
1162
|
-
const
|
|
1163
|
-
const
|
|
1175
|
+
const left = convertNode(buffer[position++], buffer, readString);
|
|
1176
|
+
const right = convertNode(buffer[position], buffer, readString);
|
|
1164
1177
|
return {
|
|
1165
1178
|
type: 'BinaryExpression',
|
|
1166
1179
|
start,
|
|
@@ -1173,7 +1186,7 @@ const nodeConverters = [
|
|
|
1173
1186
|
function blockStatement(position, buffer, readString) {
|
|
1174
1187
|
const start = buffer[position++];
|
|
1175
1188
|
const end = buffer[position++];
|
|
1176
|
-
const body = convertNodeList(position, buffer, readString);
|
|
1189
|
+
const body = convertNodeList(buffer[position], buffer, readString);
|
|
1177
1190
|
return {
|
|
1178
1191
|
type: 'BlockStatement',
|
|
1179
1192
|
start,
|
|
@@ -1198,9 +1211,9 @@ const nodeConverters = [
|
|
|
1198
1211
|
const end = buffer[position++];
|
|
1199
1212
|
const flags = buffer[position++];
|
|
1200
1213
|
const optional = (flags & 1) === 1;
|
|
1214
|
+
const annotations = convertAnnotations(buffer[position++], buffer);
|
|
1201
1215
|
const callee = convertNode(buffer[position++], buffer, readString);
|
|
1202
|
-
const callArguments = convertNodeList(buffer[position
|
|
1203
|
-
const annotations = convertAnnotations(position, buffer);
|
|
1216
|
+
const callArguments = convertNodeList(buffer[position], buffer, readString);
|
|
1204
1217
|
return {
|
|
1205
1218
|
type: 'CallExpression',
|
|
1206
1219
|
start,
|
|
@@ -1228,7 +1241,7 @@ const nodeConverters = [
|
|
|
1228
1241
|
function chainExpression(position, buffer, readString) {
|
|
1229
1242
|
const start = buffer[position++];
|
|
1230
1243
|
const end = buffer[position++];
|
|
1231
|
-
const expression = convertNode(position, buffer, readString);
|
|
1244
|
+
const expression = convertNode(buffer[position], buffer, readString);
|
|
1232
1245
|
return {
|
|
1233
1246
|
type: 'ChainExpression',
|
|
1234
1247
|
start,
|
|
@@ -1239,7 +1252,7 @@ const nodeConverters = [
|
|
|
1239
1252
|
function classBody(position, buffer, readString) {
|
|
1240
1253
|
const start = buffer[position++];
|
|
1241
1254
|
const end = buffer[position++];
|
|
1242
|
-
const body = convertNodeList(position, buffer, readString);
|
|
1255
|
+
const body = convertNodeList(buffer[position], buffer, readString);
|
|
1243
1256
|
return {
|
|
1244
1257
|
type: 'ClassBody',
|
|
1245
1258
|
start,
|
|
@@ -1284,9 +1297,9 @@ const nodeConverters = [
|
|
|
1284
1297
|
function conditionalExpression(position, buffer, readString) {
|
|
1285
1298
|
const start = buffer[position++];
|
|
1286
1299
|
const end = buffer[position++];
|
|
1300
|
+
const test = convertNode(buffer[position++], buffer, readString);
|
|
1287
1301
|
const consequent = convertNode(buffer[position++], buffer, readString);
|
|
1288
|
-
const alternate = convertNode(buffer[position
|
|
1289
|
-
const test = convertNode(position, buffer, readString);
|
|
1302
|
+
const alternate = convertNode(buffer[position], buffer, readString);
|
|
1290
1303
|
return {
|
|
1291
1304
|
type: 'ConditionalExpression',
|
|
1292
1305
|
start,
|
|
@@ -1320,8 +1333,8 @@ const nodeConverters = [
|
|
|
1320
1333
|
function directive(position, buffer, readString) {
|
|
1321
1334
|
const start = buffer[position++];
|
|
1322
1335
|
const end = buffer[position++];
|
|
1323
|
-
const
|
|
1324
|
-
const
|
|
1336
|
+
const directive = convertString(buffer[position++], buffer, readString);
|
|
1337
|
+
const expression = convertNode(buffer[position], buffer, readString);
|
|
1325
1338
|
return {
|
|
1326
1339
|
type: 'ExpressionStatement',
|
|
1327
1340
|
start,
|
|
@@ -1333,8 +1346,8 @@ const nodeConverters = [
|
|
|
1333
1346
|
function doWhileStatement(position, buffer, readString) {
|
|
1334
1347
|
const start = buffer[position++];
|
|
1335
1348
|
const end = buffer[position++];
|
|
1336
|
-
const
|
|
1337
|
-
const
|
|
1349
|
+
const body = convertNode(buffer[position++], buffer, readString);
|
|
1350
|
+
const test = convertNode(buffer[position], buffer, readString);
|
|
1338
1351
|
return {
|
|
1339
1352
|
type: 'DoWhileStatement',
|
|
1340
1353
|
start,
|
|
@@ -1371,7 +1384,7 @@ const nodeConverters = [
|
|
|
1371
1384
|
function exportDefaultDeclaration(position, buffer, readString) {
|
|
1372
1385
|
const start = buffer[position++];
|
|
1373
1386
|
const end = buffer[position++];
|
|
1374
|
-
const declaration = convertNode(position, buffer, readString);
|
|
1387
|
+
const declaration = convertNode(buffer[position], buffer, readString);
|
|
1375
1388
|
return {
|
|
1376
1389
|
type: 'ExportDefaultDeclaration',
|
|
1377
1390
|
start,
|
|
@@ -1382,12 +1395,12 @@ const nodeConverters = [
|
|
|
1382
1395
|
function exportNamedDeclaration(position, buffer, readString) {
|
|
1383
1396
|
const start = buffer[position++];
|
|
1384
1397
|
const end = buffer[position++];
|
|
1398
|
+
const specifiers = convertNodeList(buffer[position++], buffer, readString);
|
|
1385
1399
|
const sourcePosition = buffer[position++];
|
|
1386
1400
|
const source = sourcePosition === 0 ? null : convertNode(sourcePosition, buffer, readString);
|
|
1387
1401
|
const attributes = convertNodeList(buffer[position++], buffer, readString);
|
|
1388
|
-
const declarationPosition = buffer[position
|
|
1402
|
+
const declarationPosition = buffer[position];
|
|
1389
1403
|
const declaration = declarationPosition === 0 ? null : convertNode(declarationPosition, buffer, readString);
|
|
1390
|
-
const specifiers = convertNodeList(position, buffer, readString);
|
|
1391
1404
|
return {
|
|
1392
1405
|
type: 'ExportNamedDeclaration',
|
|
1393
1406
|
start,
|
|
@@ -1401,8 +1414,8 @@ const nodeConverters = [
|
|
|
1401
1414
|
function exportSpecifier(position, buffer, readString) {
|
|
1402
1415
|
const start = buffer[position++];
|
|
1403
1416
|
const end = buffer[position++];
|
|
1404
|
-
const
|
|
1405
|
-
const
|
|
1417
|
+
const local = convertNode(buffer[position++], buffer, readString);
|
|
1418
|
+
const exportedPosition = buffer[position];
|
|
1406
1419
|
return {
|
|
1407
1420
|
type: 'ExportSpecifier',
|
|
1408
1421
|
start,
|
|
@@ -1414,7 +1427,7 @@ const nodeConverters = [
|
|
|
1414
1427
|
function expressionStatement(position, buffer, readString) {
|
|
1415
1428
|
const start = buffer[position++];
|
|
1416
1429
|
const end = buffer[position++];
|
|
1417
|
-
const expression = convertNode(position, buffer, readString);
|
|
1430
|
+
const expression = convertNode(buffer[position], buffer, readString);
|
|
1418
1431
|
return {
|
|
1419
1432
|
type: 'ExpressionStatement',
|
|
1420
1433
|
start,
|
|
@@ -1425,9 +1438,9 @@ const nodeConverters = [
|
|
|
1425
1438
|
function forInStatement(position, buffer, readString) {
|
|
1426
1439
|
const start = buffer[position++];
|
|
1427
1440
|
const end = buffer[position++];
|
|
1441
|
+
const left = convertNode(buffer[position++], buffer, readString);
|
|
1428
1442
|
const right = convertNode(buffer[position++], buffer, readString);
|
|
1429
|
-
const body = convertNode(buffer[position
|
|
1430
|
-
const left = convertNode(position, buffer, readString);
|
|
1443
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
1431
1444
|
return {
|
|
1432
1445
|
type: 'ForInStatement',
|
|
1433
1446
|
start,
|
|
@@ -1442,9 +1455,9 @@ const nodeConverters = [
|
|
|
1442
1455
|
const end = buffer[position++];
|
|
1443
1456
|
const flags = buffer[position++];
|
|
1444
1457
|
const awaited = (flags & 1) === 1;
|
|
1458
|
+
const left = convertNode(buffer[position++], buffer, readString);
|
|
1445
1459
|
const right = convertNode(buffer[position++], buffer, readString);
|
|
1446
|
-
const body = convertNode(buffer[position
|
|
1447
|
-
const left = convertNode(position, buffer, readString);
|
|
1460
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
1448
1461
|
return {
|
|
1449
1462
|
type: 'ForOfStatement',
|
|
1450
1463
|
start,
|
|
@@ -1481,11 +1494,11 @@ const nodeConverters = [
|
|
|
1481
1494
|
const flags = buffer[position++];
|
|
1482
1495
|
const async = (flags & 1) === 1;
|
|
1483
1496
|
const generator = (flags & 2) === 2;
|
|
1497
|
+
const annotations = convertAnnotations(buffer[position++], buffer);
|
|
1484
1498
|
const idPosition = buffer[position++];
|
|
1485
1499
|
const id = idPosition === 0 ? null : convertNode(idPosition, buffer, readString);
|
|
1486
1500
|
const parameters = convertNodeList(buffer[position++], buffer, readString);
|
|
1487
|
-
const body = convertNode(buffer[position
|
|
1488
|
-
const annotations = convertAnnotations(position, buffer);
|
|
1501
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
1489
1502
|
return {
|
|
1490
1503
|
type: 'FunctionDeclaration',
|
|
1491
1504
|
start,
|
|
@@ -1505,11 +1518,11 @@ const nodeConverters = [
|
|
|
1505
1518
|
const flags = buffer[position++];
|
|
1506
1519
|
const async = (flags & 1) === 1;
|
|
1507
1520
|
const generator = (flags & 2) === 2;
|
|
1521
|
+
const annotations = convertAnnotations(buffer[position++], buffer);
|
|
1508
1522
|
const idPosition = buffer[position++];
|
|
1509
1523
|
const id = idPosition === 0 ? null : convertNode(idPosition, buffer, readString);
|
|
1510
1524
|
const parameters = convertNodeList(buffer[position++], buffer, readString);
|
|
1511
|
-
const body = convertNode(buffer[position
|
|
1512
|
-
const annotations = convertAnnotations(position, buffer);
|
|
1525
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
1513
1526
|
return {
|
|
1514
1527
|
type: 'FunctionExpression',
|
|
1515
1528
|
start,
|
|
@@ -1526,7 +1539,7 @@ const nodeConverters = [
|
|
|
1526
1539
|
function identifier(position, buffer, readString) {
|
|
1527
1540
|
const start = buffer[position++];
|
|
1528
1541
|
const end = buffer[position++];
|
|
1529
|
-
const name = convertString(position, buffer, readString);
|
|
1542
|
+
const name = convertString(buffer[position], buffer, readString);
|
|
1530
1543
|
return {
|
|
1531
1544
|
type: 'Identifier',
|
|
1532
1545
|
start,
|
|
@@ -1537,10 +1550,10 @@ const nodeConverters = [
|
|
|
1537
1550
|
function ifStatement(position, buffer, readString) {
|
|
1538
1551
|
const start = buffer[position++];
|
|
1539
1552
|
const end = buffer[position++];
|
|
1553
|
+
const test = convertNode(buffer[position++], buffer, readString);
|
|
1540
1554
|
const consequent = convertNode(buffer[position++], buffer, readString);
|
|
1541
|
-
const alternatePosition = buffer[position
|
|
1555
|
+
const alternatePosition = buffer[position];
|
|
1542
1556
|
const alternate = alternatePosition === 0 ? null : convertNode(alternatePosition, buffer, readString);
|
|
1543
|
-
const test = convertNode(position, buffer, readString);
|
|
1544
1557
|
return {
|
|
1545
1558
|
type: 'IfStatement',
|
|
1546
1559
|
start,
|
|
@@ -1553,8 +1566,8 @@ const nodeConverters = [
|
|
|
1553
1566
|
function importAttribute(position, buffer, readString) {
|
|
1554
1567
|
const start = buffer[position++];
|
|
1555
1568
|
const end = buffer[position++];
|
|
1556
|
-
const
|
|
1557
|
-
const
|
|
1569
|
+
const key = convertNode(buffer[position++], buffer, readString);
|
|
1570
|
+
const value = convertNode(buffer[position], buffer, readString);
|
|
1558
1571
|
return {
|
|
1559
1572
|
type: 'ImportAttribute',
|
|
1560
1573
|
start,
|
|
@@ -1566,9 +1579,9 @@ const nodeConverters = [
|
|
|
1566
1579
|
function importDeclaration(position, buffer, readString) {
|
|
1567
1580
|
const start = buffer[position++];
|
|
1568
1581
|
const end = buffer[position++];
|
|
1582
|
+
const specifiers = convertNodeList(buffer[position++], buffer, readString);
|
|
1569
1583
|
const source = convertNode(buffer[position++], buffer, readString);
|
|
1570
|
-
const attributes = convertNodeList(buffer[position
|
|
1571
|
-
const specifiers = convertNodeList(position, buffer, readString);
|
|
1584
|
+
const attributes = convertNodeList(buffer[position], buffer, readString);
|
|
1572
1585
|
return {
|
|
1573
1586
|
type: 'ImportDeclaration',
|
|
1574
1587
|
start,
|
|
@@ -1581,7 +1594,7 @@ const nodeConverters = [
|
|
|
1581
1594
|
function importDefaultSpecifier(position, buffer, readString) {
|
|
1582
1595
|
const start = buffer[position++];
|
|
1583
1596
|
const end = buffer[position++];
|
|
1584
|
-
const local = convertNode(position, buffer, readString);
|
|
1597
|
+
const local = convertNode(buffer[position], buffer, readString);
|
|
1585
1598
|
return {
|
|
1586
1599
|
type: 'ImportDefaultSpecifier',
|
|
1587
1600
|
start,
|
|
@@ -1592,9 +1605,9 @@ const nodeConverters = [
|
|
|
1592
1605
|
function importExpression(position, buffer, readString) {
|
|
1593
1606
|
const start = buffer[position++];
|
|
1594
1607
|
const end = buffer[position++];
|
|
1595
|
-
const
|
|
1608
|
+
const source = convertNode(buffer[position++], buffer, readString);
|
|
1609
|
+
const optionsPosition = buffer[position];
|
|
1596
1610
|
const options = optionsPosition === 0 ? null : convertNode(optionsPosition, buffer, readString);
|
|
1597
|
-
const source = convertNode(position, buffer, readString);
|
|
1598
1611
|
return {
|
|
1599
1612
|
type: 'ImportExpression',
|
|
1600
1613
|
start,
|
|
@@ -1606,7 +1619,7 @@ const nodeConverters = [
|
|
|
1606
1619
|
function importNamespaceSpecifier(position, buffer, readString) {
|
|
1607
1620
|
const start = buffer[position++];
|
|
1608
1621
|
const end = buffer[position++];
|
|
1609
|
-
const local = convertNode(position, buffer, readString);
|
|
1622
|
+
const local = convertNode(buffer[position], buffer, readString);
|
|
1610
1623
|
return {
|
|
1611
1624
|
type: 'ImportNamespaceSpecifier',
|
|
1612
1625
|
start,
|
|
@@ -1630,8 +1643,8 @@ const nodeConverters = [
|
|
|
1630
1643
|
function labeledStatement(position, buffer, readString) {
|
|
1631
1644
|
const start = buffer[position++];
|
|
1632
1645
|
const end = buffer[position++];
|
|
1633
|
-
const
|
|
1634
|
-
const
|
|
1646
|
+
const label = convertNode(buffer[position++], buffer, readString);
|
|
1647
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
1635
1648
|
return {
|
|
1636
1649
|
type: 'LabeledStatement',
|
|
1637
1650
|
start,
|
|
@@ -1643,8 +1656,8 @@ const nodeConverters = [
|
|
|
1643
1656
|
function literalBigInt(position, buffer, readString) {
|
|
1644
1657
|
const start = buffer[position++];
|
|
1645
1658
|
const end = buffer[position++];
|
|
1646
|
-
const
|
|
1647
|
-
const
|
|
1659
|
+
const bigint = convertString(buffer[position++], buffer, readString);
|
|
1660
|
+
const raw = convertString(buffer[position], buffer, readString);
|
|
1648
1661
|
return {
|
|
1649
1662
|
type: 'Literal',
|
|
1650
1663
|
start,
|
|
@@ -1695,8 +1708,8 @@ const nodeConverters = [
|
|
|
1695
1708
|
function literalRegExp(position, buffer, readString) {
|
|
1696
1709
|
const start = buffer[position++];
|
|
1697
1710
|
const end = buffer[position++];
|
|
1698
|
-
const
|
|
1699
|
-
const
|
|
1711
|
+
const flags = convertString(buffer[position++], buffer, readString);
|
|
1712
|
+
const pattern = convertString(buffer[position], buffer, readString);
|
|
1700
1713
|
return {
|
|
1701
1714
|
type: 'Literal',
|
|
1702
1715
|
start,
|
|
@@ -1709,9 +1722,9 @@ const nodeConverters = [
|
|
|
1709
1722
|
function literalString(position, buffer, readString) {
|
|
1710
1723
|
const start = buffer[position++];
|
|
1711
1724
|
const end = buffer[position++];
|
|
1712
|
-
const
|
|
1725
|
+
const value = convertString(buffer[position++], buffer, readString);
|
|
1726
|
+
const rawPosition = buffer[position];
|
|
1713
1727
|
const raw = rawPosition === 0 ? undefined : convertString(rawPosition, buffer, readString);
|
|
1714
|
-
const value = convertString(position, buffer, readString);
|
|
1715
1728
|
return {
|
|
1716
1729
|
type: 'Literal',
|
|
1717
1730
|
start,
|
|
@@ -1724,8 +1737,8 @@ const nodeConverters = [
|
|
|
1724
1737
|
const start = buffer[position++];
|
|
1725
1738
|
const end = buffer[position++];
|
|
1726
1739
|
const operator = FIXED_STRINGS[buffer[position++]];
|
|
1727
|
-
const
|
|
1728
|
-
const
|
|
1740
|
+
const left = convertNode(buffer[position++], buffer, readString);
|
|
1741
|
+
const right = convertNode(buffer[position], buffer, readString);
|
|
1729
1742
|
return {
|
|
1730
1743
|
type: 'LogicalExpression',
|
|
1731
1744
|
start,
|
|
@@ -1741,8 +1754,8 @@ const nodeConverters = [
|
|
|
1741
1754
|
const flags = buffer[position++];
|
|
1742
1755
|
const computed = (flags & 1) === 1;
|
|
1743
1756
|
const optional = (flags & 2) === 2;
|
|
1744
|
-
const
|
|
1745
|
-
const
|
|
1757
|
+
const object = convertNode(buffer[position++], buffer, readString);
|
|
1758
|
+
const property = convertNode(buffer[position], buffer, readString);
|
|
1746
1759
|
return {
|
|
1747
1760
|
type: 'MemberExpression',
|
|
1748
1761
|
start,
|
|
@@ -1756,8 +1769,8 @@ const nodeConverters = [
|
|
|
1756
1769
|
function metaProperty(position, buffer, readString) {
|
|
1757
1770
|
const start = buffer[position++];
|
|
1758
1771
|
const end = buffer[position++];
|
|
1759
|
-
const
|
|
1760
|
-
const
|
|
1772
|
+
const meta = convertNode(buffer[position++], buffer, readString);
|
|
1773
|
+
const property = convertNode(buffer[position], buffer, readString);
|
|
1761
1774
|
return {
|
|
1762
1775
|
type: 'MetaProperty',
|
|
1763
1776
|
start,
|
|
@@ -1772,9 +1785,9 @@ const nodeConverters = [
|
|
|
1772
1785
|
const flags = buffer[position++];
|
|
1773
1786
|
const isStatic = (flags & 1) === 1;
|
|
1774
1787
|
const computed = (flags & 2) === 2;
|
|
1788
|
+
const key = convertNode(buffer[position++], buffer, readString);
|
|
1775
1789
|
const value = convertNode(buffer[position++], buffer, readString);
|
|
1776
|
-
const kind = FIXED_STRINGS[buffer[position
|
|
1777
|
-
const key = convertNode(position, buffer, readString);
|
|
1790
|
+
const kind = FIXED_STRINGS[buffer[position]];
|
|
1778
1791
|
return {
|
|
1779
1792
|
type: 'MethodDefinition',
|
|
1780
1793
|
start,
|
|
@@ -1789,9 +1802,9 @@ const nodeConverters = [
|
|
|
1789
1802
|
function newExpression(position, buffer, readString) {
|
|
1790
1803
|
const start = buffer[position++];
|
|
1791
1804
|
const end = buffer[position++];
|
|
1805
|
+
const annotations = convertAnnotations(buffer[position++], buffer);
|
|
1792
1806
|
const callee = convertNode(buffer[position++], buffer, readString);
|
|
1793
|
-
const callArguments = convertNodeList(buffer[position
|
|
1794
|
-
const annotations = convertAnnotations(position, buffer);
|
|
1807
|
+
const callArguments = convertNodeList(buffer[position], buffer, readString);
|
|
1795
1808
|
return {
|
|
1796
1809
|
type: 'NewExpression',
|
|
1797
1810
|
start,
|
|
@@ -1804,7 +1817,7 @@ const nodeConverters = [
|
|
|
1804
1817
|
function objectExpression(position, buffer, readString) {
|
|
1805
1818
|
const start = buffer[position++];
|
|
1806
1819
|
const end = buffer[position++];
|
|
1807
|
-
const properties = convertNodeList(position, buffer, readString);
|
|
1820
|
+
const properties = convertNodeList(buffer[position], buffer, readString);
|
|
1808
1821
|
return {
|
|
1809
1822
|
type: 'ObjectExpression',
|
|
1810
1823
|
start,
|
|
@@ -1815,7 +1828,7 @@ const nodeConverters = [
|
|
|
1815
1828
|
function objectPattern(position, buffer, readString) {
|
|
1816
1829
|
const start = buffer[position++];
|
|
1817
1830
|
const end = buffer[position++];
|
|
1818
|
-
const properties = convertNodeList(position, buffer, readString);
|
|
1831
|
+
const properties = convertNodeList(buffer[position], buffer, readString);
|
|
1819
1832
|
return {
|
|
1820
1833
|
type: 'ObjectPattern',
|
|
1821
1834
|
start,
|
|
@@ -1826,7 +1839,7 @@ const nodeConverters = [
|
|
|
1826
1839
|
function privateIdentifier(position, buffer, readString) {
|
|
1827
1840
|
const start = buffer[position++];
|
|
1828
1841
|
const end = buffer[position++];
|
|
1829
|
-
const name = convertString(position, buffer, readString);
|
|
1842
|
+
const name = convertString(buffer[position], buffer, readString);
|
|
1830
1843
|
return {
|
|
1831
1844
|
type: 'PrivateIdentifier',
|
|
1832
1845
|
start,
|
|
@@ -1837,8 +1850,8 @@ const nodeConverters = [
|
|
|
1837
1850
|
function program(position, buffer, readString) {
|
|
1838
1851
|
const start = buffer[position++];
|
|
1839
1852
|
const end = buffer[position++];
|
|
1840
|
-
const
|
|
1841
|
-
const
|
|
1853
|
+
const body = convertNodeList(buffer[position++], buffer, readString);
|
|
1854
|
+
const invalidAnnotations = convertAnnotations(buffer[position], buffer);
|
|
1842
1855
|
return {
|
|
1843
1856
|
type: 'Program',
|
|
1844
1857
|
start,
|
|
@@ -1876,9 +1889,9 @@ const nodeConverters = [
|
|
|
1876
1889
|
const flags = buffer[position++];
|
|
1877
1890
|
const isStatic = (flags & 1) === 1;
|
|
1878
1891
|
const computed = (flags & 2) === 2;
|
|
1879
|
-
const
|
|
1892
|
+
const key = convertNode(buffer[position++], buffer, readString);
|
|
1893
|
+
const valuePosition = buffer[position];
|
|
1880
1894
|
const value = valuePosition === 0 ? null : convertNode(valuePosition, buffer, readString);
|
|
1881
|
-
const key = convertNode(position, buffer, readString);
|
|
1882
1895
|
return {
|
|
1883
1896
|
type: 'PropertyDefinition',
|
|
1884
1897
|
start,
|
|
@@ -1892,7 +1905,7 @@ const nodeConverters = [
|
|
|
1892
1905
|
function restElement(position, buffer, readString) {
|
|
1893
1906
|
const start = buffer[position++];
|
|
1894
1907
|
const end = buffer[position++];
|
|
1895
|
-
const argument = convertNode(position, buffer, readString);
|
|
1908
|
+
const argument = convertNode(buffer[position], buffer, readString);
|
|
1896
1909
|
return {
|
|
1897
1910
|
type: 'RestElement',
|
|
1898
1911
|
start,
|
|
@@ -1915,7 +1928,7 @@ const nodeConverters = [
|
|
|
1915
1928
|
function sequenceExpression(position, buffer, readString) {
|
|
1916
1929
|
const start = buffer[position++];
|
|
1917
1930
|
const end = buffer[position++];
|
|
1918
|
-
const expressions = convertNodeList(position, buffer, readString);
|
|
1931
|
+
const expressions = convertNodeList(buffer[position], buffer, readString);
|
|
1919
1932
|
return {
|
|
1920
1933
|
type: 'SequenceExpression',
|
|
1921
1934
|
start,
|
|
@@ -1926,7 +1939,7 @@ const nodeConverters = [
|
|
|
1926
1939
|
function spreadElement(position, buffer, readString) {
|
|
1927
1940
|
const start = buffer[position++];
|
|
1928
1941
|
const end = buffer[position++];
|
|
1929
|
-
const argument = convertNode(position, buffer, readString);
|
|
1942
|
+
const argument = convertNode(buffer[position], buffer, readString);
|
|
1930
1943
|
return {
|
|
1931
1944
|
type: 'SpreadElement',
|
|
1932
1945
|
start,
|
|
@@ -1937,7 +1950,7 @@ const nodeConverters = [
|
|
|
1937
1950
|
function staticBlock(position, buffer, readString) {
|
|
1938
1951
|
const start = buffer[position++];
|
|
1939
1952
|
const end = buffer[position++];
|
|
1940
|
-
const body = convertNodeList(position, buffer, readString);
|
|
1953
|
+
const body = convertNodeList(buffer[position], buffer, readString);
|
|
1941
1954
|
return {
|
|
1942
1955
|
type: 'StaticBlock',
|
|
1943
1956
|
start,
|
|
@@ -1971,8 +1984,8 @@ const nodeConverters = [
|
|
|
1971
1984
|
function switchStatement(position, buffer, readString) {
|
|
1972
1985
|
const start = buffer[position++];
|
|
1973
1986
|
const end = buffer[position++];
|
|
1974
|
-
const
|
|
1975
|
-
const
|
|
1987
|
+
const discriminant = convertNode(buffer[position++], buffer, readString);
|
|
1988
|
+
const cases = convertNodeList(buffer[position], buffer, readString);
|
|
1976
1989
|
return {
|
|
1977
1990
|
type: 'SwitchStatement',
|
|
1978
1991
|
start,
|
|
@@ -1984,8 +1997,8 @@ const nodeConverters = [
|
|
|
1984
1997
|
function taggedTemplateExpression(position, buffer, readString) {
|
|
1985
1998
|
const start = buffer[position++];
|
|
1986
1999
|
const end = buffer[position++];
|
|
1987
|
-
const
|
|
1988
|
-
const
|
|
2000
|
+
const tag = convertNode(buffer[position++], buffer, readString);
|
|
2001
|
+
const quasi = convertNode(buffer[position], buffer, readString);
|
|
1989
2002
|
return {
|
|
1990
2003
|
type: 'TaggedTemplateExpression',
|
|
1991
2004
|
start,
|
|
@@ -2001,7 +2014,7 @@ const nodeConverters = [
|
|
|
2001
2014
|
const tail = (flags & 1) === 1;
|
|
2002
2015
|
const cookedPosition = buffer[position++];
|
|
2003
2016
|
const cooked = cookedPosition === 0 ? undefined : convertString(cookedPosition, buffer, readString);
|
|
2004
|
-
const raw = convertString(position, buffer, readString);
|
|
2017
|
+
const raw = convertString(buffer[position], buffer, readString);
|
|
2005
2018
|
return {
|
|
2006
2019
|
type: 'TemplateElement',
|
|
2007
2020
|
start,
|
|
@@ -2013,8 +2026,8 @@ const nodeConverters = [
|
|
|
2013
2026
|
function templateLiteral(position, buffer, readString) {
|
|
2014
2027
|
const start = buffer[position++];
|
|
2015
2028
|
const end = buffer[position++];
|
|
2016
|
-
const
|
|
2017
|
-
const
|
|
2029
|
+
const quasis = convertNodeList(buffer[position++], buffer, readString);
|
|
2030
|
+
const expressions = convertNodeList(buffer[position], buffer, readString);
|
|
2018
2031
|
return {
|
|
2019
2032
|
type: 'TemplateLiteral',
|
|
2020
2033
|
start,
|
|
@@ -2035,7 +2048,7 @@ const nodeConverters = [
|
|
|
2035
2048
|
function throwStatement(position, buffer, readString) {
|
|
2036
2049
|
const start = buffer[position++];
|
|
2037
2050
|
const end = buffer[position++];
|
|
2038
|
-
const argument = convertNode(position, buffer, readString);
|
|
2051
|
+
const argument = convertNode(buffer[position], buffer, readString);
|
|
2039
2052
|
return {
|
|
2040
2053
|
type: 'ThrowStatement',
|
|
2041
2054
|
start,
|
|
@@ -2046,11 +2059,11 @@ const nodeConverters = [
|
|
|
2046
2059
|
function tryStatement(position, buffer, readString) {
|
|
2047
2060
|
const start = buffer[position++];
|
|
2048
2061
|
const end = buffer[position++];
|
|
2062
|
+
const block = convertNode(buffer[position++], buffer, readString);
|
|
2049
2063
|
const handlerPosition = buffer[position++];
|
|
2050
2064
|
const handler = handlerPosition === 0 ? null : convertNode(handlerPosition, buffer, readString);
|
|
2051
|
-
const finalizerPosition = buffer[position
|
|
2065
|
+
const finalizerPosition = buffer[position];
|
|
2052
2066
|
const finalizer = finalizerPosition === 0 ? null : convertNode(finalizerPosition, buffer, readString);
|
|
2053
|
-
const block = convertNode(position, buffer, readString);
|
|
2054
2067
|
return {
|
|
2055
2068
|
type: 'TryStatement',
|
|
2056
2069
|
start,
|
|
@@ -2064,7 +2077,7 @@ const nodeConverters = [
|
|
|
2064
2077
|
const start = buffer[position++];
|
|
2065
2078
|
const end = buffer[position++];
|
|
2066
2079
|
const operator = FIXED_STRINGS[buffer[position++]];
|
|
2067
|
-
const argument = convertNode(position, buffer, readString);
|
|
2080
|
+
const argument = convertNode(buffer[position], buffer, readString);
|
|
2068
2081
|
return {
|
|
2069
2082
|
type: 'UnaryExpression',
|
|
2070
2083
|
start,
|
|
@@ -2080,7 +2093,7 @@ const nodeConverters = [
|
|
|
2080
2093
|
const flags = buffer[position++];
|
|
2081
2094
|
const prefix = (flags & 1) === 1;
|
|
2082
2095
|
const operator = FIXED_STRINGS[buffer[position++]];
|
|
2083
|
-
const argument = convertNode(position, buffer, readString);
|
|
2096
|
+
const argument = convertNode(buffer[position], buffer, readString);
|
|
2084
2097
|
return {
|
|
2085
2098
|
type: 'UpdateExpression',
|
|
2086
2099
|
start,
|
|
@@ -2094,7 +2107,7 @@ const nodeConverters = [
|
|
|
2094
2107
|
const start = buffer[position++];
|
|
2095
2108
|
const end = buffer[position++];
|
|
2096
2109
|
const kind = FIXED_STRINGS[buffer[position++]];
|
|
2097
|
-
const declarations = convertNodeList(position, buffer, readString);
|
|
2110
|
+
const declarations = convertNodeList(buffer[position], buffer, readString);
|
|
2098
2111
|
return {
|
|
2099
2112
|
type: 'VariableDeclaration',
|
|
2100
2113
|
start,
|
|
@@ -2106,9 +2119,9 @@ const nodeConverters = [
|
|
|
2106
2119
|
function variableDeclarator(position, buffer, readString) {
|
|
2107
2120
|
const start = buffer[position++];
|
|
2108
2121
|
const end = buffer[position++];
|
|
2109
|
-
const
|
|
2122
|
+
const id = convertNode(buffer[position++], buffer, readString);
|
|
2123
|
+
const initPosition = buffer[position];
|
|
2110
2124
|
const init = initPosition === 0 ? null : convertNode(initPosition, buffer, readString);
|
|
2111
|
-
const id = convertNode(position, buffer, readString);
|
|
2112
2125
|
return {
|
|
2113
2126
|
type: 'VariableDeclarator',
|
|
2114
2127
|
start,
|
|
@@ -2120,8 +2133,8 @@ const nodeConverters = [
|
|
|
2120
2133
|
function whileStatement(position, buffer, readString) {
|
|
2121
2134
|
const start = buffer[position++];
|
|
2122
2135
|
const end = buffer[position++];
|
|
2123
|
-
const
|
|
2124
|
-
const
|
|
2136
|
+
const test = convertNode(buffer[position++], buffer, readString);
|
|
2137
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
2125
2138
|
return {
|
|
2126
2139
|
type: 'WhileStatement',
|
|
2127
2140
|
start,
|
|
@@ -2157,6 +2170,8 @@ function convertNode(position, buffer, readString) {
|
|
|
2157
2170
|
return converter(position + 1, buffer, readString);
|
|
2158
2171
|
}
|
|
2159
2172
|
function convertNodeList(position, buffer, readString) {
|
|
2173
|
+
if (position === 0)
|
|
2174
|
+
return EMPTY_ARRAY;
|
|
2160
2175
|
const length = buffer[position++];
|
|
2161
2176
|
const list = [];
|
|
2162
2177
|
for (let index = 0; index < length; index++) {
|
|
@@ -2189,4 +2204,4 @@ const parseAstAsync = async (input, { allowReturnOutsideFunction = false, signal
|
|
|
2189
2204
|
return convertProgram(astBuffer.buffer, getReadStringFunction(astBuffer));
|
|
2190
2205
|
};
|
|
2191
2206
|
|
|
2192
|
-
export { ANNOTATION_KEY, ArrowFunctionExpression, BlockStatement, CallExpression, CatchClause, ExpressionStatement, FIXED_STRINGS, INVALID_ANNOTATION_KEY, Identifier, LOGLEVEL_DEBUG, LOGLEVEL_ERROR, LOGLEVEL_INFO, LOGLEVEL_WARN, Literal, Program, Property, ReturnStatement, TemplateLiteral, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_AMD_ID, URL_OUTPUT_DIR, URL_OUTPUT_EXTERNALIMPORTATTRIBUTES, URL_OUTPUT_FORMAT, URL_OUTPUT_GENERATEDCODE, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_OUTPUT_INTEROP, URL_OUTPUT_MANUALCHUNKS, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_SOURCEMAPFILE, URL_PRESERVEENTRYSIGNATURES, URL_TREESHAKE, URL_TREESHAKE_MODULESIDEEFFECTS, URL_WATCH, addTrailingSlashIfMissed, augmentCodeLocation, augmentLogMessage, convertAnnotations, convertNode, convertString, error, getAliasName, getImportPath, getReadStringFunction, getRollupError, isAbsolute, isPathFragment, isRelative, isValidUrl, locate, logAddonNotGenerated, logAlreadyClosed, logAmbiguousExternalNamespaces, logAnonymousPluginCache, logAssetNotFinalisedForFileName, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logBadLoader, logCannotAssignModuleToChunk, logCannotCallNamespace, logCannotEmitFromOptionsHook, logChunkInvalid, logChunkNotGeneratedForFileName, logCircularDependency, logCircularReexport, logConflictingSourcemapSources, logConstVariableReassignError, logCyclicCrossChunkReexport, logDuplicateArgumentNameError, logDuplicateExportError, logDuplicatePluginName, logEmptyChunk, logEntryCannotBeExternal, logEval, logExternalModulesCannotBeIncludedInManualChunks, logExternalModulesCannotBeTransformedToModules, logExternalSyntheticExports, logFailedValidation, logFileNameConflict, logFileReferenceIdNotFoundForFilename, logFirstSideEffect, logIllegalIdentifierAsName, logIllegalImportReassignment, logImplicitDependantCannotBeExternal, logImplicitDependantIsNotIncluded, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logIncompatibleExportOptionValue, logInconsistentImportAttributes, logInputHookInOutputPlugin, logInternalIdCannotBeExternal, logInvalidAddonPluginHook, logInvalidAnnotation, logInvalidExportOptionValue, logInvalidFormatForTopLevelAwait, logInvalidFunctionPluginHook, logInvalidLogPosition, logInvalidOption, logInvalidRollupPhaseForChunkEmission, logInvalidSetAssetSourceCall, logInvalidSourcemapForError, logLevelPriority, logMissingEntryExport, logMissingExport, logMissingFileOrDirOption, logMissingGlobalName, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, logMissingNodeBuiltins, logMixedExport, logModuleLevelDirective, logModuleParseError, logNamespaceConflict, logNoAssetSourceSet, logNoTransformMapOrAstWithoutCode, logOptimizeChunkStatus, logParseError, logPluginError, logRedeclarationError, logShimmedExport, logSourcemapBroken, logSyntheticNamedExportsNeedNamespaceExport, logThisIsUndefined, logUnexpectedNamedImport, logUnexpectedNamespaceReexport, logUnknownOption, logUnresolvedEntry, logUnresolvedImplicitDependant, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logUnusedExternalImports, normalize, parseAst, parseAstAsync, printQuotedStringList, relative, relativeId, warnDeprecation };
|
|
2207
|
+
export { ANNOTATION_KEY, ArrowFunctionExpression, BLANK, BlockStatement, CallExpression, CatchClause, EMPTY_ARRAY, EMPTY_OBJECT, EMPTY_SET, ExpressionStatement, FIXED_STRINGS, INVALID_ANNOTATION_KEY, Identifier, LOGLEVEL_DEBUG, LOGLEVEL_ERROR, LOGLEVEL_INFO, LOGLEVEL_WARN, Literal, Program, Property, ReturnStatement, TemplateLiteral, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_AMD_ID, URL_OUTPUT_DIR, URL_OUTPUT_EXTERNALIMPORTATTRIBUTES, URL_OUTPUT_FORMAT, URL_OUTPUT_GENERATEDCODE, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_OUTPUT_INTEROP, URL_OUTPUT_MANUALCHUNKS, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_SOURCEMAPFILE, URL_PRESERVEENTRYSIGNATURES, URL_TREESHAKE, URL_TREESHAKE_MODULESIDEEFFECTS, URL_WATCH, addTrailingSlashIfMissed, augmentCodeLocation, augmentLogMessage, convertAnnotations, convertNode, convertString, error, getAliasName, getImportPath, getReadStringFunction, getRollupError, isAbsolute, isPathFragment, isRelative, isValidUrl, locate, logAddonNotGenerated, logAlreadyClosed, logAmbiguousExternalNamespaces, logAnonymousPluginCache, logAssetNotFinalisedForFileName, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logBadLoader, logCannotAssignModuleToChunk, logCannotCallNamespace, logCannotEmitFromOptionsHook, logChunkInvalid, logChunkNotGeneratedForFileName, logCircularDependency, logCircularReexport, logConflictingSourcemapSources, logConstVariableReassignError, logCyclicCrossChunkReexport, logDuplicateArgumentNameError, logDuplicateExportError, logDuplicatePluginName, logEmptyChunk, logEntryCannotBeExternal, logEval, logExternalModulesCannotBeIncludedInManualChunks, logExternalModulesCannotBeTransformedToModules, logExternalSyntheticExports, logFailedValidation, logFileNameConflict, logFileReferenceIdNotFoundForFilename, logFirstSideEffect, logIllegalIdentifierAsName, logIllegalImportReassignment, logImplicitDependantCannotBeExternal, logImplicitDependantIsNotIncluded, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logIncompatibleExportOptionValue, logInconsistentImportAttributes, logInputHookInOutputPlugin, logInternalIdCannotBeExternal, logInvalidAddonPluginHook, logInvalidAnnotation, logInvalidExportOptionValue, logInvalidFormatForTopLevelAwait, logInvalidFunctionPluginHook, logInvalidLogPosition, logInvalidOption, logInvalidRollupPhaseForChunkEmission, logInvalidSetAssetSourceCall, logInvalidSourcemapForError, logLevelPriority, logMissingEntryExport, logMissingExport, logMissingFileOrDirOption, logMissingGlobalName, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, logMissingNodeBuiltins, logMixedExport, logModuleLevelDirective, logModuleParseError, logNamespaceConflict, logNoAssetSourceSet, logNoTransformMapOrAstWithoutCode, logOptimizeChunkStatus, logParseError, logPluginError, logRedeclarationError, logShimmedExport, logSourcemapBroken, logSyntheticNamedExportsNeedNamespaceExport, logThisIsUndefined, logUnexpectedNamedImport, logUnexpectedNamespaceReexport, logUnknownOption, logUnresolvedEntry, logUnresolvedImplicitDependant, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logUnusedExternalImports, normalize, parseAst, parseAstAsync, printQuotedStringList, relative, relativeId, warnDeprecation };
|