rollup 2.70.2 → 2.72.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/CHANGELOG.md +53 -0
- package/LICENSE.md +1 -1
- package/dist/bin/rollup +18 -18
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +150 -139
- package/dist/es/shared/watch.js +189 -187
- package/dist/loadConfigFile.js +6 -6
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.browser.js.map +1 -1
- package/dist/rollup.d.ts +2 -0
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +191 -189
- package/dist/shared/loadConfigFile.js +6 -4
- package/dist/shared/mergeOptions.js +2 -2
- package/dist/shared/rollup.js +150 -139
- package/dist/shared/watch-cli.js +113 -74
- package/dist/shared/watch.js +2 -2
- package/package.json +16 -14
package/dist/es/rollup.js
CHANGED
package/dist/es/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.72.0
|
|
4
|
+
Thu, 05 May 2022 04:32:50 GMT - commit 19aef1315cf45b04c74c37a290cbef8072ddfa6b
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ import { createHash as createHash$1 } from 'crypto';
|
|
|
14
14
|
import { promises } from 'fs';
|
|
15
15
|
import { EventEmitter } from 'events';
|
|
16
16
|
|
|
17
|
-
var version$1 = "2.
|
|
17
|
+
var version$1 = "2.72.0";
|
|
18
18
|
|
|
19
19
|
var charToInteger = {};
|
|
20
20
|
var chars$1 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
|
|
@@ -2341,9 +2341,19 @@ class ExternalModule {
|
|
|
2341
2341
|
}
|
|
2342
2342
|
}
|
|
2343
2343
|
|
|
2344
|
+
function getDefaultExportFromCjs (x) {
|
|
2345
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2344
2348
|
function getAugmentedNamespace(n) {
|
|
2345
|
-
|
|
2346
|
-
|
|
2349
|
+
var f = n.default;
|
|
2350
|
+
if (typeof f == "function") {
|
|
2351
|
+
var a = function () {
|
|
2352
|
+
return f.apply(this, arguments);
|
|
2353
|
+
};
|
|
2354
|
+
a.prototype = f.prototype;
|
|
2355
|
+
} else a = {};
|
|
2356
|
+
Object.defineProperty(a, '__esModule', {value: true});
|
|
2347
2357
|
Object.keys(n).forEach(function (k) {
|
|
2348
2358
|
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
2349
2359
|
Object.defineProperty(a, k, d.get ? d : {
|
|
@@ -2356,6 +2366,8 @@ function getAugmentedNamespace(n) {
|
|
|
2356
2366
|
return a;
|
|
2357
2367
|
}
|
|
2358
2368
|
|
|
2369
|
+
var picomatch$1 = {exports: {}};
|
|
2370
|
+
|
|
2359
2371
|
var utils$3 = {};
|
|
2360
2372
|
|
|
2361
2373
|
const path$1 = require$$0;
|
|
@@ -2538,69 +2550,69 @@ var constants$2 = {
|
|
|
2538
2550
|
|
|
2539
2551
|
(function (exports) {
|
|
2540
2552
|
|
|
2541
|
-
const path = require$$0;
|
|
2542
|
-
const win32 = process.platform === 'win32';
|
|
2543
|
-
const {
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
} = constants$2;
|
|
2549
|
-
|
|
2550
|
-
exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
|
|
2551
|
-
exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
|
|
2552
|
-
exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
|
|
2553
|
-
exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
|
|
2554
|
-
exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
|
|
2555
|
-
|
|
2556
|
-
exports.removeBackslashes = str => {
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
};
|
|
2553
|
+
const path = require$$0;
|
|
2554
|
+
const win32 = process.platform === 'win32';
|
|
2555
|
+
const {
|
|
2556
|
+
REGEX_BACKSLASH,
|
|
2557
|
+
REGEX_REMOVE_BACKSLASH,
|
|
2558
|
+
REGEX_SPECIAL_CHARS,
|
|
2559
|
+
REGEX_SPECIAL_CHARS_GLOBAL
|
|
2560
|
+
} = constants$2;
|
|
2561
|
+
|
|
2562
|
+
exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
|
|
2563
|
+
exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
|
|
2564
|
+
exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
|
|
2565
|
+
exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
|
|
2566
|
+
exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
|
|
2567
|
+
|
|
2568
|
+
exports.removeBackslashes = str => {
|
|
2569
|
+
return str.replace(REGEX_REMOVE_BACKSLASH, match => {
|
|
2570
|
+
return match === '\\' ? '' : match;
|
|
2571
|
+
});
|
|
2572
|
+
};
|
|
2561
2573
|
|
|
2562
|
-
exports.supportsLookbehinds = () => {
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
};
|
|
2574
|
+
exports.supportsLookbehinds = () => {
|
|
2575
|
+
const segs = process.version.slice(1).split('.').map(Number);
|
|
2576
|
+
if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
|
|
2577
|
+
return true;
|
|
2578
|
+
}
|
|
2579
|
+
return false;
|
|
2580
|
+
};
|
|
2569
2581
|
|
|
2570
|
-
exports.isWindows = options => {
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
};
|
|
2582
|
+
exports.isWindows = options => {
|
|
2583
|
+
if (options && typeof options.windows === 'boolean') {
|
|
2584
|
+
return options.windows;
|
|
2585
|
+
}
|
|
2586
|
+
return win32 === true || path.sep === '\\';
|
|
2587
|
+
};
|
|
2576
2588
|
|
|
2577
|
-
exports.escapeLast = (input, char, lastIdx) => {
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
};
|
|
2589
|
+
exports.escapeLast = (input, char, lastIdx) => {
|
|
2590
|
+
const idx = input.lastIndexOf(char, lastIdx);
|
|
2591
|
+
if (idx === -1) return input;
|
|
2592
|
+
if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
|
|
2593
|
+
return `${input.slice(0, idx)}\\${input.slice(idx)}`;
|
|
2594
|
+
};
|
|
2583
2595
|
|
|
2584
|
-
exports.removePrefix = (input, state = {}) => {
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
};
|
|
2596
|
+
exports.removePrefix = (input, state = {}) => {
|
|
2597
|
+
let output = input;
|
|
2598
|
+
if (output.startsWith('./')) {
|
|
2599
|
+
output = output.slice(2);
|
|
2600
|
+
state.prefix = './';
|
|
2601
|
+
}
|
|
2602
|
+
return output;
|
|
2603
|
+
};
|
|
2592
2604
|
|
|
2593
|
-
exports.wrapOutput = (input, state = {}, options = {}) => {
|
|
2594
|
-
|
|
2595
|
-
|
|
2605
|
+
exports.wrapOutput = (input, state = {}, options = {}) => {
|
|
2606
|
+
const prepend = options.contains ? '' : '^';
|
|
2607
|
+
const append = options.contains ? '' : '$';
|
|
2596
2608
|
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
};
|
|
2603
|
-
}(utils$3));
|
|
2609
|
+
let output = `${prepend}(?:${input})${append}`;
|
|
2610
|
+
if (state.negated === true) {
|
|
2611
|
+
output = `(?:^(?!${output}).*$)`;
|
|
2612
|
+
}
|
|
2613
|
+
return output;
|
|
2614
|
+
};
|
|
2615
|
+
} (utils$3));
|
|
2604
2616
|
|
|
2605
2617
|
const utils$2 = utils$3;
|
|
2606
2618
|
const {
|
|
@@ -4104,9 +4116,9 @@ const isObject = val => val && typeof val === 'object' && !Array.isArray(val);
|
|
|
4104
4116
|
* @api public
|
|
4105
4117
|
*/
|
|
4106
4118
|
|
|
4107
|
-
const picomatch
|
|
4119
|
+
const picomatch = (glob, options, returnState = false) => {
|
|
4108
4120
|
if (Array.isArray(glob)) {
|
|
4109
|
-
const fns = glob.map(input => picomatch
|
|
4121
|
+
const fns = glob.map(input => picomatch(input, options, returnState));
|
|
4110
4122
|
const arrayMatcher = str => {
|
|
4111
4123
|
for (const isMatch of fns) {
|
|
4112
4124
|
const state = isMatch(str);
|
|
@@ -4126,8 +4138,8 @@ const picomatch$1 = (glob, options, returnState = false) => {
|
|
|
4126
4138
|
const opts = options || {};
|
|
4127
4139
|
const posix = utils.isWindows(options);
|
|
4128
4140
|
const regex = isState
|
|
4129
|
-
? picomatch
|
|
4130
|
-
: picomatch
|
|
4141
|
+
? picomatch.compileRe(glob, options)
|
|
4142
|
+
: picomatch.makeRe(glob, options, false, true);
|
|
4131
4143
|
|
|
4132
4144
|
const state = regex.state;
|
|
4133
4145
|
delete regex.state;
|
|
@@ -4135,11 +4147,11 @@ const picomatch$1 = (glob, options, returnState = false) => {
|
|
|
4135
4147
|
let isIgnored = () => false;
|
|
4136
4148
|
if (opts.ignore) {
|
|
4137
4149
|
const ignoreOpts = { ...options, ignore: null, onMatch: null, onResult: null };
|
|
4138
|
-
isIgnored = picomatch
|
|
4150
|
+
isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
|
|
4139
4151
|
}
|
|
4140
4152
|
|
|
4141
4153
|
const matcher = (input, returnObject = false) => {
|
|
4142
|
-
const { isMatch, match, output } = picomatch
|
|
4154
|
+
const { isMatch, match, output } = picomatch.test(input, regex, options, { glob, posix });
|
|
4143
4155
|
const result = { glob, state, regex, posix, input, output, match, isMatch };
|
|
4144
4156
|
|
|
4145
4157
|
if (typeof opts.onResult === 'function') {
|
|
@@ -4189,7 +4201,7 @@ const picomatch$1 = (glob, options, returnState = false) => {
|
|
|
4189
4201
|
* @api public
|
|
4190
4202
|
*/
|
|
4191
4203
|
|
|
4192
|
-
picomatch
|
|
4204
|
+
picomatch.test = (input, regex, options, { glob, posix } = {}) => {
|
|
4193
4205
|
if (typeof input !== 'string') {
|
|
4194
4206
|
throw new TypeError('Expected input to be a string');
|
|
4195
4207
|
}
|
|
@@ -4210,7 +4222,7 @@ picomatch$1.test = (input, regex, options, { glob, posix } = {}) => {
|
|
|
4210
4222
|
|
|
4211
4223
|
if (match === false || opts.capture === true) {
|
|
4212
4224
|
if (opts.matchBase === true || opts.basename === true) {
|
|
4213
|
-
match = picomatch
|
|
4225
|
+
match = picomatch.matchBase(input, regex, options, posix);
|
|
4214
4226
|
} else {
|
|
4215
4227
|
match = regex.exec(output);
|
|
4216
4228
|
}
|
|
@@ -4233,8 +4245,8 @@ picomatch$1.test = (input, regex, options, { glob, posix } = {}) => {
|
|
|
4233
4245
|
* @api public
|
|
4234
4246
|
*/
|
|
4235
4247
|
|
|
4236
|
-
picomatch
|
|
4237
|
-
const regex = glob instanceof RegExp ? glob : picomatch
|
|
4248
|
+
picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => {
|
|
4249
|
+
const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
|
|
4238
4250
|
return regex.test(path.basename(input));
|
|
4239
4251
|
};
|
|
4240
4252
|
|
|
@@ -4255,7 +4267,7 @@ picomatch$1.matchBase = (input, glob, options, posix = utils.isWindows(options))
|
|
|
4255
4267
|
* @api public
|
|
4256
4268
|
*/
|
|
4257
4269
|
|
|
4258
|
-
picomatch
|
|
4270
|
+
picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
|
|
4259
4271
|
|
|
4260
4272
|
/**
|
|
4261
4273
|
* Parse a glob pattern to create the source string for a regular
|
|
@@ -4271,8 +4283,8 @@ picomatch$1.isMatch = (str, patterns, options) => picomatch$1(patterns, options)
|
|
|
4271
4283
|
* @api public
|
|
4272
4284
|
*/
|
|
4273
4285
|
|
|
4274
|
-
picomatch
|
|
4275
|
-
if (Array.isArray(pattern)) return pattern.map(p => picomatch
|
|
4286
|
+
picomatch.parse = (pattern, options) => {
|
|
4287
|
+
if (Array.isArray(pattern)) return pattern.map(p => picomatch.parse(p, options));
|
|
4276
4288
|
return parse(pattern, { ...options, fastpaths: false });
|
|
4277
4289
|
};
|
|
4278
4290
|
|
|
@@ -4303,7 +4315,7 @@ picomatch$1.parse = (pattern, options) => {
|
|
|
4303
4315
|
* @api public
|
|
4304
4316
|
*/
|
|
4305
4317
|
|
|
4306
|
-
picomatch
|
|
4318
|
+
picomatch.scan = (input, options) => scan(input, options);
|
|
4307
4319
|
|
|
4308
4320
|
/**
|
|
4309
4321
|
* Compile a regular expression from the `state` object returned by the
|
|
@@ -4317,7 +4329,7 @@ picomatch$1.scan = (input, options) => scan(input, options);
|
|
|
4317
4329
|
* @api public
|
|
4318
4330
|
*/
|
|
4319
4331
|
|
|
4320
|
-
picomatch
|
|
4332
|
+
picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
4321
4333
|
if (returnOutput === true) {
|
|
4322
4334
|
return state.output;
|
|
4323
4335
|
}
|
|
@@ -4331,7 +4343,7 @@ picomatch$1.compileRe = (state, options, returnOutput = false, returnState = fal
|
|
|
4331
4343
|
source = `^(?!${source}).*$`;
|
|
4332
4344
|
}
|
|
4333
4345
|
|
|
4334
|
-
const regex = picomatch
|
|
4346
|
+
const regex = picomatch.toRegex(source, options);
|
|
4335
4347
|
if (returnState === true) {
|
|
4336
4348
|
regex.state = state;
|
|
4337
4349
|
}
|
|
@@ -4358,7 +4370,7 @@ picomatch$1.compileRe = (state, options, returnOutput = false, returnState = fal
|
|
|
4358
4370
|
* @api public
|
|
4359
4371
|
*/
|
|
4360
4372
|
|
|
4361
|
-
picomatch
|
|
4373
|
+
picomatch.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {
|
|
4362
4374
|
if (!input || typeof input !== 'string') {
|
|
4363
4375
|
throw new TypeError('Expected a non-empty string');
|
|
4364
4376
|
}
|
|
@@ -4373,7 +4385,7 @@ picomatch$1.makeRe = (input, options = {}, returnOutput = false, returnState = f
|
|
|
4373
4385
|
parsed = parse(input, options);
|
|
4374
4386
|
}
|
|
4375
4387
|
|
|
4376
|
-
return picomatch
|
|
4388
|
+
return picomatch.compileRe(parsed, options, returnOutput, returnState);
|
|
4377
4389
|
};
|
|
4378
4390
|
|
|
4379
4391
|
/**
|
|
@@ -4393,7 +4405,7 @@ picomatch$1.makeRe = (input, options = {}, returnOutput = false, returnState = f
|
|
|
4393
4405
|
* @api public
|
|
4394
4406
|
*/
|
|
4395
4407
|
|
|
4396
|
-
picomatch
|
|
4408
|
+
picomatch.toRegex = (source, options) => {
|
|
4397
4409
|
try {
|
|
4398
4410
|
const opts = options || {};
|
|
4399
4411
|
return new RegExp(source, opts.flags || (opts.nocase ? 'i' : ''));
|
|
@@ -4408,17 +4420,20 @@ picomatch$1.toRegex = (source, options) => {
|
|
|
4408
4420
|
* @return {Object}
|
|
4409
4421
|
*/
|
|
4410
4422
|
|
|
4411
|
-
picomatch
|
|
4423
|
+
picomatch.constants = constants;
|
|
4412
4424
|
|
|
4413
4425
|
/**
|
|
4414
4426
|
* Expose "picomatch"
|
|
4415
4427
|
*/
|
|
4416
4428
|
|
|
4417
|
-
var picomatch_1 = picomatch
|
|
4429
|
+
var picomatch_1 = picomatch;
|
|
4418
4430
|
|
|
4419
|
-
|
|
4431
|
+
(function (module) {
|
|
4420
4432
|
|
|
4421
|
-
|
|
4433
|
+
module.exports = picomatch_1;
|
|
4434
|
+
} (picomatch$1));
|
|
4435
|
+
|
|
4436
|
+
const pm = /*@__PURE__*/getDefaultExportFromCjs(picomatch$1.exports);
|
|
4422
4437
|
|
|
4423
4438
|
const extractors = {
|
|
4424
4439
|
ArrayPattern(names, param) {
|
|
@@ -6166,7 +6181,7 @@ class LocalVariable extends Variable {
|
|
|
6166
6181
|
if (this.isReassigned)
|
|
6167
6182
|
return true;
|
|
6168
6183
|
return (this.init &&
|
|
6169
|
-
!context.
|
|
6184
|
+
!context.assigned.trackEntityAtPathAndGetIfTracked(path, this) &&
|
|
6170
6185
|
this.init.hasEffectsWhenAssignedAtPath(path, context));
|
|
6171
6186
|
}
|
|
6172
6187
|
hasEffectsWhenCalledAtPath(path, callOptions, context) {
|
|
@@ -6911,6 +6926,7 @@ const knownGlobals = {
|
|
|
6911
6926
|
getOwnPropertyNames: PF,
|
|
6912
6927
|
getOwnPropertySymbols: PF,
|
|
6913
6928
|
getPrototypeOf: PF,
|
|
6929
|
+
hasOwn: PF,
|
|
6914
6930
|
is: PF,
|
|
6915
6931
|
isExtensible: PF,
|
|
6916
6932
|
isFrozen: PF,
|
|
@@ -12555,7 +12571,10 @@ class Module {
|
|
|
12555
12571
|
return [this.exportShimVariable];
|
|
12556
12572
|
}
|
|
12557
12573
|
const name = exportDeclaration.localName;
|
|
12558
|
-
const variable = this.traceVariable(name,
|
|
12574
|
+
const variable = this.traceVariable(name, {
|
|
12575
|
+
importerForSideEffects,
|
|
12576
|
+
searchedNamesAndModules
|
|
12577
|
+
});
|
|
12559
12578
|
if (importerForSideEffects) {
|
|
12560
12579
|
getOrCreate(importerForSideEffects.sideEffectDependenciesByVariable, variable, () => new Set()).add(this);
|
|
12561
12580
|
setAlternativeExporterIfCyclic(variable, importerForSideEffects, this);
|
|
@@ -12730,7 +12749,7 @@ class Module {
|
|
|
12730
12749
|
transformFiles: this.transformFiles
|
|
12731
12750
|
};
|
|
12732
12751
|
}
|
|
12733
|
-
traceVariable(name, importerForSideEffects) {
|
|
12752
|
+
traceVariable(name, { importerForSideEffects, isExportAllSearch, searchedNamesAndModules } = EMPTY_OBJECT) {
|
|
12734
12753
|
const localVariable = this.scope.variables.get(name);
|
|
12735
12754
|
if (localVariable) {
|
|
12736
12755
|
return localVariable;
|
|
@@ -12741,9 +12760,7 @@ class Module {
|
|
|
12741
12760
|
if (otherModule instanceof Module && importDeclaration.name === '*') {
|
|
12742
12761
|
return otherModule.namespace;
|
|
12743
12762
|
}
|
|
12744
|
-
const [declaration] = otherModule
|
|
12745
|
-
importerForSideEffects: importerForSideEffects || this
|
|
12746
|
-
});
|
|
12763
|
+
const [declaration] = getVariableForExportNameRecursive(otherModule, importDeclaration.name, importerForSideEffects || this, isExportAllSearch, searchedNamesAndModules);
|
|
12747
12764
|
if (!declaration) {
|
|
12748
12765
|
return this.error(errMissingExport(importDeclaration.name, this.id, otherModule.id), importDeclaration.start);
|
|
12749
12766
|
}
|
|
@@ -12948,7 +12965,10 @@ class Module {
|
|
|
12948
12965
|
if (module.info.syntheticNamedExports === name) {
|
|
12949
12966
|
continue;
|
|
12950
12967
|
}
|
|
12951
|
-
const [variable, indirectExternal] = getVariableForExportNameRecursive(module, name, importerForSideEffects, true,
|
|
12968
|
+
const [variable, indirectExternal] = getVariableForExportNameRecursive(module, name, importerForSideEffects, true,
|
|
12969
|
+
// We are creating a copy to handle the case where the same binding is
|
|
12970
|
+
// imported through different namespace reexports gracefully
|
|
12971
|
+
copyNameToModulesMap(searchedNamesAndModules));
|
|
12952
12972
|
if (module instanceof ExternalModule || indirectExternal) {
|
|
12953
12973
|
foundExternalDeclarations.add(variable);
|
|
12954
12974
|
}
|
|
@@ -13064,6 +13084,8 @@ function setAlternativeExporterIfCyclic(variable, importer, reexporter) {
|
|
|
13064
13084
|
}
|
|
13065
13085
|
}
|
|
13066
13086
|
}
|
|
13087
|
+
const copyNameToModulesMap = (searchedNamesAndModules) => searchedNamesAndModules &&
|
|
13088
|
+
new Map(Array.from(searchedNamesAndModules, ([name, modules]) => [name, new Set(modules)]));
|
|
13067
13089
|
|
|
13068
13090
|
function removeJsExtension(name) {
|
|
13069
13091
|
return name.endsWith('.js') ? name.slice(0, -3) : name;
|
|
@@ -16093,6 +16115,20 @@ function addModuleToManualChunk(alias, module, manualChunkAliasByEntry) {
|
|
|
16093
16115
|
manualChunkAliasByEntry.set(module, alias);
|
|
16094
16116
|
}
|
|
16095
16117
|
|
|
16118
|
+
// This file was generated. Do not modify manually!
|
|
16119
|
+
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 357, 0, 62, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
16120
|
+
|
|
16121
|
+
// This file was generated. Do not modify manually!
|
|
16122
|
+
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1070, 4050, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 46, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 482, 44, 11, 6, 17, 0, 322, 29, 19, 43, 1269, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4152, 8, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938];
|
|
16123
|
+
|
|
16124
|
+
// This file was generated. Do not modify manually!
|
|
16125
|
+
var nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f";
|
|
16126
|
+
|
|
16127
|
+
// This file was generated. Do not modify manually!
|
|
16128
|
+
var nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc";
|
|
16129
|
+
|
|
16130
|
+
// These are a run-length and offset encoded representation of the
|
|
16131
|
+
|
|
16096
16132
|
// Reserved word lists for various dialects of the language
|
|
16097
16133
|
|
|
16098
16134
|
var reservedWords = {
|
|
@@ -16117,31 +16153,9 @@ var keywordRelationalOperator = /^in(stanceof)?$/;
|
|
|
16117
16153
|
|
|
16118
16154
|
// ## Character categories
|
|
16119
16155
|
|
|
16120
|
-
// Big ugly regular expressions that match characters in the
|
|
16121
|
-
// whitespace, identifier, and identifier-start categories. These
|
|
16122
|
-
// are only applied when a character is found to actually have a
|
|
16123
|
-
// code point above 128.
|
|
16124
|
-
// Generated by `bin/generate-identifier-regex.js`.
|
|
16125
|
-
var nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc";
|
|
16126
|
-
var nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f";
|
|
16127
|
-
|
|
16128
16156
|
var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
|
|
16129
16157
|
var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
|
|
16130
16158
|
|
|
16131
|
-
nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
|
|
16132
|
-
|
|
16133
|
-
// These are a run-length and offset encoded representation of the
|
|
16134
|
-
// >0xffff code points that are a valid part of identifiers. The
|
|
16135
|
-
// offset starts at 0x10000, and each pair of numbers represents an
|
|
16136
|
-
// offset to the next range, and then a size of the range. They were
|
|
16137
|
-
// generated by bin/generate-identifier-regex.js
|
|
16138
|
-
|
|
16139
|
-
// eslint-disable-next-line comma-spacing
|
|
16140
|
-
var astralIdentifierStartCodes = [0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938];
|
|
16141
|
-
|
|
16142
|
-
// eslint-disable-next-line comma-spacing
|
|
16143
|
-
var astralIdentifierCodes = [509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];
|
|
16144
|
-
|
|
16145
16159
|
// This has a complexity linear to the value of the code. The
|
|
16146
16160
|
// assumption is that looking up astral identifier characters is
|
|
16147
16161
|
// rare.
|
|
@@ -16376,6 +16390,13 @@ function wordsRegexp(words) {
|
|
|
16376
16390
|
return new RegExp("^(?:" + words.replace(/ /g, "|") + ")$")
|
|
16377
16391
|
}
|
|
16378
16392
|
|
|
16393
|
+
function codePointToString(code) {
|
|
16394
|
+
// UTF-16 Decoding
|
|
16395
|
+
if (code <= 0xFFFF) { return String.fromCharCode(code) }
|
|
16396
|
+
code -= 0x10000;
|
|
16397
|
+
return String.fromCharCode((code >> 10) + 0xD800, (code & 1023) + 0xDC00)
|
|
16398
|
+
}
|
|
16399
|
+
|
|
16379
16400
|
var loneSurrogate = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;
|
|
16380
16401
|
|
|
16381
16402
|
// These are used when `options.locations` is on, for the
|
|
@@ -16743,6 +16764,7 @@ var pp$9 = Parser.prototype;
|
|
|
16743
16764
|
|
|
16744
16765
|
var literal = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;
|
|
16745
16766
|
pp$9.strictDirective = function(start) {
|
|
16767
|
+
if (this.options.ecmaVersion < 5) { return false }
|
|
16746
16768
|
for (;;) {
|
|
16747
16769
|
// Try to find string literal.
|
|
16748
16770
|
skipWhiteSpace.lastIndex = start;
|
|
@@ -16845,14 +16867,14 @@ pp$9.unexpected = function(pos) {
|
|
|
16845
16867
|
this.raise(pos != null ? pos : this.start, "Unexpected token");
|
|
16846
16868
|
};
|
|
16847
16869
|
|
|
16848
|
-
function DestructuringErrors() {
|
|
16870
|
+
var DestructuringErrors = function DestructuringErrors() {
|
|
16849
16871
|
this.shorthandAssign =
|
|
16850
16872
|
this.trailingComma =
|
|
16851
16873
|
this.parenthesizedAssign =
|
|
16852
16874
|
this.parenthesizedBind =
|
|
16853
16875
|
this.doubleProto =
|
|
16854
16876
|
-1;
|
|
16855
|
-
}
|
|
16877
|
+
};
|
|
16856
16878
|
|
|
16857
16879
|
pp$9.checkPatternErrors = function(refDestructuringErrors, isAssign) {
|
|
16858
16880
|
if (!refDestructuringErrors) { return }
|
|
@@ -17733,7 +17755,7 @@ pp$8.parseExport = function(node, exports) {
|
|
|
17733
17755
|
if (this.options.ecmaVersion >= 11) {
|
|
17734
17756
|
if (this.eatContextual("as")) {
|
|
17735
17757
|
node.exported = this.parseModuleExportName();
|
|
17736
|
-
this.checkExport(exports, node.exported
|
|
17758
|
+
this.checkExport(exports, node.exported, this.lastTokStart);
|
|
17737
17759
|
} else {
|
|
17738
17760
|
node.exported = null;
|
|
17739
17761
|
}
|
|
@@ -17767,7 +17789,7 @@ pp$8.parseExport = function(node, exports) {
|
|
|
17767
17789
|
if (node.declaration.type === "VariableDeclaration")
|
|
17768
17790
|
{ this.checkVariableExport(exports, node.declaration.declarations); }
|
|
17769
17791
|
else
|
|
17770
|
-
{ this.checkExport(exports, node.declaration.id
|
|
17792
|
+
{ this.checkExport(exports, node.declaration.id, node.declaration.id.start); }
|
|
17771
17793
|
node.specifiers = [];
|
|
17772
17794
|
node.source = null;
|
|
17773
17795
|
} else { // export { x, y as z } [from '...']
|
|
@@ -17799,6 +17821,8 @@ pp$8.parseExport = function(node, exports) {
|
|
|
17799
17821
|
|
|
17800
17822
|
pp$8.checkExport = function(exports, name, pos) {
|
|
17801
17823
|
if (!exports) { return }
|
|
17824
|
+
if (typeof name !== "string")
|
|
17825
|
+
{ name = name.type === "Identifier" ? name.name : name.value; }
|
|
17802
17826
|
if (hasOwn(exports, name))
|
|
17803
17827
|
{ this.raiseRecoverable(pos, "Duplicate export '" + name + "'"); }
|
|
17804
17828
|
exports[name] = true;
|
|
@@ -17807,7 +17831,7 @@ pp$8.checkExport = function(exports, name, pos) {
|
|
|
17807
17831
|
pp$8.checkPatternExport = function(exports, pat) {
|
|
17808
17832
|
var type = pat.type;
|
|
17809
17833
|
if (type === "Identifier")
|
|
17810
|
-
{ this.checkExport(exports, pat
|
|
17834
|
+
{ this.checkExport(exports, pat, pat.start); }
|
|
17811
17835
|
else if (type === "ObjectPattern")
|
|
17812
17836
|
{ for (var i = 0, list = pat.properties; i < list.length; i += 1)
|
|
17813
17837
|
{
|
|
@@ -17867,7 +17891,7 @@ pp$8.parseExportSpecifiers = function(exports) {
|
|
|
17867
17891
|
node.exported = this.eatContextual("as") ? this.parseModuleExportName() : node.local;
|
|
17868
17892
|
this.checkExport(
|
|
17869
17893
|
exports,
|
|
17870
|
-
node.exported
|
|
17894
|
+
node.exported,
|
|
17871
17895
|
node.exported.start
|
|
17872
17896
|
);
|
|
17873
17897
|
nodes.push(this.finishNode(node, "ExportSpecifier"));
|
|
@@ -19857,12 +19881,6 @@ RegExpValidationState.prototype.eat = function eat (ch, forceU) {
|
|
|
19857
19881
|
return false
|
|
19858
19882
|
};
|
|
19859
19883
|
|
|
19860
|
-
function codePointToString$1(ch) {
|
|
19861
|
-
if (ch <= 0xFFFF) { return String.fromCharCode(ch) }
|
|
19862
|
-
ch -= 0x10000;
|
|
19863
|
-
return String.fromCharCode((ch >> 10) + 0xD800, (ch & 0x03FF) + 0xDC00)
|
|
19864
|
-
}
|
|
19865
|
-
|
|
19866
19884
|
/**
|
|
19867
19885
|
* Validate the flags part of a given RegExpLiteral.
|
|
19868
19886
|
*
|
|
@@ -20227,9 +20245,9 @@ pp$1.regexp_eatGroupName = function(state) {
|
|
|
20227
20245
|
pp$1.regexp_eatRegExpIdentifierName = function(state) {
|
|
20228
20246
|
state.lastStringValue = "";
|
|
20229
20247
|
if (this.regexp_eatRegExpIdentifierStart(state)) {
|
|
20230
|
-
state.lastStringValue += codePointToString
|
|
20248
|
+
state.lastStringValue += codePointToString(state.lastIntValue);
|
|
20231
20249
|
while (this.regexp_eatRegExpIdentifierPart(state)) {
|
|
20232
|
-
state.lastStringValue += codePointToString
|
|
20250
|
+
state.lastStringValue += codePointToString(state.lastIntValue);
|
|
20233
20251
|
}
|
|
20234
20252
|
return true
|
|
20235
20253
|
}
|
|
@@ -20581,7 +20599,7 @@ pp$1.regexp_eatUnicodePropertyName = function(state) {
|
|
|
20581
20599
|
var ch = 0;
|
|
20582
20600
|
state.lastStringValue = "";
|
|
20583
20601
|
while (isUnicodePropertyNameCharacter(ch = state.current())) {
|
|
20584
|
-
state.lastStringValue += codePointToString
|
|
20602
|
+
state.lastStringValue += codePointToString(ch);
|
|
20585
20603
|
state.advance();
|
|
20586
20604
|
}
|
|
20587
20605
|
return state.lastStringValue !== ""
|
|
@@ -20596,7 +20614,7 @@ pp$1.regexp_eatUnicodePropertyValue = function(state) {
|
|
|
20596
20614
|
var ch = 0;
|
|
20597
20615
|
state.lastStringValue = "";
|
|
20598
20616
|
while (isUnicodePropertyValueCharacter(ch = state.current())) {
|
|
20599
|
-
state.lastStringValue += codePointToString
|
|
20617
|
+
state.lastStringValue += codePointToString(ch);
|
|
20600
20618
|
state.advance();
|
|
20601
20619
|
}
|
|
20602
20620
|
return state.lastStringValue !== ""
|
|
@@ -21379,13 +21397,6 @@ pp.readCodePoint = function() {
|
|
|
21379
21397
|
return code
|
|
21380
21398
|
};
|
|
21381
21399
|
|
|
21382
|
-
function codePointToString(code) {
|
|
21383
|
-
// UTF-16 Decoding
|
|
21384
|
-
if (code <= 0xFFFF) { return String.fromCharCode(code) }
|
|
21385
|
-
code -= 0x10000;
|
|
21386
|
-
return String.fromCharCode((code >> 10) + 0xD800, (code & 1023) + 0xDC00)
|
|
21387
|
-
}
|
|
21388
|
-
|
|
21389
21400
|
pp.readString = function(quote) {
|
|
21390
21401
|
var out = "", chunkStart = ++this.pos;
|
|
21391
21402
|
for (;;) {
|
|
@@ -21630,7 +21641,7 @@ pp.readWord = function() {
|
|
|
21630
21641
|
|
|
21631
21642
|
// Acorn is a tiny, fast JavaScript parser written in JavaScript.
|
|
21632
21643
|
|
|
21633
|
-
var version = "8.7.
|
|
21644
|
+
var version = "8.7.1";
|
|
21634
21645
|
|
|
21635
21646
|
Parser.acorn = {
|
|
21636
21647
|
Parser: Parser,
|
|
@@ -23799,4 +23810,4 @@ function watch(configs) {
|
|
|
23799
23810
|
return emitter;
|
|
23800
23811
|
}
|
|
23801
23812
|
|
|
23802
|
-
export { createFilter, defaultOnWarn, defineConfig, ensureArray, fseventsImporter, generatedCodePresets, getAugmentedNamespace, objectifyOption, objectifyOptionWithPresets, picomatch, rollup, rollupInternal, treeshakePresets, version$1 as version, warnUnknownOptions, watch };
|
|
23813
|
+
export { createFilter, defaultOnWarn, defineConfig, ensureArray, fseventsImporter, generatedCodePresets, getAugmentedNamespace, objectifyOption, objectifyOptionWithPresets, picomatch$1 as picomatch, rollup, rollupInternal, treeshakePresets, version$1 as version, warnUnknownOptions, watch };
|