rollup 4.34.6 → 4.34.7

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 CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
3
  @license
4
- Rollup.js v4.34.6
5
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
4
+ Rollup.js v4.34.7
5
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -15,7 +15,7 @@ import process$1, { env } from 'node:process';
15
15
  import { performance } from 'node:perf_hooks';
16
16
  import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
17
17
 
18
- var version = "4.34.6";
18
+ var version = "4.34.7";
19
19
 
20
20
  const comma = ','.charCodeAt(0);
21
21
  const semicolon = ';'.charCodeAt(0);
@@ -2269,13 +2269,8 @@ class ExpressionEntity {
2269
2269
  * ensures that nested nodes are included while the latter ensures that all
2270
2270
  * paths of the expression are included.
2271
2271
  * */
2272
- includeCallArguments(context, interaction) {
2273
- for (const argument of interaction.args) {
2274
- if (argument) {
2275
- argument.includePath(UNKNOWN_PATH, context);
2276
- argument.include(context, false);
2277
- }
2278
- }
2272
+ includeCallArguments(interaction, context) {
2273
+ includeInteraction(interaction, context);
2279
2274
  }
2280
2275
  shouldBeIncluded(_context) {
2281
2276
  return true;
@@ -2292,6 +2287,18 @@ const deoptimizeInteraction = (interaction) => {
2292
2287
  argument?.deoptimizePath(UNKNOWN_PATH);
2293
2288
  }
2294
2289
  };
2290
+ const includeInteraction = ({ args }, context) => {
2291
+ // We do not re-include the "this" argument as we expect this is already
2292
+ // re-included at the call site
2293
+ args[0]?.includePath(UNKNOWN_PATH, context);
2294
+ for (let argumentIndex = 1; argumentIndex < args.length; argumentIndex++) {
2295
+ const argument = args[argumentIndex];
2296
+ if (argument) {
2297
+ argument.includePath(UNKNOWN_PATH, context);
2298
+ argument.include(context, false);
2299
+ }
2300
+ }
2301
+ };
2295
2302
 
2296
2303
  const INTERACTION_ACCESSED = 0;
2297
2304
  const INTERACTION_ASSIGNED = 1;
@@ -3194,13 +3201,11 @@ class Method extends ExpressionEntity {
3194
3201
  false
3195
3202
  ];
3196
3203
  }
3197
- hasEffectsOnInteractionAtPath(path, interaction, context) {
3198
- const { type } = interaction;
3204
+ hasEffectsOnInteractionAtPath(path, { args, type }, context) {
3199
3205
  if (path.length > (type === INTERACTION_ACCESSED ? 1 : 0)) {
3200
3206
  return true;
3201
3207
  }
3202
3208
  if (type === INTERACTION_CALLED) {
3203
- const { args } = interaction;
3204
3209
  if (this.description.mutatesSelfAsArray === true &&
3205
3210
  args[0]?.hasEffectsOnInteractionAtPath(UNKNOWN_INTEGER_PATH, NODE_INTERACTION_UNKNOWN_ASSIGNMENT, context)) {
3206
3211
  return true;
@@ -5105,22 +5110,17 @@ class LocalVariable extends Variable {
5105
5110
  }
5106
5111
  }
5107
5112
  }
5108
- includeCallArguments(context, interaction) {
5113
+ includeCallArguments(interaction, context) {
5109
5114
  if (this.isReassigned ||
5110
5115
  context.includedCallArguments.has(this.init) ||
5111
5116
  // This can be removed again once we can include arguments when called at
5112
5117
  // a specific path
5113
5118
  this.initPath.length > 0) {
5114
- for (const argument of interaction.args) {
5115
- if (argument) {
5116
- argument.includePath(UNKNOWN_PATH, context);
5117
- argument.include(context, false);
5118
- }
5119
- }
5119
+ includeInteraction(interaction, context);
5120
5120
  }
5121
5121
  else {
5122
5122
  context.includedCallArguments.add(this.init);
5123
- this.init.includeCallArguments(context, interaction);
5123
+ this.init.includeCallArguments(interaction, context);
5124
5124
  context.includedCallArguments.delete(this.init);
5125
5125
  }
5126
5126
  }
@@ -5200,9 +5200,12 @@ class IdentifierBase extends NodeBase {
5200
5200
  }
5201
5201
  }
5202
5202
  }
5203
- include(context) {
5203
+ include(context, includeChildrenRecursively) {
5204
5204
  if (!this.included)
5205
5205
  this.includeNode(context);
5206
+ if (includeChildrenRecursively) {
5207
+ this.variable?.includePath(UNKNOWN_PATH, context);
5208
+ }
5206
5209
  }
5207
5210
  includeNode(context) {
5208
5211
  this.included = true;
@@ -5225,8 +5228,8 @@ class IdentifierBase extends NodeBase {
5225
5228
  this.variable?.includePath(path, context);
5226
5229
  }
5227
5230
  }
5228
- includeCallArguments(context, interaction) {
5229
- this.variable.includeCallArguments(context, interaction);
5231
+ includeCallArguments(interaction, context) {
5232
+ this.variable.includeCallArguments(interaction, context);
5230
5233
  }
5231
5234
  isPossibleTDZ() {
5232
5235
  // return cached value to avoid issues with the next tree-shaking pass
@@ -5784,7 +5787,7 @@ class ClassNode extends NodeBase {
5784
5787
  decorator.include(context, includeChildrenRecursively);
5785
5788
  if (this.id) {
5786
5789
  this.id.markDeclarationReached();
5787
- this.id.include(context);
5790
+ this.id.include(context, includeChildrenRecursively);
5788
5791
  }
5789
5792
  }
5790
5793
  initialise() {
@@ -5951,7 +5954,7 @@ class ParameterVariable extends LocalVariable {
5951
5954
  this.knownValue = null;
5952
5955
  this.knownValueLiteral = UnknownValue;
5953
5956
  }
5954
- addArgumentValue(entity) {
5957
+ addArgumentForDeoptimization(entity) {
5955
5958
  this.updateKnownValue(entity);
5956
5959
  if (entity === UNKNOWN_EXPRESSION) {
5957
5960
  // As unknown expressions fully deoptimize all interactions, we can clear
@@ -6240,11 +6243,10 @@ class ParameterScope extends ChildScope {
6240
6243
  }
6241
6244
  this.hasRest = hasRest;
6242
6245
  }
6243
- includeCallArguments(context, interaction) {
6246
+ includeCallArguments({ args }, context) {
6244
6247
  let calledFromTryStatement = false;
6245
6248
  let argumentIncluded = false;
6246
6249
  const restParameter = this.hasRest && this.parameters[this.parameters.length - 1];
6247
- const { args } = interaction;
6248
6250
  let lastExplicitlyIncludedIndex = args.length - 1;
6249
6251
  // If there is a SpreadElement, we need to include all arguments after it
6250
6252
  // because we no longer know which argument corresponds to which parameter.
@@ -6305,9 +6307,8 @@ class ReturnValueScope extends ParameterScope {
6305
6307
  addReturnExpression(expression) {
6306
6308
  this.returnExpressions.push(expression);
6307
6309
  }
6308
- deoptimizeArgumentsOnCall(interaction) {
6310
+ deoptimizeArgumentsOnCall({ args }) {
6309
6311
  const { parameters } = this;
6310
- const { args } = interaction;
6311
6312
  let position = 0;
6312
6313
  for (; position < args.length - 1; position++) {
6313
6314
  // Only the "this" argument arg[0] can be null
@@ -6316,7 +6317,9 @@ class ReturnValueScope extends ParameterScope {
6316
6317
  // This deoptimizes the current and remaining parameters and arguments
6317
6318
  for (; position < parameters.length; position++) {
6318
6319
  args[position + 1]?.deoptimizePath(UNKNOWN_PATH);
6319
- parameters[position].forEach(variable => variable.markReassigned());
6320
+ for (const variable of parameters[position]) {
6321
+ variable.markReassigned();
6322
+ }
6320
6323
  }
6321
6324
  break;
6322
6325
  }
@@ -6327,7 +6330,7 @@ class ReturnValueScope extends ParameterScope {
6327
6330
  const variables = parameters[position];
6328
6331
  if (variables) {
6329
6332
  for (const variable of variables) {
6330
- variable.addArgumentValue(argument);
6333
+ variable.addArgumentForDeoptimization(argument);
6331
6334
  }
6332
6335
  }
6333
6336
  this.addArgumentToBeDeoptimized(argument);
@@ -6336,7 +6339,7 @@ class ReturnValueScope extends ParameterScope {
6336
6339
  const nonRestParameterLength = this.hasRest ? parameters.length - 1 : parameters.length;
6337
6340
  for (; position < nonRestParameterLength; position++) {
6338
6341
  for (const variable of parameters[position]) {
6339
- variable.addArgumentValue(UNDEFINED_EXPRESSION);
6342
+ variable.addArgumentForDeoptimization(UNDEFINED_EXPRESSION);
6340
6343
  }
6341
6344
  }
6342
6345
  }
@@ -6385,8 +6388,8 @@ class FunctionScope extends ReturnValueScope {
6385
6388
  findLexicalBoundary() {
6386
6389
  return this;
6387
6390
  }
6388
- includeCallArguments(context, interaction) {
6389
- super.includeCallArguments(context, interaction);
6391
+ includeCallArguments(interaction, context) {
6392
+ super.includeCallArguments(interaction, context);
6390
6393
  if (this.argumentsVariable.included) {
6391
6394
  const { args } = interaction;
6392
6395
  for (let argumentIndex = 1; argumentIndex < args.length; argumentIndex++) {
@@ -6713,13 +6716,13 @@ class FunctionNode extends FunctionBase {
6713
6716
  this.constructedEntity = new ObjectEntity(Object.create(null), OBJECT_PROTOTYPE);
6714
6717
  // This makes sure that all deoptimizations of "this" are applied to the
6715
6718
  // constructed entity.
6716
- this.scope.thisVariable.addArgumentValue(this.constructedEntity);
6719
+ this.scope.thisVariable.addArgumentForDeoptimization(this.constructedEntity);
6717
6720
  }
6718
6721
  deoptimizeArgumentsOnInteractionAtPath(interaction, path, recursionTracker) {
6719
6722
  super.deoptimizeArgumentsOnInteractionAtPath(interaction, path, recursionTracker);
6720
6723
  if (interaction.type === INTERACTION_CALLED && path.length === 0 && interaction.args[0]) {
6721
6724
  // args[0] is the "this" argument
6722
- this.scope.thisVariable.addArgumentValue(interaction.args[0]);
6725
+ this.scope.thisVariable.addArgumentForDeoptimization(interaction.args[0]);
6723
6726
  }
6724
6727
  }
6725
6728
  hasEffects(context) {
@@ -6765,7 +6768,7 @@ class FunctionNode extends FunctionBase {
6765
6768
  }
6766
6769
  include(context, includeChildrenRecursively) {
6767
6770
  super.include(context, includeChildrenRecursively);
6768
- this.id?.include(context);
6771
+ this.id?.include(context, includeChildrenRecursively);
6769
6772
  const hasArguments = this.scope.argumentsVariable.included;
6770
6773
  for (const parameter of this.params) {
6771
6774
  if (!(parameter instanceof Identifier) || hasArguments) {
@@ -7450,6 +7453,17 @@ class MemberExpression extends NodeBase {
7450
7453
  this.object.includePath([this.propertyKey], context);
7451
7454
  }
7452
7455
  }
7456
+ includeNodeAsAssignmentTarget(context) {
7457
+ this.included = true;
7458
+ if (!this.assignmentDeoptimized)
7459
+ this.applyAssignmentDeoptimization();
7460
+ if (this.variable) {
7461
+ this.scope.context.includeVariableInModule(this.variable, EMPTY_PATH, context);
7462
+ }
7463
+ else if (!this.isUndefined) {
7464
+ this.object.includePath([this.propertyKey], context);
7465
+ }
7466
+ }
7453
7467
  includePath(path, context) {
7454
7468
  if (!this.included)
7455
7469
  this.includeNode(context);
@@ -7466,24 +7480,19 @@ class MemberExpression extends NodeBase {
7466
7480
  }
7467
7481
  }
7468
7482
  includeAsAssignmentTarget(context, includeChildrenRecursively, deoptimizeAccess) {
7469
- if (!this.assignmentDeoptimized)
7470
- this.applyAssignmentDeoptimization();
7471
- if (deoptimizeAccess) {
7472
- this.include(context, includeChildrenRecursively);
7473
- }
7474
- else {
7475
- if (!this.included)
7476
- this.includeNode(context);
7477
- this.object.include(context, includeChildrenRecursively);
7478
- this.property.include(context, includeChildrenRecursively);
7479
- }
7483
+ if (!this.included)
7484
+ this.includeNodeAsAssignmentTarget(context);
7485
+ if (deoptimizeAccess && !this.deoptimized)
7486
+ this.applyDeoptimizations();
7487
+ this.object.include(context, includeChildrenRecursively);
7488
+ this.property.include(context, includeChildrenRecursively);
7480
7489
  }
7481
- includeCallArguments(context, interaction) {
7490
+ includeCallArguments(interaction, context) {
7482
7491
  if (this.variable) {
7483
- this.variable.includeCallArguments(context, interaction);
7492
+ this.variable.includeCallArguments(interaction, context);
7484
7493
  }
7485
7494
  else {
7486
- super.includeCallArguments(context, interaction);
7495
+ includeInteraction(interaction, context);
7487
7496
  }
7488
7497
  }
7489
7498
  includeDestructuredIfNecessary(context, destructuredInitPath, init) {
@@ -11712,10 +11721,10 @@ class BreakStatement extends NodeBase {
11712
11721
  context.brokenFlow = true;
11713
11722
  return false;
11714
11723
  }
11715
- include(context) {
11724
+ include(context, includeChildrenRecursively) {
11716
11725
  this.included = true;
11717
11726
  if (this.label) {
11718
- this.label.include(context);
11727
+ this.label.include(context, includeChildrenRecursively);
11719
11728
  context.includedLabels.add(this.label.name);
11720
11729
  }
11721
11730
  else {
@@ -11915,11 +11924,7 @@ class CallExpression extends CallExpressionBase {
11915
11924
  if (!this.included)
11916
11925
  this.includeNode(context);
11917
11926
  if (includeChildrenRecursively) {
11918
- this.callee.include(context, true);
11919
- for (const argument of this.arguments) {
11920
- argument.includePath(UNKNOWN_PATH, context);
11921
- argument.include(context, true);
11922
- }
11927
+ super.include(context, true);
11923
11928
  if (includeChildrenRecursively === INCLUDE_PARAMETERS &&
11924
11929
  this.callee instanceof Identifier &&
11925
11930
  this.callee.variable) {
@@ -11927,17 +11932,8 @@ class CallExpression extends CallExpressionBase {
11927
11932
  }
11928
11933
  }
11929
11934
  else {
11930
- // If the callee is a member expression and does not have a variable, its
11931
- // object will already be included via the first argument of the
11932
- // interaction in includeCallArguments. Including it again can lead to
11933
- // severe performance problems.
11934
- if (this.callee instanceof MemberExpression && !this.callee.variable) {
11935
- this.callee.property.include(context, false);
11936
- }
11937
- else {
11938
- this.callee.include(context, false);
11939
- }
11940
- this.callee.includeCallArguments(context, this.interaction);
11935
+ this.callee.include(context, false);
11936
+ this.callee.includeCallArguments(this.interaction, context);
11941
11937
  }
11942
11938
  }
11943
11939
  includeNode(context) {
@@ -12198,14 +12194,14 @@ class ConditionalExpression extends NodeBase {
12198
12194
  usedBranch.includePath(path, context);
12199
12195
  }
12200
12196
  }
12201
- includeCallArguments(context, interaction) {
12197
+ includeCallArguments(interaction, context) {
12202
12198
  const usedBranch = this.getUsedBranch();
12203
12199
  if (usedBranch) {
12204
- usedBranch.includeCallArguments(context, interaction);
12200
+ usedBranch.includeCallArguments(interaction, context);
12205
12201
  }
12206
12202
  else {
12207
- this.consequent.includeCallArguments(context, interaction);
12208
- this.alternate.includeCallArguments(context, interaction);
12203
+ this.consequent.includeCallArguments(interaction, context);
12204
+ this.alternate.includeCallArguments(interaction, context);
12209
12205
  }
12210
12206
  }
12211
12207
  removeAnnotations(code) {
@@ -12268,10 +12264,10 @@ class ContinueStatement extends NodeBase {
12268
12264
  context.brokenFlow = true;
12269
12265
  return false;
12270
12266
  }
12271
- include(context) {
12267
+ include(context, includeChildrenRecursively) {
12272
12268
  this.included = true;
12273
12269
  if (this.label) {
12274
- this.label.include(context);
12270
+ this.label.include(context, includeChildrenRecursively);
12275
12271
  context.includedLabels.add(this.label.name);
12276
12272
  }
12277
12273
  else {
@@ -13723,7 +13719,7 @@ class LabeledStatement extends NodeBase {
13723
13719
  context.includedLabels = new Set();
13724
13720
  this.body.include(context, includeChildrenRecursively);
13725
13721
  if (includeChildrenRecursively || context.includedLabels.has(this.label.name)) {
13726
- this.label.include(context);
13722
+ this.label.include(context, includeChildrenRecursively);
13727
13723
  context.includedLabels.delete(this.label.name);
13728
13724
  context.brokenFlow = brokenFlow;
13729
13725
  }
@@ -13953,15 +13949,15 @@ class NewExpression extends NodeBase {
13953
13949
  return path.length > 0 || type !== INTERACTION_ACCESSED;
13954
13950
  }
13955
13951
  include(context, includeChildrenRecursively) {
13952
+ if (!this.included)
13953
+ this.includeNode(context);
13956
13954
  if (includeChildrenRecursively) {
13957
- super.include(context, includeChildrenRecursively);
13955
+ super.include(context, true);
13958
13956
  }
13959
13957
  else {
13960
- if (!this.included)
13961
- this.includeNode(context);
13962
13958
  this.callee.include(context, false);
13959
+ this.callee.includeCallArguments(this.interaction, context);
13963
13960
  }
13964
- this.callee.includeCallArguments(context, this.interaction);
13965
13961
  }
13966
13962
  includeNode(context) {
13967
13963
  this.included = true;
@@ -14584,17 +14580,12 @@ class TaggedTemplateExpression extends CallExpressionBase {
14584
14580
  if (!this.included)
14585
14581
  this.includeNode(context);
14586
14582
  if (includeChildrenRecursively) {
14587
- super.include(context, includeChildrenRecursively);
14583
+ super.include(context, true);
14588
14584
  }
14589
14585
  else {
14590
- this.included = true;
14591
- this.tag.include(context, includeChildrenRecursively);
14592
- this.quasi.include(context, includeChildrenRecursively);
14593
- }
14594
- this.tag.includeCallArguments(context, this.interaction);
14595
- const [returnExpression] = this.getReturnExpression();
14596
- if (!returnExpression.included) {
14597
- returnExpression.include(context, false);
14586
+ this.quasi.include(context, false);
14587
+ this.tag.include(context, false);
14588
+ this.tag.includeCallArguments(this.interaction, context);
14598
14589
  }
14599
14590
  }
14600
14591
  initialise() {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
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.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
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.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -17,7 +17,7 @@ const native_js = require('../native.js');
17
17
  const node_perf_hooks = require('node:perf_hooks');
18
18
  const promises = require('node:fs/promises');
19
19
 
20
- var version = "4.34.6";
20
+ var version = "4.34.7";
21
21
 
22
22
  function ensureArray$1(items) {
23
23
  if (Array.isArray(items)) {
@@ -3780,13 +3780,8 @@ class ExpressionEntity {
3780
3780
  * ensures that nested nodes are included while the latter ensures that all
3781
3781
  * paths of the expression are included.
3782
3782
  * */
3783
- includeCallArguments(context, interaction) {
3784
- for (const argument of interaction.args) {
3785
- if (argument) {
3786
- argument.includePath(UNKNOWN_PATH, context);
3787
- argument.include(context, false);
3788
- }
3789
- }
3783
+ includeCallArguments(interaction, context) {
3784
+ includeInteraction(interaction, context);
3790
3785
  }
3791
3786
  shouldBeIncluded(_context) {
3792
3787
  return true;
@@ -3803,6 +3798,18 @@ const deoptimizeInteraction = (interaction) => {
3803
3798
  argument?.deoptimizePath(UNKNOWN_PATH);
3804
3799
  }
3805
3800
  };
3801
+ const includeInteraction = ({ args }, context) => {
3802
+ // We do not re-include the "this" argument as we expect this is already
3803
+ // re-included at the call site
3804
+ args[0]?.includePath(UNKNOWN_PATH, context);
3805
+ for (let argumentIndex = 1; argumentIndex < args.length; argumentIndex++) {
3806
+ const argument = args[argumentIndex];
3807
+ if (argument) {
3808
+ argument.includePath(UNKNOWN_PATH, context);
3809
+ argument.include(context, false);
3810
+ }
3811
+ }
3812
+ };
3806
3813
 
3807
3814
  const INTERACTION_ACCESSED = 0;
3808
3815
  const INTERACTION_ASSIGNED = 1;
@@ -4703,13 +4710,11 @@ class Method extends ExpressionEntity {
4703
4710
  false
4704
4711
  ];
4705
4712
  }
4706
- hasEffectsOnInteractionAtPath(path, interaction, context) {
4707
- const { type } = interaction;
4713
+ hasEffectsOnInteractionAtPath(path, { args, type }, context) {
4708
4714
  if (path.length > (type === INTERACTION_ACCESSED ? 1 : 0)) {
4709
4715
  return true;
4710
4716
  }
4711
4717
  if (type === INTERACTION_CALLED) {
4712
- const { args } = interaction;
4713
4718
  if (this.description.mutatesSelfAsArray === true &&
4714
4719
  args[0]?.hasEffectsOnInteractionAtPath(UNKNOWN_INTEGER_PATH, NODE_INTERACTION_UNKNOWN_ASSIGNMENT, context)) {
4715
4720
  return true;
@@ -6614,22 +6619,17 @@ class LocalVariable extends Variable {
6614
6619
  }
6615
6620
  }
6616
6621
  }
6617
- includeCallArguments(context, interaction) {
6622
+ includeCallArguments(interaction, context) {
6618
6623
  if (this.isReassigned ||
6619
6624
  context.includedCallArguments.has(this.init) ||
6620
6625
  // This can be removed again once we can include arguments when called at
6621
6626
  // a specific path
6622
6627
  this.initPath.length > 0) {
6623
- for (const argument of interaction.args) {
6624
- if (argument) {
6625
- argument.includePath(UNKNOWN_PATH, context);
6626
- argument.include(context, false);
6627
- }
6628
- }
6628
+ includeInteraction(interaction, context);
6629
6629
  }
6630
6630
  else {
6631
6631
  context.includedCallArguments.add(this.init);
6632
- this.init.includeCallArguments(context, interaction);
6632
+ this.init.includeCallArguments(interaction, context);
6633
6633
  context.includedCallArguments.delete(this.init);
6634
6634
  }
6635
6635
  }
@@ -6709,9 +6709,12 @@ class IdentifierBase extends NodeBase {
6709
6709
  }
6710
6710
  }
6711
6711
  }
6712
- include(context) {
6712
+ include(context, includeChildrenRecursively) {
6713
6713
  if (!this.included)
6714
6714
  this.includeNode(context);
6715
+ if (includeChildrenRecursively) {
6716
+ this.variable?.includePath(UNKNOWN_PATH, context);
6717
+ }
6715
6718
  }
6716
6719
  includeNode(context) {
6717
6720
  this.included = true;
@@ -6734,8 +6737,8 @@ class IdentifierBase extends NodeBase {
6734
6737
  this.variable?.includePath(path, context);
6735
6738
  }
6736
6739
  }
6737
- includeCallArguments(context, interaction) {
6738
- this.variable.includeCallArguments(context, interaction);
6740
+ includeCallArguments(interaction, context) {
6741
+ this.variable.includeCallArguments(interaction, context);
6739
6742
  }
6740
6743
  isPossibleTDZ() {
6741
6744
  // return cached value to avoid issues with the next tree-shaking pass
@@ -7281,7 +7284,7 @@ class ClassNode extends NodeBase {
7281
7284
  decorator.include(context, includeChildrenRecursively);
7282
7285
  if (this.id) {
7283
7286
  this.id.markDeclarationReached();
7284
- this.id.include(context);
7287
+ this.id.include(context, includeChildrenRecursively);
7285
7288
  }
7286
7289
  }
7287
7290
  initialise() {
@@ -7448,7 +7451,7 @@ class ParameterVariable extends LocalVariable {
7448
7451
  this.knownValue = null;
7449
7452
  this.knownValueLiteral = UnknownValue;
7450
7453
  }
7451
- addArgumentValue(entity) {
7454
+ addArgumentForDeoptimization(entity) {
7452
7455
  this.updateKnownValue(entity);
7453
7456
  if (entity === UNKNOWN_EXPRESSION) {
7454
7457
  // As unknown expressions fully deoptimize all interactions, we can clear
@@ -7737,11 +7740,10 @@ class ParameterScope extends ChildScope {
7737
7740
  }
7738
7741
  this.hasRest = hasRest;
7739
7742
  }
7740
- includeCallArguments(context, interaction) {
7743
+ includeCallArguments({ args }, context) {
7741
7744
  let calledFromTryStatement = false;
7742
7745
  let argumentIncluded = false;
7743
7746
  const restParameter = this.hasRest && this.parameters[this.parameters.length - 1];
7744
- const { args } = interaction;
7745
7747
  let lastExplicitlyIncludedIndex = args.length - 1;
7746
7748
  // If there is a SpreadElement, we need to include all arguments after it
7747
7749
  // because we no longer know which argument corresponds to which parameter.
@@ -7802,9 +7804,8 @@ class ReturnValueScope extends ParameterScope {
7802
7804
  addReturnExpression(expression) {
7803
7805
  this.returnExpressions.push(expression);
7804
7806
  }
7805
- deoptimizeArgumentsOnCall(interaction) {
7807
+ deoptimizeArgumentsOnCall({ args }) {
7806
7808
  const { parameters } = this;
7807
- const { args } = interaction;
7808
7809
  let position = 0;
7809
7810
  for (; position < args.length - 1; position++) {
7810
7811
  // Only the "this" argument arg[0] can be null
@@ -7813,7 +7814,9 @@ class ReturnValueScope extends ParameterScope {
7813
7814
  // This deoptimizes the current and remaining parameters and arguments
7814
7815
  for (; position < parameters.length; position++) {
7815
7816
  args[position + 1]?.deoptimizePath(UNKNOWN_PATH);
7816
- parameters[position].forEach(variable => variable.markReassigned());
7817
+ for (const variable of parameters[position]) {
7818
+ variable.markReassigned();
7819
+ }
7817
7820
  }
7818
7821
  break;
7819
7822
  }
@@ -7824,7 +7827,7 @@ class ReturnValueScope extends ParameterScope {
7824
7827
  const variables = parameters[position];
7825
7828
  if (variables) {
7826
7829
  for (const variable of variables) {
7827
- variable.addArgumentValue(argument);
7830
+ variable.addArgumentForDeoptimization(argument);
7828
7831
  }
7829
7832
  }
7830
7833
  this.addArgumentToBeDeoptimized(argument);
@@ -7833,7 +7836,7 @@ class ReturnValueScope extends ParameterScope {
7833
7836
  const nonRestParameterLength = this.hasRest ? parameters.length - 1 : parameters.length;
7834
7837
  for (; position < nonRestParameterLength; position++) {
7835
7838
  for (const variable of parameters[position]) {
7836
- variable.addArgumentValue(UNDEFINED_EXPRESSION);
7839
+ variable.addArgumentForDeoptimization(UNDEFINED_EXPRESSION);
7837
7840
  }
7838
7841
  }
7839
7842
  }
@@ -7882,8 +7885,8 @@ class FunctionScope extends ReturnValueScope {
7882
7885
  findLexicalBoundary() {
7883
7886
  return this;
7884
7887
  }
7885
- includeCallArguments(context, interaction) {
7886
- super.includeCallArguments(context, interaction);
7888
+ includeCallArguments(interaction, context) {
7889
+ super.includeCallArguments(interaction, context);
7887
7890
  if (this.argumentsVariable.included) {
7888
7891
  const { args } = interaction;
7889
7892
  for (let argumentIndex = 1; argumentIndex < args.length; argumentIndex++) {
@@ -8210,13 +8213,13 @@ class FunctionNode extends FunctionBase {
8210
8213
  this.constructedEntity = new ObjectEntity(Object.create(null), OBJECT_PROTOTYPE);
8211
8214
  // This makes sure that all deoptimizations of "this" are applied to the
8212
8215
  // constructed entity.
8213
- this.scope.thisVariable.addArgumentValue(this.constructedEntity);
8216
+ this.scope.thisVariable.addArgumentForDeoptimization(this.constructedEntity);
8214
8217
  }
8215
8218
  deoptimizeArgumentsOnInteractionAtPath(interaction, path, recursionTracker) {
8216
8219
  super.deoptimizeArgumentsOnInteractionAtPath(interaction, path, recursionTracker);
8217
8220
  if (interaction.type === INTERACTION_CALLED && path.length === 0 && interaction.args[0]) {
8218
8221
  // args[0] is the "this" argument
8219
- this.scope.thisVariable.addArgumentValue(interaction.args[0]);
8222
+ this.scope.thisVariable.addArgumentForDeoptimization(interaction.args[0]);
8220
8223
  }
8221
8224
  }
8222
8225
  hasEffects(context) {
@@ -8262,7 +8265,7 @@ class FunctionNode extends FunctionBase {
8262
8265
  }
8263
8266
  include(context, includeChildrenRecursively) {
8264
8267
  super.include(context, includeChildrenRecursively);
8265
- this.id?.include(context);
8268
+ this.id?.include(context, includeChildrenRecursively);
8266
8269
  const hasArguments = this.scope.argumentsVariable.included;
8267
8270
  for (const parameter of this.params) {
8268
8271
  if (!(parameter instanceof Identifier) || hasArguments) {
@@ -8947,6 +8950,17 @@ class MemberExpression extends NodeBase {
8947
8950
  this.object.includePath([this.propertyKey], context);
8948
8951
  }
8949
8952
  }
8953
+ includeNodeAsAssignmentTarget(context) {
8954
+ this.included = true;
8955
+ if (!this.assignmentDeoptimized)
8956
+ this.applyAssignmentDeoptimization();
8957
+ if (this.variable) {
8958
+ this.scope.context.includeVariableInModule(this.variable, EMPTY_PATH, context);
8959
+ }
8960
+ else if (!this.isUndefined) {
8961
+ this.object.includePath([this.propertyKey], context);
8962
+ }
8963
+ }
8950
8964
  includePath(path, context) {
8951
8965
  if (!this.included)
8952
8966
  this.includeNode(context);
@@ -8963,24 +8977,19 @@ class MemberExpression extends NodeBase {
8963
8977
  }
8964
8978
  }
8965
8979
  includeAsAssignmentTarget(context, includeChildrenRecursively, deoptimizeAccess) {
8966
- if (!this.assignmentDeoptimized)
8967
- this.applyAssignmentDeoptimization();
8968
- if (deoptimizeAccess) {
8969
- this.include(context, includeChildrenRecursively);
8970
- }
8971
- else {
8972
- if (!this.included)
8973
- this.includeNode(context);
8974
- this.object.include(context, includeChildrenRecursively);
8975
- this.property.include(context, includeChildrenRecursively);
8976
- }
8980
+ if (!this.included)
8981
+ this.includeNodeAsAssignmentTarget(context);
8982
+ if (deoptimizeAccess && !this.deoptimized)
8983
+ this.applyDeoptimizations();
8984
+ this.object.include(context, includeChildrenRecursively);
8985
+ this.property.include(context, includeChildrenRecursively);
8977
8986
  }
8978
- includeCallArguments(context, interaction) {
8987
+ includeCallArguments(interaction, context) {
8979
8988
  if (this.variable) {
8980
- this.variable.includeCallArguments(context, interaction);
8989
+ this.variable.includeCallArguments(interaction, context);
8981
8990
  }
8982
8991
  else {
8983
- super.includeCallArguments(context, interaction);
8992
+ includeInteraction(interaction, context);
8984
8993
  }
8985
8994
  }
8986
8995
  includeDestructuredIfNecessary(context, destructuredInitPath, init) {
@@ -13180,10 +13189,10 @@ class BreakStatement extends NodeBase {
13180
13189
  context.brokenFlow = true;
13181
13190
  return false;
13182
13191
  }
13183
- include(context) {
13192
+ include(context, includeChildrenRecursively) {
13184
13193
  this.included = true;
13185
13194
  if (this.label) {
13186
- this.label.include(context);
13195
+ this.label.include(context, includeChildrenRecursively);
13187
13196
  context.includedLabels.add(this.label.name);
13188
13197
  }
13189
13198
  else {
@@ -13383,11 +13392,7 @@ class CallExpression extends CallExpressionBase {
13383
13392
  if (!this.included)
13384
13393
  this.includeNode(context);
13385
13394
  if (includeChildrenRecursively) {
13386
- this.callee.include(context, true);
13387
- for (const argument of this.arguments) {
13388
- argument.includePath(UNKNOWN_PATH, context);
13389
- argument.include(context, true);
13390
- }
13395
+ super.include(context, true);
13391
13396
  if (includeChildrenRecursively === INCLUDE_PARAMETERS &&
13392
13397
  this.callee instanceof Identifier &&
13393
13398
  this.callee.variable) {
@@ -13395,17 +13400,8 @@ class CallExpression extends CallExpressionBase {
13395
13400
  }
13396
13401
  }
13397
13402
  else {
13398
- // If the callee is a member expression and does not have a variable, its
13399
- // object will already be included via the first argument of the
13400
- // interaction in includeCallArguments. Including it again can lead to
13401
- // severe performance problems.
13402
- if (this.callee instanceof MemberExpression && !this.callee.variable) {
13403
- this.callee.property.include(context, false);
13404
- }
13405
- else {
13406
- this.callee.include(context, false);
13407
- }
13408
- this.callee.includeCallArguments(context, this.interaction);
13403
+ this.callee.include(context, false);
13404
+ this.callee.includeCallArguments(this.interaction, context);
13409
13405
  }
13410
13406
  }
13411
13407
  includeNode(context) {
@@ -13666,14 +13662,14 @@ class ConditionalExpression extends NodeBase {
13666
13662
  usedBranch.includePath(path, context);
13667
13663
  }
13668
13664
  }
13669
- includeCallArguments(context, interaction) {
13665
+ includeCallArguments(interaction, context) {
13670
13666
  const usedBranch = this.getUsedBranch();
13671
13667
  if (usedBranch) {
13672
- usedBranch.includeCallArguments(context, interaction);
13668
+ usedBranch.includeCallArguments(interaction, context);
13673
13669
  }
13674
13670
  else {
13675
- this.consequent.includeCallArguments(context, interaction);
13676
- this.alternate.includeCallArguments(context, interaction);
13671
+ this.consequent.includeCallArguments(interaction, context);
13672
+ this.alternate.includeCallArguments(interaction, context);
13677
13673
  }
13678
13674
  }
13679
13675
  removeAnnotations(code) {
@@ -13736,10 +13732,10 @@ class ContinueStatement extends NodeBase {
13736
13732
  context.brokenFlow = true;
13737
13733
  return false;
13738
13734
  }
13739
- include(context) {
13735
+ include(context, includeChildrenRecursively) {
13740
13736
  this.included = true;
13741
13737
  if (this.label) {
13742
- this.label.include(context);
13738
+ this.label.include(context, includeChildrenRecursively);
13743
13739
  context.includedLabels.add(this.label.name);
13744
13740
  }
13745
13741
  else {
@@ -15191,7 +15187,7 @@ class LabeledStatement extends NodeBase {
15191
15187
  context.includedLabels = new Set();
15192
15188
  this.body.include(context, includeChildrenRecursively);
15193
15189
  if (includeChildrenRecursively || context.includedLabels.has(this.label.name)) {
15194
- this.label.include(context);
15190
+ this.label.include(context, includeChildrenRecursively);
15195
15191
  context.includedLabels.delete(this.label.name);
15196
15192
  context.brokenFlow = brokenFlow;
15197
15193
  }
@@ -15421,15 +15417,15 @@ class NewExpression extends NodeBase {
15421
15417
  return path.length > 0 || type !== INTERACTION_ACCESSED;
15422
15418
  }
15423
15419
  include(context, includeChildrenRecursively) {
15420
+ if (!this.included)
15421
+ this.includeNode(context);
15424
15422
  if (includeChildrenRecursively) {
15425
- super.include(context, includeChildrenRecursively);
15423
+ super.include(context, true);
15426
15424
  }
15427
15425
  else {
15428
- if (!this.included)
15429
- this.includeNode(context);
15430
15426
  this.callee.include(context, false);
15427
+ this.callee.includeCallArguments(this.interaction, context);
15431
15428
  }
15432
- this.callee.includeCallArguments(context, this.interaction);
15433
15429
  }
15434
15430
  includeNode(context) {
15435
15431
  this.included = true;
@@ -16052,17 +16048,12 @@ class TaggedTemplateExpression extends CallExpressionBase {
16052
16048
  if (!this.included)
16053
16049
  this.includeNode(context);
16054
16050
  if (includeChildrenRecursively) {
16055
- super.include(context, includeChildrenRecursively);
16051
+ super.include(context, true);
16056
16052
  }
16057
16053
  else {
16058
- this.included = true;
16059
- this.tag.include(context, includeChildrenRecursively);
16060
- this.quasi.include(context, includeChildrenRecursively);
16061
- }
16062
- this.tag.includeCallArguments(context, this.interaction);
16063
- const [returnExpression] = this.getReturnExpression();
16064
- if (!returnExpression.included) {
16065
- returnExpression.include(context, false);
16054
+ this.quasi.include(context, false);
16055
+ this.tag.include(context, false);
16056
+ this.tag.includeCallArguments(this.interaction, context);
16066
16057
  }
16067
16058
  }
16068
16059
  initialise() {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.6
4
- Fri, 07 Feb 2025 16:31:35 GMT - commit 4b8745922d37d8325197d5a6613ffbf231163c7d
3
+ Rollup.js v4.34.7
4
+ Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "4.34.6",
3
+ "version": "4.34.7",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -110,25 +110,25 @@
110
110
  "homepage": "https://rollupjs.org/",
111
111
  "optionalDependencies": {
112
112
  "fsevents": "~2.3.2",
113
- "@rollup/rollup-darwin-arm64": "4.34.6",
114
- "@rollup/rollup-android-arm64": "4.34.6",
115
- "@rollup/rollup-win32-arm64-msvc": "4.34.6",
116
- "@rollup/rollup-freebsd-arm64": "4.34.6",
117
- "@rollup/rollup-linux-arm64-gnu": "4.34.6",
118
- "@rollup/rollup-linux-arm64-musl": "4.34.6",
119
- "@rollup/rollup-android-arm-eabi": "4.34.6",
120
- "@rollup/rollup-linux-arm-gnueabihf": "4.34.6",
121
- "@rollup/rollup-linux-arm-musleabihf": "4.34.6",
122
- "@rollup/rollup-win32-ia32-msvc": "4.34.6",
123
- "@rollup/rollup-linux-loongarch64-gnu": "4.34.6",
124
- "@rollup/rollup-linux-riscv64-gnu": "4.34.6",
125
- "@rollup/rollup-linux-powerpc64le-gnu": "4.34.6",
126
- "@rollup/rollup-linux-s390x-gnu": "4.34.6",
127
- "@rollup/rollup-darwin-x64": "4.34.6",
128
- "@rollup/rollup-win32-x64-msvc": "4.34.6",
129
- "@rollup/rollup-freebsd-x64": "4.34.6",
130
- "@rollup/rollup-linux-x64-gnu": "4.34.6",
131
- "@rollup/rollup-linux-x64-musl": "4.34.6"
113
+ "@rollup/rollup-darwin-arm64": "4.34.7",
114
+ "@rollup/rollup-android-arm64": "4.34.7",
115
+ "@rollup/rollup-win32-arm64-msvc": "4.34.7",
116
+ "@rollup/rollup-freebsd-arm64": "4.34.7",
117
+ "@rollup/rollup-linux-arm64-gnu": "4.34.7",
118
+ "@rollup/rollup-linux-arm64-musl": "4.34.7",
119
+ "@rollup/rollup-android-arm-eabi": "4.34.7",
120
+ "@rollup/rollup-linux-arm-gnueabihf": "4.34.7",
121
+ "@rollup/rollup-linux-arm-musleabihf": "4.34.7",
122
+ "@rollup/rollup-win32-ia32-msvc": "4.34.7",
123
+ "@rollup/rollup-linux-loongarch64-gnu": "4.34.7",
124
+ "@rollup/rollup-linux-riscv64-gnu": "4.34.7",
125
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.34.7",
126
+ "@rollup/rollup-linux-s390x-gnu": "4.34.7",
127
+ "@rollup/rollup-darwin-x64": "4.34.7",
128
+ "@rollup/rollup-win32-x64-msvc": "4.34.7",
129
+ "@rollup/rollup-freebsd-x64": "4.34.7",
130
+ "@rollup/rollup-linux-x64-gnu": "4.34.7",
131
+ "@rollup/rollup-linux-x64-musl": "4.34.7"
132
132
  },
133
133
  "dependencies": {
134
134
  "@types/estree": "1.0.6"
@@ -143,7 +143,7 @@
143
143
  "@codemirror/search": "^6.5.8",
144
144
  "@codemirror/state": "^6.5.2",
145
145
  "@codemirror/view": "^6.36.2",
146
- "@eslint/js": "^9.19.0",
146
+ "@eslint/js": "^9.20.0",
147
147
  "@inquirer/prompts": "^7.3.1",
148
148
  "@jridgewell/sourcemap-codec": "^1.5.0",
149
149
  "@mermaid-js/mermaid-cli": "^11.4.2",
@@ -157,7 +157,7 @@
157
157
  "@rollup/plugin-terser": "^0.4.4",
158
158
  "@rollup/plugin-typescript": "^12.1.2",
159
159
  "@rollup/pluginutils": "^5.1.4",
160
- "@shikijs/vitepress-twoslash": "^2.2.0",
160
+ "@shikijs/vitepress-twoslash": "^2.3.2",
161
161
  "@types/mocha": "^10.0.10",
162
162
  "@types/node": "^18.19.75",
163
163
  "@types/semver": "^7.5.8",
@@ -175,7 +175,7 @@
175
175
  "date-time": "^4.0.0",
176
176
  "es5-shim": "^4.6.7",
177
177
  "es6-shim": "^0.35.8",
178
- "eslint": "^9.19.0",
178
+ "eslint": "^9.20.0",
179
179
  "eslint-config-prettier": "^10.0.1",
180
180
  "eslint-plugin-prettier": "^5.2.3",
181
181
  "eslint-plugin-unicorn": "^56.0.1",
@@ -196,12 +196,12 @@
196
196
  "nyc": "^17.1.0",
197
197
  "picocolors": "^1.1.1",
198
198
  "pinia": "^2.3.1",
199
- "prettier": "^3.4.2",
199
+ "prettier": "^3.5.0",
200
200
  "prettier-plugin-organize-imports": "^4.1.0",
201
201
  "pretty-bytes": "^6.1.1",
202
202
  "pretty-ms": "^9.2.0",
203
203
  "requirejs": "^2.3.7",
204
- "rollup": "^4.34.1",
204
+ "rollup": "^4.34.6",
205
205
  "rollup-plugin-license": "^3.5.3",
206
206
  "rollup-plugin-string": "^3.0.0",
207
207
  "semver": "^7.7.1",
@@ -210,11 +210,11 @@
210
210
  "source-map": "^0.7.4",
211
211
  "source-map-support": "^0.5.21",
212
212
  "systemjs": "^6.15.1",
213
- "terser": "^5.37.0",
213
+ "terser": "^5.38.1",
214
214
  "tslib": "^2.8.1",
215
215
  "typescript": "^5.7.3",
216
- "typescript-eslint": "^8.23.0",
217
- "vite": "^6.0.11",
216
+ "typescript-eslint": "^8.24.0",
217
+ "vite": "^6.1.0",
218
218
  "vitepress": "^1.6.3",
219
219
  "vue": "^3.5.13",
220
220
  "vue-tsc": "^2.2.0",