rollup 3.29.3 → 3.29.4

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
@@ -2,8 +2,8 @@
2
2
 
3
3
  /*
4
4
  @license
5
- Rollup.js v3.29.3
6
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
5
+ Rollup.js v3.29.4
6
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
7
7
 
8
8
  https://github.com/rollup/rollup
9
9
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.29.3
4
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
3
+ Rollup.js v3.29.4
4
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
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 v3.29.3
4
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
3
+ Rollup.js v3.29.4
4
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.29.3
4
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
3
+ Rollup.js v3.29.4
4
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -15,7 +15,7 @@ import { createHash as createHash$1 } from 'node:crypto';
15
15
  import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
16
16
  import * as tty from 'tty';
17
17
 
18
- var version$1 = "3.29.3";
18
+ var version$1 = "3.29.4";
19
19
 
20
20
  const comma = ','.charCodeAt(0);
21
21
  const semicolon = ';'.charCodeAt(0);
@@ -8825,8 +8825,13 @@ class FunctionBase extends NodeBase {
8825
8825
  this.getObjectEntity().deoptimizePath(path);
8826
8826
  if (path.length === 1 && path[0] === UnknownKey) {
8827
8827
  // A reassignment of UNKNOWN_PATH is considered equivalent to having lost track
8828
- // which means the return expression needs to be reassigned
8828
+ // which means the return expression and parameters need to be reassigned
8829
8829
  this.scope.getReturnExpression().deoptimizePath(UNKNOWN_PATH);
8830
+ for (const parameterList of this.scope.parameters) {
8831
+ for (const parameter of parameterList) {
8832
+ parameter.deoptimizePath(UNKNOWN_PATH);
8833
+ }
8834
+ }
8830
8835
  }
8831
8836
  }
8832
8837
  getLiteralValueAtPath(path, recursionTracker, origin) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.29.3
4
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
3
+ Rollup.js v3.29.4
4
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.29.3
4
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
3
+ Rollup.js v3.29.4
4
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.29.3
4
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
3
+ Rollup.js v3.29.4
4
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
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 v3.29.3
4
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
3
+ Rollup.js v3.29.4
4
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.29.3
4
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
3
+ Rollup.js v3.29.4
4
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.29.3
4
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
3
+ Rollup.js v3.29.4
4
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.29.3
4
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
3
+ Rollup.js v3.29.4
4
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.29.3
4
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
3
+ Rollup.js v3.29.4
4
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -30,7 +30,7 @@ function _interopNamespaceDefault(e) {
30
30
 
31
31
  const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
32
32
 
33
- var version$1 = "3.29.3";
33
+ var version$1 = "3.29.4";
34
34
 
35
35
  function ensureArray$1(items) {
36
36
  if (Array.isArray(items)) {
@@ -10324,8 +10324,13 @@ class FunctionBase extends NodeBase {
10324
10324
  this.getObjectEntity().deoptimizePath(path);
10325
10325
  if (path.length === 1 && path[0] === UnknownKey) {
10326
10326
  // A reassignment of UNKNOWN_PATH is considered equivalent to having lost track
10327
- // which means the return expression needs to be reassigned
10327
+ // which means the return expression and parameters need to be reassigned
10328
10328
  this.scope.getReturnExpression().deoptimizePath(UNKNOWN_PATH);
10329
+ for (const parameterList of this.scope.parameters) {
10330
+ for (const parameter of parameterList) {
10331
+ parameter.deoptimizePath(UNKNOWN_PATH);
10332
+ }
10333
+ }
10329
10334
  }
10330
10335
  }
10331
10336
  getLiteralValueAtPath(path, recursionTracker, origin) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.29.3
4
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
3
+ Rollup.js v3.29.4
4
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.29.3
4
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
3
+ Rollup.js v3.29.4
4
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.29.3
4
- Sun, 24 Sep 2023 05:31:36 GMT - commit 353e4628284b1ef4d8a8b47d895881e5ce6546f4
3
+ Rollup.js v3.29.4
4
+ Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
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": "3.29.3",
3
+ "version": "3.29.4",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",