rollup 3.20.7 → 3.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/dist/bin/rollup +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +238 -117
- package/dist/es/shared/watch.js +19 -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 +18 -28
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/rollup.js +238 -119
- 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/dist/es/shared/watch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v3.
|
|
4
|
-
|
|
3
|
+
Rollup.js v3.21.1
|
|
4
|
+
Sat, 29 Apr 2023 05:15:23 GMT - commit e01f0a2e7264e0bae267b2fab4b2231d7671d4c2
|
|
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;
|
|
@@ -3079,11 +3071,7 @@ async _addToNodeFs(path, initialAdd, priorWh, depth, target) {
|
|
|
3079
3071
|
|
|
3080
3072
|
var nodefsHandler = NodeFsHandler$1;
|
|
3081
3073
|
|
|
3082
|
-
var
|
|
3083
|
-
var fseventsHandler = {
|
|
3084
|
-
get exports(){ return fseventsHandlerExports; },
|
|
3085
|
-
set exports(v){ fseventsHandlerExports = v; },
|
|
3086
|
-
};
|
|
3074
|
+
var fseventsHandler = {exports: {}};
|
|
3087
3075
|
|
|
3088
3076
|
const require$$3 = /*@__PURE__*/getAugmentedNamespace(fseventsImporter);
|
|
3089
3077
|
|
|
@@ -3608,7 +3596,9 @@ async _addToFsEvents(path, transform, forceAdd, priorDepth) {
|
|
|
3608
3596
|
};
|
|
3609
3597
|
|
|
3610
3598
|
fseventsHandler.exports = FsEventsHandler$1;
|
|
3611
|
-
|
|
3599
|
+
fseventsHandler.exports.canUse = canUse;
|
|
3600
|
+
|
|
3601
|
+
var fseventsHandlerExports = fseventsHandler.exports;
|
|
3612
3602
|
|
|
3613
3603
|
const { EventEmitter } = require$$0$3;
|
|
3614
3604
|
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.
|
|
4
|
-
|
|
3
|
+
Rollup.js v3.21.1
|
|
4
|
+
Sat, 29 Apr 2023 05:15:23 GMT - commit e01f0a2e7264e0bae267b2fab4b2231d7671d4c2
|
|
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;
|
|
@@ -3074,11 +3066,7 @@ async _addToNodeFs(path, initialAdd, priorWh, depth, target) {
|
|
|
3074
3066
|
|
|
3075
3067
|
var nodefsHandler = NodeFsHandler$1;
|
|
3076
3068
|
|
|
3077
|
-
var
|
|
3078
|
-
var fseventsHandler = {
|
|
3079
|
-
get exports(){ return fseventsHandlerExports; },
|
|
3080
|
-
set exports(v){ fseventsHandlerExports = v; },
|
|
3081
|
-
};
|
|
3069
|
+
var fseventsHandler = {exports: {}};
|
|
3082
3070
|
|
|
3083
3071
|
const require$$3 = /*@__PURE__*/rollup.getAugmentedNamespace(fseventsImporter.fseventsImporter);
|
|
3084
3072
|
|
|
@@ -3603,7 +3591,9 @@ async _addToFsEvents(path, transform, forceAdd, priorDepth) {
|
|
|
3603
3591
|
};
|
|
3604
3592
|
|
|
3605
3593
|
fseventsHandler.exports = FsEventsHandler$1;
|
|
3606
|
-
|
|
3594
|
+
fseventsHandler.exports.canUse = canUse;
|
|
3595
|
+
|
|
3596
|
+
var fseventsHandlerExports = fseventsHandler.exports;
|
|
3607
3597
|
|
|
3608
3598
|
const { EventEmitter } = require$$0$3;
|
|
3609
3599
|
const fs = require$$0$1;
|