@rollup/wasm-node 4.6.0 → 4.6.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.6.0
5
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
4
+ Rollup.js v4.6.1
5
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
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.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -16,7 +16,7 @@ import { xxhashBase64Url } from '../../native.js';
16
16
  import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
17
17
  import * as tty from 'tty';
18
18
 
19
- var version = "4.6.0";
19
+ var version = "4.6.1";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -7513,7 +7513,8 @@ class BlockScope extends ChildScope {
7513
7513
  const name = identifier.name;
7514
7514
  const existingVariable = this.hoistedVariables?.get(name) || this.variables.get(name);
7515
7515
  if (existingVariable) {
7516
- if (existingVariable.kind === "var" /* VariableKind.var */) {
7516
+ if (existingVariable.kind === "var" /* VariableKind.var */ ||
7517
+ (kind === "var" /* VariableKind.var */ && existingVariable.kind === "parameter" /* VariableKind.parameter */)) {
7517
7518
  existingVariable.addDeclaration(identifier, init);
7518
7519
  return existingVariable;
7519
7520
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
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.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
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.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -31,7 +31,7 @@ function _interopNamespaceDefault(e) {
31
31
 
32
32
  const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
33
33
 
34
- var version = "4.6.0";
34
+ var version = "4.6.1";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -8945,7 +8945,8 @@ class BlockScope extends ChildScope {
8945
8945
  const name = identifier.name;
8946
8946
  const existingVariable = this.hoistedVariables?.get(name) || this.variables.get(name);
8947
8947
  if (existingVariable) {
8948
- if (existingVariable.kind === "var" /* VariableKind.var */) {
8948
+ if (existingVariable.kind === "var" /* VariableKind.var */ ||
8949
+ (kind === "var" /* VariableKind.var */ && existingVariable.kind === "parameter" /* VariableKind.parameter */)) {
8949
8950
  existingVariable.addDeclaration(identifier, init);
8950
8951
  return existingVariable;
8951
8952
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.6.0
4
- Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31
3
+ Rollup.js v4.6.1
4
+ Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
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.6.0",
3
+ "version": "4.6.1",
4
4
  "description": "Next-generation ES module bundler with Node wasm",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",