rollup 4.34.0 → 4.34.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.34.0
5
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
4
+ Rollup.js v4.34.1
5
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
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.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
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.34.0";
18
+ var version = "4.34.1";
19
19
 
20
20
  const comma = ','.charCodeAt(0);
21
21
  const semicolon = ';'.charCodeAt(0);
@@ -14775,6 +14775,12 @@ class ThrowStatement extends NodeBase {
14775
14775
  this.argument.include(context, includeChildrenRecursively);
14776
14776
  context.brokenFlow = true;
14777
14777
  }
14778
+ includeNode(context) {
14779
+ if (!this.included) {
14780
+ this.included = true;
14781
+ this.argument.includePath(UNKNOWN_PATH, context);
14782
+ }
14783
+ }
14778
14784
  render(code, options) {
14779
14785
  this.argument.render(code, options, { preventASI: true });
14780
14786
  if (this.argument.start === this.start + 5 /* 'throw'.length */) {
@@ -14782,7 +14788,6 @@ class ThrowStatement extends NodeBase {
14782
14788
  }
14783
14789
  }
14784
14790
  }
14785
- ThrowStatement.prototype.includeNode = onlyIncludeSelf;
14786
14791
 
14787
14792
  class TryStatement extends NodeBase {
14788
14793
  constructor() {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
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.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
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.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
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.34.0";
20
+ var version = "4.34.1";
21
21
 
22
22
  function ensureArray$1(items) {
23
23
  if (Array.isArray(items)) {
@@ -16243,6 +16243,12 @@ class ThrowStatement extends NodeBase {
16243
16243
  this.argument.include(context, includeChildrenRecursively);
16244
16244
  context.brokenFlow = true;
16245
16245
  }
16246
+ includeNode(context) {
16247
+ if (!this.included) {
16248
+ this.included = true;
16249
+ this.argument.includePath(UNKNOWN_PATH, context);
16250
+ }
16251
+ }
16246
16252
  render(code, options) {
16247
16253
  this.argument.render(code, options, { preventASI: true });
16248
16254
  if (this.argument.start === this.start + 5 /* 'throw'.length */) {
@@ -16250,7 +16256,6 @@ class ThrowStatement extends NodeBase {
16250
16256
  }
16251
16257
  }
16252
16258
  }
16253
- ThrowStatement.prototype.includeNode = onlyIncludeSelf;
16254
16259
 
16255
16260
  class TryStatement extends NodeBase {
16256
16261
  constructor() {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.0
4
- Sat, 01 Feb 2025 08:39:54 GMT - commit 979d62888dbe75f92e50fdd64246c737c52f5f1f
3
+ Rollup.js v4.34.1
4
+ Mon, 03 Feb 2025 06:57:43 GMT - commit 0f20524ad9ecd166a900d43af93f05a3405d2a45
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.34.0",
3
+ "version": "4.34.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.34.0",
114
- "@rollup/rollup-android-arm64": "4.34.0",
115
- "@rollup/rollup-win32-arm64-msvc": "4.34.0",
116
- "@rollup/rollup-freebsd-arm64": "4.34.0",
117
- "@rollup/rollup-linux-arm64-gnu": "4.34.0",
118
- "@rollup/rollup-linux-arm64-musl": "4.34.0",
119
- "@rollup/rollup-android-arm-eabi": "4.34.0",
120
- "@rollup/rollup-linux-arm-gnueabihf": "4.34.0",
121
- "@rollup/rollup-linux-arm-musleabihf": "4.34.0",
122
- "@rollup/rollup-win32-ia32-msvc": "4.34.0",
123
- "@rollup/rollup-linux-loongarch64-gnu": "4.34.0",
124
- "@rollup/rollup-linux-riscv64-gnu": "4.34.0",
125
- "@rollup/rollup-linux-powerpc64le-gnu": "4.34.0",
126
- "@rollup/rollup-linux-s390x-gnu": "4.34.0",
127
- "@rollup/rollup-darwin-x64": "4.34.0",
128
- "@rollup/rollup-win32-x64-msvc": "4.34.0",
129
- "@rollup/rollup-freebsd-x64": "4.34.0",
130
- "@rollup/rollup-linux-x64-gnu": "4.34.0",
131
- "@rollup/rollup-linux-x64-musl": "4.34.0"
113
+ "@rollup/rollup-darwin-arm64": "4.34.1",
114
+ "@rollup/rollup-android-arm64": "4.34.1",
115
+ "@rollup/rollup-win32-arm64-msvc": "4.34.1",
116
+ "@rollup/rollup-freebsd-arm64": "4.34.1",
117
+ "@rollup/rollup-linux-arm64-gnu": "4.34.1",
118
+ "@rollup/rollup-linux-arm64-musl": "4.34.1",
119
+ "@rollup/rollup-android-arm-eabi": "4.34.1",
120
+ "@rollup/rollup-linux-arm-gnueabihf": "4.34.1",
121
+ "@rollup/rollup-linux-arm-musleabihf": "4.34.1",
122
+ "@rollup/rollup-win32-ia32-msvc": "4.34.1",
123
+ "@rollup/rollup-linux-loongarch64-gnu": "4.34.1",
124
+ "@rollup/rollup-linux-riscv64-gnu": "4.34.1",
125
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.34.1",
126
+ "@rollup/rollup-linux-s390x-gnu": "4.34.1",
127
+ "@rollup/rollup-darwin-x64": "4.34.1",
128
+ "@rollup/rollup-win32-x64-msvc": "4.34.1",
129
+ "@rollup/rollup-freebsd-x64": "4.34.1",
130
+ "@rollup/rollup-linux-x64-gnu": "4.34.1",
131
+ "@rollup/rollup-linux-x64-musl": "4.34.1"
132
132
  },
133
133
  "dependencies": {
134
134
  "@types/estree": "1.0.6"