rollup 4.0.0-21 → 4.0.0-23
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/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +5 -5
- package/dist/es/shared/watch.js +2 -2
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.d.ts +1 -1
- 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/rollup.js +5 -5
- 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 +12 -12
package/dist/bin/rollup
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
@license
|
|
5
|
-
Rollup.js v4.0.0-
|
|
6
|
-
|
|
5
|
+
Rollup.js v4.0.0-23
|
|
6
|
+
Tue, 26 Sep 2023 20:13:39 GMT - commit f1d93caae901c556ffb1e2f553428754038d65c1
|
|
7
7
|
|
|
8
8
|
https://github.com/rollup/rollup
|
|
9
9
|
|
package/dist/es/getLogFilter.js
CHANGED
package/dist/es/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.0.0-
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.0.0-23
|
|
4
|
+
Tue, 26 Sep 2023 20:13:39 GMT - commit f1d93caae901c556ffb1e2f553428754038d65c1
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -16,7 +16,7 @@ import native 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.0.0-
|
|
19
|
+
var version = "4.0.0-23";
|
|
20
20
|
|
|
21
21
|
const comma = ','.charCodeAt(0);
|
|
22
22
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -20544,8 +20544,8 @@ class Graph {
|
|
|
20544
20544
|
timeEnd('mark included statements', 2);
|
|
20545
20545
|
this.phase = BuildPhase.GENERATE;
|
|
20546
20546
|
}
|
|
20547
|
-
contextParse(code) {
|
|
20548
|
-
const astBuffer = native.parse(code);
|
|
20547
|
+
contextParse(code, { allowReturnOutsideFunction = false } = {}) {
|
|
20548
|
+
const astBuffer = native.parse(code, allowReturnOutsideFunction);
|
|
20549
20549
|
const readString = getReadStringFunction(astBuffer);
|
|
20550
20550
|
return convertProgram(astBuffer.buffer, readString);
|
|
20551
20551
|
}
|
package/dist/es/shared/watch.js
CHANGED
package/dist/getLogFilter.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/rollup.d.ts
CHANGED
|
@@ -215,7 +215,7 @@ export interface PluginContext extends MinimalPluginContext {
|
|
|
215
215
|
load: (
|
|
216
216
|
options: { id: string; resolveDependencies?: boolean } & Partial<PartialNull<ModuleOptions>>
|
|
217
217
|
) => Promise<ModuleInfo>;
|
|
218
|
-
parse: (input: string) => AstNode;
|
|
218
|
+
parse: (input: string, options?: { allowReturnOutsideFunction?: boolean }) => AstNode;
|
|
219
219
|
resolve: (
|
|
220
220
|
source: string,
|
|
221
221
|
importer?: string,
|
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.0.0-
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.0.0-23
|
|
4
|
+
Tue, 26 Sep 2023 20:13:39 GMT - commit f1d93caae901c556ffb1e2f553428754038d65c1
|
|
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.0.0-
|
|
34
|
+
var version = "4.0.0-23";
|
|
35
35
|
|
|
36
36
|
function ensureArray$1(items) {
|
|
37
37
|
if (Array.isArray(items)) {
|
|
@@ -21026,8 +21026,8 @@ class Graph {
|
|
|
21026
21026
|
timeEnd('mark included statements', 2);
|
|
21027
21027
|
this.phase = BuildPhase.GENERATE;
|
|
21028
21028
|
}
|
|
21029
|
-
contextParse(code) {
|
|
21030
|
-
const astBuffer = native.parse(code);
|
|
21029
|
+
contextParse(code, { allowReturnOutsideFunction = false } = {}) {
|
|
21030
|
+
const astBuffer = native.parse(code, allowReturnOutsideFunction);
|
|
21031
21031
|
const readString = getReadStringFunction(astBuffer);
|
|
21032
21032
|
return convertProgram(astBuffer.buffer, readString);
|
|
21033
21033
|
}
|
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.0.0-
|
|
3
|
+
"version": "4.0.0-23",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -98,17 +98,17 @@
|
|
|
98
98
|
"homepage": "https://rollupjs.org/",
|
|
99
99
|
"optionalDependencies": {
|
|
100
100
|
"fsevents": "~2.3.2",
|
|
101
|
-
"@rollup/rollup-darwin-arm64": "4.0.0-
|
|
102
|
-
"@rollup/rollup-android-arm64": "4.0.0-
|
|
103
|
-
"@rollup/rollup-win32-arm64-msvc": "4.0.0-
|
|
104
|
-
"@rollup/rollup-linux-arm64-gnu": "4.0.0-
|
|
105
|
-
"@rollup/rollup-android-arm-eabi": "4.0.0-
|
|
106
|
-
"@rollup/rollup-linux-arm-gnueabihf": "4.0.0-
|
|
107
|
-
"@rollup/rollup-win32-ia32-msvc": "4.0.0-
|
|
108
|
-
"@rollup/rollup-darwin-x64": "4.0.0-
|
|
109
|
-
"@rollup/rollup-win32-x64-msvc": "4.0.0-
|
|
110
|
-
"@rollup/rollup-linux-x64-gnu": "4.0.0-
|
|
111
|
-
"@rollup/rollup-linux-x64-musl": "4.0.0-
|
|
101
|
+
"@rollup/rollup-darwin-arm64": "4.0.0-23",
|
|
102
|
+
"@rollup/rollup-android-arm64": "4.0.0-23",
|
|
103
|
+
"@rollup/rollup-win32-arm64-msvc": "4.0.0-23",
|
|
104
|
+
"@rollup/rollup-linux-arm64-gnu": "4.0.0-23",
|
|
105
|
+
"@rollup/rollup-android-arm-eabi": "4.0.0-23",
|
|
106
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.0.0-23",
|
|
107
|
+
"@rollup/rollup-win32-ia32-msvc": "4.0.0-23",
|
|
108
|
+
"@rollup/rollup-darwin-x64": "4.0.0-23",
|
|
109
|
+
"@rollup/rollup-win32-x64-msvc": "4.0.0-23",
|
|
110
|
+
"@rollup/rollup-linux-x64-gnu": "4.0.0-23",
|
|
111
|
+
"@rollup/rollup-linux-x64-musl": "4.0.0-23"
|
|
112
112
|
},
|
|
113
113
|
"devDependenciesComments": {
|
|
114
114
|
"@rollup/plugin-typescript": "It appears that 11.1.3 breaks sourcemaps"
|