rollup 2.72.0 → 2.74.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/dist/bin/rollup +2 -2
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +881 -675
- package/dist/es/shared/watch.js +5 -5
- package/dist/loadConfigFile.js +3 -3
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.browser.js.map +1 -1
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +4 -4
- package/dist/shared/loadConfigFile.js +4 -5
- package/dist/shared/mergeOptions.js +2 -2
- package/dist/shared/rollup.js +881 -675
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +1 -1
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.
|
|
4
|
-
Thu,
|
|
3
|
+
Rollup.js v2.74.0
|
|
4
|
+
Thu, 19 May 2022 05:01:43 GMT - commit fc99e96e09d26798f1c0aabdd7429307cc908c8e
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -1236,7 +1236,7 @@ const invalidStep = (step, options) => {
|
|
|
1236
1236
|
return [];
|
|
1237
1237
|
};
|
|
1238
1238
|
|
|
1239
|
-
const fillNumbers = (start, end, step = 1, options
|
|
1239
|
+
const fillNumbers = (start, end, step = 1, options) => {
|
|
1240
1240
|
let a = Number(start);
|
|
1241
1241
|
let b = Number(end);
|
|
1242
1242
|
|
|
@@ -1288,7 +1288,7 @@ const fillNumbers = (start, end, step = 1, options = {}) => {
|
|
|
1288
1288
|
return range;
|
|
1289
1289
|
};
|
|
1290
1290
|
|
|
1291
|
-
const fillLetters = (start, end, step = 1, options
|
|
1291
|
+
const fillLetters = (start, end, step = 1, options) => {
|
|
1292
1292
|
if ((!isNumber(start) && start.length > 1) || (!isNumber(end) && end.length > 1)) {
|
|
1293
1293
|
return invalidRange(start, end, options);
|
|
1294
1294
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.
|
|
4
|
-
Thu,
|
|
3
|
+
Rollup.js v2.74.0
|
|
4
|
+
Thu, 19 May 2022 05:01:43 GMT - commit fc99e96e09d26798f1c0aabdd7429307cc908c8e
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
*/
|
|
10
10
|
'use strict';
|
|
11
11
|
|
|
12
|
-
const require$$0$1 = require('fs');
|
|
13
12
|
const require$$0 = require('path');
|
|
14
13
|
const process$1 = require('process');
|
|
15
14
|
const url = require('url');
|
|
@@ -605,8 +604,8 @@ async function getDefaultFromTranspiledConfigFile(fileName, commandOptions) {
|
|
|
605
604
|
});
|
|
606
605
|
return loadConfigFromBundledFile(fileName, code);
|
|
607
606
|
}
|
|
608
|
-
|
|
609
|
-
const resolvedFileName =
|
|
607
|
+
function loadConfigFromBundledFile(fileName, bundledCode) {
|
|
608
|
+
const resolvedFileName = require.resolve(fileName);
|
|
610
609
|
const extension = require$$0.extname(resolvedFileName);
|
|
611
610
|
const defaultLoader = require.extensions[extension];
|
|
612
611
|
require.extensions[extension] = (module, requiredFileName) => {
|