rollup 4.46.0 → 4.46.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.46.0
5
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
4
+ Rollup.js v4.46.1
5
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
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.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -27,7 +27,7 @@ function _mergeNamespaces(n, m) {
27
27
  return Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' });
28
28
  }
29
29
 
30
- var version = "4.46.0";
30
+ var version = "4.46.1";
31
31
 
32
32
  // src/vlq.ts
33
33
  var comma = ",".charCodeAt(0);
@@ -11828,8 +11828,8 @@ class BinaryExpression extends NodeBase {
11828
11828
  if (typeof leftValue === 'symbol')
11829
11829
  return UnknownValue;
11830
11830
  // Optimize `'export' in namespace`
11831
- if (this.operator === 'in' && this.right.variable?.isNamespace) {
11832
- return (this.right.variable.context.traceExport(String(leftValue))[0] != null);
11831
+ if (this.operator === 'in' && this.right.variable instanceof NamespaceVariable) {
11832
+ return this.right.variable.context.traceExport(String(leftValue))[0] != null;
11833
11833
  }
11834
11834
  const rightValue = this.right.getLiteralValueAtPath(EMPTY_PATH, recursionTracker, origin);
11835
11835
  if (typeof rightValue === 'symbol')
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
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.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
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.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -42,7 +42,7 @@ function _mergeNamespaces(n, m) {
42
42
 
43
43
  const promises__namespace = /*#__PURE__*/_interopNamespaceDefault(promises);
44
44
 
45
- var version = "4.46.0";
45
+ var version = "4.46.1";
46
46
 
47
47
  function ensureArray$1(items) {
48
48
  if (Array.isArray(items)) {
@@ -13437,8 +13437,8 @@ class BinaryExpression extends NodeBase {
13437
13437
  if (typeof leftValue === 'symbol')
13438
13438
  return UnknownValue;
13439
13439
  // Optimize `'export' in namespace`
13440
- if (this.operator === 'in' && this.right.variable?.isNamespace) {
13441
- return (this.right.variable.context.traceExport(String(leftValue))[0] != null);
13440
+ if (this.operator === 'in' && this.right.variable instanceof NamespaceVariable) {
13441
+ return this.right.variable.context.traceExport(String(leftValue))[0] != null;
13442
13442
  }
13443
13443
  const rightValue = this.right.getLiteralValueAtPath(EMPTY_PATH, recursionTracker, origin);
13444
13444
  if (typeof rightValue === 'symbol')
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.46.0
4
- Sun, 27 Jul 2025 06:51:20 GMT - commit 09794f1bf24473e63b3ff10daa7e9f4d5d50ce1e
3
+ Rollup.js v4.46.1
4
+ Mon, 28 Jul 2025 04:48:09 GMT - commit 244dc20bab1cd59221b70cd759e0a0ec15044c2e
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.46.0",
3
+ "version": "4.46.1",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -104,26 +104,26 @@
104
104
  "homepage": "https://rollupjs.org/",
105
105
  "optionalDependencies": {
106
106
  "fsevents": "~2.3.2",
107
- "@rollup/rollup-darwin-arm64": "4.46.0",
108
- "@rollup/rollup-android-arm64": "4.46.0",
109
- "@rollup/rollup-win32-arm64-msvc": "4.46.0",
110
- "@rollup/rollup-freebsd-arm64": "4.46.0",
111
- "@rollup/rollup-linux-arm64-gnu": "4.46.0",
112
- "@rollup/rollup-linux-arm64-musl": "4.46.0",
113
- "@rollup/rollup-android-arm-eabi": "4.46.0",
114
- "@rollup/rollup-linux-arm-gnueabihf": "4.46.0",
115
- "@rollup/rollup-linux-arm-musleabihf": "4.46.0",
116
- "@rollup/rollup-win32-ia32-msvc": "4.46.0",
117
- "@rollup/rollup-linux-loongarch64-gnu": "4.46.0",
118
- "@rollup/rollup-linux-riscv64-gnu": "4.46.0",
119
- "@rollup/rollup-linux-riscv64-musl": "4.46.0",
120
- "@rollup/rollup-linux-ppc64-gnu": "4.46.0",
121
- "@rollup/rollup-linux-s390x-gnu": "4.46.0",
122
- "@rollup/rollup-darwin-x64": "4.46.0",
123
- "@rollup/rollup-win32-x64-msvc": "4.46.0",
124
- "@rollup/rollup-freebsd-x64": "4.46.0",
125
- "@rollup/rollup-linux-x64-gnu": "4.46.0",
126
- "@rollup/rollup-linux-x64-musl": "4.46.0"
107
+ "@rollup/rollup-darwin-arm64": "4.46.1",
108
+ "@rollup/rollup-android-arm64": "4.46.1",
109
+ "@rollup/rollup-win32-arm64-msvc": "4.46.1",
110
+ "@rollup/rollup-freebsd-arm64": "4.46.1",
111
+ "@rollup/rollup-linux-arm64-gnu": "4.46.1",
112
+ "@rollup/rollup-linux-arm64-musl": "4.46.1",
113
+ "@rollup/rollup-android-arm-eabi": "4.46.1",
114
+ "@rollup/rollup-linux-arm-gnueabihf": "4.46.1",
115
+ "@rollup/rollup-linux-arm-musleabihf": "4.46.1",
116
+ "@rollup/rollup-win32-ia32-msvc": "4.46.1",
117
+ "@rollup/rollup-linux-loongarch64-gnu": "4.46.1",
118
+ "@rollup/rollup-linux-riscv64-gnu": "4.46.1",
119
+ "@rollup/rollup-linux-riscv64-musl": "4.46.1",
120
+ "@rollup/rollup-linux-ppc64-gnu": "4.46.1",
121
+ "@rollup/rollup-linux-s390x-gnu": "4.46.1",
122
+ "@rollup/rollup-darwin-x64": "4.46.1",
123
+ "@rollup/rollup-win32-x64-msvc": "4.46.1",
124
+ "@rollup/rollup-freebsd-x64": "4.46.1",
125
+ "@rollup/rollup-linux-x64-gnu": "4.46.1",
126
+ "@rollup/rollup-linux-x64-musl": "4.46.1"
127
127
  },
128
128
  "dependencies": {
129
129
  "@types/estree": "1.0.8"