rollup 4.26.0 → 4.27.0-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/rollup +7 -7
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +840 -508
- package/dist/es/shared/parseAst.js +3 -3
- package/dist/es/shared/watch.js +3 -3
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/parseAst.js +2 -2
- package/dist/rollup.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +3 -3
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/parseAst.js +2 -2
- package/dist/shared/rollup.js +837 -545
- package/dist/shared/watch-cli.js +4 -20
- package/dist/shared/watch.js +3 -3
- package/package.json +19 -19
package/dist/bin/rollup
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*
|
|
3
3
|
@license
|
|
4
|
-
Rollup.js v4.
|
|
5
|
-
|
|
4
|
+
Rollup.js v4.27.0-1
|
|
5
|
+
Thu, 14 Nov 2024 06:32:38 GMT - commit 81f5021d7d7e2a488639dc036f2334995b3761fc
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
8
8
|
|
|
@@ -15,8 +15,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
15
15
|
const process$1 = require('node:process');
|
|
16
16
|
const rollup = require('../shared/rollup.js');
|
|
17
17
|
const require$$2 = require('util');
|
|
18
|
-
const require$$0 = require('path');
|
|
19
|
-
const require$$0
|
|
18
|
+
const require$$0$1 = require('path');
|
|
19
|
+
const require$$0 = require('fs');
|
|
20
20
|
const parseAst_js = require('../shared/parseAst.js');
|
|
21
21
|
const fseventsImporter = require('../shared/fsevents-importer.js');
|
|
22
22
|
const promises = require('node:fs/promises');
|
|
@@ -1219,8 +1219,8 @@ const parser = new YargsParser({
|
|
|
1219
1219
|
return env;
|
|
1220
1220
|
},
|
|
1221
1221
|
format: require$$2.format,
|
|
1222
|
-
normalize: require$$0.normalize,
|
|
1223
|
-
resolve: require$$0.resolve,
|
|
1222
|
+
normalize: require$$0$1.normalize,
|
|
1223
|
+
resolve: require$$0$1.resolve,
|
|
1224
1224
|
// TODO: figure out a way to combine ESM and CJS coverage, such that
|
|
1225
1225
|
// we can exercise all the lines below:
|
|
1226
1226
|
require: (path) => {
|
|
@@ -1229,7 +1229,7 @@ const parser = new YargsParser({
|
|
|
1229
1229
|
}
|
|
1230
1230
|
else if (path.match(/\.json$/)) {
|
|
1231
1231
|
// Addresses: https://github.com/yargs/yargs/issues/2040
|
|
1232
|
-
return JSON.parse(require$$0
|
|
1232
|
+
return JSON.parse(require$$0.readFileSync(path, 'utf8'));
|
|
1233
1233
|
}
|
|
1234
1234
|
else {
|
|
1235
1235
|
throw Error('only .json config files are supported in ESM');
|
package/dist/es/getLogFilter.js
CHANGED
package/dist/es/parseAst.js
CHANGED
package/dist/es/rollup.js
CHANGED