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 +6 -0
- package/dist/bin/rollup +2 -2
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +5 -4
- package/dist/es/shared/parseAst.js +2 -2
- package/dist/es/shared/watch.js +2 -2
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/parseAst.js +2 -2
- package/dist/rollup.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/parseAst.js +2 -2
- package/dist/shared/rollup.js +5 -4
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch-proxy.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +13 -13
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.
|
|
5
|
-
|
|
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
|
|
package/dist/es/getLogFilter.js
CHANGED
package/dist/es/parseAst.js
CHANGED
package/dist/es/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.6.
|
|
4
|
-
|
|
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.
|
|
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
|
}
|
package/dist/es/shared/watch.js
CHANGED
package/dist/getLogFilter.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/parseAst.js
CHANGED
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
package/dist/shared/parseAst.js
CHANGED
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.6.
|
|
4
|
-
|
|
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.
|
|
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
|
}
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rollup",
|
|
3
|
-
"version": "4.6.
|
|
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.
|
|
104
|
-
"@rollup/rollup-android-arm64": "4.6.
|
|
105
|
-
"@rollup/rollup-win32-arm64-msvc": "4.6.
|
|
106
|
-
"@rollup/rollup-linux-arm64-gnu": "4.6.
|
|
107
|
-
"@rollup/rollup-linux-arm64-musl": "4.6.
|
|
108
|
-
"@rollup/rollup-android-arm-eabi": "4.6.
|
|
109
|
-
"@rollup/rollup-linux-arm-gnueabihf": "4.6.
|
|
110
|
-
"@rollup/rollup-win32-ia32-msvc": "4.6.
|
|
111
|
-
"@rollup/rollup-darwin-x64": "4.6.
|
|
112
|
-
"@rollup/rollup-win32-x64-msvc": "4.6.
|
|
113
|
-
"@rollup/rollup-linux-x64-gnu": "4.6.
|
|
114
|
-
"@rollup/rollup-linux-x64-musl": "4.6.
|
|
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"
|