@rollup/wasm-node 4.34.7 → 4.34.9

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.7
5
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
4
+ Rollup.js v4.34.9
5
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7";
18
+ var version = "4.34.9";
19
19
 
20
20
  const comma = ','.charCodeAt(0);
21
21
  const semicolon = ';'.charCodeAt(0);
@@ -13805,7 +13805,7 @@ class LogicalExpression extends NodeBase {
13805
13805
  this.expressionsToBeDeoptimized.push(origin);
13806
13806
  return usedBranch.getLiteralValueAtPath(path, recursionTracker, origin);
13807
13807
  }
13808
- else if (!this.hasDeoptimizedCache) {
13808
+ else if (!this.hasDeoptimizedCache && !path.length) {
13809
13809
  const rightValue = this.right.getLiteralValueAtPath(path, recursionTracker, origin);
13810
13810
  const booleanOrUnknown = tryCastLiteralValueToBoolean(rightValue);
13811
13811
  if (typeof booleanOrUnknown !== 'symbol') {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/native.js CHANGED
@@ -6,8 +6,8 @@ const {
6
6
  } = require('./wasm-node/bindings_wasm.js');
7
7
 
8
8
  exports.parse = parse;
9
- exports.parseAsync = async (code, allowReturnOutsideFunction, _signal) =>
10
- parse(code, allowReturnOutsideFunction);
9
+ exports.parseAsync = async (code, allowReturnOutsideFunction, jsx, _signal) =>
10
+ parse(code, allowReturnOutsideFunction, jsx);
11
11
  exports.xxhashBase64Url = xxhashBase64Url;
12
12
  exports.xxhashBase36 = xxhashBase36;
13
13
  exports.xxhashBase16 = xxhashBase16;
package/dist/parseAst.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/rollup.d.ts CHANGED
@@ -212,7 +212,10 @@ interface ModuleInfo extends ModuleOptions {
212
212
 
213
213
  export type GetModuleInfo = (moduleId: string) => ModuleInfo | null;
214
214
 
215
- export type CustomPluginOptions = Record<string, any>;
215
+ // eslint-disable-next-line @typescript-eslint/consistent-indexed-object-style -- this is an interface so that it can be extended by plugins
216
+ export interface CustomPluginOptions {
217
+ [plugin: string]: any;
218
+ }
216
219
 
217
220
  type LoggingFunctionWithPosition = (
218
221
  log: RollupLog | string | (() => RollupLog | string),
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7";
20
+ var version = "4.34.9";
21
21
 
22
22
  function ensureArray$1(items) {
23
23
  if (Array.isArray(items)) {
@@ -15273,7 +15273,7 @@ class LogicalExpression extends NodeBase {
15273
15273
  this.expressionsToBeDeoptimized.push(origin);
15274
15274
  return usedBranch.getLiteralValueAtPath(path, recursionTracker, origin);
15275
15275
  }
15276
- else if (!this.hasDeoptimizedCache) {
15276
+ else if (!this.hasDeoptimizedCache && !path.length) {
15277
15277
  const rightValue = this.right.getLiteralValueAtPath(path, recursionTracker, origin);
15278
15278
  const booleanOrUnknown = tryCastLiteralValueToBoolean(rightValue);
15279
15279
  if (typeof booleanOrUnknown !== 'symbol') {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.34.7",
3
+ "version": "4.34.9",
4
4
  "description": "Next-generation ES module bundler with Node wasm",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -33,13 +33,13 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@codemirror/commands": "^6.8.0",
36
- "@codemirror/lang-javascript": "^6.2.2",
36
+ "@codemirror/lang-javascript": "^6.2.3",
37
37
  "@codemirror/language": "^6.10.8",
38
- "@codemirror/search": "^6.5.8",
38
+ "@codemirror/search": "^6.5.9",
39
39
  "@codemirror/state": "^6.5.2",
40
- "@codemirror/view": "^6.36.2",
41
- "@eslint/js": "^9.20.0",
42
- "@inquirer/prompts": "^7.3.1",
40
+ "@codemirror/view": "^6.36.3",
41
+ "@eslint/js": "^9.21.0",
42
+ "@inquirer/prompts": "^7.3.2",
43
43
  "@jridgewell/sourcemap-codec": "^1.5.0",
44
44
  "@mermaid-js/mermaid-cli": "^11.4.2",
45
45
  "@napi-rs/cli": "^2.18.4",
@@ -52,12 +52,12 @@
52
52
  "@rollup/plugin-terser": "^0.4.4",
53
53
  "@rollup/plugin-typescript": "^12.1.2",
54
54
  "@rollup/pluginutils": "^5.1.4",
55
- "@shikijs/vitepress-twoslash": "^2.3.2",
55
+ "@shikijs/vitepress-twoslash": "^3.0.0",
56
56
  "@types/mocha": "^10.0.10",
57
- "@types/node": "^18.19.75",
57
+ "@types/node": "^18.19.76",
58
58
  "@types/semver": "^7.5.8",
59
59
  "@types/yargs-parser": "^21.0.3",
60
- "@vue/language-server": "^2.2.0",
60
+ "@vue/language-server": "^2.2.4",
61
61
  "acorn": "^8.14.0",
62
62
  "acorn-import-assertions": "^1.9.0",
63
63
  "acorn-jsx": "^5.3.2",
@@ -70,7 +70,7 @@
70
70
  "date-time": "^4.0.0",
71
71
  "es5-shim": "^4.6.7",
72
72
  "es6-shim": "^0.35.8",
73
- "eslint": "^9.20.0",
73
+ "eslint": "^9.21.0",
74
74
  "eslint-config-prettier": "^10.0.1",
75
75
  "eslint-plugin-prettier": "^5.2.3",
76
76
  "eslint-plugin-unicorn": "^56.0.1",
@@ -79,7 +79,7 @@
79
79
  "flru": "^1.0.2",
80
80
  "fs-extra": "^11.3.0",
81
81
  "github-api": "^3.4.0",
82
- "globals": "^15.14.0",
82
+ "globals": "^16.0.0",
83
83
  "husky": "^9.1.7",
84
84
  "is-reference": "^3.0.3",
85
85
  "lint-staged": "^15.4.3",
@@ -90,14 +90,14 @@
90
90
  "npm-audit-resolver": "^3.0.0-RC.0",
91
91
  "nyc": "^17.1.0",
92
92
  "picocolors": "^1.1.1",
93
- "pinia": "^2.3.1",
94
- "prettier": "^3.5.0",
93
+ "pinia": "^3.0.1",
94
+ "prettier": "^3.5.2",
95
95
  "prettier-plugin-organize-imports": "^4.1.0",
96
96
  "pretty-bytes": "^6.1.1",
97
97
  "pretty-ms": "^9.2.0",
98
98
  "requirejs": "^2.3.7",
99
- "rollup": "^4.34.6",
100
- "rollup-plugin-license": "^3.5.3",
99
+ "rollup": "^4.34.8",
100
+ "rollup-plugin-license": "^3.6.0",
101
101
  "rollup-plugin-string": "^3.0.0",
102
102
  "semver": "^7.7.1",
103
103
  "shx": "^0.3.4",
@@ -105,21 +105,22 @@
105
105
  "source-map": "^0.7.4",
106
106
  "source-map-support": "^0.5.21",
107
107
  "systemjs": "^6.15.1",
108
- "terser": "^5.38.1",
108
+ "terser": "^5.39.0",
109
109
  "tslib": "^2.8.1",
110
110
  "typescript": "^5.7.3",
111
- "typescript-eslint": "^8.24.0",
112
- "vite": "^6.1.0",
111
+ "typescript-eslint": "^8.25.0",
112
+ "vite": "^6.2.0",
113
113
  "vitepress": "^1.6.3",
114
114
  "vue": "^3.5.13",
115
- "vue-tsc": "^2.2.0",
115
+ "vue-tsc": "^2.2.4",
116
116
  "wasm-pack": "^0.13.1",
117
117
  "yargs-parser": "^21.1.1"
118
118
  },
119
119
  "overrides": {
120
120
  "axios": "^1.7.9",
121
121
  "semver": "^7.7.1",
122
- "readable-stream": "npm:@built-in/readable-stream@1"
122
+ "readable-stream": "npm:@built-in/readable-stream@1",
123
+ "esbuild": ">0.24.2"
123
124
  },
124
125
  "comments": {
125
126
  "vue-tsc": "This is necessary so that prettier-plugin-organize-imports works correctly in Vue templatges"