rollup 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/README.md CHANGED
@@ -120,6 +120,12 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
120
120
 
121
121
  <a href="https://opencollective.com/rollup/sponsor/0/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/0/avatar.svg"></a> <a href="https://opencollective.com/rollup/sponsor/1/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/1/avatar.svg"></a> <a href="https://opencollective.com/rollup/sponsor/2/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/2/avatar.svg"></a> <a href="https://opencollective.com/rollup/sponsor/3/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/3/avatar.svg"></a> <a href="https://opencollective.com/rollup/sponsor/4/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/4/avatar.svg"></a> <a href="https://opencollective.com/rollup/sponsor/5/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/5/avatar.svg"></a> <a href="https://opencollective.com/rollup/sponsor/6/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/6/avatar.svg"></a> <a href="https://opencollective.com/rollup/sponsor/7/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/7/avatar.svg"></a> <a href="https://opencollective.com/rollup/sponsor/8/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/8/avatar.svg"></a> <a href="https://opencollective.com/rollup/sponsor/9/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/9/avatar.svg"></a> <a href="https://opencollective.com/rollup/sponsor/10/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/10/avatar.svg"></a> <a href="https://opencollective.com/rollup/sponsor/11/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/11/avatar.svg"></a> <a href="https://opencollective.com/rollup/sponsor/12/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/12/avatar.svg"></a> <a href="https://opencollective.com/rollup/sponsor/13/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/13/avatar.svg"></a> <a href="https://opencollective.com/rollup/sponsor/14/website" target="_blank"><img src="https://opencollective.com/rollup/sponsor/14/avatar.svg"></a>
122
122
 
123
+ ## Special Sponsor
124
+
125
+ <a href="https://www.tngtech.com/en/index.html" target="_blank"><img src="https://www.tngtech.com/fileadmin/Public/Images/Logos/TNG_Logo_medium_400x64.svg" alt="TNG Logo" width="280"/></a>
126
+
127
+ TNG has been supporting the work of [Lukas Taegert-Atkinson](https://github.com/lukastaegert) on Rollup since 2017.
128
+
123
129
  ## License
124
130
 
125
131
  [MIT](https://github.com/rollup/rollup/blob/master/LICENSE.md)
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",
3
- "version": "4.6.0",
3
+ "version": "4.6.1",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -100,18 +100,18 @@
100
100
  "homepage": "https://rollupjs.org/",
101
101
  "optionalDependencies": {
102
102
  "fsevents": "~2.3.2",
103
- "@rollup/rollup-darwin-arm64": "4.6.0",
104
- "@rollup/rollup-android-arm64": "4.6.0",
105
- "@rollup/rollup-win32-arm64-msvc": "4.6.0",
106
- "@rollup/rollup-linux-arm64-gnu": "4.6.0",
107
- "@rollup/rollup-linux-arm64-musl": "4.6.0",
108
- "@rollup/rollup-android-arm-eabi": "4.6.0",
109
- "@rollup/rollup-linux-arm-gnueabihf": "4.6.0",
110
- "@rollup/rollup-win32-ia32-msvc": "4.6.0",
111
- "@rollup/rollup-darwin-x64": "4.6.0",
112
- "@rollup/rollup-win32-x64-msvc": "4.6.0",
113
- "@rollup/rollup-linux-x64-gnu": "4.6.0",
114
- "@rollup/rollup-linux-x64-musl": "4.6.0"
103
+ "@rollup/rollup-darwin-arm64": "4.6.1",
104
+ "@rollup/rollup-android-arm64": "4.6.1",
105
+ "@rollup/rollup-win32-arm64-msvc": "4.6.1",
106
+ "@rollup/rollup-linux-arm64-gnu": "4.6.1",
107
+ "@rollup/rollup-linux-arm64-musl": "4.6.1",
108
+ "@rollup/rollup-android-arm-eabi": "4.6.1",
109
+ "@rollup/rollup-linux-arm-gnueabihf": "4.6.1",
110
+ "@rollup/rollup-win32-ia32-msvc": "4.6.1",
111
+ "@rollup/rollup-darwin-x64": "4.6.1",
112
+ "@rollup/rollup-win32-x64-msvc": "4.6.1",
113
+ "@rollup/rollup-linux-x64-gnu": "4.6.1",
114
+ "@rollup/rollup-linux-x64-musl": "4.6.1"
115
115
  },
116
116
  "devDependenciesComments": {
117
117
  "@rollup/plugin-typescript": "It appears that 11.1.3 breaks sourcemaps"