rollup 4.1.4 → 4.1.6
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 +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 +18 -10
- 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 +18 -10
- 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 +38 -38
package/dist/bin/rollup
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*
|
|
3
3
|
@license
|
|
4
|
-
Rollup.js v4.1.
|
|
5
|
-
|
|
4
|
+
Rollup.js v4.1.6
|
|
5
|
+
Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
|
|
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.1.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.1.6
|
|
4
|
+
Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
|
|
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.1.
|
|
19
|
+
var version = "4.1.6";
|
|
20
20
|
|
|
21
21
|
const comma = ','.charCodeAt(0);
|
|
22
22
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -7310,7 +7310,7 @@ function findFirstLineBreakOutsideComment(code) {
|
|
|
7310
7310
|
charCodeAfterSlash = code.charCodeAt(start + 1);
|
|
7311
7311
|
if (charCodeAfterSlash === 47 /*"/"*/)
|
|
7312
7312
|
return [start, lineBreakPos + 1];
|
|
7313
|
-
start = code.indexOf('*/', start +
|
|
7313
|
+
start = code.indexOf('*/', start + 2) + 2;
|
|
7314
7314
|
if (start > lineBreakPos) {
|
|
7315
7315
|
lineBreakPos = code.indexOf('\n', start);
|
|
7316
7316
|
}
|
|
@@ -17504,13 +17504,19 @@ class ModuleLoader {
|
|
|
17504
17504
|
return this.extendLoadModulesPromise(this.loadEntryModule(unresolvedModule.id, false, unresolvedModule.importer, null).then(async (entryModule) => {
|
|
17505
17505
|
addChunkNamesToModule(entryModule, unresolvedModule, false, chunkNamePriority);
|
|
17506
17506
|
if (!entryModule.info.isEntry) {
|
|
17507
|
-
this.implicitEntryModules.add(entryModule);
|
|
17508
17507
|
const implicitlyLoadedAfterModules = await Promise.all(implicitlyLoadedAfter.map(id => this.loadEntryModule(id, false, unresolvedModule.importer, entryModule.id)));
|
|
17509
|
-
|
|
17510
|
-
|
|
17511
|
-
|
|
17512
|
-
|
|
17513
|
-
|
|
17508
|
+
// We need to check again if this is still an entry module as these
|
|
17509
|
+
// changes need to be performed atomically to avoid race conditions
|
|
17510
|
+
// if the same module is re-emitted as an entry module.
|
|
17511
|
+
// The inverse changes happen in "handleExistingModule"
|
|
17512
|
+
if (!entryModule.info.isEntry) {
|
|
17513
|
+
this.implicitEntryModules.add(entryModule);
|
|
17514
|
+
for (const module of implicitlyLoadedAfterModules) {
|
|
17515
|
+
entryModule.implicitlyLoadedAfter.add(module);
|
|
17516
|
+
}
|
|
17517
|
+
for (const dependant of entryModule.implicitlyLoadedAfter) {
|
|
17518
|
+
dependant.implicitlyLoadedBefore.add(entryModule);
|
|
17519
|
+
}
|
|
17514
17520
|
}
|
|
17515
17521
|
}
|
|
17516
17522
|
return entryModule;
|
|
@@ -17761,6 +17767,8 @@ class ModuleLoader {
|
|
|
17761
17767
|
: loadPromise;
|
|
17762
17768
|
}
|
|
17763
17769
|
if (isEntry) {
|
|
17770
|
+
// This reverts the changes in addEntryWithImplicitDependants and needs to
|
|
17771
|
+
// be performed atomically
|
|
17764
17772
|
module.info.isEntry = true;
|
|
17765
17773
|
this.implicitEntryModules.delete(module);
|
|
17766
17774
|
for (const dependant of module.implicitlyLoadedAfter) {
|
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.1.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.1.6
|
|
4
|
+
Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
|
|
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.1.
|
|
34
|
+
var version = "4.1.6";
|
|
35
35
|
|
|
36
36
|
function ensureArray$1(items) {
|
|
37
37
|
if (Array.isArray(items)) {
|
|
@@ -8744,7 +8744,7 @@ function findFirstLineBreakOutsideComment(code) {
|
|
|
8744
8744
|
charCodeAfterSlash = code.charCodeAt(start + 1);
|
|
8745
8745
|
if (charCodeAfterSlash === 47 /*"/"*/)
|
|
8746
8746
|
return [start, lineBreakPos + 1];
|
|
8747
|
-
start = code.indexOf('*/', start +
|
|
8747
|
+
start = code.indexOf('*/', start + 2) + 2;
|
|
8748
8748
|
if (start > lineBreakPos) {
|
|
8749
8749
|
lineBreakPos = code.indexOf('\n', start);
|
|
8750
8750
|
}
|
|
@@ -18578,13 +18578,19 @@ class ModuleLoader {
|
|
|
18578
18578
|
return this.extendLoadModulesPromise(this.loadEntryModule(unresolvedModule.id, false, unresolvedModule.importer, null).then(async (entryModule) => {
|
|
18579
18579
|
addChunkNamesToModule(entryModule, unresolvedModule, false, chunkNamePriority);
|
|
18580
18580
|
if (!entryModule.info.isEntry) {
|
|
18581
|
-
this.implicitEntryModules.add(entryModule);
|
|
18582
18581
|
const implicitlyLoadedAfterModules = await Promise.all(implicitlyLoadedAfter.map(id => this.loadEntryModule(id, false, unresolvedModule.importer, entryModule.id)));
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
|
|
18586
|
-
|
|
18587
|
-
|
|
18582
|
+
// We need to check again if this is still an entry module as these
|
|
18583
|
+
// changes need to be performed atomically to avoid race conditions
|
|
18584
|
+
// if the same module is re-emitted as an entry module.
|
|
18585
|
+
// The inverse changes happen in "handleExistingModule"
|
|
18586
|
+
if (!entryModule.info.isEntry) {
|
|
18587
|
+
this.implicitEntryModules.add(entryModule);
|
|
18588
|
+
for (const module of implicitlyLoadedAfterModules) {
|
|
18589
|
+
entryModule.implicitlyLoadedAfter.add(module);
|
|
18590
|
+
}
|
|
18591
|
+
for (const dependant of entryModule.implicitlyLoadedAfter) {
|
|
18592
|
+
dependant.implicitlyLoadedBefore.add(entryModule);
|
|
18593
|
+
}
|
|
18588
18594
|
}
|
|
18589
18595
|
}
|
|
18590
18596
|
return entryModule;
|
|
@@ -18835,6 +18841,8 @@ class ModuleLoader {
|
|
|
18835
18841
|
: loadPromise;
|
|
18836
18842
|
}
|
|
18837
18843
|
if (isEntry) {
|
|
18844
|
+
// This reverts the changes in addEntryWithImplicitDependants and needs to
|
|
18845
|
+
// be performed atomically
|
|
18838
18846
|
module.info.isEntry = true;
|
|
18839
18847
|
this.implicitEntryModules.delete(module);
|
|
18840
18848
|
for (const dependant of module.implicitlyLoadedAfter) {
|
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.1.
|
|
3
|
+
"version": "4.1.6",
|
|
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.1.
|
|
104
|
-
"@rollup/rollup-android-arm64": "4.1.
|
|
105
|
-
"@rollup/rollup-win32-arm64-msvc": "4.1.
|
|
106
|
-
"@rollup/rollup-linux-arm64-gnu": "4.1.
|
|
107
|
-
"@rollup/rollup-linux-arm64-musl": "4.1.
|
|
108
|
-
"@rollup/rollup-android-arm-eabi": "4.1.
|
|
109
|
-
"@rollup/rollup-linux-arm-gnueabihf": "4.1.
|
|
110
|
-
"@rollup/rollup-win32-ia32-msvc": "4.1.
|
|
111
|
-
"@rollup/rollup-darwin-x64": "4.1.
|
|
112
|
-
"@rollup/rollup-win32-x64-msvc": "4.1.
|
|
113
|
-
"@rollup/rollup-linux-x64-gnu": "4.1.
|
|
114
|
-
"@rollup/rollup-linux-x64-musl": "4.1.
|
|
103
|
+
"@rollup/rollup-darwin-arm64": "4.1.6",
|
|
104
|
+
"@rollup/rollup-android-arm64": "4.1.6",
|
|
105
|
+
"@rollup/rollup-win32-arm64-msvc": "4.1.6",
|
|
106
|
+
"@rollup/rollup-linux-arm64-gnu": "4.1.6",
|
|
107
|
+
"@rollup/rollup-linux-arm64-musl": "4.1.6",
|
|
108
|
+
"@rollup/rollup-android-arm-eabi": "4.1.6",
|
|
109
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.1.6",
|
|
110
|
+
"@rollup/rollup-win32-ia32-msvc": "4.1.6",
|
|
111
|
+
"@rollup/rollup-darwin-x64": "4.1.6",
|
|
112
|
+
"@rollup/rollup-win32-x64-msvc": "4.1.6",
|
|
113
|
+
"@rollup/rollup-linux-x64-gnu": "4.1.6",
|
|
114
|
+
"@rollup/rollup-linux-x64-musl": "4.1.6"
|
|
115
115
|
},
|
|
116
116
|
"devDependenciesComments": {
|
|
117
117
|
"@rollup/plugin-typescript": "It appears that 11.1.3 breaks sourcemaps"
|
|
@@ -119,28 +119,28 @@
|
|
|
119
119
|
"devDependencies": {
|
|
120
120
|
"@codemirror/commands": "^6.3.0",
|
|
121
121
|
"@codemirror/lang-javascript": "^6.2.1",
|
|
122
|
-
"@codemirror/language": "^6.9.
|
|
122
|
+
"@codemirror/language": "^6.9.2",
|
|
123
123
|
"@codemirror/search": "^6.5.4",
|
|
124
|
-
"@codemirror/state": "^6.
|
|
125
|
-
"@codemirror/view": "^6.21.
|
|
124
|
+
"@codemirror/state": "^6.3.1",
|
|
125
|
+
"@codemirror/view": "^6.21.4",
|
|
126
126
|
"@jridgewell/sourcemap-codec": "^1.4.15",
|
|
127
|
-
"@mermaid-js/mermaid-cli": "^10.
|
|
127
|
+
"@mermaid-js/mermaid-cli": "^10.5.1",
|
|
128
128
|
"@napi-rs/cli": "^2.16.3",
|
|
129
129
|
"@rollup/plugin-alias": "^5.0.1",
|
|
130
130
|
"@rollup/plugin-buble": "^1.0.3",
|
|
131
|
-
"@rollup/plugin-commonjs": "^25.0.
|
|
131
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
132
132
|
"@rollup/plugin-json": "^6.0.1",
|
|
133
133
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
134
|
-
"@rollup/plugin-replace": "^5.0.
|
|
134
|
+
"@rollup/plugin-replace": "^5.0.4",
|
|
135
135
|
"@rollup/plugin-terser": "^0.4.4",
|
|
136
136
|
"@rollup/plugin-typescript": "11.1.5",
|
|
137
137
|
"@rollup/pluginutils": "^5.0.5",
|
|
138
|
-
"@types/estree": "1.0.
|
|
139
|
-
"@types/mocha": "^10.0.
|
|
138
|
+
"@types/estree": "1.0.3",
|
|
139
|
+
"@types/mocha": "^10.0.3",
|
|
140
140
|
"@types/node": "18.0.0",
|
|
141
|
-
"@types/yargs-parser": "^21.0.
|
|
142
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
143
|
-
"@typescript-eslint/parser": "^6.
|
|
141
|
+
"@types/yargs-parser": "^21.0.2",
|
|
142
|
+
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
|
143
|
+
"@typescript-eslint/parser": "^6.9.0",
|
|
144
144
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
145
145
|
"@vue/eslint-config-typescript": "^12.0.0",
|
|
146
146
|
"acorn": "^8.10.0",
|
|
@@ -149,17 +149,17 @@
|
|
|
149
149
|
"builtin-modules": "^3.3.0",
|
|
150
150
|
"chokidar": "^3.5.3",
|
|
151
151
|
"colorette": "^2.0.20",
|
|
152
|
-
"concurrently": "^8.2.
|
|
153
|
-
"core-js": "^3.33.
|
|
152
|
+
"concurrently": "^8.2.2",
|
|
153
|
+
"core-js": "^3.33.1",
|
|
154
154
|
"date-time": "^4.0.0",
|
|
155
155
|
"es5-shim": "^4.6.7",
|
|
156
156
|
"es6-shim": "^0.35.8",
|
|
157
|
-
"eslint": "^8.
|
|
157
|
+
"eslint": "^8.52.0",
|
|
158
158
|
"eslint-config-prettier": "^9.0.0",
|
|
159
|
-
"eslint-plugin-import": "^2.
|
|
160
|
-
"eslint-plugin-prettier": "^5.0.
|
|
159
|
+
"eslint-plugin-import": "^2.29.0",
|
|
160
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
161
161
|
"eslint-plugin-unicorn": "^48.0.1",
|
|
162
|
-
"eslint-plugin-vue": "^9.
|
|
162
|
+
"eslint-plugin-vue": "^9.18.0",
|
|
163
163
|
"fixturify": "^3.0.0",
|
|
164
164
|
"flru": "^1.0.2",
|
|
165
165
|
"fs-extra": "^11.1.1",
|
|
@@ -168,18 +168,18 @@
|
|
|
168
168
|
"husky": "^8.0.3",
|
|
169
169
|
"inquirer": "^9.2.11",
|
|
170
170
|
"is-reference": "^3.0.2",
|
|
171
|
-
"lint-staged": "^
|
|
171
|
+
"lint-staged": "^15.0.2",
|
|
172
172
|
"locate-character": "^3.0.0",
|
|
173
173
|
"magic-string": "^0.30.5",
|
|
174
174
|
"mocha": "^10.2.0",
|
|
175
175
|
"nyc": "^15.1.0",
|
|
176
|
-
"pinia": "^2.1.
|
|
176
|
+
"pinia": "^2.1.7",
|
|
177
177
|
"prettier": "^3.0.3",
|
|
178
178
|
"pretty-bytes": "^6.1.1",
|
|
179
179
|
"pretty-ms": "^8.0.0",
|
|
180
180
|
"requirejs": "^2.3.6",
|
|
181
|
-
"rollup": "^4.
|
|
182
|
-
"rollup-plugin-license": "
|
|
181
|
+
"rollup": "^4.1.4",
|
|
182
|
+
"rollup-plugin-license": "^3.2.0",
|
|
183
183
|
"rollup-plugin-string": "^3.0.0",
|
|
184
184
|
"rollup-plugin-thatworks": "^1.0.4",
|
|
185
185
|
"semver": "^7.5.4",
|
|
@@ -188,12 +188,12 @@
|
|
|
188
188
|
"source-map": "^0.7.4",
|
|
189
189
|
"source-map-support": "^0.5.21",
|
|
190
190
|
"systemjs": "^6.14.2",
|
|
191
|
-
"terser": "^5.
|
|
191
|
+
"terser": "^5.22.0",
|
|
192
192
|
"tslib": "^2.6.2",
|
|
193
193
|
"typescript": "^5.2.2",
|
|
194
|
-
"vite": "^4.
|
|
195
|
-
"vitepress": "^1.0.0-rc.
|
|
196
|
-
"vue": "^3.3.
|
|
194
|
+
"vite": "^4.5.0",
|
|
195
|
+
"vitepress": "^1.0.0-rc.24",
|
|
196
|
+
"vue": "^3.3.7",
|
|
197
197
|
"wasm-pack": "^0.12.1",
|
|
198
198
|
"weak-napi": "^2.0.2",
|
|
199
199
|
"yargs-parser": "^21.1.1"
|