@rollup/wasm-node 4.29.0-1 → 4.29.0-2

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.29.0-1
5
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
4
+ Rollup.js v4.29.0-2
5
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
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.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -16,7 +16,7 @@ import { performance } from 'node:perf_hooks';
16
16
  import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
17
17
  import * as tty from 'tty';
18
18
 
19
- var version = "4.29.0-1";
19
+ var version = "4.29.0-2";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -11593,6 +11593,12 @@ class BinaryExpression extends NodeBase {
11593
11593
  hasEffectsOnInteractionAtPath(path, { type }) {
11594
11594
  return type !== INTERACTION_ACCESSED || path.length > 1;
11595
11595
  }
11596
+ includeNode(context) {
11597
+ this.included = true;
11598
+ if (this.operator === 'in') {
11599
+ this.right.includePath(UNKNOWN_PATH, context);
11600
+ }
11601
+ }
11596
11602
  removeAnnotations(code) {
11597
11603
  this.left.removeAnnotations(code);
11598
11604
  }
@@ -11601,7 +11607,6 @@ class BinaryExpression extends NodeBase {
11601
11607
  this.right.render(code, options);
11602
11608
  }
11603
11609
  }
11604
- BinaryExpression.prototype.includeNode = onlyIncludeSelfNoDeoptimize;
11605
11610
  BinaryExpression.prototype.applyDeoptimizations = doNotDeoptimize;
11606
11611
 
11607
11612
  class BreakStatement extends NodeBase {
@@ -11819,8 +11824,14 @@ class CallExpression extends CallExpressionBase {
11819
11824
  this.callee.hasEffectsOnInteractionAtPath(EMPTY_PATH, this.interaction, context)));
11820
11825
  }
11821
11826
  include(context, includeChildrenRecursively) {
11827
+ if (!this.included)
11828
+ this.includeNode(context);
11822
11829
  if (includeChildrenRecursively) {
11823
- super.include(context, includeChildrenRecursively);
11830
+ this.callee.include(context, true);
11831
+ for (const argument of this.arguments) {
11832
+ argument.includePath(UNKNOWN_PATH, context);
11833
+ argument.include(context, true);
11834
+ }
11824
11835
  if (includeChildrenRecursively === INCLUDE_PARAMETERS &&
11825
11836
  this.callee instanceof Identifier &&
11826
11837
  this.callee.variable) {
@@ -11828,8 +11839,6 @@ class CallExpression extends CallExpressionBase {
11828
11839
  }
11829
11840
  }
11830
11841
  else {
11831
- if (!this.included)
11832
- this.includeNode(context);
11833
11842
  // If the callee is a member expression and does not have a variable, its
11834
11843
  // object will already be included via the first argument of the
11835
11844
  // interaction in includeCallArguments. Including it again can lead to
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
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.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
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.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -31,7 +31,7 @@ function _interopNamespaceDefault(e) {
31
31
 
32
32
  const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
33
33
 
34
- var version = "4.29.0-1";
34
+ var version = "4.29.0-2";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -13097,6 +13097,12 @@ class BinaryExpression extends NodeBase {
13097
13097
  hasEffectsOnInteractionAtPath(path, { type }) {
13098
13098
  return type !== INTERACTION_ACCESSED || path.length > 1;
13099
13099
  }
13100
+ includeNode(context) {
13101
+ this.included = true;
13102
+ if (this.operator === 'in') {
13103
+ this.right.includePath(UNKNOWN_PATH, context);
13104
+ }
13105
+ }
13100
13106
  removeAnnotations(code) {
13101
13107
  this.left.removeAnnotations(code);
13102
13108
  }
@@ -13105,7 +13111,6 @@ class BinaryExpression extends NodeBase {
13105
13111
  this.right.render(code, options);
13106
13112
  }
13107
13113
  }
13108
- BinaryExpression.prototype.includeNode = onlyIncludeSelfNoDeoptimize;
13109
13114
  BinaryExpression.prototype.applyDeoptimizations = doNotDeoptimize;
13110
13115
 
13111
13116
  class BreakStatement extends NodeBase {
@@ -13323,8 +13328,14 @@ class CallExpression extends CallExpressionBase {
13323
13328
  this.callee.hasEffectsOnInteractionAtPath(EMPTY_PATH, this.interaction, context)));
13324
13329
  }
13325
13330
  include(context, includeChildrenRecursively) {
13331
+ if (!this.included)
13332
+ this.includeNode(context);
13326
13333
  if (includeChildrenRecursively) {
13327
- super.include(context, includeChildrenRecursively);
13334
+ this.callee.include(context, true);
13335
+ for (const argument of this.arguments) {
13336
+ argument.includePath(UNKNOWN_PATH, context);
13337
+ argument.include(context, true);
13338
+ }
13328
13339
  if (includeChildrenRecursively === INCLUDE_PARAMETERS &&
13329
13340
  this.callee instanceof Identifier &&
13330
13341
  this.callee.variable) {
@@ -13332,8 +13343,6 @@ class CallExpression extends CallExpressionBase {
13332
13343
  }
13333
13344
  }
13334
13345
  else {
13335
- if (!this.included)
13336
- this.includeNode(context);
13337
13346
  // If the callee is a member expression and does not have a variable, its
13338
13347
  // object will already be included via the first argument of the
13339
13348
  // interaction in includeCallArguments. Including it again can lead to
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-1
4
- Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
3
+ Rollup.js v4.29.0-2
4
+ Fri, 20 Dec 2024 06:55:29 GMT - commit bbb7e7b1d4e208a923b0f18ceb8dd886838e1a01
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/wasm-node",
3
- "version": "4.29.0-1",
3
+ "version": "4.29.0-2",
4
4
  "description": "Next-generation ES module bundler with Node wasm",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",