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/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
|
|
|
@@ -27,7 +27,7 @@ function _interopNamespaceDefault(e) {
|
|
|
27
27
|
return n;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
var version$1 = "2.
|
|
30
|
+
var version$1 = "2.72.0";
|
|
31
31
|
|
|
32
32
|
function ensureArray$1(items) {
|
|
33
33
|
if (Array.isArray(items)) {
|
|
@@ -647,9 +647,19 @@ const fseventsImporter = /*#__PURE__*/Object.defineProperty({
|
|
|
647
647
|
|
|
648
648
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
649
649
|
|
|
650
|
+
function getDefaultExportFromCjs (x) {
|
|
651
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
652
|
+
}
|
|
653
|
+
|
|
650
654
|
function getAugmentedNamespace(n) {
|
|
651
|
-
|
|
652
|
-
|
|
655
|
+
var f = n.default;
|
|
656
|
+
if (typeof f == "function") {
|
|
657
|
+
var a = function () {
|
|
658
|
+
return f.apply(this, arguments);
|
|
659
|
+
};
|
|
660
|
+
a.prototype = f.prototype;
|
|
661
|
+
} else a = {};
|
|
662
|
+
Object.defineProperty(a, '__esModule', {value: true});
|
|
653
663
|
Object.keys(n).forEach(function (k) {
|
|
654
664
|
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
655
665
|
Object.defineProperty(a, k, d.get ? d : {
|
|
@@ -2487,6 +2497,8 @@ class ExternalModule {
|
|
|
2487
2497
|
}
|
|
2488
2498
|
}
|
|
2489
2499
|
|
|
2500
|
+
var picomatch$1 = {exports: {}};
|
|
2501
|
+
|
|
2490
2502
|
var utils$3 = {};
|
|
2491
2503
|
|
|
2492
2504
|
const path$1 = require$$0;
|
|
@@ -2669,69 +2681,69 @@ var constants$2 = {
|
|
|
2669
2681
|
|
|
2670
2682
|
(function (exports) {
|
|
2671
2683
|
|
|
2672
|
-
const path = require$$0;
|
|
2673
|
-
const win32 = process.platform === 'win32';
|
|
2674
|
-
const {
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
} = constants$2;
|
|
2680
|
-
|
|
2681
|
-
exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
|
|
2682
|
-
exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
|
|
2683
|
-
exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
|
|
2684
|
-
exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
|
|
2685
|
-
exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
|
|
2686
|
-
|
|
2687
|
-
exports.removeBackslashes = str => {
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
};
|
|
2684
|
+
const path = require$$0;
|
|
2685
|
+
const win32 = process.platform === 'win32';
|
|
2686
|
+
const {
|
|
2687
|
+
REGEX_BACKSLASH,
|
|
2688
|
+
REGEX_REMOVE_BACKSLASH,
|
|
2689
|
+
REGEX_SPECIAL_CHARS,
|
|
2690
|
+
REGEX_SPECIAL_CHARS_GLOBAL
|
|
2691
|
+
} = constants$2;
|
|
2692
|
+
|
|
2693
|
+
exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
|
|
2694
|
+
exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
|
|
2695
|
+
exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
|
|
2696
|
+
exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
|
|
2697
|
+
exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
|
|
2698
|
+
|
|
2699
|
+
exports.removeBackslashes = str => {
|
|
2700
|
+
return str.replace(REGEX_REMOVE_BACKSLASH, match => {
|
|
2701
|
+
return match === '\\' ? '' : match;
|
|
2702
|
+
});
|
|
2703
|
+
};
|
|
2692
2704
|
|
|
2693
|
-
exports.supportsLookbehinds = () => {
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
};
|
|
2705
|
+
exports.supportsLookbehinds = () => {
|
|
2706
|
+
const segs = process.version.slice(1).split('.').map(Number);
|
|
2707
|
+
if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
|
|
2708
|
+
return true;
|
|
2709
|
+
}
|
|
2710
|
+
return false;
|
|
2711
|
+
};
|
|
2700
2712
|
|
|
2701
|
-
exports.isWindows = options => {
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
};
|
|
2713
|
+
exports.isWindows = options => {
|
|
2714
|
+
if (options && typeof options.windows === 'boolean') {
|
|
2715
|
+
return options.windows;
|
|
2716
|
+
}
|
|
2717
|
+
return win32 === true || path.sep === '\\';
|
|
2718
|
+
};
|
|
2707
2719
|
|
|
2708
|
-
exports.escapeLast = (input, char, lastIdx) => {
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
};
|
|
2720
|
+
exports.escapeLast = (input, char, lastIdx) => {
|
|
2721
|
+
const idx = input.lastIndexOf(char, lastIdx);
|
|
2722
|
+
if (idx === -1) return input;
|
|
2723
|
+
if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
|
|
2724
|
+
return `${input.slice(0, idx)}\\${input.slice(idx)}`;
|
|
2725
|
+
};
|
|
2714
2726
|
|
|
2715
|
-
exports.removePrefix = (input, state = {}) => {
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
};
|
|
2727
|
+
exports.removePrefix = (input, state = {}) => {
|
|
2728
|
+
let output = input;
|
|
2729
|
+
if (output.startsWith('./')) {
|
|
2730
|
+
output = output.slice(2);
|
|
2731
|
+
state.prefix = './';
|
|
2732
|
+
}
|
|
2733
|
+
return output;
|
|
2734
|
+
};
|
|
2723
2735
|
|
|
2724
|
-
exports.wrapOutput = (input, state = {}, options = {}) => {
|
|
2725
|
-
|
|
2726
|
-
|
|
2736
|
+
exports.wrapOutput = (input, state = {}, options = {}) => {
|
|
2737
|
+
const prepend = options.contains ? '' : '^';
|
|
2738
|
+
const append = options.contains ? '' : '$';
|
|
2727
2739
|
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
};
|
|
2734
|
-
}(utils$3));
|
|
2740
|
+
let output = `${prepend}(?:${input})${append}`;
|
|
2741
|
+
if (state.negated === true) {
|
|
2742
|
+
output = `(?:^(?!${output}).*$)`;
|
|
2743
|
+
}
|
|
2744
|
+
return output;
|
|
2745
|
+
};
|
|
2746
|
+
} (utils$3));
|
|
2735
2747
|
|
|
2736
2748
|
const utils$2 = utils$3;
|
|
2737
2749
|
const {
|
|
@@ -4235,9 +4247,9 @@ const isObject = val => val && typeof val === 'object' && !Array.isArray(val);
|
|
|
4235
4247
|
* @api public
|
|
4236
4248
|
*/
|
|
4237
4249
|
|
|
4238
|
-
const picomatch
|
|
4250
|
+
const picomatch = (glob, options, returnState = false) => {
|
|
4239
4251
|
if (Array.isArray(glob)) {
|
|
4240
|
-
const fns = glob.map(input => picomatch
|
|
4252
|
+
const fns = glob.map(input => picomatch(input, options, returnState));
|
|
4241
4253
|
const arrayMatcher = str => {
|
|
4242
4254
|
for (const isMatch of fns) {
|
|
4243
4255
|
const state = isMatch(str);
|
|
@@ -4257,8 +4269,8 @@ const picomatch$1 = (glob, options, returnState = false) => {
|
|
|
4257
4269
|
const opts = options || {};
|
|
4258
4270
|
const posix = utils.isWindows(options);
|
|
4259
4271
|
const regex = isState
|
|
4260
|
-
? picomatch
|
|
4261
|
-
: picomatch
|
|
4272
|
+
? picomatch.compileRe(glob, options)
|
|
4273
|
+
: picomatch.makeRe(glob, options, false, true);
|
|
4262
4274
|
|
|
4263
4275
|
const state = regex.state;
|
|
4264
4276
|
delete regex.state;
|
|
@@ -4266,11 +4278,11 @@ const picomatch$1 = (glob, options, returnState = false) => {
|
|
|
4266
4278
|
let isIgnored = () => false;
|
|
4267
4279
|
if (opts.ignore) {
|
|
4268
4280
|
const ignoreOpts = { ...options, ignore: null, onMatch: null, onResult: null };
|
|
4269
|
-
isIgnored = picomatch
|
|
4281
|
+
isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
|
|
4270
4282
|
}
|
|
4271
4283
|
|
|
4272
4284
|
const matcher = (input, returnObject = false) => {
|
|
4273
|
-
const { isMatch, match, output } = picomatch
|
|
4285
|
+
const { isMatch, match, output } = picomatch.test(input, regex, options, { glob, posix });
|
|
4274
4286
|
const result = { glob, state, regex, posix, input, output, match, isMatch };
|
|
4275
4287
|
|
|
4276
4288
|
if (typeof opts.onResult === 'function') {
|
|
@@ -4320,7 +4332,7 @@ const picomatch$1 = (glob, options, returnState = false) => {
|
|
|
4320
4332
|
* @api public
|
|
4321
4333
|
*/
|
|
4322
4334
|
|
|
4323
|
-
picomatch
|
|
4335
|
+
picomatch.test = (input, regex, options, { glob, posix } = {}) => {
|
|
4324
4336
|
if (typeof input !== 'string') {
|
|
4325
4337
|
throw new TypeError('Expected input to be a string');
|
|
4326
4338
|
}
|
|
@@ -4341,7 +4353,7 @@ picomatch$1.test = (input, regex, options, { glob, posix } = {}) => {
|
|
|
4341
4353
|
|
|
4342
4354
|
if (match === false || opts.capture === true) {
|
|
4343
4355
|
if (opts.matchBase === true || opts.basename === true) {
|
|
4344
|
-
match = picomatch
|
|
4356
|
+
match = picomatch.matchBase(input, regex, options, posix);
|
|
4345
4357
|
} else {
|
|
4346
4358
|
match = regex.exec(output);
|
|
4347
4359
|
}
|
|
@@ -4364,8 +4376,8 @@ picomatch$1.test = (input, regex, options, { glob, posix } = {}) => {
|
|
|
4364
4376
|
* @api public
|
|
4365
4377
|
*/
|
|
4366
4378
|
|
|
4367
|
-
picomatch
|
|
4368
|
-
const regex = glob instanceof RegExp ? glob : picomatch
|
|
4379
|
+
picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => {
|
|
4380
|
+
const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
|
|
4369
4381
|
return regex.test(path.basename(input));
|
|
4370
4382
|
};
|
|
4371
4383
|
|
|
@@ -4386,7 +4398,7 @@ picomatch$1.matchBase = (input, glob, options, posix = utils.isWindows(options))
|
|
|
4386
4398
|
* @api public
|
|
4387
4399
|
*/
|
|
4388
4400
|
|
|
4389
|
-
picomatch
|
|
4401
|
+
picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
|
|
4390
4402
|
|
|
4391
4403
|
/**
|
|
4392
4404
|
* Parse a glob pattern to create the source string for a regular
|
|
@@ -4402,8 +4414,8 @@ picomatch$1.isMatch = (str, patterns, options) => picomatch$1(patterns, options)
|
|
|
4402
4414
|
* @api public
|
|
4403
4415
|
*/
|
|
4404
4416
|
|
|
4405
|
-
picomatch
|
|
4406
|
-
if (Array.isArray(pattern)) return pattern.map(p => picomatch
|
|
4417
|
+
picomatch.parse = (pattern, options) => {
|
|
4418
|
+
if (Array.isArray(pattern)) return pattern.map(p => picomatch.parse(p, options));
|
|
4407
4419
|
return parse(pattern, { ...options, fastpaths: false });
|
|
4408
4420
|
};
|
|
4409
4421
|
|
|
@@ -4434,7 +4446,7 @@ picomatch$1.parse = (pattern, options) => {
|
|
|
4434
4446
|
* @api public
|
|
4435
4447
|
*/
|
|
4436
4448
|
|
|
4437
|
-
picomatch
|
|
4449
|
+
picomatch.scan = (input, options) => scan(input, options);
|
|
4438
4450
|
|
|
4439
4451
|
/**
|
|
4440
4452
|
* Compile a regular expression from the `state` object returned by the
|
|
@@ -4448,7 +4460,7 @@ picomatch$1.scan = (input, options) => scan(input, options);
|
|
|
4448
4460
|
* @api public
|
|
4449
4461
|
*/
|
|
4450
4462
|
|
|
4451
|
-
picomatch
|
|
4463
|
+
picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
4452
4464
|
if (returnOutput === true) {
|
|
4453
4465
|
return state.output;
|
|
4454
4466
|
}
|
|
@@ -4462,7 +4474,7 @@ picomatch$1.compileRe = (state, options, returnOutput = false, returnState = fal
|
|
|
4462
4474
|
source = `^(?!${source}).*$`;
|
|
4463
4475
|
}
|
|
4464
4476
|
|
|
4465
|
-
const regex = picomatch
|
|
4477
|
+
const regex = picomatch.toRegex(source, options);
|
|
4466
4478
|
if (returnState === true) {
|
|
4467
4479
|
regex.state = state;
|
|
4468
4480
|
}
|
|
@@ -4489,7 +4501,7 @@ picomatch$1.compileRe = (state, options, returnOutput = false, returnState = fal
|
|
|
4489
4501
|
* @api public
|
|
4490
4502
|
*/
|
|
4491
4503
|
|
|
4492
|
-
picomatch
|
|
4504
|
+
picomatch.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {
|
|
4493
4505
|
if (!input || typeof input !== 'string') {
|
|
4494
4506
|
throw new TypeError('Expected a non-empty string');
|
|
4495
4507
|
}
|
|
@@ -4504,7 +4516,7 @@ picomatch$1.makeRe = (input, options = {}, returnOutput = false, returnState = f
|
|
|
4504
4516
|
parsed = parse(input, options);
|
|
4505
4517
|
}
|
|
4506
4518
|
|
|
4507
|
-
return picomatch
|
|
4519
|
+
return picomatch.compileRe(parsed, options, returnOutput, returnState);
|
|
4508
4520
|
};
|
|
4509
4521
|
|
|
4510
4522
|
/**
|
|
@@ -4524,7 +4536,7 @@ picomatch$1.makeRe = (input, options = {}, returnOutput = false, returnState = f
|
|
|
4524
4536
|
* @api public
|
|
4525
4537
|
*/
|
|
4526
4538
|
|
|
4527
|
-
picomatch
|
|
4539
|
+
picomatch.toRegex = (source, options) => {
|
|
4528
4540
|
try {
|
|
4529
4541
|
const opts = options || {};
|
|
4530
4542
|
return new RegExp(source, opts.flags || (opts.nocase ? 'i' : ''));
|
|
@@ -4539,17 +4551,20 @@ picomatch$1.toRegex = (source, options) => {
|
|
|
4539
4551
|
* @return {Object}
|
|
4540
4552
|
*/
|
|
4541
4553
|
|
|
4542
|
-
picomatch
|
|
4554
|
+
picomatch.constants = constants;
|
|
4543
4555
|
|
|
4544
4556
|
/**
|
|
4545
4557
|
* Expose "picomatch"
|
|
4546
4558
|
*/
|
|
4547
4559
|
|
|
4548
|
-
var picomatch_1 = picomatch
|
|
4560
|
+
var picomatch_1 = picomatch;
|
|
4549
4561
|
|
|
4550
|
-
|
|
4562
|
+
(function (module) {
|
|
4551
4563
|
|
|
4552
|
-
|
|
4564
|
+
module.exports = picomatch_1;
|
|
4565
|
+
} (picomatch$1));
|
|
4566
|
+
|
|
4567
|
+
const pm = /*@__PURE__*/getDefaultExportFromCjs(picomatch$1.exports);
|
|
4553
4568
|
|
|
4554
4569
|
const extractors = {
|
|
4555
4570
|
ArrayPattern(names, param) {
|
|
@@ -6297,7 +6312,7 @@ class LocalVariable extends Variable {
|
|
|
6297
6312
|
if (this.isReassigned)
|
|
6298
6313
|
return true;
|
|
6299
6314
|
return (this.init &&
|
|
6300
|
-
!context.
|
|
6315
|
+
!context.assigned.trackEntityAtPathAndGetIfTracked(path, this) &&
|
|
6301
6316
|
this.init.hasEffectsWhenAssignedAtPath(path, context));
|
|
6302
6317
|
}
|
|
6303
6318
|
hasEffectsWhenCalledAtPath(path, callOptions, context) {
|
|
@@ -7042,6 +7057,7 @@ const knownGlobals = {
|
|
|
7042
7057
|
getOwnPropertyNames: PF,
|
|
7043
7058
|
getOwnPropertySymbols: PF,
|
|
7044
7059
|
getPrototypeOf: PF,
|
|
7060
|
+
hasOwn: PF,
|
|
7045
7061
|
is: PF,
|
|
7046
7062
|
isExtensible: PF,
|
|
7047
7063
|
isFrozen: PF,
|
|
@@ -12686,7 +12702,10 @@ class Module {
|
|
|
12686
12702
|
return [this.exportShimVariable];
|
|
12687
12703
|
}
|
|
12688
12704
|
const name = exportDeclaration.localName;
|
|
12689
|
-
const variable = this.traceVariable(name,
|
|
12705
|
+
const variable = this.traceVariable(name, {
|
|
12706
|
+
importerForSideEffects,
|
|
12707
|
+
searchedNamesAndModules
|
|
12708
|
+
});
|
|
12690
12709
|
if (importerForSideEffects) {
|
|
12691
12710
|
getOrCreate(importerForSideEffects.sideEffectDependenciesByVariable, variable, () => new Set()).add(this);
|
|
12692
12711
|
setAlternativeExporterIfCyclic(variable, importerForSideEffects, this);
|
|
@@ -12861,7 +12880,7 @@ class Module {
|
|
|
12861
12880
|
transformFiles: this.transformFiles
|
|
12862
12881
|
};
|
|
12863
12882
|
}
|
|
12864
|
-
traceVariable(name, importerForSideEffects) {
|
|
12883
|
+
traceVariable(name, { importerForSideEffects, isExportAllSearch, searchedNamesAndModules } = EMPTY_OBJECT) {
|
|
12865
12884
|
const localVariable = this.scope.variables.get(name);
|
|
12866
12885
|
if (localVariable) {
|
|
12867
12886
|
return localVariable;
|
|
@@ -12872,9 +12891,7 @@ class Module {
|
|
|
12872
12891
|
if (otherModule instanceof Module && importDeclaration.name === '*') {
|
|
12873
12892
|
return otherModule.namespace;
|
|
12874
12893
|
}
|
|
12875
|
-
const [declaration] = otherModule
|
|
12876
|
-
importerForSideEffects: importerForSideEffects || this
|
|
12877
|
-
});
|
|
12894
|
+
const [declaration] = getVariableForExportNameRecursive(otherModule, importDeclaration.name, importerForSideEffects || this, isExportAllSearch, searchedNamesAndModules);
|
|
12878
12895
|
if (!declaration) {
|
|
12879
12896
|
return this.error(errMissingExport(importDeclaration.name, this.id, otherModule.id), importDeclaration.start);
|
|
12880
12897
|
}
|
|
@@ -13079,7 +13096,10 @@ class Module {
|
|
|
13079
13096
|
if (module.info.syntheticNamedExports === name) {
|
|
13080
13097
|
continue;
|
|
13081
13098
|
}
|
|
13082
|
-
const [variable, indirectExternal] = getVariableForExportNameRecursive(module, name, importerForSideEffects, true,
|
|
13099
|
+
const [variable, indirectExternal] = getVariableForExportNameRecursive(module, name, importerForSideEffects, true,
|
|
13100
|
+
// We are creating a copy to handle the case where the same binding is
|
|
13101
|
+
// imported through different namespace reexports gracefully
|
|
13102
|
+
copyNameToModulesMap(searchedNamesAndModules));
|
|
13083
13103
|
if (module instanceof ExternalModule || indirectExternal) {
|
|
13084
13104
|
foundExternalDeclarations.add(variable);
|
|
13085
13105
|
}
|
|
@@ -13195,6 +13215,8 @@ function setAlternativeExporterIfCyclic(variable, importer, reexporter) {
|
|
|
13195
13215
|
}
|
|
13196
13216
|
}
|
|
13197
13217
|
}
|
|
13218
|
+
const copyNameToModulesMap = (searchedNamesAndModules) => searchedNamesAndModules &&
|
|
13219
|
+
new Map(Array.from(searchedNamesAndModules, ([name, modules]) => [name, new Set(modules)]));
|
|
13198
13220
|
|
|
13199
13221
|
function removeJsExtension(name) {
|
|
13200
13222
|
return name.endsWith('.js') ? name.slice(0, -3) : name;
|
|
@@ -16224,6 +16246,20 @@ function addModuleToManualChunk(alias, module, manualChunkAliasByEntry) {
|
|
|
16224
16246
|
manualChunkAliasByEntry.set(module, alias);
|
|
16225
16247
|
}
|
|
16226
16248
|
|
|
16249
|
+
// This file was generated. Do not modify manually!
|
|
16250
|
+
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];
|
|
16251
|
+
|
|
16252
|
+
// This file was generated. Do not modify manually!
|
|
16253
|
+
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];
|
|
16254
|
+
|
|
16255
|
+
// This file was generated. Do not modify manually!
|
|
16256
|
+
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";
|
|
16257
|
+
|
|
16258
|
+
// This file was generated. Do not modify manually!
|
|
16259
|
+
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";
|
|
16260
|
+
|
|
16261
|
+
// These are a run-length and offset encoded representation of the
|
|
16262
|
+
|
|
16227
16263
|
// Reserved word lists for various dialects of the language
|
|
16228
16264
|
|
|
16229
16265
|
var reservedWords = {
|
|
@@ -16248,31 +16284,9 @@ var keywordRelationalOperator = /^in(stanceof)?$/;
|
|
|
16248
16284
|
|
|
16249
16285
|
// ## Character categories
|
|
16250
16286
|
|
|
16251
|
-
// Big ugly regular expressions that match characters in the
|
|
16252
|
-
// whitespace, identifier, and identifier-start categories. These
|
|
16253
|
-
// are only applied when a character is found to actually have a
|
|
16254
|
-
// code point above 128.
|
|
16255
|
-
// Generated by `bin/generate-identifier-regex.js`.
|
|
16256
|
-
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";
|
|
16257
|
-
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";
|
|
16258
|
-
|
|
16259
16287
|
var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
|
|
16260
16288
|
var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
|
|
16261
16289
|
|
|
16262
|
-
nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
|
|
16263
|
-
|
|
16264
|
-
// These are a run-length and offset encoded representation of the
|
|
16265
|
-
// >0xffff code points that are a valid part of identifiers. The
|
|
16266
|
-
// offset starts at 0x10000, and each pair of numbers represents an
|
|
16267
|
-
// offset to the next range, and then a size of the range. They were
|
|
16268
|
-
// generated by bin/generate-identifier-regex.js
|
|
16269
|
-
|
|
16270
|
-
// eslint-disable-next-line comma-spacing
|
|
16271
|
-
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];
|
|
16272
|
-
|
|
16273
|
-
// eslint-disable-next-line comma-spacing
|
|
16274
|
-
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];
|
|
16275
|
-
|
|
16276
16290
|
// This has a complexity linear to the value of the code. The
|
|
16277
16291
|
// assumption is that looking up astral identifier characters is
|
|
16278
16292
|
// rare.
|
|
@@ -16507,6 +16521,13 @@ function wordsRegexp(words) {
|
|
|
16507
16521
|
return new RegExp("^(?:" + words.replace(/ /g, "|") + ")$")
|
|
16508
16522
|
}
|
|
16509
16523
|
|
|
16524
|
+
function codePointToString(code) {
|
|
16525
|
+
// UTF-16 Decoding
|
|
16526
|
+
if (code <= 0xFFFF) { return String.fromCharCode(code) }
|
|
16527
|
+
code -= 0x10000;
|
|
16528
|
+
return String.fromCharCode((code >> 10) + 0xD800, (code & 1023) + 0xDC00)
|
|
16529
|
+
}
|
|
16530
|
+
|
|
16510
16531
|
var loneSurrogate = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;
|
|
16511
16532
|
|
|
16512
16533
|
// These are used when `options.locations` is on, for the
|
|
@@ -16874,6 +16895,7 @@ var pp$9 = Parser.prototype;
|
|
|
16874
16895
|
|
|
16875
16896
|
var literal = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;
|
|
16876
16897
|
pp$9.strictDirective = function(start) {
|
|
16898
|
+
if (this.options.ecmaVersion < 5) { return false }
|
|
16877
16899
|
for (;;) {
|
|
16878
16900
|
// Try to find string literal.
|
|
16879
16901
|
skipWhiteSpace.lastIndex = start;
|
|
@@ -16976,14 +16998,14 @@ pp$9.unexpected = function(pos) {
|
|
|
16976
16998
|
this.raise(pos != null ? pos : this.start, "Unexpected token");
|
|
16977
16999
|
};
|
|
16978
17000
|
|
|
16979
|
-
function DestructuringErrors() {
|
|
17001
|
+
var DestructuringErrors = function DestructuringErrors() {
|
|
16980
17002
|
this.shorthandAssign =
|
|
16981
17003
|
this.trailingComma =
|
|
16982
17004
|
this.parenthesizedAssign =
|
|
16983
17005
|
this.parenthesizedBind =
|
|
16984
17006
|
this.doubleProto =
|
|
16985
17007
|
-1;
|
|
16986
|
-
}
|
|
17008
|
+
};
|
|
16987
17009
|
|
|
16988
17010
|
pp$9.checkPatternErrors = function(refDestructuringErrors, isAssign) {
|
|
16989
17011
|
if (!refDestructuringErrors) { return }
|
|
@@ -17864,7 +17886,7 @@ pp$8.parseExport = function(node, exports) {
|
|
|
17864
17886
|
if (this.options.ecmaVersion >= 11) {
|
|
17865
17887
|
if (this.eatContextual("as")) {
|
|
17866
17888
|
node.exported = this.parseModuleExportName();
|
|
17867
|
-
this.checkExport(exports, node.exported
|
|
17889
|
+
this.checkExport(exports, node.exported, this.lastTokStart);
|
|
17868
17890
|
} else {
|
|
17869
17891
|
node.exported = null;
|
|
17870
17892
|
}
|
|
@@ -17898,7 +17920,7 @@ pp$8.parseExport = function(node, exports) {
|
|
|
17898
17920
|
if (node.declaration.type === "VariableDeclaration")
|
|
17899
17921
|
{ this.checkVariableExport(exports, node.declaration.declarations); }
|
|
17900
17922
|
else
|
|
17901
|
-
{ this.checkExport(exports, node.declaration.id
|
|
17923
|
+
{ this.checkExport(exports, node.declaration.id, node.declaration.id.start); }
|
|
17902
17924
|
node.specifiers = [];
|
|
17903
17925
|
node.source = null;
|
|
17904
17926
|
} else { // export { x, y as z } [from '...']
|
|
@@ -17930,6 +17952,8 @@ pp$8.parseExport = function(node, exports) {
|
|
|
17930
17952
|
|
|
17931
17953
|
pp$8.checkExport = function(exports, name, pos) {
|
|
17932
17954
|
if (!exports) { return }
|
|
17955
|
+
if (typeof name !== "string")
|
|
17956
|
+
{ name = name.type === "Identifier" ? name.name : name.value; }
|
|
17933
17957
|
if (hasOwn(exports, name))
|
|
17934
17958
|
{ this.raiseRecoverable(pos, "Duplicate export '" + name + "'"); }
|
|
17935
17959
|
exports[name] = true;
|
|
@@ -17938,7 +17962,7 @@ pp$8.checkExport = function(exports, name, pos) {
|
|
|
17938
17962
|
pp$8.checkPatternExport = function(exports, pat) {
|
|
17939
17963
|
var type = pat.type;
|
|
17940
17964
|
if (type === "Identifier")
|
|
17941
|
-
{ this.checkExport(exports, pat
|
|
17965
|
+
{ this.checkExport(exports, pat, pat.start); }
|
|
17942
17966
|
else if (type === "ObjectPattern")
|
|
17943
17967
|
{ for (var i = 0, list = pat.properties; i < list.length; i += 1)
|
|
17944
17968
|
{
|
|
@@ -17998,7 +18022,7 @@ pp$8.parseExportSpecifiers = function(exports) {
|
|
|
17998
18022
|
node.exported = this.eatContextual("as") ? this.parseModuleExportName() : node.local;
|
|
17999
18023
|
this.checkExport(
|
|
18000
18024
|
exports,
|
|
18001
|
-
node.exported
|
|
18025
|
+
node.exported,
|
|
18002
18026
|
node.exported.start
|
|
18003
18027
|
);
|
|
18004
18028
|
nodes.push(this.finishNode(node, "ExportSpecifier"));
|
|
@@ -19988,12 +20012,6 @@ RegExpValidationState.prototype.eat = function eat (ch, forceU) {
|
|
|
19988
20012
|
return false
|
|
19989
20013
|
};
|
|
19990
20014
|
|
|
19991
|
-
function codePointToString$1(ch) {
|
|
19992
|
-
if (ch <= 0xFFFF) { return String.fromCharCode(ch) }
|
|
19993
|
-
ch -= 0x10000;
|
|
19994
|
-
return String.fromCharCode((ch >> 10) + 0xD800, (ch & 0x03FF) + 0xDC00)
|
|
19995
|
-
}
|
|
19996
|
-
|
|
19997
20015
|
/**
|
|
19998
20016
|
* Validate the flags part of a given RegExpLiteral.
|
|
19999
20017
|
*
|
|
@@ -20358,9 +20376,9 @@ pp$1.regexp_eatGroupName = function(state) {
|
|
|
20358
20376
|
pp$1.regexp_eatRegExpIdentifierName = function(state) {
|
|
20359
20377
|
state.lastStringValue = "";
|
|
20360
20378
|
if (this.regexp_eatRegExpIdentifierStart(state)) {
|
|
20361
|
-
state.lastStringValue += codePointToString
|
|
20379
|
+
state.lastStringValue += codePointToString(state.lastIntValue);
|
|
20362
20380
|
while (this.regexp_eatRegExpIdentifierPart(state)) {
|
|
20363
|
-
state.lastStringValue += codePointToString
|
|
20381
|
+
state.lastStringValue += codePointToString(state.lastIntValue);
|
|
20364
20382
|
}
|
|
20365
20383
|
return true
|
|
20366
20384
|
}
|
|
@@ -20712,7 +20730,7 @@ pp$1.regexp_eatUnicodePropertyName = function(state) {
|
|
|
20712
20730
|
var ch = 0;
|
|
20713
20731
|
state.lastStringValue = "";
|
|
20714
20732
|
while (isUnicodePropertyNameCharacter(ch = state.current())) {
|
|
20715
|
-
state.lastStringValue += codePointToString
|
|
20733
|
+
state.lastStringValue += codePointToString(ch);
|
|
20716
20734
|
state.advance();
|
|
20717
20735
|
}
|
|
20718
20736
|
return state.lastStringValue !== ""
|
|
@@ -20727,7 +20745,7 @@ pp$1.regexp_eatUnicodePropertyValue = function(state) {
|
|
|
20727
20745
|
var ch = 0;
|
|
20728
20746
|
state.lastStringValue = "";
|
|
20729
20747
|
while (isUnicodePropertyValueCharacter(ch = state.current())) {
|
|
20730
|
-
state.lastStringValue += codePointToString
|
|
20748
|
+
state.lastStringValue += codePointToString(ch);
|
|
20731
20749
|
state.advance();
|
|
20732
20750
|
}
|
|
20733
20751
|
return state.lastStringValue !== ""
|
|
@@ -21510,13 +21528,6 @@ pp.readCodePoint = function() {
|
|
|
21510
21528
|
return code
|
|
21511
21529
|
};
|
|
21512
21530
|
|
|
21513
|
-
function codePointToString(code) {
|
|
21514
|
-
// UTF-16 Decoding
|
|
21515
|
-
if (code <= 0xFFFF) { return String.fromCharCode(code) }
|
|
21516
|
-
code -= 0x10000;
|
|
21517
|
-
return String.fromCharCode((code >> 10) + 0xD800, (code & 1023) + 0xDC00)
|
|
21518
|
-
}
|
|
21519
|
-
|
|
21520
21531
|
pp.readString = function(quote) {
|
|
21521
21532
|
var out = "", chunkStart = ++this.pos;
|
|
21522
21533
|
for (;;) {
|
|
@@ -21761,7 +21772,7 @@ pp.readWord = function() {
|
|
|
21761
21772
|
|
|
21762
21773
|
// Acorn is a tiny, fast JavaScript parser written in JavaScript.
|
|
21763
21774
|
|
|
21764
|
-
var version = "8.7.
|
|
21775
|
+
var version = "8.7.1";
|
|
21765
21776
|
|
|
21766
21777
|
Parser.acorn = {
|
|
21767
21778
|
Parser: Parser,
|
|
@@ -23828,7 +23839,7 @@ exports.getOrCreate = getOrCreate;
|
|
|
23828
23839
|
exports.loadFsEvents = loadFsEvents;
|
|
23829
23840
|
exports.objectifyOption = objectifyOption;
|
|
23830
23841
|
exports.objectifyOptionWithPresets = objectifyOptionWithPresets;
|
|
23831
|
-
exports.picomatch = picomatch;
|
|
23842
|
+
exports.picomatch = picomatch$1;
|
|
23832
23843
|
exports.printQuotedStringList = printQuotedStringList;
|
|
23833
23844
|
exports.relativeId = relativeId;
|
|
23834
23845
|
exports.rollup = rollup;
|