rollup 4.32.0 → 4.32.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.32.0
5
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
4
+ Rollup.js v4.32.1
5
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
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.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
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.32.0";
18
+ var version = "4.32.1";
19
19
 
20
20
  const comma = ','.charCodeAt(0);
21
21
  const semicolon = ';'.charCodeAt(0);
@@ -13059,6 +13059,7 @@ class LogicalExpression extends NodeBase {
13059
13059
  deoptimizeCache() {
13060
13060
  if (this.hasDeoptimizedCache)
13061
13061
  return;
13062
+ this.hasDeoptimizedCache = true;
13062
13063
  if (this.usedBranch) {
13063
13064
  const unusedBranch = this.usedBranch === this.left ? this.right : this.left;
13064
13065
  this.usedBranch = null;
@@ -13072,7 +13073,6 @@ class LogicalExpression extends NodeBase {
13072
13073
  // Request another pass because we need to ensure "include" runs again if
13073
13074
  // it is rendered
13074
13075
  context.requestTreeshakingPass();
13075
- this.hasDeoptimizedCache = true;
13076
13076
  }
13077
13077
  deoptimizePath(path) {
13078
13078
  const usedBranch = this.getUsedBranch();
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
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.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
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.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
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.32.0";
20
+ var version = "4.32.1";
21
21
 
22
22
  function ensureArray$1(items) {
23
23
  if (Array.isArray(items)) {
@@ -14527,6 +14527,7 @@ class LogicalExpression extends NodeBase {
14527
14527
  deoptimizeCache() {
14528
14528
  if (this.hasDeoptimizedCache)
14529
14529
  return;
14530
+ this.hasDeoptimizedCache = true;
14530
14531
  if (this.usedBranch) {
14531
14532
  const unusedBranch = this.usedBranch === this.left ? this.right : this.left;
14532
14533
  this.usedBranch = null;
@@ -14540,7 +14541,6 @@ class LogicalExpression extends NodeBase {
14540
14541
  // Request another pass because we need to ensure "include" runs again if
14541
14542
  // it is rendered
14542
14543
  context.requestTreeshakingPass();
14543
- this.hasDeoptimizedCache = true;
14544
14544
  }
14545
14545
  deoptimizePath(path) {
14546
14546
  const usedBranch = this.getUsedBranch();
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.32.0
4
- Fri, 24 Jan 2025 08:27:05 GMT - commit 2538304efdc05ecb7c52e6376d5777565139f075
3
+ Rollup.js v4.32.1
4
+ Tue, 28 Jan 2025 08:32:49 GMT - commit abcf4febe11f3d313fae41ddca35fc60670b9ff8
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.32.0",
3
+ "version": "4.32.1",
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.32.0",
114
- "@rollup/rollup-android-arm64": "4.32.0",
115
- "@rollup/rollup-win32-arm64-msvc": "4.32.0",
116
- "@rollup/rollup-freebsd-arm64": "4.32.0",
117
- "@rollup/rollup-linux-arm64-gnu": "4.32.0",
118
- "@rollup/rollup-linux-arm64-musl": "4.32.0",
119
- "@rollup/rollup-android-arm-eabi": "4.32.0",
120
- "@rollup/rollup-linux-arm-gnueabihf": "4.32.0",
121
- "@rollup/rollup-linux-arm-musleabihf": "4.32.0",
122
- "@rollup/rollup-win32-ia32-msvc": "4.32.0",
123
- "@rollup/rollup-linux-loongarch64-gnu": "4.32.0",
124
- "@rollup/rollup-linux-riscv64-gnu": "4.32.0",
125
- "@rollup/rollup-linux-powerpc64le-gnu": "4.32.0",
126
- "@rollup/rollup-linux-s390x-gnu": "4.32.0",
127
- "@rollup/rollup-darwin-x64": "4.32.0",
128
- "@rollup/rollup-win32-x64-msvc": "4.32.0",
129
- "@rollup/rollup-freebsd-x64": "4.32.0",
130
- "@rollup/rollup-linux-x64-gnu": "4.32.0",
131
- "@rollup/rollup-linux-x64-musl": "4.32.0"
113
+ "@rollup/rollup-darwin-arm64": "4.32.1",
114
+ "@rollup/rollup-android-arm64": "4.32.1",
115
+ "@rollup/rollup-win32-arm64-msvc": "4.32.1",
116
+ "@rollup/rollup-freebsd-arm64": "4.32.1",
117
+ "@rollup/rollup-linux-arm64-gnu": "4.32.1",
118
+ "@rollup/rollup-linux-arm64-musl": "4.32.1",
119
+ "@rollup/rollup-android-arm-eabi": "4.32.1",
120
+ "@rollup/rollup-linux-arm-gnueabihf": "4.32.1",
121
+ "@rollup/rollup-linux-arm-musleabihf": "4.32.1",
122
+ "@rollup/rollup-win32-ia32-msvc": "4.32.1",
123
+ "@rollup/rollup-linux-loongarch64-gnu": "4.32.1",
124
+ "@rollup/rollup-linux-riscv64-gnu": "4.32.1",
125
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.32.1",
126
+ "@rollup/rollup-linux-s390x-gnu": "4.32.1",
127
+ "@rollup/rollup-darwin-x64": "4.32.1",
128
+ "@rollup/rollup-win32-x64-msvc": "4.32.1",
129
+ "@rollup/rollup-freebsd-x64": "4.32.1",
130
+ "@rollup/rollup-linux-x64-gnu": "4.32.1",
131
+ "@rollup/rollup-linux-x64-musl": "4.32.1"
132
132
  },
133
133
  "dependencies": {
134
134
  "@types/estree": "1.0.6"