rollup 4.60.2 → 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.2
4
- Sat, 18 Apr 2026 13:58:01 GMT - commit a6be82b8abd747458afdc7484319f7b5deb92535
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
 
@@ -219,7 +219,7 @@ var hasRequiredUtils$2;
219
219
  function requireUtils$2 () {
220
220
  if (hasRequiredUtils$2) return utils$2;
221
221
  hasRequiredUtils$2 = 1;
222
- (function (exports$1) {
222
+ (function (exports) {
223
223
 
224
224
  const path = require$$0$1;
225
225
  const win32 = process.platform === 'win32';
@@ -230,19 +230,19 @@ function requireUtils$2 () {
230
230
  REGEX_SPECIAL_CHARS_GLOBAL
231
231
  } = /*@__PURE__*/ requireConstants$3();
232
232
 
233
- exports$1.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
234
- exports$1.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
235
- exports$1.isRegexChar = str => str.length === 1 && exports$1.hasRegexChars(str);
236
- exports$1.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
237
- exports$1.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
233
+ exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
234
+ exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
235
+ exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
236
+ exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
237
+ exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
238
238
 
239
- exports$1.removeBackslashes = str => {
239
+ exports.removeBackslashes = str => {
240
240
  return str.replace(REGEX_REMOVE_BACKSLASH, match => {
241
241
  return match === '\\' ? '' : match;
242
242
  });
243
243
  };
244
244
 
245
- exports$1.supportsLookbehinds = () => {
245
+ exports.supportsLookbehinds = () => {
246
246
  const segs = process.version.slice(1).split('.').map(Number);
247
247
  if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
248
248
  return true;
@@ -250,21 +250,21 @@ function requireUtils$2 () {
250
250
  return false;
251
251
  };
252
252
 
253
- exports$1.isWindows = options => {
253
+ exports.isWindows = options => {
254
254
  if (options && typeof options.windows === 'boolean') {
255
255
  return options.windows;
256
256
  }
257
257
  return win32 === true || path.sep === '\\';
258
258
  };
259
259
 
260
- exports$1.escapeLast = (input, char, lastIdx) => {
260
+ exports.escapeLast = (input, char, lastIdx) => {
261
261
  const idx = input.lastIndexOf(char, lastIdx);
262
262
  if (idx === -1) return input;
263
- if (input[idx - 1] === '\\') return exports$1.escapeLast(input, char, idx - 1);
263
+ if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
264
264
  return `${input.slice(0, idx)}\\${input.slice(idx)}`;
265
265
  };
266
266
 
267
- exports$1.removePrefix = (input, state = {}) => {
267
+ exports.removePrefix = (input, state = {}) => {
268
268
  let output = input;
269
269
  if (output.startsWith('./')) {
270
270
  output = output.slice(2);
@@ -273,7 +273,7 @@ function requireUtils$2 () {
273
273
  return output;
274
274
  };
275
275
 
276
- exports$1.wrapOutput = (input, state = {}, options = {}) => {
276
+ exports.wrapOutput = (input, state = {}, options = {}) => {
277
277
  const prepend = options.contains ? '' : '^';
278
278
  const append = options.contains ? '' : '$';
279
279
 
@@ -2936,7 +2936,7 @@ var hasRequiredUtils$1;
2936
2936
  function requireUtils$1 () {
2937
2937
  if (hasRequiredUtils$1) return utils$1;
2938
2938
  hasRequiredUtils$1 = 1;
2939
- (function (exports$1) {
2939
+ (function (exports) {
2940
2940
 
2941
2941
  const path = require$$0$1;
2942
2942
  const win32 = process.platform === 'win32';
@@ -2947,19 +2947,19 @@ function requireUtils$1 () {
2947
2947
  REGEX_SPECIAL_CHARS_GLOBAL
2948
2948
  } = /*@__PURE__*/ requireConstants$2();
2949
2949
 
2950
- exports$1.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
2951
- exports$1.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
2952
- exports$1.isRegexChar = str => str.length === 1 && exports$1.hasRegexChars(str);
2953
- exports$1.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
2954
- exports$1.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
2950
+ exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
2951
+ exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
2952
+ exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
2953
+ exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
2954
+ exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
2955
2955
 
2956
- exports$1.removeBackslashes = str => {
2956
+ exports.removeBackslashes = str => {
2957
2957
  return str.replace(REGEX_REMOVE_BACKSLASH, match => {
2958
2958
  return match === '\\' ? '' : match;
2959
2959
  });
2960
2960
  };
2961
2961
 
2962
- exports$1.supportsLookbehinds = () => {
2962
+ exports.supportsLookbehinds = () => {
2963
2963
  const segs = process.version.slice(1).split('.').map(Number);
2964
2964
  if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
2965
2965
  return true;
@@ -2967,21 +2967,21 @@ function requireUtils$1 () {
2967
2967
  return false;
2968
2968
  };
2969
2969
 
2970
- exports$1.isWindows = options => {
2970
+ exports.isWindows = options => {
2971
2971
  if (options && typeof options.windows === 'boolean') {
2972
2972
  return options.windows;
2973
2973
  }
2974
2974
  return win32 === true || path.sep === '\\';
2975
2975
  };
2976
2976
 
2977
- exports$1.escapeLast = (input, char, lastIdx) => {
2977
+ exports.escapeLast = (input, char, lastIdx) => {
2978
2978
  const idx = input.lastIndexOf(char, lastIdx);
2979
2979
  if (idx === -1) return input;
2980
- if (input[idx - 1] === '\\') return exports$1.escapeLast(input, char, idx - 1);
2980
+ if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
2981
2981
  return `${input.slice(0, idx)}\\${input.slice(idx)}`;
2982
2982
  };
2983
2983
 
2984
- exports$1.removePrefix = (input, state = {}) => {
2984
+ exports.removePrefix = (input, state = {}) => {
2985
2985
  let output = input;
2986
2986
  if (output.startsWith('./')) {
2987
2987
  output = output.slice(2);
@@ -2990,7 +2990,7 @@ function requireUtils$1 () {
2990
2990
  return output;
2991
2991
  };
2992
2992
 
2993
- exports$1.wrapOutput = (input, state = {}, options = {}) => {
2993
+ exports.wrapOutput = (input, state = {}, options = {}) => {
2994
2994
  const prepend = options.contains ? '' : '^';
2995
2995
  const append = options.contains ? '' : '$';
2996
2996
 
@@ -5559,9 +5559,9 @@ var hasRequiredUtils;
5559
5559
  function requireUtils () {
5560
5560
  if (hasRequiredUtils) return utils;
5561
5561
  hasRequiredUtils = 1;
5562
- (function (exports$1) {
5562
+ (function (exports) {
5563
5563
 
5564
- exports$1.isInteger = num => {
5564
+ exports.isInteger = num => {
5565
5565
  if (typeof num === 'number') {
5566
5566
  return Number.isInteger(num);
5567
5567
  }
@@ -5575,15 +5575,15 @@ function requireUtils () {
5575
5575
  * Find a node of the given type
5576
5576
  */
5577
5577
 
5578
- exports$1.find = (node, type) => node.nodes.find(node => node.type === type);
5578
+ exports.find = (node, type) => node.nodes.find(node => node.type === type);
5579
5579
 
5580
5580
  /**
5581
5581
  * Find a node of the given type
5582
5582
  */
5583
5583
 
5584
- exports$1.exceedsLimit = (min, max, step = 1, limit) => {
5584
+ exports.exceedsLimit = (min, max, step = 1, limit) => {
5585
5585
  if (limit === false) return false;
5586
- if (!exports$1.isInteger(min) || !exports$1.isInteger(max)) return false;
5586
+ if (!exports.isInteger(min) || !exports.isInteger(max)) return false;
5587
5587
  return ((Number(max) - Number(min)) / Number(step)) >= limit;
5588
5588
  };
5589
5589
 
@@ -5591,7 +5591,7 @@ function requireUtils () {
5591
5591
  * Escape the given node with '\\' before node.value
5592
5592
  */
5593
5593
 
5594
- exports$1.escapeNode = (block, n = 0, type) => {
5594
+ exports.escapeNode = (block, n = 0, type) => {
5595
5595
  const node = block.nodes[n];
5596
5596
  if (!node) return;
5597
5597
 
@@ -5607,7 +5607,7 @@ function requireUtils () {
5607
5607
  * Returns true if the given brace node should be enclosed in literal braces
5608
5608
  */
5609
5609
 
5610
- exports$1.encloseBrace = node => {
5610
+ exports.encloseBrace = node => {
5611
5611
  if (node.type !== 'brace') return false;
5612
5612
  if ((node.commas >> 0 + node.ranges >> 0) === 0) {
5613
5613
  node.invalid = true;
@@ -5620,7 +5620,7 @@ function requireUtils () {
5620
5620
  * Returns true if a brace node is invalid.
5621
5621
  */
5622
5622
 
5623
- exports$1.isInvalidBrace = block => {
5623
+ exports.isInvalidBrace = block => {
5624
5624
  if (block.type !== 'brace') return false;
5625
5625
  if (block.invalid === true || block.dollar) return true;
5626
5626
  if ((block.commas >> 0 + block.ranges >> 0) === 0) {
@@ -5638,7 +5638,7 @@ function requireUtils () {
5638
5638
  * Returns true if a node is an open or close node
5639
5639
  */
5640
5640
 
5641
- exports$1.isOpenOrClose = node => {
5641
+ exports.isOpenOrClose = node => {
5642
5642
  if (node.type === 'open' || node.type === 'close') {
5643
5643
  return true;
5644
5644
  }
@@ -5649,7 +5649,7 @@ function requireUtils () {
5649
5649
  * Reduce an array of text nodes.
5650
5650
  */
5651
5651
 
5652
- exports$1.reduce = nodes => nodes.reduce((acc, node) => {
5652
+ exports.reduce = nodes => nodes.reduce((acc, node) => {
5653
5653
  if (node.type === 'text') acc.push(node.value);
5654
5654
  if (node.type === 'range') node.type = 'text';
5655
5655
  return acc;
@@ -5659,7 +5659,7 @@ function requireUtils () {
5659
5659
  * Flatten an array
5660
5660
  */
5661
5661
 
5662
- exports$1.flatten = (...args) => {
5662
+ exports.flatten = (...args) => {
5663
5663
  const result = [];
5664
5664
 
5665
5665
  const flat = arr => {
@@ -7369,72 +7369,72 @@ var hasRequiredConstants;
7369
7369
  function requireConstants () {
7370
7370
  if (hasRequiredConstants) return constants;
7371
7371
  hasRequiredConstants = 1;
7372
- (function (exports$1) {
7372
+ (function (exports) {
7373
7373
 
7374
7374
  const {sep} = require$$0$1;
7375
7375
  const {platform} = process;
7376
7376
  const os = require$$2$1;
7377
7377
 
7378
- exports$1.EV_ALL = 'all';
7379
- exports$1.EV_READY = 'ready';
7380
- exports$1.EV_ADD = 'add';
7381
- exports$1.EV_CHANGE = 'change';
7382
- exports$1.EV_ADD_DIR = 'addDir';
7383
- exports$1.EV_UNLINK = 'unlink';
7384
- exports$1.EV_UNLINK_DIR = 'unlinkDir';
7385
- exports$1.EV_RAW = 'raw';
7386
- exports$1.EV_ERROR = 'error';
7387
-
7388
- exports$1.STR_DATA = 'data';
7389
- exports$1.STR_END = 'end';
7390
- exports$1.STR_CLOSE = 'close';
7391
-
7392
- exports$1.FSEVENT_CREATED = 'created';
7393
- exports$1.FSEVENT_MODIFIED = 'modified';
7394
- exports$1.FSEVENT_DELETED = 'deleted';
7395
- exports$1.FSEVENT_MOVED = 'moved';
7396
- exports$1.FSEVENT_CLONED = 'cloned';
7397
- exports$1.FSEVENT_UNKNOWN = 'unknown';
7398
- exports$1.FSEVENT_FLAG_MUST_SCAN_SUBDIRS = 1;
7399
- exports$1.FSEVENT_TYPE_FILE = 'file';
7400
- exports$1.FSEVENT_TYPE_DIRECTORY = 'directory';
7401
- exports$1.FSEVENT_TYPE_SYMLINK = 'symlink';
7402
-
7403
- exports$1.KEY_LISTENERS = 'listeners';
7404
- exports$1.KEY_ERR = 'errHandlers';
7405
- exports$1.KEY_RAW = 'rawEmitters';
7406
- exports$1.HANDLER_KEYS = [exports$1.KEY_LISTENERS, exports$1.KEY_ERR, exports$1.KEY_RAW];
7407
-
7408
- exports$1.DOT_SLASH = `.${sep}`;
7409
-
7410
- exports$1.BACK_SLASH_RE = /\\/g;
7411
- exports$1.DOUBLE_SLASH_RE = /\/\//;
7412
- exports$1.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
7413
- exports$1.DOT_RE = /\..*\.(sw[px])$|~$|\.subl.*\.tmp/;
7414
- exports$1.REPLACER_RE = /^\.[/\\]/;
7415
-
7416
- exports$1.SLASH = '/';
7417
- exports$1.SLASH_SLASH = '//';
7418
- exports$1.BRACE_START = '{';
7419
- exports$1.BANG = '!';
7420
- exports$1.ONE_DOT = '.';
7421
- exports$1.TWO_DOTS = '..';
7422
- exports$1.STAR = '*';
7423
- exports$1.GLOBSTAR = '**';
7424
- exports$1.ROOT_GLOBSTAR = '/**/*';
7425
- exports$1.SLASH_GLOBSTAR = '/**';
7426
- exports$1.DIR_SUFFIX = 'Dir';
7427
- exports$1.ANYMATCH_OPTS = {dot: true};
7428
- exports$1.STRING_TYPE = 'string';
7429
- exports$1.FUNCTION_TYPE = 'function';
7430
- exports$1.EMPTY_STR = '';
7431
- exports$1.EMPTY_FN = () => {};
7432
- exports$1.IDENTITY_FN = val => val;
7433
-
7434
- exports$1.isWindows = platform === 'win32';
7435
- exports$1.isMacos = platform === 'darwin';
7436
- exports$1.isLinux = platform === 'linux';
7437
- exports$1.isIBMi = os.type() === 'OS400';
7378
+ exports.EV_ALL = 'all';
7379
+ exports.EV_READY = 'ready';
7380
+ exports.EV_ADD = 'add';
7381
+ exports.EV_CHANGE = 'change';
7382
+ exports.EV_ADD_DIR = 'addDir';
7383
+ exports.EV_UNLINK = 'unlink';
7384
+ exports.EV_UNLINK_DIR = 'unlinkDir';
7385
+ exports.EV_RAW = 'raw';
7386
+ exports.EV_ERROR = 'error';
7387
+
7388
+ exports.STR_DATA = 'data';
7389
+ exports.STR_END = 'end';
7390
+ exports.STR_CLOSE = 'close';
7391
+
7392
+ exports.FSEVENT_CREATED = 'created';
7393
+ exports.FSEVENT_MODIFIED = 'modified';
7394
+ exports.FSEVENT_DELETED = 'deleted';
7395
+ exports.FSEVENT_MOVED = 'moved';
7396
+ exports.FSEVENT_CLONED = 'cloned';
7397
+ exports.FSEVENT_UNKNOWN = 'unknown';
7398
+ exports.FSEVENT_FLAG_MUST_SCAN_SUBDIRS = 1;
7399
+ exports.FSEVENT_TYPE_FILE = 'file';
7400
+ exports.FSEVENT_TYPE_DIRECTORY = 'directory';
7401
+ exports.FSEVENT_TYPE_SYMLINK = 'symlink';
7402
+
7403
+ exports.KEY_LISTENERS = 'listeners';
7404
+ exports.KEY_ERR = 'errHandlers';
7405
+ exports.KEY_RAW = 'rawEmitters';
7406
+ exports.HANDLER_KEYS = [exports.KEY_LISTENERS, exports.KEY_ERR, exports.KEY_RAW];
7407
+
7408
+ exports.DOT_SLASH = `.${sep}`;
7409
+
7410
+ exports.BACK_SLASH_RE = /\\/g;
7411
+ exports.DOUBLE_SLASH_RE = /\/\//;
7412
+ exports.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
7413
+ exports.DOT_RE = /\..*\.(sw[px])$|~$|\.subl.*\.tmp/;
7414
+ exports.REPLACER_RE = /^\.[/\\]/;
7415
+
7416
+ exports.SLASH = '/';
7417
+ exports.SLASH_SLASH = '//';
7418
+ exports.BRACE_START = '{';
7419
+ exports.BANG = '!';
7420
+ exports.ONE_DOT = '.';
7421
+ exports.TWO_DOTS = '..';
7422
+ exports.STAR = '*';
7423
+ exports.GLOBSTAR = '**';
7424
+ exports.ROOT_GLOBSTAR = '/**/*';
7425
+ exports.SLASH_GLOBSTAR = '/**';
7426
+ exports.DIR_SUFFIX = 'Dir';
7427
+ exports.ANYMATCH_OPTS = {dot: true};
7428
+ exports.STRING_TYPE = 'string';
7429
+ exports.FUNCTION_TYPE = 'function';
7430
+ exports.EMPTY_STR = '';
7431
+ exports.EMPTY_FN = () => {};
7432
+ exports.IDENTITY_FN = val => val;
7433
+
7434
+ exports.isWindows = platform === 'win32';
7435
+ exports.isMacos = platform === 'darwin';
7436
+ exports.isLinux = platform === 'linux';
7437
+ exports.isIBMi = os.type() === 'OS400';
7438
7438
  } (constants));
7439
7439
  return constants;
7440
7440
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.2
4
- Sat, 18 Apr 2026 13:58:01 GMT - commit a6be82b8abd747458afdc7484319f7b5deb92535
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.2
4
- Sat, 18 Apr 2026 13:58:01 GMT - commit a6be82b8abd747458afdc7484319f7b5deb92535
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