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

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-0
5
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
4
+ Rollup.js v4.29.0-1
5
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0";
19
+ var version = "4.29.0-1";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -7243,6 +7243,8 @@ class MemberExpression extends NodeBase {
7243
7243
  init.deoptimizePath([...destructuredInitPath, UnknownKey]);
7244
7244
  }
7245
7245
  deoptimizeCache() {
7246
+ if (this.propertyKey === this.dynamicPropertyKey)
7247
+ return;
7246
7248
  const { expressionsToBeDeoptimized, object } = this;
7247
7249
  this.expressionsToBeDeoptimized = EMPTY_ARRAY;
7248
7250
  this.dynamicPropertyKey = this.propertyKey;
@@ -7279,7 +7281,8 @@ class MemberExpression extends NodeBase {
7279
7281
  }
7280
7282
  const propertyKey = this.getDynamicPropertyKey();
7281
7283
  if (propertyKey !== UnknownKey && path.length < MAX_PATH_DEPTH) {
7282
- this.expressionsToBeDeoptimized.push(origin);
7284
+ if (propertyKey !== this.propertyKey)
7285
+ this.expressionsToBeDeoptimized.push(origin);
7283
7286
  return this.object.getLiteralValueAtPath([propertyKey, ...path], recursionTracker, origin);
7284
7287
  }
7285
7288
  return UnknownValue;
@@ -7302,7 +7305,8 @@ class MemberExpression extends NodeBase {
7302
7305
  }
7303
7306
  const propertyKey = this.getDynamicPropertyKey();
7304
7307
  if (propertyKey !== UnknownKey && path.length < MAX_PATH_DEPTH) {
7305
- this.expressionsToBeDeoptimized.push(origin);
7308
+ if (propertyKey !== this.propertyKey)
7309
+ this.expressionsToBeDeoptimized.push(origin);
7306
7310
  return this.object.getReturnExpressionWhenCalledAtPath([propertyKey, ...path], interaction, recursionTracker, origin);
7307
7311
  }
7308
7312
  return UNKNOWN_RETURN_EXPRESSION;
@@ -7494,7 +7498,7 @@ class MemberExpression extends NodeBase {
7494
7498
  }
7495
7499
  getDynamicPropertyKey() {
7496
7500
  if (this.dynamicPropertyKey === null) {
7497
- this.dynamicPropertyKey = UnknownKey;
7501
+ this.dynamicPropertyKey = this.propertyKey;
7498
7502
  const value = this.property.getLiteralValueAtPath(EMPTY_PATH, SHARED_RECURSION_TRACKER, this);
7499
7503
  return (this.dynamicPropertyKey =
7500
7504
  value === SymbolToStringTag
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0";
34
+ var version = "4.29.0-1";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -8747,6 +8747,8 @@ class MemberExpression extends NodeBase {
8747
8747
  init.deoptimizePath([...destructuredInitPath, UnknownKey]);
8748
8748
  }
8749
8749
  deoptimizeCache() {
8750
+ if (this.propertyKey === this.dynamicPropertyKey)
8751
+ return;
8750
8752
  const { expressionsToBeDeoptimized, object } = this;
8751
8753
  this.expressionsToBeDeoptimized = parseAst_js.EMPTY_ARRAY;
8752
8754
  this.dynamicPropertyKey = this.propertyKey;
@@ -8783,7 +8785,8 @@ class MemberExpression extends NodeBase {
8783
8785
  }
8784
8786
  const propertyKey = this.getDynamicPropertyKey();
8785
8787
  if (propertyKey !== UnknownKey && path.length < MAX_PATH_DEPTH) {
8786
- this.expressionsToBeDeoptimized.push(origin);
8788
+ if (propertyKey !== this.propertyKey)
8789
+ this.expressionsToBeDeoptimized.push(origin);
8787
8790
  return this.object.getLiteralValueAtPath([propertyKey, ...path], recursionTracker, origin);
8788
8791
  }
8789
8792
  return UnknownValue;
@@ -8806,7 +8809,8 @@ class MemberExpression extends NodeBase {
8806
8809
  }
8807
8810
  const propertyKey = this.getDynamicPropertyKey();
8808
8811
  if (propertyKey !== UnknownKey && path.length < MAX_PATH_DEPTH) {
8809
- this.expressionsToBeDeoptimized.push(origin);
8812
+ if (propertyKey !== this.propertyKey)
8813
+ this.expressionsToBeDeoptimized.push(origin);
8810
8814
  return this.object.getReturnExpressionWhenCalledAtPath([propertyKey, ...path], interaction, recursionTracker, origin);
8811
8815
  }
8812
8816
  return UNKNOWN_RETURN_EXPRESSION;
@@ -8998,7 +9002,7 @@ class MemberExpression extends NodeBase {
8998
9002
  }
8999
9003
  getDynamicPropertyKey() {
9000
9004
  if (this.dynamicPropertyKey === null) {
9001
- this.dynamicPropertyKey = UnknownKey;
9005
+ this.dynamicPropertyKey = this.propertyKey;
9002
9006
  const value = this.property.getLiteralValueAtPath(EMPTY_PATH, SHARED_RECURSION_TRACKER, this);
9003
9007
  return (this.dynamicPropertyKey =
9004
9008
  value === SymbolToStringTag
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.29.0-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0
4
- Mon, 16 Dec 2024 06:39:21 GMT - commit 879d03d68890f365f880e30c69b58377b8743407
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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-0",
3
+ "version": "4.29.0-1",
4
4
  "description": "Next-generation ES module bundler with Node wasm",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",