rollup 4.4.1 → 4.5.0
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 +3 -3
- 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/native.js +15 -4
- 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 +3 -3
- 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 +22 -22
package/dist/bin/rollup
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*
|
|
3
3
|
@license
|
|
4
|
-
Rollup.js v4.
|
|
5
|
-
|
|
4
|
+
Rollup.js v4.5.0
|
|
5
|
+
Sat, 18 Nov 2023 05:51:43 GMT - commit 86efc769f693516a29047c8d160c6d7287fb965d
|
|
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.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.5.0
|
|
4
|
+
Sat, 18 Nov 2023 05:51:43 GMT - commit 86efc769f693516a29047c8d160c6d7287fb965d
|
|
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.
|
|
19
|
+
var version = "4.5.0";
|
|
20
20
|
|
|
21
21
|
const comma = ','.charCodeAt(0);
|
|
22
22
|
const semicolon = ';'.charCodeAt(0);
|
package/dist/es/shared/watch.js
CHANGED
package/dist/getLogFilter.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/native.js
CHANGED
|
@@ -14,7 +14,7 @@ const bindingsByPlatformAndArch = {
|
|
|
14
14
|
x64: { base: 'darwin-x64' }
|
|
15
15
|
},
|
|
16
16
|
linux: {
|
|
17
|
-
arm: { base: 'linux-arm-gnueabihf' },
|
|
17
|
+
arm: { base: 'linux-arm-gnueabihf', musl: null },
|
|
18
18
|
arm64: { base: 'linux-arm64-gnu', musl: 'linux-arm64-musl' },
|
|
19
19
|
x64: { base: 'linux-x64-gnu', musl: 'linux-x64-musl' }
|
|
20
20
|
},
|
|
@@ -25,8 +25,9 @@ const bindingsByPlatformAndArch = {
|
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
const
|
|
29
|
-
|
|
28
|
+
const packageBase = getPackageBase();
|
|
29
|
+
|
|
30
|
+
if (!packageBase) {
|
|
30
31
|
throw new Error(
|
|
31
32
|
`Your current platform "${platform}" and architecture "${arch}" combination is not yet supported by the native Rollup build. Please use the WASM build "@rollup/wasm-node" instead.
|
|
32
33
|
|
|
@@ -44,7 +45,17 @@ If this is important to you, please consider supporting Rollup to make a native
|
|
|
44
45
|
);
|
|
45
46
|
}
|
|
46
47
|
|
|
47
|
-
|
|
48
|
+
function getPackageBase() {
|
|
49
|
+
const imported = bindingsByPlatformAndArch[platform]?.[arch];
|
|
50
|
+
if (!imported) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
if ('musl' in imported && isMusl()) {
|
|
54
|
+
return imported.musl;
|
|
55
|
+
}
|
|
56
|
+
return imported.base;
|
|
57
|
+
}
|
|
58
|
+
|
|
48
59
|
const localName = `./rollup.${packageBase}.node`;
|
|
49
60
|
const { parse, parseAsync, xxhashBase64Url } = require(
|
|
50
61
|
existsSync(join(__dirname, localName)) ? localName : `@rollup/rollup-${packageBase}`
|
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.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.5.0
|
|
4
|
+
Sat, 18 Nov 2023 05:51:43 GMT - commit 86efc769f693516a29047c8d160c6d7287fb965d
|
|
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.
|
|
34
|
+
var version = "4.5.0";
|
|
35
35
|
|
|
36
36
|
function ensureArray$1(items) {
|
|
37
37
|
if (Array.isArray(items)) {
|
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.
|
|
3
|
+
"version": "4.5.0",
|
|
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.
|
|
104
|
-
"@rollup/rollup-android-arm64": "4.
|
|
105
|
-
"@rollup/rollup-win32-arm64-msvc": "4.
|
|
106
|
-
"@rollup/rollup-linux-arm64-gnu": "4.
|
|
107
|
-
"@rollup/rollup-linux-arm64-musl": "4.
|
|
108
|
-
"@rollup/rollup-android-arm-eabi": "4.
|
|
109
|
-
"@rollup/rollup-linux-arm-gnueabihf": "4.
|
|
110
|
-
"@rollup/rollup-win32-ia32-msvc": "4.
|
|
111
|
-
"@rollup/rollup-darwin-x64": "4.
|
|
112
|
-
"@rollup/rollup-win32-x64-msvc": "4.
|
|
113
|
-
"@rollup/rollup-linux-x64-gnu": "4.
|
|
114
|
-
"@rollup/rollup-linux-x64-musl": "4.
|
|
103
|
+
"@rollup/rollup-darwin-arm64": "4.5.0",
|
|
104
|
+
"@rollup/rollup-android-arm64": "4.5.0",
|
|
105
|
+
"@rollup/rollup-win32-arm64-msvc": "4.5.0",
|
|
106
|
+
"@rollup/rollup-linux-arm64-gnu": "4.5.0",
|
|
107
|
+
"@rollup/rollup-linux-arm64-musl": "4.5.0",
|
|
108
|
+
"@rollup/rollup-android-arm-eabi": "4.5.0",
|
|
109
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.5.0",
|
|
110
|
+
"@rollup/rollup-win32-ia32-msvc": "4.5.0",
|
|
111
|
+
"@rollup/rollup-darwin-x64": "4.5.0",
|
|
112
|
+
"@rollup/rollup-win32-x64-msvc": "4.5.0",
|
|
113
|
+
"@rollup/rollup-linux-x64-gnu": "4.5.0",
|
|
114
|
+
"@rollup/rollup-linux-x64-musl": "4.5.0"
|
|
115
115
|
},
|
|
116
116
|
"devDependenciesComments": {
|
|
117
117
|
"@rollup/plugin-typescript": "It appears that 11.1.3 breaks sourcemaps"
|
|
@@ -136,11 +136,11 @@
|
|
|
136
136
|
"@rollup/plugin-typescript": "11.1.5",
|
|
137
137
|
"@rollup/pluginutils": "^5.0.5",
|
|
138
138
|
"@types/estree": "1.0.5",
|
|
139
|
-
"@types/mocha": "^10.0.
|
|
139
|
+
"@types/mocha": "^10.0.4",
|
|
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.3",
|
|
142
|
+
"@typescript-eslint/eslint-plugin": "^6.11.0",
|
|
143
|
+
"@typescript-eslint/parser": "^6.11.0",
|
|
144
144
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
145
145
|
"@vue/eslint-config-typescript": "^12.0.0",
|
|
146
146
|
"acorn": "^8.11.2",
|
|
@@ -165,19 +165,19 @@
|
|
|
165
165
|
"fs-extra": "^11.1.1",
|
|
166
166
|
"github-api": "^3.4.0",
|
|
167
167
|
"husky": "^8.0.3",
|
|
168
|
-
"inquirer": "^9.2.
|
|
168
|
+
"inquirer": "^9.2.12",
|
|
169
169
|
"is-reference": "^3.0.2",
|
|
170
|
-
"lint-staged": "^15.0
|
|
170
|
+
"lint-staged": "^15.1.0",
|
|
171
171
|
"locate-character": "^3.0.0",
|
|
172
172
|
"magic-string": "^0.30.5",
|
|
173
173
|
"mocha": "^10.2.0",
|
|
174
174
|
"nyc": "^15.1.0",
|
|
175
175
|
"pinia": "^2.1.7",
|
|
176
|
-
"prettier": "^3.0
|
|
176
|
+
"prettier": "^3.1.0",
|
|
177
177
|
"pretty-bytes": "^6.1.1",
|
|
178
178
|
"pretty-ms": "^8.0.0",
|
|
179
179
|
"requirejs": "^2.3.6",
|
|
180
|
-
"rollup": "^4.
|
|
180
|
+
"rollup": "^4.4.0",
|
|
181
181
|
"rollup-plugin-license": "^3.2.0",
|
|
182
182
|
"rollup-plugin-string": "^3.0.0",
|
|
183
183
|
"rollup-plugin-thatworks": "^1.0.4",
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
"yargs-parser": "^21.1.1"
|
|
199
199
|
},
|
|
200
200
|
"overrides": {
|
|
201
|
-
"axios": "^1.6.
|
|
201
|
+
"axios": "^1.6.1",
|
|
202
202
|
"semver": "^7.5.4"
|
|
203
203
|
},
|
|
204
204
|
"files": [
|