rollup 4.60.1 → 4.60.3

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.
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.1
4
- Mon, 30 Mar 2026 04:32:12 GMT - commit ae871d762f6bbeb4320d28fe179211168f27a434
3
+ Rollup.js v4.60.3
4
+ Mon, 04 May 2026 15:33:41 GMT - commit b47bdabeccbb7aa1b1d4117f2f4a781a9f6de297
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -223,7 +223,7 @@ var hasRequiredUtils$2;
223
223
  function requireUtils$2 () {
224
224
  if (hasRequiredUtils$2) return utils$2;
225
225
  hasRequiredUtils$2 = 1;
226
- (function (exports$1) {
226
+ (function (exports) {
227
227
 
228
228
  const path = require$$0$1;
229
229
  const win32 = process.platform === 'win32';
@@ -234,19 +234,19 @@ function requireUtils$2 () {
234
234
  REGEX_SPECIAL_CHARS_GLOBAL
235
235
  } = /*@__PURE__*/ requireConstants$3();
236
236
 
237
- exports$1.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
238
- exports$1.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
239
- exports$1.isRegexChar = str => str.length === 1 && exports$1.hasRegexChars(str);
240
- exports$1.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
241
- exports$1.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
237
+ exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
238
+ exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
239
+ exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
240
+ exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
241
+ exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
242
242
 
243
- exports$1.removeBackslashes = str => {
243
+ exports.removeBackslashes = str => {
244
244
  return str.replace(REGEX_REMOVE_BACKSLASH, match => {
245
245
  return match === '\\' ? '' : match;
246
246
  });
247
247
  };
248
248
 
249
- exports$1.supportsLookbehinds = () => {
249
+ exports.supportsLookbehinds = () => {
250
250
  const segs = process.version.slice(1).split('.').map(Number);
251
251
  if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
252
252
  return true;
@@ -254,21 +254,21 @@ function requireUtils$2 () {
254
254
  return false;
255
255
  };
256
256
 
257
- exports$1.isWindows = options => {
257
+ exports.isWindows = options => {
258
258
  if (options && typeof options.windows === 'boolean') {
259
259
  return options.windows;
260
260
  }
261
261
  return win32 === true || path.sep === '\\';
262
262
  };
263
263
 
264
- exports$1.escapeLast = (input, char, lastIdx) => {
264
+ exports.escapeLast = (input, char, lastIdx) => {
265
265
  const idx = input.lastIndexOf(char, lastIdx);
266
266
  if (idx === -1) return input;
267
- if (input[idx - 1] === '\\') return exports$1.escapeLast(input, char, idx - 1);
267
+ if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
268
268
  return `${input.slice(0, idx)}\\${input.slice(idx)}`;
269
269
  };
270
270
 
271
- exports$1.removePrefix = (input, state = {}) => {
271
+ exports.removePrefix = (input, state = {}) => {
272
272
  let output = input;
273
273
  if (output.startsWith('./')) {
274
274
  output = output.slice(2);
@@ -277,7 +277,7 @@ function requireUtils$2 () {
277
277
  return output;
278
278
  };
279
279
 
280
- exports$1.wrapOutput = (input, state = {}, options = {}) => {
280
+ exports.wrapOutput = (input, state = {}, options = {}) => {
281
281
  const prepend = options.contains ? '' : '^';
282
282
  const append = options.contains ? '' : '$';
283
283
 
@@ -2940,7 +2940,7 @@ var hasRequiredUtils$1;
2940
2940
  function requireUtils$1 () {
2941
2941
  if (hasRequiredUtils$1) return utils$1;
2942
2942
  hasRequiredUtils$1 = 1;
2943
- (function (exports$1) {
2943
+ (function (exports) {
2944
2944
 
2945
2945
  const path = require$$0$1;
2946
2946
  const win32 = process.platform === 'win32';
@@ -2951,19 +2951,19 @@ function requireUtils$1 () {
2951
2951
  REGEX_SPECIAL_CHARS_GLOBAL
2952
2952
  } = /*@__PURE__*/ requireConstants$2();
2953
2953
 
2954
- exports$1.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
2955
- exports$1.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
2956
- exports$1.isRegexChar = str => str.length === 1 && exports$1.hasRegexChars(str);
2957
- exports$1.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
2958
- exports$1.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
2954
+ exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
2955
+ exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
2956
+ exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
2957
+ exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
2958
+ exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
2959
2959
 
2960
- exports$1.removeBackslashes = str => {
2960
+ exports.removeBackslashes = str => {
2961
2961
  return str.replace(REGEX_REMOVE_BACKSLASH, match => {
2962
2962
  return match === '\\' ? '' : match;
2963
2963
  });
2964
2964
  };
2965
2965
 
2966
- exports$1.supportsLookbehinds = () => {
2966
+ exports.supportsLookbehinds = () => {
2967
2967
  const segs = process.version.slice(1).split('.').map(Number);
2968
2968
  if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
2969
2969
  return true;
@@ -2971,21 +2971,21 @@ function requireUtils$1 () {
2971
2971
  return false;
2972
2972
  };
2973
2973
 
2974
- exports$1.isWindows = options => {
2974
+ exports.isWindows = options => {
2975
2975
  if (options && typeof options.windows === 'boolean') {
2976
2976
  return options.windows;
2977
2977
  }
2978
2978
  return win32 === true || path.sep === '\\';
2979
2979
  };
2980
2980
 
2981
- exports$1.escapeLast = (input, char, lastIdx) => {
2981
+ exports.escapeLast = (input, char, lastIdx) => {
2982
2982
  const idx = input.lastIndexOf(char, lastIdx);
2983
2983
  if (idx === -1) return input;
2984
- if (input[idx - 1] === '\\') return exports$1.escapeLast(input, char, idx - 1);
2984
+ if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
2985
2985
  return `${input.slice(0, idx)}\\${input.slice(idx)}`;
2986
2986
  };
2987
2987
 
2988
- exports$1.removePrefix = (input, state = {}) => {
2988
+ exports.removePrefix = (input, state = {}) => {
2989
2989
  let output = input;
2990
2990
  if (output.startsWith('./')) {
2991
2991
  output = output.slice(2);
@@ -2994,7 +2994,7 @@ function requireUtils$1 () {
2994
2994
  return output;
2995
2995
  };
2996
2996
 
2997
- exports$1.wrapOutput = (input, state = {}, options = {}) => {
2997
+ exports.wrapOutput = (input, state = {}, options = {}) => {
2998
2998
  const prepend = options.contains ? '' : '^';
2999
2999
  const append = options.contains ? '' : '$';
3000
3000
 
@@ -5563,9 +5563,9 @@ var hasRequiredUtils;
5563
5563
  function requireUtils () {
5564
5564
  if (hasRequiredUtils) return utils;
5565
5565
  hasRequiredUtils = 1;
5566
- (function (exports$1) {
5566
+ (function (exports) {
5567
5567
 
5568
- exports$1.isInteger = num => {
5568
+ exports.isInteger = num => {
5569
5569
  if (typeof num === 'number') {
5570
5570
  return Number.isInteger(num);
5571
5571
  }
@@ -5579,15 +5579,15 @@ function requireUtils () {
5579
5579
  * Find a node of the given type
5580
5580
  */
5581
5581
 
5582
- exports$1.find = (node, type) => node.nodes.find(node => node.type === type);
5582
+ exports.find = (node, type) => node.nodes.find(node => node.type === type);
5583
5583
 
5584
5584
  /**
5585
5585
  * Find a node of the given type
5586
5586
  */
5587
5587
 
5588
- exports$1.exceedsLimit = (min, max, step = 1, limit) => {
5588
+ exports.exceedsLimit = (min, max, step = 1, limit) => {
5589
5589
  if (limit === false) return false;
5590
- if (!exports$1.isInteger(min) || !exports$1.isInteger(max)) return false;
5590
+ if (!exports.isInteger(min) || !exports.isInteger(max)) return false;
5591
5591
  return ((Number(max) - Number(min)) / Number(step)) >= limit;
5592
5592
  };
5593
5593
 
@@ -5595,7 +5595,7 @@ function requireUtils () {
5595
5595
  * Escape the given node with '\\' before node.value
5596
5596
  */
5597
5597
 
5598
- exports$1.escapeNode = (block, n = 0, type) => {
5598
+ exports.escapeNode = (block, n = 0, type) => {
5599
5599
  const node = block.nodes[n];
5600
5600
  if (!node) return;
5601
5601
 
@@ -5611,7 +5611,7 @@ function requireUtils () {
5611
5611
  * Returns true if the given brace node should be enclosed in literal braces
5612
5612
  */
5613
5613
 
5614
- exports$1.encloseBrace = node => {
5614
+ exports.encloseBrace = node => {
5615
5615
  if (node.type !== 'brace') return false;
5616
5616
  if ((node.commas >> 0 + node.ranges >> 0) === 0) {
5617
5617
  node.invalid = true;
@@ -5624,7 +5624,7 @@ function requireUtils () {
5624
5624
  * Returns true if a brace node is invalid.
5625
5625
  */
5626
5626
 
5627
- exports$1.isInvalidBrace = block => {
5627
+ exports.isInvalidBrace = block => {
5628
5628
  if (block.type !== 'brace') return false;
5629
5629
  if (block.invalid === true || block.dollar) return true;
5630
5630
  if ((block.commas >> 0 + block.ranges >> 0) === 0) {
@@ -5642,7 +5642,7 @@ function requireUtils () {
5642
5642
  * Returns true if a node is an open or close node
5643
5643
  */
5644
5644
 
5645
- exports$1.isOpenOrClose = node => {
5645
+ exports.isOpenOrClose = node => {
5646
5646
  if (node.type === 'open' || node.type === 'close') {
5647
5647
  return true;
5648
5648
  }
@@ -5653,7 +5653,7 @@ function requireUtils () {
5653
5653
  * Reduce an array of text nodes.
5654
5654
  */
5655
5655
 
5656
- exports$1.reduce = nodes => nodes.reduce((acc, node) => {
5656
+ exports.reduce = nodes => nodes.reduce((acc, node) => {
5657
5657
  if (node.type === 'text') acc.push(node.value);
5658
5658
  if (node.type === 'range') node.type = 'text';
5659
5659
  return acc;
@@ -5663,7 +5663,7 @@ function requireUtils () {
5663
5663
  * Flatten an array
5664
5664
  */
5665
5665
 
5666
- exports$1.flatten = (...args) => {
5666
+ exports.flatten = (...args) => {
5667
5667
  const result = [];
5668
5668
 
5669
5669
  const flat = arr => {
@@ -7373,72 +7373,72 @@ var hasRequiredConstants;
7373
7373
  function requireConstants () {
7374
7374
  if (hasRequiredConstants) return constants;
7375
7375
  hasRequiredConstants = 1;
7376
- (function (exports$1) {
7376
+ (function (exports) {
7377
7377
 
7378
7378
  const {sep} = require$$0$1;
7379
7379
  const {platform} = process;
7380
7380
  const os = require$$2$1;
7381
7381
 
7382
- exports$1.EV_ALL = 'all';
7383
- exports$1.EV_READY = 'ready';
7384
- exports$1.EV_ADD = 'add';
7385
- exports$1.EV_CHANGE = 'change';
7386
- exports$1.EV_ADD_DIR = 'addDir';
7387
- exports$1.EV_UNLINK = 'unlink';
7388
- exports$1.EV_UNLINK_DIR = 'unlinkDir';
7389
- exports$1.EV_RAW = 'raw';
7390
- exports$1.EV_ERROR = 'error';
7391
-
7392
- exports$1.STR_DATA = 'data';
7393
- exports$1.STR_END = 'end';
7394
- exports$1.STR_CLOSE = 'close';
7395
-
7396
- exports$1.FSEVENT_CREATED = 'created';
7397
- exports$1.FSEVENT_MODIFIED = 'modified';
7398
- exports$1.FSEVENT_DELETED = 'deleted';
7399
- exports$1.FSEVENT_MOVED = 'moved';
7400
- exports$1.FSEVENT_CLONED = 'cloned';
7401
- exports$1.FSEVENT_UNKNOWN = 'unknown';
7402
- exports$1.FSEVENT_FLAG_MUST_SCAN_SUBDIRS = 1;
7403
- exports$1.FSEVENT_TYPE_FILE = 'file';
7404
- exports$1.FSEVENT_TYPE_DIRECTORY = 'directory';
7405
- exports$1.FSEVENT_TYPE_SYMLINK = 'symlink';
7406
-
7407
- exports$1.KEY_LISTENERS = 'listeners';
7408
- exports$1.KEY_ERR = 'errHandlers';
7409
- exports$1.KEY_RAW = 'rawEmitters';
7410
- exports$1.HANDLER_KEYS = [exports$1.KEY_LISTENERS, exports$1.KEY_ERR, exports$1.KEY_RAW];
7411
-
7412
- exports$1.DOT_SLASH = `.${sep}`;
7413
-
7414
- exports$1.BACK_SLASH_RE = /\\/g;
7415
- exports$1.DOUBLE_SLASH_RE = /\/\//;
7416
- exports$1.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
7417
- exports$1.DOT_RE = /\..*\.(sw[px])$|~$|\.subl.*\.tmp/;
7418
- exports$1.REPLACER_RE = /^\.[/\\]/;
7419
-
7420
- exports$1.SLASH = '/';
7421
- exports$1.SLASH_SLASH = '//';
7422
- exports$1.BRACE_START = '{';
7423
- exports$1.BANG = '!';
7424
- exports$1.ONE_DOT = '.';
7425
- exports$1.TWO_DOTS = '..';
7426
- exports$1.STAR = '*';
7427
- exports$1.GLOBSTAR = '**';
7428
- exports$1.ROOT_GLOBSTAR = '/**/*';
7429
- exports$1.SLASH_GLOBSTAR = '/**';
7430
- exports$1.DIR_SUFFIX = 'Dir';
7431
- exports$1.ANYMATCH_OPTS = {dot: true};
7432
- exports$1.STRING_TYPE = 'string';
7433
- exports$1.FUNCTION_TYPE = 'function';
7434
- exports$1.EMPTY_STR = '';
7435
- exports$1.EMPTY_FN = () => {};
7436
- exports$1.IDENTITY_FN = val => val;
7437
-
7438
- exports$1.isWindows = platform === 'win32';
7439
- exports$1.isMacos = platform === 'darwin';
7440
- exports$1.isLinux = platform === 'linux';
7441
- exports$1.isIBMi = os.type() === 'OS400';
7382
+ exports.EV_ALL = 'all';
7383
+ exports.EV_READY = 'ready';
7384
+ exports.EV_ADD = 'add';
7385
+ exports.EV_CHANGE = 'change';
7386
+ exports.EV_ADD_DIR = 'addDir';
7387
+ exports.EV_UNLINK = 'unlink';
7388
+ exports.EV_UNLINK_DIR = 'unlinkDir';
7389
+ exports.EV_RAW = 'raw';
7390
+ exports.EV_ERROR = 'error';
7391
+
7392
+ exports.STR_DATA = 'data';
7393
+ exports.STR_END = 'end';
7394
+ exports.STR_CLOSE = 'close';
7395
+
7396
+ exports.FSEVENT_CREATED = 'created';
7397
+ exports.FSEVENT_MODIFIED = 'modified';
7398
+ exports.FSEVENT_DELETED = 'deleted';
7399
+ exports.FSEVENT_MOVED = 'moved';
7400
+ exports.FSEVENT_CLONED = 'cloned';
7401
+ exports.FSEVENT_UNKNOWN = 'unknown';
7402
+ exports.FSEVENT_FLAG_MUST_SCAN_SUBDIRS = 1;
7403
+ exports.FSEVENT_TYPE_FILE = 'file';
7404
+ exports.FSEVENT_TYPE_DIRECTORY = 'directory';
7405
+ exports.FSEVENT_TYPE_SYMLINK = 'symlink';
7406
+
7407
+ exports.KEY_LISTENERS = 'listeners';
7408
+ exports.KEY_ERR = 'errHandlers';
7409
+ exports.KEY_RAW = 'rawEmitters';
7410
+ exports.HANDLER_KEYS = [exports.KEY_LISTENERS, exports.KEY_ERR, exports.KEY_RAW];
7411
+
7412
+ exports.DOT_SLASH = `.${sep}`;
7413
+
7414
+ exports.BACK_SLASH_RE = /\\/g;
7415
+ exports.DOUBLE_SLASH_RE = /\/\//;
7416
+ exports.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
7417
+ exports.DOT_RE = /\..*\.(sw[px])$|~$|\.subl.*\.tmp/;
7418
+ exports.REPLACER_RE = /^\.[/\\]/;
7419
+
7420
+ exports.SLASH = '/';
7421
+ exports.SLASH_SLASH = '//';
7422
+ exports.BRACE_START = '{';
7423
+ exports.BANG = '!';
7424
+ exports.ONE_DOT = '.';
7425
+ exports.TWO_DOTS = '..';
7426
+ exports.STAR = '*';
7427
+ exports.GLOBSTAR = '**';
7428
+ exports.ROOT_GLOBSTAR = '/**/*';
7429
+ exports.SLASH_GLOBSTAR = '/**';
7430
+ exports.DIR_SUFFIX = 'Dir';
7431
+ exports.ANYMATCH_OPTS = {dot: true};
7432
+ exports.STRING_TYPE = 'string';
7433
+ exports.FUNCTION_TYPE = 'function';
7434
+ exports.EMPTY_STR = '';
7435
+ exports.EMPTY_FN = () => {};
7436
+ exports.IDENTITY_FN = val => val;
7437
+
7438
+ exports.isWindows = platform === 'win32';
7439
+ exports.isMacos = platform === 'darwin';
7440
+ exports.isLinux = platform === 'linux';
7441
+ exports.isIBMi = os.type() === 'OS400';
7442
7442
  } (constants));
7443
7443
  return constants;
7444
7444
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.1
4
- Mon, 30 Mar 2026 04:32:12 GMT - commit ae871d762f6bbeb4320d28fe179211168f27a434
3
+ Rollup.js v4.60.3
4
+ Mon, 04 May 2026 15:33:41 GMT - commit b47bdabeccbb7aa1b1d4117f2f4a781a9f6de297
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.1
4
- Mon, 30 Mar 2026 04:32:12 GMT - commit ae871d762f6bbeb4320d28fe179211168f27a434
3
+ Rollup.js v4.60.3
4
+ Mon, 04 May 2026 15:33:41 GMT - commit b47bdabeccbb7aa1b1d4117f2f4a781a9f6de297
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/parseAst.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.1
4
- Mon, 30 Mar 2026 04:32:12 GMT - commit ae871d762f6bbeb4320d28fe179211168f27a434
3
+ Rollup.js v4.60.3
4
+ Mon, 04 May 2026 15:33:41 GMT - commit b47bdabeccbb7aa1b1d4117f2f4a781a9f6de297
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.1
4
- Mon, 30 Mar 2026 04:32:12 GMT - commit ae871d762f6bbeb4320d28fe179211168f27a434
3
+ Rollup.js v4.60.3
4
+ Mon, 04 May 2026 15:33:41 GMT - commit b47bdabeccbb7aa1b1d4117f2f4a781a9f6de297
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.1
4
- Mon, 30 Mar 2026 04:32:12 GMT - commit ae871d762f6bbeb4320d28fe179211168f27a434
3
+ Rollup.js v4.60.3
4
+ Mon, 04 May 2026 15:33:41 GMT - commit b47bdabeccbb7aa1b1d4117f2f4a781a9f6de297
5
5
 
6
6
  https://github.com/rollup/rollup
7
7