@rollup/wasm-node 4.34.5 → 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.5
5
- Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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
 
@@ -1203,7 +1203,7 @@ var _a, _b, _c;
1203
1203
  const minNodeVersion = (process && process.env && process.env.YARGS_MIN_NODE_VERSION)
1204
1204
  ? Number(process.env.YARGS_MIN_NODE_VERSION)
1205
1205
  : 12;
1206
- const nodeVersion = (_b = (_a = process === null || process === undefined ? undefined : process.versions) === null || _a === undefined ? undefined : _a.node) !== null && _b !== undefined ? _b : (_c = process === null || process === undefined ? undefined : process.version) === null || _c === undefined ? undefined : _c.slice(1);
1206
+ const nodeVersion = (_b = (_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) !== null && _b !== void 0 ? _b : (_c = process === null || process === void 0 ? void 0 : process.version) === null || _c === void 0 ? void 0 : _c.slice(1);
1207
1207
  if (nodeVersion) {
1208
1208
  const major = Number(nodeVersion.match(/^([^.]+)/)[1]);
1209
1209
  if (major < minNodeVersion) {
@@ -1264,14 +1264,14 @@ PERFORMANCE OF THIS SOFTWARE.
1264
1264
 
1265
1265
 
1266
1266
  function __addDisposableResource(env, value, async) {
1267
- if (value !== null && value !== undefined) {
1267
+ if (value !== null && value !== void 0) {
1268
1268
  if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
1269
1269
  var dispose, inner;
1270
1270
  if (async) {
1271
1271
  if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
1272
1272
  dispose = value[Symbol.asyncDispose];
1273
1273
  }
1274
- if (dispose === undefined) {
1274
+ if (dispose === void 0) {
1275
1275
  if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
1276
1276
  dispose = value[Symbol.dispose];
1277
1277
  if (async) inner = dispose;
@@ -1644,7 +1644,7 @@ function printTimings(timings) {
1644
1644
  }
1645
1645
 
1646
1646
  async function build(inputOptions, warnings, silent = false) {
1647
- const env_1 = { stack: [], error: undefined, hasError: false };
1647
+ const env_1 = { stack: [], error: void 0, hasError: false };
1648
1648
  try {
1649
1649
  const outputOptions = inputOptions.output;
1650
1650
  const useStdout = !outputOptions[0].file && !outputOptions[0].dir;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.5
4
- Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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.5
4
- Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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.5
4
- Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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.5
4
- Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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.5";
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) {
@@ -10486,7 +10495,7 @@ function requireParse () {
10486
10495
  }
10487
10496
 
10488
10497
  if (prior.type === 'slash' && prior.prev.type !== 'bos' && rest[0] === '/') {
10489
- const end = rest[1] !== undefined ? '|$' : '';
10498
+ const end = rest[1] !== void 0 ? '|$' : '';
10490
10499
 
10491
10500
  state.output = state.output.slice(0, -(prior.output + prev.output).length);
10492
10501
  prior.output = `(?:${prior.output}`;
@@ -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() {
@@ -14947,7 +14938,11 @@ class UnaryExpression extends NodeBase {
14947
14938
  }
14948
14939
  const CHARACTERS_THAT_DO_NOT_REQUIRE_SPACE = /[\s([=%&*+-/<>^|,?:;]/;
14949
14940
  function getRenderedLiteralValue(value) {
14950
- if (value === undefined || typeof value === 'boolean') {
14941
+ if (value === undefined) {
14942
+ // At the moment, the undefined only happens when the operator is void
14943
+ return 'void 0';
14944
+ }
14945
+ if (typeof value === 'boolean') {
14951
14946
  return String(value);
14952
14947
  }
14953
14948
  if (typeof value === 'string') {
@@ -20279,18 +20274,18 @@ function flru (max) {
20279
20274
  return {
20280
20275
  clear: reset,
20281
20276
  has: function (key) {
20282
- return curr[key] !== undefined || prev[key] !== undefined;
20277
+ return curr[key] !== void 0 || prev[key] !== void 0;
20283
20278
  },
20284
20279
  get: function (key) {
20285
20280
  var val = curr[key];
20286
- if (val !== undefined) return val;
20287
- if ((val=prev[key]) !== undefined) {
20281
+ if (val !== void 0) return val;
20282
+ if ((val=prev[key]) !== void 0) {
20288
20283
  keep(key, val);
20289
20284
  return val;
20290
20285
  }
20291
20286
  },
20292
20287
  set: function (key, value) {
20293
- if (curr[key] !== undefined) {
20288
+ if (curr[key] !== void 0) {
20294
20289
  curr[key] = value;
20295
20290
  } else {
20296
20291
  keep(key, value);
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.5
4
- Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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.5
4
- Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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
 
@@ -1558,7 +1558,7 @@ function requireParse$2 () {
1558
1558
  }
1559
1559
 
1560
1560
  if (prior.type === 'slash' && prior.prev.type !== 'bos' && rest[0] === '/') {
1561
- const end = rest[1] !== undefined ? '|$' : '';
1561
+ const end = rest[1] !== void 0 ? '|$' : '';
1562
1562
 
1563
1563
  state.output = state.output.slice(0, -(prior.output + prev.output).length);
1564
1564
  prior.output = `(?:${prior.output}`;
@@ -3969,7 +3969,7 @@ function requireParse$1 () {
3969
3969
  }
3970
3970
 
3971
3971
  if (prior.type === 'slash' && prior.prev.type !== 'bos' && rest[0] === '/') {
3972
- const end = rest[1] !== undefined ? '|$' : '';
3972
+ const end = rest[1] !== void 0 ? '|$' : '';
3973
3973
 
3974
3974
  state.output = state.output.slice(0, -(prior.output + prev.output).length);
3975
3975
  prior.output = `(?:${prior.output}`;
@@ -5163,7 +5163,7 @@ function requireToRegexRange () {
5163
5163
  throw new TypeError('toRegexRange: expected the first argument to be a number');
5164
5164
  }
5165
5165
 
5166
- if (max === undefined || min === max) {
5166
+ if (max === void 0 || min === max) {
5167
5167
  return String(min);
5168
5168
  }
5169
5169
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.5
4
- Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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.5
4
- Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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.5
4
- Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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.5
4
- Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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.5
4
- Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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.5
4
- Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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
 
@@ -1554,7 +1554,7 @@ function requireParse$2 () {
1554
1554
  }
1555
1555
 
1556
1556
  if (prior.type === 'slash' && prior.prev.type !== 'bos' && rest[0] === '/') {
1557
- const end = rest[1] !== undefined ? '|$' : '';
1557
+ const end = rest[1] !== void 0 ? '|$' : '';
1558
1558
 
1559
1559
  state.output = state.output.slice(0, -(prior.output + prev.output).length);
1560
1560
  prior.output = `(?:${prior.output}`;
@@ -3965,7 +3965,7 @@ function requireParse$1 () {
3965
3965
  }
3966
3966
 
3967
3967
  if (prior.type === 'slash' && prior.prev.type !== 'bos' && rest[0] === '/') {
3968
- const end = rest[1] !== undefined ? '|$' : '';
3968
+ const end = rest[1] !== void 0 ? '|$' : '';
3969
3969
 
3970
3970
  state.output = state.output.slice(0, -(prior.output + prev.output).length);
3971
3971
  prior.output = `(?:${prior.output}`;
@@ -5159,7 +5159,7 @@ function requireToRegexRange () {
5159
5159
  throw new TypeError('toRegexRange: expected the first argument to be a number');
5160
5160
  }
5161
5161
 
5162
- if (max === undefined || min === max) {
5162
+ if (max === void 0 || min === max) {
5163
5163
  return String(min);
5164
5164
  }
5165
5165