rollup 3.21.0 → 3.21.2
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/LICENSE.md +1 -1
- package/dist/bin/rollup +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +60 -53
- package/dist/es/shared/watch.js +23 -29
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +22 -28
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/rollup.js +60 -55
- package/dist/shared/watch-cli.js +285 -261
- package/dist/shared/watch-proxy.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +36 -37
package/LICENSE.md
CHANGED
|
@@ -611,7 +611,7 @@ Repository: https://github.com/tapjs/signal-exit.git
|
|
|
611
611
|
|
|
612
612
|
> The ISC License
|
|
613
613
|
>
|
|
614
|
-
> Copyright (c) 2015, Contributors
|
|
614
|
+
> Copyright (c) 2015-2023 Benjamin Coe, Isaac Z. Schlueter, and Contributors
|
|
615
615
|
>
|
|
616
616
|
> Permission to use, copy, modify, and/or distribute this software
|
|
617
617
|
> for any purpose with or without fee is hereby granted, provided
|
package/dist/bin/rollup
CHANGED
package/dist/es/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v3.21.
|
|
4
|
-
Sun,
|
|
3
|
+
Rollup.js v3.21.2
|
|
4
|
+
Sun, 30 Apr 2023 05:31:29 GMT - commit f138dcee19367f17f2e66f940fb8d612471f7ddf
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -16,7 +16,7 @@ import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/pr
|
|
|
16
16
|
import { EventEmitter } from 'node:events';
|
|
17
17
|
import * as tty from 'tty';
|
|
18
18
|
|
|
19
|
-
var version$1 = "3.21.
|
|
19
|
+
var version$1 = "3.21.2";
|
|
20
20
|
|
|
21
21
|
const comma = ','.charCodeAt(0);
|
|
22
22
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -2861,12 +2861,6 @@ function getAugmentedNamespace(n) {
|
|
|
2861
2861
|
return a;
|
|
2862
2862
|
}
|
|
2863
2863
|
|
|
2864
|
-
var picomatchExports = {};
|
|
2865
|
-
var picomatch$1 = {
|
|
2866
|
-
get exports(){ return picomatchExports; },
|
|
2867
|
-
set exports(v){ picomatchExports = v; },
|
|
2868
|
-
};
|
|
2869
|
-
|
|
2870
2864
|
var utils$3 = {};
|
|
2871
2865
|
|
|
2872
2866
|
const path$1 = require$$0$1;
|
|
@@ -3110,7 +3104,7 @@ var constants$2 = {
|
|
|
3110
3104
|
output = `(?:^(?!${output}).*$)`;
|
|
3111
3105
|
}
|
|
3112
3106
|
return output;
|
|
3113
|
-
};
|
|
3107
|
+
};
|
|
3114
3108
|
} (utils$3));
|
|
3115
3109
|
|
|
3116
3110
|
const utils$2 = utils$3;
|
|
@@ -4615,9 +4609,9 @@ const isObject = val => val && typeof val === 'object' && !Array.isArray(val);
|
|
|
4615
4609
|
* @api public
|
|
4616
4610
|
*/
|
|
4617
4611
|
|
|
4618
|
-
const picomatch = (glob, options, returnState = false) => {
|
|
4612
|
+
const picomatch$1 = (glob, options, returnState = false) => {
|
|
4619
4613
|
if (Array.isArray(glob)) {
|
|
4620
|
-
const fns = glob.map(input => picomatch(input, options, returnState));
|
|
4614
|
+
const fns = glob.map(input => picomatch$1(input, options, returnState));
|
|
4621
4615
|
const arrayMatcher = str => {
|
|
4622
4616
|
for (const isMatch of fns) {
|
|
4623
4617
|
const state = isMatch(str);
|
|
@@ -4637,8 +4631,8 @@ const picomatch = (glob, options, returnState = false) => {
|
|
|
4637
4631
|
const opts = options || {};
|
|
4638
4632
|
const posix = utils.isWindows(options);
|
|
4639
4633
|
const regex = isState
|
|
4640
|
-
? picomatch.compileRe(glob, options)
|
|
4641
|
-
: picomatch.makeRe(glob, options, false, true);
|
|
4634
|
+
? picomatch$1.compileRe(glob, options)
|
|
4635
|
+
: picomatch$1.makeRe(glob, options, false, true);
|
|
4642
4636
|
|
|
4643
4637
|
const state = regex.state;
|
|
4644
4638
|
delete regex.state;
|
|
@@ -4646,11 +4640,11 @@ const picomatch = (glob, options, returnState = false) => {
|
|
|
4646
4640
|
let isIgnored = () => false;
|
|
4647
4641
|
if (opts.ignore) {
|
|
4648
4642
|
const ignoreOpts = { ...options, ignore: null, onMatch: null, onResult: null };
|
|
4649
|
-
isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
|
|
4643
|
+
isIgnored = picomatch$1(opts.ignore, ignoreOpts, returnState);
|
|
4650
4644
|
}
|
|
4651
4645
|
|
|
4652
4646
|
const matcher = (input, returnObject = false) => {
|
|
4653
|
-
const { isMatch, match, output } = picomatch.test(input, regex, options, { glob, posix });
|
|
4647
|
+
const { isMatch, match, output } = picomatch$1.test(input, regex, options, { glob, posix });
|
|
4654
4648
|
const result = { glob, state, regex, posix, input, output, match, isMatch };
|
|
4655
4649
|
|
|
4656
4650
|
if (typeof opts.onResult === 'function') {
|
|
@@ -4700,7 +4694,7 @@ const picomatch = (glob, options, returnState = false) => {
|
|
|
4700
4694
|
* @api public
|
|
4701
4695
|
*/
|
|
4702
4696
|
|
|
4703
|
-
picomatch.test = (input, regex, options, { glob, posix } = {}) => {
|
|
4697
|
+
picomatch$1.test = (input, regex, options, { glob, posix } = {}) => {
|
|
4704
4698
|
if (typeof input !== 'string') {
|
|
4705
4699
|
throw new TypeError('Expected input to be a string');
|
|
4706
4700
|
}
|
|
@@ -4721,7 +4715,7 @@ picomatch.test = (input, regex, options, { glob, posix } = {}) => {
|
|
|
4721
4715
|
|
|
4722
4716
|
if (match === false || opts.capture === true) {
|
|
4723
4717
|
if (opts.matchBase === true || opts.basename === true) {
|
|
4724
|
-
match = picomatch.matchBase(input, regex, options, posix);
|
|
4718
|
+
match = picomatch$1.matchBase(input, regex, options, posix);
|
|
4725
4719
|
} else {
|
|
4726
4720
|
match = regex.exec(output);
|
|
4727
4721
|
}
|
|
@@ -4744,8 +4738,8 @@ picomatch.test = (input, regex, options, { glob, posix } = {}) => {
|
|
|
4744
4738
|
* @api public
|
|
4745
4739
|
*/
|
|
4746
4740
|
|
|
4747
|
-
picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => {
|
|
4748
|
-
const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
|
|
4741
|
+
picomatch$1.matchBase = (input, glob, options, posix = utils.isWindows(options)) => {
|
|
4742
|
+
const regex = glob instanceof RegExp ? glob : picomatch$1.makeRe(glob, options);
|
|
4749
4743
|
return regex.test(path.basename(input));
|
|
4750
4744
|
};
|
|
4751
4745
|
|
|
@@ -4766,7 +4760,7 @@ picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) =
|
|
|
4766
4760
|
* @api public
|
|
4767
4761
|
*/
|
|
4768
4762
|
|
|
4769
|
-
picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
|
|
4763
|
+
picomatch$1.isMatch = (str, patterns, options) => picomatch$1(patterns, options)(str);
|
|
4770
4764
|
|
|
4771
4765
|
/**
|
|
4772
4766
|
* Parse a glob pattern to create the source string for a regular
|
|
@@ -4782,8 +4776,8 @@ picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str
|
|
|
4782
4776
|
* @api public
|
|
4783
4777
|
*/
|
|
4784
4778
|
|
|
4785
|
-
picomatch.parse = (pattern, options) => {
|
|
4786
|
-
if (Array.isArray(pattern)) return pattern.map(p => picomatch.parse(p, options));
|
|
4779
|
+
picomatch$1.parse = (pattern, options) => {
|
|
4780
|
+
if (Array.isArray(pattern)) return pattern.map(p => picomatch$1.parse(p, options));
|
|
4787
4781
|
return parse$1(pattern, { ...options, fastpaths: false });
|
|
4788
4782
|
};
|
|
4789
4783
|
|
|
@@ -4814,7 +4808,7 @@ picomatch.parse = (pattern, options) => {
|
|
|
4814
4808
|
* @api public
|
|
4815
4809
|
*/
|
|
4816
4810
|
|
|
4817
|
-
picomatch.scan = (input, options) => scan(input, options);
|
|
4811
|
+
picomatch$1.scan = (input, options) => scan(input, options);
|
|
4818
4812
|
|
|
4819
4813
|
/**
|
|
4820
4814
|
* Compile a regular expression from the `state` object returned by the
|
|
@@ -4828,7 +4822,7 @@ picomatch.scan = (input, options) => scan(input, options);
|
|
|
4828
4822
|
* @api public
|
|
4829
4823
|
*/
|
|
4830
4824
|
|
|
4831
|
-
picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
4825
|
+
picomatch$1.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
4832
4826
|
if (returnOutput === true) {
|
|
4833
4827
|
return state.output;
|
|
4834
4828
|
}
|
|
@@ -4842,7 +4836,7 @@ picomatch.compileRe = (state, options, returnOutput = false, returnState = false
|
|
|
4842
4836
|
source = `^(?!${source}).*$`;
|
|
4843
4837
|
}
|
|
4844
4838
|
|
|
4845
|
-
const regex = picomatch.toRegex(source, options);
|
|
4839
|
+
const regex = picomatch$1.toRegex(source, options);
|
|
4846
4840
|
if (returnState === true) {
|
|
4847
4841
|
regex.state = state;
|
|
4848
4842
|
}
|
|
@@ -4869,7 +4863,7 @@ picomatch.compileRe = (state, options, returnOutput = false, returnState = false
|
|
|
4869
4863
|
* @api public
|
|
4870
4864
|
*/
|
|
4871
4865
|
|
|
4872
|
-
picomatch.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {
|
|
4866
|
+
picomatch$1.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {
|
|
4873
4867
|
if (!input || typeof input !== 'string') {
|
|
4874
4868
|
throw new TypeError('Expected a non-empty string');
|
|
4875
4869
|
}
|
|
@@ -4884,7 +4878,7 @@ picomatch.makeRe = (input, options = {}, returnOutput = false, returnState = fal
|
|
|
4884
4878
|
parsed = parse$1(input, options);
|
|
4885
4879
|
}
|
|
4886
4880
|
|
|
4887
|
-
return picomatch.compileRe(parsed, options, returnOutput, returnState);
|
|
4881
|
+
return picomatch$1.compileRe(parsed, options, returnOutput, returnState);
|
|
4888
4882
|
};
|
|
4889
4883
|
|
|
4890
4884
|
/**
|
|
@@ -4904,7 +4898,7 @@ picomatch.makeRe = (input, options = {}, returnOutput = false, returnState = fal
|
|
|
4904
4898
|
* @api public
|
|
4905
4899
|
*/
|
|
4906
4900
|
|
|
4907
|
-
picomatch.toRegex = (source, options) => {
|
|
4901
|
+
picomatch$1.toRegex = (source, options) => {
|
|
4908
4902
|
try {
|
|
4909
4903
|
const opts = options || {};
|
|
4910
4904
|
return new RegExp(source, opts.flags || (opts.nocase ? 'i' : ''));
|
|
@@ -4919,20 +4913,17 @@ picomatch.toRegex = (source, options) => {
|
|
|
4919
4913
|
* @return {Object}
|
|
4920
4914
|
*/
|
|
4921
4915
|
|
|
4922
|
-
picomatch.constants = constants;
|
|
4916
|
+
picomatch$1.constants = constants;
|
|
4923
4917
|
|
|
4924
4918
|
/**
|
|
4925
4919
|
* Expose "picomatch"
|
|
4926
4920
|
*/
|
|
4927
4921
|
|
|
4928
|
-
var picomatch_1 = picomatch;
|
|
4922
|
+
var picomatch_1 = picomatch$1;
|
|
4929
4923
|
|
|
4930
|
-
|
|
4924
|
+
var picomatch = picomatch_1;
|
|
4931
4925
|
|
|
4932
|
-
|
|
4933
|
-
} (picomatch$1));
|
|
4934
|
-
|
|
4935
|
-
const pm = /*@__PURE__*/getDefaultExportFromCjs(picomatchExports);
|
|
4926
|
+
const pm = /*@__PURE__*/getDefaultExportFromCjs(picomatch);
|
|
4936
4927
|
|
|
4937
4928
|
const extractors = {
|
|
4938
4929
|
ArrayPattern(names, param) {
|
|
@@ -7198,7 +7189,7 @@ const PC = {
|
|
|
7198
7189
|
const ARRAY_TYPE = {
|
|
7199
7190
|
__proto__: null,
|
|
7200
7191
|
[ValueProperties]: PURE,
|
|
7201
|
-
from:
|
|
7192
|
+
from: O,
|
|
7202
7193
|
of: PF,
|
|
7203
7194
|
prototype: O
|
|
7204
7195
|
};
|
|
@@ -7265,7 +7256,7 @@ const knownGlobals = {
|
|
|
7265
7256
|
isNaN: PF,
|
|
7266
7257
|
isPrototypeOf: O,
|
|
7267
7258
|
JSON: O,
|
|
7268
|
-
Map:
|
|
7259
|
+
Map: C,
|
|
7269
7260
|
Math: {
|
|
7270
7261
|
__proto__: null,
|
|
7271
7262
|
[ValueProperties]: IMPURE,
|
|
@@ -7338,7 +7329,7 @@ const knownGlobals = {
|
|
|
7338
7329
|
isFrozen: PF,
|
|
7339
7330
|
isSealed: PF,
|
|
7340
7331
|
keys: PF,
|
|
7341
|
-
fromEntries:
|
|
7332
|
+
fromEntries: O,
|
|
7342
7333
|
entries: PF,
|
|
7343
7334
|
prototype: O
|
|
7344
7335
|
},
|
|
@@ -7361,7 +7352,7 @@ const knownGlobals = {
|
|
|
7361
7352
|
ReferenceError: PC,
|
|
7362
7353
|
Reflect: O,
|
|
7363
7354
|
RegExp: PC,
|
|
7364
|
-
Set:
|
|
7355
|
+
Set: C,
|
|
7365
7356
|
SharedArrayBuffer: C,
|
|
7366
7357
|
String: {
|
|
7367
7358
|
__proto__: null,
|
|
@@ -7401,8 +7392,8 @@ const knownGlobals = {
|
|
|
7401
7392
|
unescape: PF,
|
|
7402
7393
|
URIError: PC,
|
|
7403
7394
|
valueOf: O,
|
|
7404
|
-
WeakMap:
|
|
7405
|
-
WeakSet:
|
|
7395
|
+
WeakMap: C,
|
|
7396
|
+
WeakSet: C,
|
|
7406
7397
|
// Additional globals shared by Node and Browser that are not strictly part of the language
|
|
7407
7398
|
clearInterval: C,
|
|
7408
7399
|
clearTimeout: C,
|
|
@@ -8612,10 +8603,14 @@ class FunctionBase extends NodeBase {
|
|
|
8612
8603
|
}
|
|
8613
8604
|
else if (parameter instanceof Identifier) {
|
|
8614
8605
|
parameters[position][0].addEntityToBeDeoptimized(argument);
|
|
8606
|
+
this.addArgumentToBeDeoptimized(argument);
|
|
8615
8607
|
}
|
|
8616
8608
|
else if (parameter) {
|
|
8617
8609
|
argument.deoptimizePath(UNKNOWN_PATH);
|
|
8618
8610
|
}
|
|
8611
|
+
else {
|
|
8612
|
+
this.addArgumentToBeDeoptimized(argument);
|
|
8613
|
+
}
|
|
8619
8614
|
}
|
|
8620
8615
|
}
|
|
8621
8616
|
else {
|
|
@@ -8695,6 +8690,7 @@ class FunctionBase extends NodeBase {
|
|
|
8695
8690
|
}
|
|
8696
8691
|
super.parseNode(esTreeNode);
|
|
8697
8692
|
}
|
|
8693
|
+
addArgumentToBeDeoptimized(_argument) { }
|
|
8698
8694
|
applyDeoptimizations() { }
|
|
8699
8695
|
}
|
|
8700
8696
|
FunctionBase.prototype.preventChildBlockScope = true;
|
|
@@ -8946,10 +8942,26 @@ class AssignmentPattern extends NodeBase {
|
|
|
8946
8942
|
class ArgumentsVariable extends LocalVariable {
|
|
8947
8943
|
constructor(context) {
|
|
8948
8944
|
super('arguments', null, UNKNOWN_EXPRESSION, context);
|
|
8945
|
+
this.deoptimizedArguments = [];
|
|
8946
|
+
}
|
|
8947
|
+
addArgumentToBeDeoptimized(argument) {
|
|
8948
|
+
if (this.included) {
|
|
8949
|
+
argument.deoptimizePath(UNKNOWN_PATH);
|
|
8950
|
+
}
|
|
8951
|
+
else {
|
|
8952
|
+
this.deoptimizedArguments.push(argument);
|
|
8953
|
+
}
|
|
8949
8954
|
}
|
|
8950
8955
|
hasEffectsOnInteractionAtPath(path, { type }) {
|
|
8951
8956
|
return type !== INTERACTION_ACCESSED || path.length > 1;
|
|
8952
8957
|
}
|
|
8958
|
+
include() {
|
|
8959
|
+
super.include();
|
|
8960
|
+
for (const argument of this.deoptimizedArguments) {
|
|
8961
|
+
argument.deoptimizePath(UNKNOWN_PATH);
|
|
8962
|
+
}
|
|
8963
|
+
this.deoptimizedArguments.length = 0;
|
|
8964
|
+
}
|
|
8953
8965
|
}
|
|
8954
8966
|
|
|
8955
8967
|
class ThisVariable extends ParameterVariable {
|
|
@@ -9047,6 +9059,9 @@ class FunctionNode extends FunctionBase {
|
|
|
9047
9059
|
super.initialise();
|
|
9048
9060
|
this.id?.declare('function', this);
|
|
9049
9061
|
}
|
|
9062
|
+
addArgumentToBeDeoptimized(argument) {
|
|
9063
|
+
this.scope.argumentsVariable.addArgumentToBeDeoptimized(argument);
|
|
9064
|
+
}
|
|
9050
9065
|
getObjectEntity() {
|
|
9051
9066
|
if (this.objectEntity !== null) {
|
|
9052
9067
|
return this.objectEntity;
|
|
@@ -14364,12 +14379,6 @@ function updateExtensionForRelativeAmdId(id, forceJsExtensionForImports) {
|
|
|
14364
14379
|
return forceJsExtensionForImports ? addJsExtension(id) : removeJsExtension(id);
|
|
14365
14380
|
}
|
|
14366
14381
|
|
|
14367
|
-
var _staticExports = {};
|
|
14368
|
-
var _static = {
|
|
14369
|
-
get exports(){ return _staticExports; },
|
|
14370
|
-
set exports(v){ _staticExports = v; },
|
|
14371
|
-
};
|
|
14372
|
-
|
|
14373
14382
|
const require$$0 = [
|
|
14374
14383
|
"assert",
|
|
14375
14384
|
"async_hooks",
|
|
@@ -14414,11 +14423,9 @@ const require$$0 = [
|
|
|
14414
14423
|
"zlib"
|
|
14415
14424
|
];
|
|
14416
14425
|
|
|
14417
|
-
|
|
14418
|
-
module.exports = require$$0;
|
|
14419
|
-
} (_static));
|
|
14426
|
+
var _static = require$$0;
|
|
14420
14427
|
|
|
14421
|
-
const builtinModules = /*@__PURE__*/getDefaultExportFromCjs(
|
|
14428
|
+
const builtinModules = /*@__PURE__*/getDefaultExportFromCjs(_static);
|
|
14422
14429
|
|
|
14423
14430
|
const nodeBuiltins = new Set([
|
|
14424
14431
|
...builtinModules,
|
|
@@ -26281,4 +26288,4 @@ async function watchInternal(configs, emitter) {
|
|
|
26281
26288
|
new Watcher(watchOptionsList, emitter);
|
|
26282
26289
|
}
|
|
26283
26290
|
|
|
26284
|
-
export { createFilter, defineConfig, fseventsImporter, getAugmentedNamespace,
|
|
26291
|
+
export { createFilter, defineConfig, fseventsImporter, getAugmentedNamespace, picomatch, rollup, rollupInternal, version$1 as version, watch };
|
package/dist/es/shared/watch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v3.21.
|
|
4
|
-
Sun,
|
|
3
|
+
Rollup.js v3.21.2
|
|
4
|
+
Sun, 30 Apr 2023 05:31:29 GMT - commit f138dcee19367f17f2e66f940fb8d612471f7ddf
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { resolve } from 'node:path';
|
|
11
11
|
import process$1 from 'node:process';
|
|
12
|
-
import {
|
|
12
|
+
import { picomatch as picomatch$2, getAugmentedNamespace, fseventsImporter, createFilter, rollupInternal } from './node-entry.js';
|
|
13
13
|
import { platform } from 'node:os';
|
|
14
14
|
import require$$0$1 from 'fs';
|
|
15
15
|
import require$$2 from 'util';
|
|
@@ -29,7 +29,7 @@ const fs$3 = require$$0$1;
|
|
|
29
29
|
const { Readable } = require$$1;
|
|
30
30
|
const sysPath$3 = require$$0$2;
|
|
31
31
|
const { promisify: promisify$3 } = require$$2;
|
|
32
|
-
const picomatch$1 =
|
|
32
|
+
const picomatch$1 = picomatch$2;
|
|
33
33
|
|
|
34
34
|
const readdir$1 = promisify$3(fs$3.readdir);
|
|
35
35
|
const stat$3 = promisify$3(fs$3.stat);
|
|
@@ -311,11 +311,7 @@ readdirp$1.default = readdirp$1;
|
|
|
311
311
|
|
|
312
312
|
var readdirp_1 = readdirp$1;
|
|
313
313
|
|
|
314
|
-
var
|
|
315
|
-
var anymatch$2 = {
|
|
316
|
-
get exports(){ return anymatchExports; },
|
|
317
|
-
set exports(v){ anymatchExports = v; },
|
|
318
|
-
};
|
|
314
|
+
var anymatch$2 = {exports: {}};
|
|
319
315
|
|
|
320
316
|
/*!
|
|
321
317
|
* normalize-path <https://github.com/jonschlinkert/normalize-path>
|
|
@@ -353,9 +349,11 @@ var normalizePath$2 = function(path, stripTrailing) {
|
|
|
353
349
|
return prefix + segs.join('/');
|
|
354
350
|
};
|
|
355
351
|
|
|
356
|
-
|
|
352
|
+
var anymatch_1 = anymatch$2.exports;
|
|
353
|
+
|
|
354
|
+
Object.defineProperty(anymatch_1, "__esModule", { value: true });
|
|
357
355
|
|
|
358
|
-
const picomatch =
|
|
356
|
+
const picomatch = picomatch$2;
|
|
359
357
|
const normalizePath$1 = normalizePath$2;
|
|
360
358
|
|
|
361
359
|
/**
|
|
@@ -456,6 +454,8 @@ const anymatch$1 = (matchers, testString, options = DEFAULT_OPTIONS) => {
|
|
|
456
454
|
anymatch$1.default = anymatch$1;
|
|
457
455
|
anymatch$2.exports = anymatch$1;
|
|
458
456
|
|
|
457
|
+
var anymatchExports = anymatch$2.exports;
|
|
458
|
+
|
|
459
459
|
/*!
|
|
460
460
|
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
461
461
|
*
|
|
@@ -782,7 +782,7 @@ var utils$3 = {};
|
|
|
782
782
|
};
|
|
783
783
|
flat(args);
|
|
784
784
|
return result;
|
|
785
|
-
};
|
|
785
|
+
};
|
|
786
786
|
} (utils$3));
|
|
787
787
|
|
|
788
788
|
const utils$2 = utils$3;
|
|
@@ -2089,12 +2089,6 @@ braces$1.create = (input, options = {}) => {
|
|
|
2089
2089
|
|
|
2090
2090
|
var braces_1 = braces$1;
|
|
2091
2091
|
|
|
2092
|
-
var binaryExtensionsExports = {};
|
|
2093
|
-
var binaryExtensions$1 = {
|
|
2094
|
-
get exports(){ return binaryExtensionsExports; },
|
|
2095
|
-
set exports(v){ binaryExtensionsExports = v; },
|
|
2096
|
-
};
|
|
2097
|
-
|
|
2098
2092
|
const require$$0 = [
|
|
2099
2093
|
"3dm",
|
|
2100
2094
|
"3ds",
|
|
@@ -2356,12 +2350,10 @@ const require$$0 = [
|
|
|
2356
2350
|
"zipx"
|
|
2357
2351
|
];
|
|
2358
2352
|
|
|
2359
|
-
|
|
2360
|
-
module.exports = require$$0;
|
|
2361
|
-
} (binaryExtensions$1));
|
|
2353
|
+
var binaryExtensions$1 = require$$0;
|
|
2362
2354
|
|
|
2363
2355
|
const path = require$$0$2;
|
|
2364
|
-
const binaryExtensions =
|
|
2356
|
+
const binaryExtensions = binaryExtensions$1;
|
|
2365
2357
|
|
|
2366
2358
|
const extensions = new Set(binaryExtensions);
|
|
2367
2359
|
|
|
@@ -2433,7 +2425,7 @@ var constants = {};
|
|
|
2433
2425
|
exports.isWindows = platform === 'win32';
|
|
2434
2426
|
exports.isMacos = platform === 'darwin';
|
|
2435
2427
|
exports.isLinux = platform === 'linux';
|
|
2436
|
-
exports.isIBMi = os.type() === 'OS400';
|
|
2428
|
+
exports.isIBMi = os.type() === 'OS400';
|
|
2437
2429
|
} (constants));
|
|
2438
2430
|
|
|
2439
2431
|
const fs$2 = require$$0$1;
|
|
@@ -2669,6 +2661,10 @@ const setFsWatchFileListener = (path, fullPath, options, handlers) => {
|
|
|
2669
2661
|
const {listener, rawEmitter} = handlers;
|
|
2670
2662
|
let cont = FsWatchFileInstances.get(fullPath);
|
|
2671
2663
|
|
|
2664
|
+
/* eslint-disable no-unused-vars, prefer-destructuring */
|
|
2665
|
+
new Set();
|
|
2666
|
+
new Set();
|
|
2667
|
+
|
|
2672
2668
|
const copts = cont && cont.options;
|
|
2673
2669
|
if (copts && (copts.persistent < options.persistent || copts.interval > options.interval)) {
|
|
2674
2670
|
fs$2.unwatchFile(fullPath);
|
|
@@ -3079,11 +3075,7 @@ async _addToNodeFs(path, initialAdd, priorWh, depth, target) {
|
|
|
3079
3075
|
|
|
3080
3076
|
var nodefsHandler = NodeFsHandler$1;
|
|
3081
3077
|
|
|
3082
|
-
var
|
|
3083
|
-
var fseventsHandler = {
|
|
3084
|
-
get exports(){ return fseventsHandlerExports; },
|
|
3085
|
-
set exports(v){ fseventsHandlerExports = v; },
|
|
3086
|
-
};
|
|
3078
|
+
var fseventsHandler = {exports: {}};
|
|
3087
3079
|
|
|
3088
3080
|
const require$$3 = /*@__PURE__*/getAugmentedNamespace(fseventsImporter);
|
|
3089
3081
|
|
|
@@ -3608,7 +3600,9 @@ async _addToFsEvents(path, transform, forceAdd, priorDepth) {
|
|
|
3608
3600
|
};
|
|
3609
3601
|
|
|
3610
3602
|
fseventsHandler.exports = FsEventsHandler$1;
|
|
3611
|
-
|
|
3603
|
+
fseventsHandler.exports.canUse = canUse;
|
|
3604
|
+
|
|
3605
|
+
var fseventsHandlerExports = fseventsHandler.exports;
|
|
3612
3606
|
|
|
3613
3607
|
const { EventEmitter } = require$$0$3;
|
|
3614
3608
|
const fs = require$$0$1;
|
package/dist/loadConfigFile.js
CHANGED
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v3.21.
|
|
4
|
-
Sun,
|
|
3
|
+
Rollup.js v3.21.2
|
|
4
|
+
Sun, 30 Apr 2023 05:31:29 GMT - commit f138dcee19367f17f2e66f940fb8d612471f7ddf
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -24,7 +24,7 @@ const fs$3 = require$$0$1;
|
|
|
24
24
|
const { Readable } = require$$1;
|
|
25
25
|
const sysPath$3 = require$$0$2;
|
|
26
26
|
const { promisify: promisify$3 } = require$$2;
|
|
27
|
-
const picomatch$1 = rollup.
|
|
27
|
+
const picomatch$1 = rollup.picomatch;
|
|
28
28
|
|
|
29
29
|
const readdir$1 = promisify$3(fs$3.readdir);
|
|
30
30
|
const stat$3 = promisify$3(fs$3.stat);
|
|
@@ -306,11 +306,7 @@ readdirp$1.default = readdirp$1;
|
|
|
306
306
|
|
|
307
307
|
var readdirp_1 = readdirp$1;
|
|
308
308
|
|
|
309
|
-
var
|
|
310
|
-
var anymatch$2 = {
|
|
311
|
-
get exports(){ return anymatchExports; },
|
|
312
|
-
set exports(v){ anymatchExports = v; },
|
|
313
|
-
};
|
|
309
|
+
var anymatch$2 = {exports: {}};
|
|
314
310
|
|
|
315
311
|
/*!
|
|
316
312
|
* normalize-path <https://github.com/jonschlinkert/normalize-path>
|
|
@@ -348,9 +344,11 @@ var normalizePath$2 = function(path, stripTrailing) {
|
|
|
348
344
|
return prefix + segs.join('/');
|
|
349
345
|
};
|
|
350
346
|
|
|
351
|
-
|
|
347
|
+
var anymatch_1 = anymatch$2.exports;
|
|
348
|
+
|
|
349
|
+
Object.defineProperty(anymatch_1, "__esModule", { value: true });
|
|
352
350
|
|
|
353
|
-
const picomatch = rollup.
|
|
351
|
+
const picomatch = rollup.picomatch;
|
|
354
352
|
const normalizePath$1 = normalizePath$2;
|
|
355
353
|
|
|
356
354
|
/**
|
|
@@ -451,6 +449,8 @@ const anymatch$1 = (matchers, testString, options = DEFAULT_OPTIONS) => {
|
|
|
451
449
|
anymatch$1.default = anymatch$1;
|
|
452
450
|
anymatch$2.exports = anymatch$1;
|
|
453
451
|
|
|
452
|
+
var anymatchExports = anymatch$2.exports;
|
|
453
|
+
|
|
454
454
|
/*!
|
|
455
455
|
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
456
456
|
*
|
|
@@ -777,7 +777,7 @@ var utils$3 = {};
|
|
|
777
777
|
};
|
|
778
778
|
flat(args);
|
|
779
779
|
return result;
|
|
780
|
-
};
|
|
780
|
+
};
|
|
781
781
|
} (utils$3));
|
|
782
782
|
|
|
783
783
|
const utils$2 = utils$3;
|
|
@@ -2084,12 +2084,6 @@ braces$1.create = (input, options = {}) => {
|
|
|
2084
2084
|
|
|
2085
2085
|
var braces_1 = braces$1;
|
|
2086
2086
|
|
|
2087
|
-
var binaryExtensionsExports = {};
|
|
2088
|
-
var binaryExtensions$1 = {
|
|
2089
|
-
get exports(){ return binaryExtensionsExports; },
|
|
2090
|
-
set exports(v){ binaryExtensionsExports = v; },
|
|
2091
|
-
};
|
|
2092
|
-
|
|
2093
2087
|
const require$$0 = [
|
|
2094
2088
|
"3dm",
|
|
2095
2089
|
"3ds",
|
|
@@ -2351,12 +2345,10 @@ const require$$0 = [
|
|
|
2351
2345
|
"zipx"
|
|
2352
2346
|
];
|
|
2353
2347
|
|
|
2354
|
-
|
|
2355
|
-
module.exports = require$$0;
|
|
2356
|
-
} (binaryExtensions$1));
|
|
2348
|
+
var binaryExtensions$1 = require$$0;
|
|
2357
2349
|
|
|
2358
2350
|
const path = require$$0$2;
|
|
2359
|
-
const binaryExtensions =
|
|
2351
|
+
const binaryExtensions = binaryExtensions$1;
|
|
2360
2352
|
|
|
2361
2353
|
const extensions = new Set(binaryExtensions);
|
|
2362
2354
|
|
|
@@ -2428,7 +2420,7 @@ var constants = {};
|
|
|
2428
2420
|
exports.isWindows = platform === 'win32';
|
|
2429
2421
|
exports.isMacos = platform === 'darwin';
|
|
2430
2422
|
exports.isLinux = platform === 'linux';
|
|
2431
|
-
exports.isIBMi = os.type() === 'OS400';
|
|
2423
|
+
exports.isIBMi = os.type() === 'OS400';
|
|
2432
2424
|
} (constants));
|
|
2433
2425
|
|
|
2434
2426
|
const fs$2 = require$$0$1;
|
|
@@ -2664,6 +2656,10 @@ const setFsWatchFileListener = (path, fullPath, options, handlers) => {
|
|
|
2664
2656
|
const {listener, rawEmitter} = handlers;
|
|
2665
2657
|
let cont = FsWatchFileInstances.get(fullPath);
|
|
2666
2658
|
|
|
2659
|
+
/* eslint-disable no-unused-vars, prefer-destructuring */
|
|
2660
|
+
new Set();
|
|
2661
|
+
new Set();
|
|
2662
|
+
|
|
2667
2663
|
const copts = cont && cont.options;
|
|
2668
2664
|
if (copts && (copts.persistent < options.persistent || copts.interval > options.interval)) {
|
|
2669
2665
|
fs$2.unwatchFile(fullPath);
|
|
@@ -3074,11 +3070,7 @@ async _addToNodeFs(path, initialAdd, priorWh, depth, target) {
|
|
|
3074
3070
|
|
|
3075
3071
|
var nodefsHandler = NodeFsHandler$1;
|
|
3076
3072
|
|
|
3077
|
-
var
|
|
3078
|
-
var fseventsHandler = {
|
|
3079
|
-
get exports(){ return fseventsHandlerExports; },
|
|
3080
|
-
set exports(v){ fseventsHandlerExports = v; },
|
|
3081
|
-
};
|
|
3073
|
+
var fseventsHandler = {exports: {}};
|
|
3082
3074
|
|
|
3083
3075
|
const require$$3 = /*@__PURE__*/rollup.getAugmentedNamespace(fseventsImporter.fseventsImporter);
|
|
3084
3076
|
|
|
@@ -3603,7 +3595,9 @@ async _addToFsEvents(path, transform, forceAdd, priorDepth) {
|
|
|
3603
3595
|
};
|
|
3604
3596
|
|
|
3605
3597
|
fseventsHandler.exports = FsEventsHandler$1;
|
|
3606
|
-
|
|
3598
|
+
fseventsHandler.exports.canUse = canUse;
|
|
3599
|
+
|
|
3600
|
+
var fseventsHandlerExports = fseventsHandler.exports;
|
|
3607
3601
|
|
|
3608
3602
|
const { EventEmitter } = require$$0$3;
|
|
3609
3603
|
const fs = require$$0$1;
|