@rollup/wasm-node 4.13.2 → 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 +175 -160
- package/dist/es/shared/parseAst.js +117 -99
- 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 +120 -98
- package/dist/shared/rollup.js +228 -213
- 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 +14 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
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',
|
|
@@ -84,12 +95,17 @@ const FIXED_STRINGS = [
|
|
|
84
95
|
'||=',
|
|
85
96
|
'??=',
|
|
86
97
|
'pure',
|
|
87
|
-
'noSideEffects'
|
|
98
|
+
'noSideEffects',
|
|
99
|
+
'sourcemap',
|
|
100
|
+
'using',
|
|
101
|
+
'await using'
|
|
88
102
|
];
|
|
89
103
|
|
|
90
104
|
const ANNOTATION_KEY = '_rollupAnnotations';
|
|
91
105
|
const INVALID_ANNOTATION_KEY = '_rollupRemoved';
|
|
92
106
|
const convertAnnotations = (position, buffer) => {
|
|
107
|
+
if (position === 0)
|
|
108
|
+
return EMPTY_ARRAY;
|
|
93
109
|
const length = buffer[position++];
|
|
94
110
|
const list = [];
|
|
95
111
|
for (let index = 0; index < length; index++) {
|
|
@@ -1049,7 +1065,7 @@ const nodeConverters = [
|
|
|
1049
1065
|
function panicError(position, buffer, readString) {
|
|
1050
1066
|
const start = buffer[position++];
|
|
1051
1067
|
const end = buffer[position++];
|
|
1052
|
-
const message = convertString(position, buffer, readString);
|
|
1068
|
+
const message = convertString(buffer[position], buffer, readString);
|
|
1053
1069
|
return {
|
|
1054
1070
|
type: 'PanicError',
|
|
1055
1071
|
start,
|
|
@@ -1060,7 +1076,7 @@ const nodeConverters = [
|
|
|
1060
1076
|
function parseError(position, buffer, readString) {
|
|
1061
1077
|
const start = buffer[position++];
|
|
1062
1078
|
const end = buffer[position++];
|
|
1063
|
-
const message = convertString(position, buffer, readString);
|
|
1079
|
+
const message = convertString(buffer[position], buffer, readString);
|
|
1064
1080
|
return {
|
|
1065
1081
|
type: 'ParseError',
|
|
1066
1082
|
start,
|
|
@@ -1071,7 +1087,7 @@ const nodeConverters = [
|
|
|
1071
1087
|
function arrayExpression(position, buffer, readString) {
|
|
1072
1088
|
const start = buffer[position++];
|
|
1073
1089
|
const end = buffer[position++];
|
|
1074
|
-
const elements = convertNodeList(position, buffer, readString);
|
|
1090
|
+
const elements = convertNodeList(buffer[position], buffer, readString);
|
|
1075
1091
|
return {
|
|
1076
1092
|
type: 'ArrayExpression',
|
|
1077
1093
|
start,
|
|
@@ -1082,7 +1098,7 @@ const nodeConverters = [
|
|
|
1082
1098
|
function arrayPattern(position, buffer, readString) {
|
|
1083
1099
|
const start = buffer[position++];
|
|
1084
1100
|
const end = buffer[position++];
|
|
1085
|
-
const elements = convertNodeList(position, buffer, readString);
|
|
1101
|
+
const elements = convertNodeList(buffer[position], buffer, readString);
|
|
1086
1102
|
return {
|
|
1087
1103
|
type: 'ArrayPattern',
|
|
1088
1104
|
start,
|
|
@@ -1097,9 +1113,9 @@ const nodeConverters = [
|
|
|
1097
1113
|
const async = (flags & 1) === 1;
|
|
1098
1114
|
const expression = (flags & 2) === 2;
|
|
1099
1115
|
const generator = (flags & 4) === 4;
|
|
1116
|
+
const annotations = convertAnnotations(buffer[position++], buffer);
|
|
1100
1117
|
const parameters = convertNodeList(buffer[position++], buffer, readString);
|
|
1101
|
-
const body = convertNode(buffer[position
|
|
1102
|
-
const annotations = convertAnnotations(position, buffer);
|
|
1118
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
1103
1119
|
return {
|
|
1104
1120
|
type: 'ArrowFunctionExpression',
|
|
1105
1121
|
start,
|
|
@@ -1117,8 +1133,8 @@ const nodeConverters = [
|
|
|
1117
1133
|
const start = buffer[position++];
|
|
1118
1134
|
const end = buffer[position++];
|
|
1119
1135
|
const operator = FIXED_STRINGS[buffer[position++]];
|
|
1120
|
-
const
|
|
1121
|
-
const
|
|
1136
|
+
const left = convertNode(buffer[position++], buffer, readString);
|
|
1137
|
+
const right = convertNode(buffer[position], buffer, readString);
|
|
1122
1138
|
return {
|
|
1123
1139
|
type: 'AssignmentExpression',
|
|
1124
1140
|
start,
|
|
@@ -1131,8 +1147,8 @@ const nodeConverters = [
|
|
|
1131
1147
|
function assignmentPattern(position, buffer, readString) {
|
|
1132
1148
|
const start = buffer[position++];
|
|
1133
1149
|
const end = buffer[position++];
|
|
1134
|
-
const
|
|
1135
|
-
const
|
|
1150
|
+
const left = convertNode(buffer[position++], buffer, readString);
|
|
1151
|
+
const right = convertNode(buffer[position], buffer, readString);
|
|
1136
1152
|
return {
|
|
1137
1153
|
type: 'AssignmentPattern',
|
|
1138
1154
|
start,
|
|
@@ -1144,7 +1160,7 @@ const nodeConverters = [
|
|
|
1144
1160
|
function awaitExpression(position, buffer, readString) {
|
|
1145
1161
|
const start = buffer[position++];
|
|
1146
1162
|
const end = buffer[position++];
|
|
1147
|
-
const argument = convertNode(position, buffer, readString);
|
|
1163
|
+
const argument = convertNode(buffer[position], buffer, readString);
|
|
1148
1164
|
return {
|
|
1149
1165
|
type: 'AwaitExpression',
|
|
1150
1166
|
start,
|
|
@@ -1156,8 +1172,8 @@ const nodeConverters = [
|
|
|
1156
1172
|
const start = buffer[position++];
|
|
1157
1173
|
const end = buffer[position++];
|
|
1158
1174
|
const operator = FIXED_STRINGS[buffer[position++]];
|
|
1159
|
-
const
|
|
1160
|
-
const
|
|
1175
|
+
const left = convertNode(buffer[position++], buffer, readString);
|
|
1176
|
+
const right = convertNode(buffer[position], buffer, readString);
|
|
1161
1177
|
return {
|
|
1162
1178
|
type: 'BinaryExpression',
|
|
1163
1179
|
start,
|
|
@@ -1170,7 +1186,7 @@ const nodeConverters = [
|
|
|
1170
1186
|
function blockStatement(position, buffer, readString) {
|
|
1171
1187
|
const start = buffer[position++];
|
|
1172
1188
|
const end = buffer[position++];
|
|
1173
|
-
const body = convertNodeList(position, buffer, readString);
|
|
1189
|
+
const body = convertNodeList(buffer[position], buffer, readString);
|
|
1174
1190
|
return {
|
|
1175
1191
|
type: 'BlockStatement',
|
|
1176
1192
|
start,
|
|
@@ -1195,9 +1211,9 @@ const nodeConverters = [
|
|
|
1195
1211
|
const end = buffer[position++];
|
|
1196
1212
|
const flags = buffer[position++];
|
|
1197
1213
|
const optional = (flags & 1) === 1;
|
|
1214
|
+
const annotations = convertAnnotations(buffer[position++], buffer);
|
|
1198
1215
|
const callee = convertNode(buffer[position++], buffer, readString);
|
|
1199
|
-
const callArguments = convertNodeList(buffer[position
|
|
1200
|
-
const annotations = convertAnnotations(position, buffer);
|
|
1216
|
+
const callArguments = convertNodeList(buffer[position], buffer, readString);
|
|
1201
1217
|
return {
|
|
1202
1218
|
type: 'CallExpression',
|
|
1203
1219
|
start,
|
|
@@ -1225,7 +1241,7 @@ const nodeConverters = [
|
|
|
1225
1241
|
function chainExpression(position, buffer, readString) {
|
|
1226
1242
|
const start = buffer[position++];
|
|
1227
1243
|
const end = buffer[position++];
|
|
1228
|
-
const expression = convertNode(position, buffer, readString);
|
|
1244
|
+
const expression = convertNode(buffer[position], buffer, readString);
|
|
1229
1245
|
return {
|
|
1230
1246
|
type: 'ChainExpression',
|
|
1231
1247
|
start,
|
|
@@ -1236,7 +1252,7 @@ const nodeConverters = [
|
|
|
1236
1252
|
function classBody(position, buffer, readString) {
|
|
1237
1253
|
const start = buffer[position++];
|
|
1238
1254
|
const end = buffer[position++];
|
|
1239
|
-
const body = convertNodeList(position, buffer, readString);
|
|
1255
|
+
const body = convertNodeList(buffer[position], buffer, readString);
|
|
1240
1256
|
return {
|
|
1241
1257
|
type: 'ClassBody',
|
|
1242
1258
|
start,
|
|
@@ -1281,9 +1297,9 @@ const nodeConverters = [
|
|
|
1281
1297
|
function conditionalExpression(position, buffer, readString) {
|
|
1282
1298
|
const start = buffer[position++];
|
|
1283
1299
|
const end = buffer[position++];
|
|
1300
|
+
const test = convertNode(buffer[position++], buffer, readString);
|
|
1284
1301
|
const consequent = convertNode(buffer[position++], buffer, readString);
|
|
1285
|
-
const alternate = convertNode(buffer[position
|
|
1286
|
-
const test = convertNode(position, buffer, readString);
|
|
1302
|
+
const alternate = convertNode(buffer[position], buffer, readString);
|
|
1287
1303
|
return {
|
|
1288
1304
|
type: 'ConditionalExpression',
|
|
1289
1305
|
start,
|
|
@@ -1317,8 +1333,8 @@ const nodeConverters = [
|
|
|
1317
1333
|
function directive(position, buffer, readString) {
|
|
1318
1334
|
const start = buffer[position++];
|
|
1319
1335
|
const end = buffer[position++];
|
|
1320
|
-
const
|
|
1321
|
-
const
|
|
1336
|
+
const directive = convertString(buffer[position++], buffer, readString);
|
|
1337
|
+
const expression = convertNode(buffer[position], buffer, readString);
|
|
1322
1338
|
return {
|
|
1323
1339
|
type: 'ExpressionStatement',
|
|
1324
1340
|
start,
|
|
@@ -1330,8 +1346,8 @@ const nodeConverters = [
|
|
|
1330
1346
|
function doWhileStatement(position, buffer, readString) {
|
|
1331
1347
|
const start = buffer[position++];
|
|
1332
1348
|
const end = buffer[position++];
|
|
1333
|
-
const
|
|
1334
|
-
const
|
|
1349
|
+
const body = convertNode(buffer[position++], buffer, readString);
|
|
1350
|
+
const test = convertNode(buffer[position], buffer, readString);
|
|
1335
1351
|
return {
|
|
1336
1352
|
type: 'DoWhileStatement',
|
|
1337
1353
|
start,
|
|
@@ -1368,7 +1384,7 @@ const nodeConverters = [
|
|
|
1368
1384
|
function exportDefaultDeclaration(position, buffer, readString) {
|
|
1369
1385
|
const start = buffer[position++];
|
|
1370
1386
|
const end = buffer[position++];
|
|
1371
|
-
const declaration = convertNode(position, buffer, readString);
|
|
1387
|
+
const declaration = convertNode(buffer[position], buffer, readString);
|
|
1372
1388
|
return {
|
|
1373
1389
|
type: 'ExportDefaultDeclaration',
|
|
1374
1390
|
start,
|
|
@@ -1379,12 +1395,12 @@ const nodeConverters = [
|
|
|
1379
1395
|
function exportNamedDeclaration(position, buffer, readString) {
|
|
1380
1396
|
const start = buffer[position++];
|
|
1381
1397
|
const end = buffer[position++];
|
|
1398
|
+
const specifiers = convertNodeList(buffer[position++], buffer, readString);
|
|
1382
1399
|
const sourcePosition = buffer[position++];
|
|
1383
1400
|
const source = sourcePosition === 0 ? null : convertNode(sourcePosition, buffer, readString);
|
|
1384
1401
|
const attributes = convertNodeList(buffer[position++], buffer, readString);
|
|
1385
|
-
const declarationPosition = buffer[position
|
|
1402
|
+
const declarationPosition = buffer[position];
|
|
1386
1403
|
const declaration = declarationPosition === 0 ? null : convertNode(declarationPosition, buffer, readString);
|
|
1387
|
-
const specifiers = convertNodeList(position, buffer, readString);
|
|
1388
1404
|
return {
|
|
1389
1405
|
type: 'ExportNamedDeclaration',
|
|
1390
1406
|
start,
|
|
@@ -1398,8 +1414,8 @@ const nodeConverters = [
|
|
|
1398
1414
|
function exportSpecifier(position, buffer, readString) {
|
|
1399
1415
|
const start = buffer[position++];
|
|
1400
1416
|
const end = buffer[position++];
|
|
1401
|
-
const
|
|
1402
|
-
const
|
|
1417
|
+
const local = convertNode(buffer[position++], buffer, readString);
|
|
1418
|
+
const exportedPosition = buffer[position];
|
|
1403
1419
|
return {
|
|
1404
1420
|
type: 'ExportSpecifier',
|
|
1405
1421
|
start,
|
|
@@ -1411,7 +1427,7 @@ const nodeConverters = [
|
|
|
1411
1427
|
function expressionStatement(position, buffer, readString) {
|
|
1412
1428
|
const start = buffer[position++];
|
|
1413
1429
|
const end = buffer[position++];
|
|
1414
|
-
const expression = convertNode(position, buffer, readString);
|
|
1430
|
+
const expression = convertNode(buffer[position], buffer, readString);
|
|
1415
1431
|
return {
|
|
1416
1432
|
type: 'ExpressionStatement',
|
|
1417
1433
|
start,
|
|
@@ -1422,9 +1438,9 @@ const nodeConverters = [
|
|
|
1422
1438
|
function forInStatement(position, buffer, readString) {
|
|
1423
1439
|
const start = buffer[position++];
|
|
1424
1440
|
const end = buffer[position++];
|
|
1441
|
+
const left = convertNode(buffer[position++], buffer, readString);
|
|
1425
1442
|
const right = convertNode(buffer[position++], buffer, readString);
|
|
1426
|
-
const body = convertNode(buffer[position
|
|
1427
|
-
const left = convertNode(position, buffer, readString);
|
|
1443
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
1428
1444
|
return {
|
|
1429
1445
|
type: 'ForInStatement',
|
|
1430
1446
|
start,
|
|
@@ -1439,9 +1455,9 @@ const nodeConverters = [
|
|
|
1439
1455
|
const end = buffer[position++];
|
|
1440
1456
|
const flags = buffer[position++];
|
|
1441
1457
|
const awaited = (flags & 1) === 1;
|
|
1458
|
+
const left = convertNode(buffer[position++], buffer, readString);
|
|
1442
1459
|
const right = convertNode(buffer[position++], buffer, readString);
|
|
1443
|
-
const body = convertNode(buffer[position
|
|
1444
|
-
const left = convertNode(position, buffer, readString);
|
|
1460
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
1445
1461
|
return {
|
|
1446
1462
|
type: 'ForOfStatement',
|
|
1447
1463
|
start,
|
|
@@ -1478,11 +1494,11 @@ const nodeConverters = [
|
|
|
1478
1494
|
const flags = buffer[position++];
|
|
1479
1495
|
const async = (flags & 1) === 1;
|
|
1480
1496
|
const generator = (flags & 2) === 2;
|
|
1497
|
+
const annotations = convertAnnotations(buffer[position++], buffer);
|
|
1481
1498
|
const idPosition = buffer[position++];
|
|
1482
1499
|
const id = idPosition === 0 ? null : convertNode(idPosition, buffer, readString);
|
|
1483
1500
|
const parameters = convertNodeList(buffer[position++], buffer, readString);
|
|
1484
|
-
const body = convertNode(buffer[position
|
|
1485
|
-
const annotations = convertAnnotations(position, buffer);
|
|
1501
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
1486
1502
|
return {
|
|
1487
1503
|
type: 'FunctionDeclaration',
|
|
1488
1504
|
start,
|
|
@@ -1502,11 +1518,11 @@ const nodeConverters = [
|
|
|
1502
1518
|
const flags = buffer[position++];
|
|
1503
1519
|
const async = (flags & 1) === 1;
|
|
1504
1520
|
const generator = (flags & 2) === 2;
|
|
1521
|
+
const annotations = convertAnnotations(buffer[position++], buffer);
|
|
1505
1522
|
const idPosition = buffer[position++];
|
|
1506
1523
|
const id = idPosition === 0 ? null : convertNode(idPosition, buffer, readString);
|
|
1507
1524
|
const parameters = convertNodeList(buffer[position++], buffer, readString);
|
|
1508
|
-
const body = convertNode(buffer[position
|
|
1509
|
-
const annotations = convertAnnotations(position, buffer);
|
|
1525
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
1510
1526
|
return {
|
|
1511
1527
|
type: 'FunctionExpression',
|
|
1512
1528
|
start,
|
|
@@ -1523,7 +1539,7 @@ const nodeConverters = [
|
|
|
1523
1539
|
function identifier(position, buffer, readString) {
|
|
1524
1540
|
const start = buffer[position++];
|
|
1525
1541
|
const end = buffer[position++];
|
|
1526
|
-
const name = convertString(position, buffer, readString);
|
|
1542
|
+
const name = convertString(buffer[position], buffer, readString);
|
|
1527
1543
|
return {
|
|
1528
1544
|
type: 'Identifier',
|
|
1529
1545
|
start,
|
|
@@ -1534,10 +1550,10 @@ const nodeConverters = [
|
|
|
1534
1550
|
function ifStatement(position, buffer, readString) {
|
|
1535
1551
|
const start = buffer[position++];
|
|
1536
1552
|
const end = buffer[position++];
|
|
1553
|
+
const test = convertNode(buffer[position++], buffer, readString);
|
|
1537
1554
|
const consequent = convertNode(buffer[position++], buffer, readString);
|
|
1538
|
-
const alternatePosition = buffer[position
|
|
1555
|
+
const alternatePosition = buffer[position];
|
|
1539
1556
|
const alternate = alternatePosition === 0 ? null : convertNode(alternatePosition, buffer, readString);
|
|
1540
|
-
const test = convertNode(position, buffer, readString);
|
|
1541
1557
|
return {
|
|
1542
1558
|
type: 'IfStatement',
|
|
1543
1559
|
start,
|
|
@@ -1550,8 +1566,8 @@ const nodeConverters = [
|
|
|
1550
1566
|
function importAttribute(position, buffer, readString) {
|
|
1551
1567
|
const start = buffer[position++];
|
|
1552
1568
|
const end = buffer[position++];
|
|
1553
|
-
const
|
|
1554
|
-
const
|
|
1569
|
+
const key = convertNode(buffer[position++], buffer, readString);
|
|
1570
|
+
const value = convertNode(buffer[position], buffer, readString);
|
|
1555
1571
|
return {
|
|
1556
1572
|
type: 'ImportAttribute',
|
|
1557
1573
|
start,
|
|
@@ -1563,9 +1579,9 @@ const nodeConverters = [
|
|
|
1563
1579
|
function importDeclaration(position, buffer, readString) {
|
|
1564
1580
|
const start = buffer[position++];
|
|
1565
1581
|
const end = buffer[position++];
|
|
1582
|
+
const specifiers = convertNodeList(buffer[position++], buffer, readString);
|
|
1566
1583
|
const source = convertNode(buffer[position++], buffer, readString);
|
|
1567
|
-
const attributes = convertNodeList(buffer[position
|
|
1568
|
-
const specifiers = convertNodeList(position, buffer, readString);
|
|
1584
|
+
const attributes = convertNodeList(buffer[position], buffer, readString);
|
|
1569
1585
|
return {
|
|
1570
1586
|
type: 'ImportDeclaration',
|
|
1571
1587
|
start,
|
|
@@ -1578,7 +1594,7 @@ const nodeConverters = [
|
|
|
1578
1594
|
function importDefaultSpecifier(position, buffer, readString) {
|
|
1579
1595
|
const start = buffer[position++];
|
|
1580
1596
|
const end = buffer[position++];
|
|
1581
|
-
const local = convertNode(position, buffer, readString);
|
|
1597
|
+
const local = convertNode(buffer[position], buffer, readString);
|
|
1582
1598
|
return {
|
|
1583
1599
|
type: 'ImportDefaultSpecifier',
|
|
1584
1600
|
start,
|
|
@@ -1589,9 +1605,9 @@ const nodeConverters = [
|
|
|
1589
1605
|
function importExpression(position, buffer, readString) {
|
|
1590
1606
|
const start = buffer[position++];
|
|
1591
1607
|
const end = buffer[position++];
|
|
1592
|
-
const
|
|
1608
|
+
const source = convertNode(buffer[position++], buffer, readString);
|
|
1609
|
+
const optionsPosition = buffer[position];
|
|
1593
1610
|
const options = optionsPosition === 0 ? null : convertNode(optionsPosition, buffer, readString);
|
|
1594
|
-
const source = convertNode(position, buffer, readString);
|
|
1595
1611
|
return {
|
|
1596
1612
|
type: 'ImportExpression',
|
|
1597
1613
|
start,
|
|
@@ -1603,7 +1619,7 @@ const nodeConverters = [
|
|
|
1603
1619
|
function importNamespaceSpecifier(position, buffer, readString) {
|
|
1604
1620
|
const start = buffer[position++];
|
|
1605
1621
|
const end = buffer[position++];
|
|
1606
|
-
const local = convertNode(position, buffer, readString);
|
|
1622
|
+
const local = convertNode(buffer[position], buffer, readString);
|
|
1607
1623
|
return {
|
|
1608
1624
|
type: 'ImportNamespaceSpecifier',
|
|
1609
1625
|
start,
|
|
@@ -1627,8 +1643,8 @@ const nodeConverters = [
|
|
|
1627
1643
|
function labeledStatement(position, buffer, readString) {
|
|
1628
1644
|
const start = buffer[position++];
|
|
1629
1645
|
const end = buffer[position++];
|
|
1630
|
-
const
|
|
1631
|
-
const
|
|
1646
|
+
const label = convertNode(buffer[position++], buffer, readString);
|
|
1647
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
1632
1648
|
return {
|
|
1633
1649
|
type: 'LabeledStatement',
|
|
1634
1650
|
start,
|
|
@@ -1640,8 +1656,8 @@ const nodeConverters = [
|
|
|
1640
1656
|
function literalBigInt(position, buffer, readString) {
|
|
1641
1657
|
const start = buffer[position++];
|
|
1642
1658
|
const end = buffer[position++];
|
|
1643
|
-
const
|
|
1644
|
-
const
|
|
1659
|
+
const bigint = convertString(buffer[position++], buffer, readString);
|
|
1660
|
+
const raw = convertString(buffer[position], buffer, readString);
|
|
1645
1661
|
return {
|
|
1646
1662
|
type: 'Literal',
|
|
1647
1663
|
start,
|
|
@@ -1692,8 +1708,8 @@ const nodeConverters = [
|
|
|
1692
1708
|
function literalRegExp(position, buffer, readString) {
|
|
1693
1709
|
const start = buffer[position++];
|
|
1694
1710
|
const end = buffer[position++];
|
|
1695
|
-
const
|
|
1696
|
-
const
|
|
1711
|
+
const flags = convertString(buffer[position++], buffer, readString);
|
|
1712
|
+
const pattern = convertString(buffer[position], buffer, readString);
|
|
1697
1713
|
return {
|
|
1698
1714
|
type: 'Literal',
|
|
1699
1715
|
start,
|
|
@@ -1706,9 +1722,9 @@ const nodeConverters = [
|
|
|
1706
1722
|
function literalString(position, buffer, readString) {
|
|
1707
1723
|
const start = buffer[position++];
|
|
1708
1724
|
const end = buffer[position++];
|
|
1709
|
-
const
|
|
1725
|
+
const value = convertString(buffer[position++], buffer, readString);
|
|
1726
|
+
const rawPosition = buffer[position];
|
|
1710
1727
|
const raw = rawPosition === 0 ? undefined : convertString(rawPosition, buffer, readString);
|
|
1711
|
-
const value = convertString(position, buffer, readString);
|
|
1712
1728
|
return {
|
|
1713
1729
|
type: 'Literal',
|
|
1714
1730
|
start,
|
|
@@ -1721,8 +1737,8 @@ const nodeConverters = [
|
|
|
1721
1737
|
const start = buffer[position++];
|
|
1722
1738
|
const end = buffer[position++];
|
|
1723
1739
|
const operator = FIXED_STRINGS[buffer[position++]];
|
|
1724
|
-
const
|
|
1725
|
-
const
|
|
1740
|
+
const left = convertNode(buffer[position++], buffer, readString);
|
|
1741
|
+
const right = convertNode(buffer[position], buffer, readString);
|
|
1726
1742
|
return {
|
|
1727
1743
|
type: 'LogicalExpression',
|
|
1728
1744
|
start,
|
|
@@ -1738,8 +1754,8 @@ const nodeConverters = [
|
|
|
1738
1754
|
const flags = buffer[position++];
|
|
1739
1755
|
const computed = (flags & 1) === 1;
|
|
1740
1756
|
const optional = (flags & 2) === 2;
|
|
1741
|
-
const
|
|
1742
|
-
const
|
|
1757
|
+
const object = convertNode(buffer[position++], buffer, readString);
|
|
1758
|
+
const property = convertNode(buffer[position], buffer, readString);
|
|
1743
1759
|
return {
|
|
1744
1760
|
type: 'MemberExpression',
|
|
1745
1761
|
start,
|
|
@@ -1753,8 +1769,8 @@ const nodeConverters = [
|
|
|
1753
1769
|
function metaProperty(position, buffer, readString) {
|
|
1754
1770
|
const start = buffer[position++];
|
|
1755
1771
|
const end = buffer[position++];
|
|
1756
|
-
const
|
|
1757
|
-
const
|
|
1772
|
+
const meta = convertNode(buffer[position++], buffer, readString);
|
|
1773
|
+
const property = convertNode(buffer[position], buffer, readString);
|
|
1758
1774
|
return {
|
|
1759
1775
|
type: 'MetaProperty',
|
|
1760
1776
|
start,
|
|
@@ -1769,9 +1785,9 @@ const nodeConverters = [
|
|
|
1769
1785
|
const flags = buffer[position++];
|
|
1770
1786
|
const isStatic = (flags & 1) === 1;
|
|
1771
1787
|
const computed = (flags & 2) === 2;
|
|
1788
|
+
const key = convertNode(buffer[position++], buffer, readString);
|
|
1772
1789
|
const value = convertNode(buffer[position++], buffer, readString);
|
|
1773
|
-
const kind = FIXED_STRINGS[buffer[position
|
|
1774
|
-
const key = convertNode(position, buffer, readString);
|
|
1790
|
+
const kind = FIXED_STRINGS[buffer[position]];
|
|
1775
1791
|
return {
|
|
1776
1792
|
type: 'MethodDefinition',
|
|
1777
1793
|
start,
|
|
@@ -1786,9 +1802,9 @@ const nodeConverters = [
|
|
|
1786
1802
|
function newExpression(position, buffer, readString) {
|
|
1787
1803
|
const start = buffer[position++];
|
|
1788
1804
|
const end = buffer[position++];
|
|
1805
|
+
const annotations = convertAnnotations(buffer[position++], buffer);
|
|
1789
1806
|
const callee = convertNode(buffer[position++], buffer, readString);
|
|
1790
|
-
const callArguments = convertNodeList(buffer[position
|
|
1791
|
-
const annotations = convertAnnotations(position, buffer);
|
|
1807
|
+
const callArguments = convertNodeList(buffer[position], buffer, readString);
|
|
1792
1808
|
return {
|
|
1793
1809
|
type: 'NewExpression',
|
|
1794
1810
|
start,
|
|
@@ -1801,7 +1817,7 @@ const nodeConverters = [
|
|
|
1801
1817
|
function objectExpression(position, buffer, readString) {
|
|
1802
1818
|
const start = buffer[position++];
|
|
1803
1819
|
const end = buffer[position++];
|
|
1804
|
-
const properties = convertNodeList(position, buffer, readString);
|
|
1820
|
+
const properties = convertNodeList(buffer[position], buffer, readString);
|
|
1805
1821
|
return {
|
|
1806
1822
|
type: 'ObjectExpression',
|
|
1807
1823
|
start,
|
|
@@ -1812,7 +1828,7 @@ const nodeConverters = [
|
|
|
1812
1828
|
function objectPattern(position, buffer, readString) {
|
|
1813
1829
|
const start = buffer[position++];
|
|
1814
1830
|
const end = buffer[position++];
|
|
1815
|
-
const properties = convertNodeList(position, buffer, readString);
|
|
1831
|
+
const properties = convertNodeList(buffer[position], buffer, readString);
|
|
1816
1832
|
return {
|
|
1817
1833
|
type: 'ObjectPattern',
|
|
1818
1834
|
start,
|
|
@@ -1823,7 +1839,7 @@ const nodeConverters = [
|
|
|
1823
1839
|
function privateIdentifier(position, buffer, readString) {
|
|
1824
1840
|
const start = buffer[position++];
|
|
1825
1841
|
const end = buffer[position++];
|
|
1826
|
-
const name = convertString(position, buffer, readString);
|
|
1842
|
+
const name = convertString(buffer[position], buffer, readString);
|
|
1827
1843
|
return {
|
|
1828
1844
|
type: 'PrivateIdentifier',
|
|
1829
1845
|
start,
|
|
@@ -1834,8 +1850,8 @@ const nodeConverters = [
|
|
|
1834
1850
|
function program(position, buffer, readString) {
|
|
1835
1851
|
const start = buffer[position++];
|
|
1836
1852
|
const end = buffer[position++];
|
|
1837
|
-
const
|
|
1838
|
-
const
|
|
1853
|
+
const body = convertNodeList(buffer[position++], buffer, readString);
|
|
1854
|
+
const invalidAnnotations = convertAnnotations(buffer[position], buffer);
|
|
1839
1855
|
return {
|
|
1840
1856
|
type: 'Program',
|
|
1841
1857
|
start,
|
|
@@ -1873,9 +1889,9 @@ const nodeConverters = [
|
|
|
1873
1889
|
const flags = buffer[position++];
|
|
1874
1890
|
const isStatic = (flags & 1) === 1;
|
|
1875
1891
|
const computed = (flags & 2) === 2;
|
|
1876
|
-
const
|
|
1892
|
+
const key = convertNode(buffer[position++], buffer, readString);
|
|
1893
|
+
const valuePosition = buffer[position];
|
|
1877
1894
|
const value = valuePosition === 0 ? null : convertNode(valuePosition, buffer, readString);
|
|
1878
|
-
const key = convertNode(position, buffer, readString);
|
|
1879
1895
|
return {
|
|
1880
1896
|
type: 'PropertyDefinition',
|
|
1881
1897
|
start,
|
|
@@ -1889,7 +1905,7 @@ const nodeConverters = [
|
|
|
1889
1905
|
function restElement(position, buffer, readString) {
|
|
1890
1906
|
const start = buffer[position++];
|
|
1891
1907
|
const end = buffer[position++];
|
|
1892
|
-
const argument = convertNode(position, buffer, readString);
|
|
1908
|
+
const argument = convertNode(buffer[position], buffer, readString);
|
|
1893
1909
|
return {
|
|
1894
1910
|
type: 'RestElement',
|
|
1895
1911
|
start,
|
|
@@ -1912,7 +1928,7 @@ const nodeConverters = [
|
|
|
1912
1928
|
function sequenceExpression(position, buffer, readString) {
|
|
1913
1929
|
const start = buffer[position++];
|
|
1914
1930
|
const end = buffer[position++];
|
|
1915
|
-
const expressions = convertNodeList(position, buffer, readString);
|
|
1931
|
+
const expressions = convertNodeList(buffer[position], buffer, readString);
|
|
1916
1932
|
return {
|
|
1917
1933
|
type: 'SequenceExpression',
|
|
1918
1934
|
start,
|
|
@@ -1923,7 +1939,7 @@ const nodeConverters = [
|
|
|
1923
1939
|
function spreadElement(position, buffer, readString) {
|
|
1924
1940
|
const start = buffer[position++];
|
|
1925
1941
|
const end = buffer[position++];
|
|
1926
|
-
const argument = convertNode(position, buffer, readString);
|
|
1942
|
+
const argument = convertNode(buffer[position], buffer, readString);
|
|
1927
1943
|
return {
|
|
1928
1944
|
type: 'SpreadElement',
|
|
1929
1945
|
start,
|
|
@@ -1934,7 +1950,7 @@ const nodeConverters = [
|
|
|
1934
1950
|
function staticBlock(position, buffer, readString) {
|
|
1935
1951
|
const start = buffer[position++];
|
|
1936
1952
|
const end = buffer[position++];
|
|
1937
|
-
const body = convertNodeList(position, buffer, readString);
|
|
1953
|
+
const body = convertNodeList(buffer[position], buffer, readString);
|
|
1938
1954
|
return {
|
|
1939
1955
|
type: 'StaticBlock',
|
|
1940
1956
|
start,
|
|
@@ -1968,8 +1984,8 @@ const nodeConverters = [
|
|
|
1968
1984
|
function switchStatement(position, buffer, readString) {
|
|
1969
1985
|
const start = buffer[position++];
|
|
1970
1986
|
const end = buffer[position++];
|
|
1971
|
-
const
|
|
1972
|
-
const
|
|
1987
|
+
const discriminant = convertNode(buffer[position++], buffer, readString);
|
|
1988
|
+
const cases = convertNodeList(buffer[position], buffer, readString);
|
|
1973
1989
|
return {
|
|
1974
1990
|
type: 'SwitchStatement',
|
|
1975
1991
|
start,
|
|
@@ -1981,8 +1997,8 @@ const nodeConverters = [
|
|
|
1981
1997
|
function taggedTemplateExpression(position, buffer, readString) {
|
|
1982
1998
|
const start = buffer[position++];
|
|
1983
1999
|
const end = buffer[position++];
|
|
1984
|
-
const
|
|
1985
|
-
const
|
|
2000
|
+
const tag = convertNode(buffer[position++], buffer, readString);
|
|
2001
|
+
const quasi = convertNode(buffer[position], buffer, readString);
|
|
1986
2002
|
return {
|
|
1987
2003
|
type: 'TaggedTemplateExpression',
|
|
1988
2004
|
start,
|
|
@@ -1998,7 +2014,7 @@ const nodeConverters = [
|
|
|
1998
2014
|
const tail = (flags & 1) === 1;
|
|
1999
2015
|
const cookedPosition = buffer[position++];
|
|
2000
2016
|
const cooked = cookedPosition === 0 ? undefined : convertString(cookedPosition, buffer, readString);
|
|
2001
|
-
const raw = convertString(position, buffer, readString);
|
|
2017
|
+
const raw = convertString(buffer[position], buffer, readString);
|
|
2002
2018
|
return {
|
|
2003
2019
|
type: 'TemplateElement',
|
|
2004
2020
|
start,
|
|
@@ -2010,8 +2026,8 @@ const nodeConverters = [
|
|
|
2010
2026
|
function templateLiteral(position, buffer, readString) {
|
|
2011
2027
|
const start = buffer[position++];
|
|
2012
2028
|
const end = buffer[position++];
|
|
2013
|
-
const
|
|
2014
|
-
const
|
|
2029
|
+
const quasis = convertNodeList(buffer[position++], buffer, readString);
|
|
2030
|
+
const expressions = convertNodeList(buffer[position], buffer, readString);
|
|
2015
2031
|
return {
|
|
2016
2032
|
type: 'TemplateLiteral',
|
|
2017
2033
|
start,
|
|
@@ -2032,7 +2048,7 @@ const nodeConverters = [
|
|
|
2032
2048
|
function throwStatement(position, buffer, readString) {
|
|
2033
2049
|
const start = buffer[position++];
|
|
2034
2050
|
const end = buffer[position++];
|
|
2035
|
-
const argument = convertNode(position, buffer, readString);
|
|
2051
|
+
const argument = convertNode(buffer[position], buffer, readString);
|
|
2036
2052
|
return {
|
|
2037
2053
|
type: 'ThrowStatement',
|
|
2038
2054
|
start,
|
|
@@ -2043,11 +2059,11 @@ const nodeConverters = [
|
|
|
2043
2059
|
function tryStatement(position, buffer, readString) {
|
|
2044
2060
|
const start = buffer[position++];
|
|
2045
2061
|
const end = buffer[position++];
|
|
2062
|
+
const block = convertNode(buffer[position++], buffer, readString);
|
|
2046
2063
|
const handlerPosition = buffer[position++];
|
|
2047
2064
|
const handler = handlerPosition === 0 ? null : convertNode(handlerPosition, buffer, readString);
|
|
2048
|
-
const finalizerPosition = buffer[position
|
|
2065
|
+
const finalizerPosition = buffer[position];
|
|
2049
2066
|
const finalizer = finalizerPosition === 0 ? null : convertNode(finalizerPosition, buffer, readString);
|
|
2050
|
-
const block = convertNode(position, buffer, readString);
|
|
2051
2067
|
return {
|
|
2052
2068
|
type: 'TryStatement',
|
|
2053
2069
|
start,
|
|
@@ -2061,7 +2077,7 @@ const nodeConverters = [
|
|
|
2061
2077
|
const start = buffer[position++];
|
|
2062
2078
|
const end = buffer[position++];
|
|
2063
2079
|
const operator = FIXED_STRINGS[buffer[position++]];
|
|
2064
|
-
const argument = convertNode(position, buffer, readString);
|
|
2080
|
+
const argument = convertNode(buffer[position], buffer, readString);
|
|
2065
2081
|
return {
|
|
2066
2082
|
type: 'UnaryExpression',
|
|
2067
2083
|
start,
|
|
@@ -2077,7 +2093,7 @@ const nodeConverters = [
|
|
|
2077
2093
|
const flags = buffer[position++];
|
|
2078
2094
|
const prefix = (flags & 1) === 1;
|
|
2079
2095
|
const operator = FIXED_STRINGS[buffer[position++]];
|
|
2080
|
-
const argument = convertNode(position, buffer, readString);
|
|
2096
|
+
const argument = convertNode(buffer[position], buffer, readString);
|
|
2081
2097
|
return {
|
|
2082
2098
|
type: 'UpdateExpression',
|
|
2083
2099
|
start,
|
|
@@ -2091,7 +2107,7 @@ const nodeConverters = [
|
|
|
2091
2107
|
const start = buffer[position++];
|
|
2092
2108
|
const end = buffer[position++];
|
|
2093
2109
|
const kind = FIXED_STRINGS[buffer[position++]];
|
|
2094
|
-
const declarations = convertNodeList(position, buffer, readString);
|
|
2110
|
+
const declarations = convertNodeList(buffer[position], buffer, readString);
|
|
2095
2111
|
return {
|
|
2096
2112
|
type: 'VariableDeclaration',
|
|
2097
2113
|
start,
|
|
@@ -2103,9 +2119,9 @@ const nodeConverters = [
|
|
|
2103
2119
|
function variableDeclarator(position, buffer, readString) {
|
|
2104
2120
|
const start = buffer[position++];
|
|
2105
2121
|
const end = buffer[position++];
|
|
2106
|
-
const
|
|
2122
|
+
const id = convertNode(buffer[position++], buffer, readString);
|
|
2123
|
+
const initPosition = buffer[position];
|
|
2107
2124
|
const init = initPosition === 0 ? null : convertNode(initPosition, buffer, readString);
|
|
2108
|
-
const id = convertNode(position, buffer, readString);
|
|
2109
2125
|
return {
|
|
2110
2126
|
type: 'VariableDeclarator',
|
|
2111
2127
|
start,
|
|
@@ -2117,8 +2133,8 @@ const nodeConverters = [
|
|
|
2117
2133
|
function whileStatement(position, buffer, readString) {
|
|
2118
2134
|
const start = buffer[position++];
|
|
2119
2135
|
const end = buffer[position++];
|
|
2120
|
-
const
|
|
2121
|
-
const
|
|
2136
|
+
const test = convertNode(buffer[position++], buffer, readString);
|
|
2137
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
2122
2138
|
return {
|
|
2123
2139
|
type: 'WhileStatement',
|
|
2124
2140
|
start,
|
|
@@ -2154,6 +2170,8 @@ function convertNode(position, buffer, readString) {
|
|
|
2154
2170
|
return converter(position + 1, buffer, readString);
|
|
2155
2171
|
}
|
|
2156
2172
|
function convertNodeList(position, buffer, readString) {
|
|
2173
|
+
if (position === 0)
|
|
2174
|
+
return EMPTY_ARRAY;
|
|
2157
2175
|
const length = buffer[position++];
|
|
2158
2176
|
const list = [];
|
|
2159
2177
|
for (let index = 0; index < length; index++) {
|
|
@@ -2186,4 +2204,4 @@ const parseAstAsync = async (input, { allowReturnOutsideFunction = false, signal
|
|
|
2186
2204
|
return convertProgram(astBuffer.buffer, getReadStringFunction(astBuffer));
|
|
2187
2205
|
};
|
|
2188
2206
|
|
|
2189
|
-
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 };
|