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/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.72.0
4
- Thu, 05 May 2022 04:32:50 GMT - commit 19aef1315cf45b04c74c37a290cbef8072ddfa6b
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
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.72.0
4
- Thu, 05 May 2022 04:32:50 GMT - commit 19aef1315cf45b04c74c37a290cbef8072ddfa6b
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.72.0
4
- Thu, 05 May 2022 04:32:50 GMT - commit 19aef1315cf45b04c74c37a290cbef8072ddfa6b
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
- async function loadConfigFromBundledFile(fileName, bundledCode) {
609
- const resolvedFileName = await require$$0$1.promises.realpath(fileName);
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) => {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.72.0
4
- Thu, 05 May 2022 04:32:50 GMT - commit 19aef1315cf45b04c74c37a290cbef8072ddfa6b
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