rollup 4.6.1 → 4.7.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/LICENSE.md +22 -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 +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 +23 -0
- 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 +36 -34
package/LICENSE.md
CHANGED
|
@@ -50,6 +50,28 @@ License: MIT
|
|
|
50
50
|
By: Rich Harris
|
|
51
51
|
Repository: rollup/plugins
|
|
52
52
|
|
|
53
|
+
> The MIT License (MIT)
|
|
54
|
+
>
|
|
55
|
+
> Copyright (c) 2019 RollupJS Plugin Contributors (https://github.com/rollup/plugins/graphs/contributors)
|
|
56
|
+
>
|
|
57
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
58
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
59
|
+
> in the Software without restriction, including without limitation the rights
|
|
60
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
61
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
62
|
+
> furnished to do so, subject to the following conditions:
|
|
63
|
+
>
|
|
64
|
+
> The above copyright notice and this permission notice shall be included in
|
|
65
|
+
> all copies or substantial portions of the Software.
|
|
66
|
+
>
|
|
67
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
68
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
69
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
70
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
71
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
72
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
73
|
+
> THE SOFTWARE.
|
|
74
|
+
|
|
53
75
|
---------------------------------------
|
|
54
76
|
|
|
55
77
|
## anymatch
|
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.7.0
|
|
5
|
+
Fri, 08 Dec 2023 07:57:30 GMT - commit 098e29ca3e0643006870f9ed94710fd3004a9043
|
|
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.7.0
|
|
4
|
+
Fri, 08 Dec 2023 07:57:30 GMT - commit 098e29ca3e0643006870f9ed94710fd3004a9043
|
|
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.7.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
|
@@ -16,6 +16,7 @@ const bindingsByPlatformAndArch = {
|
|
|
16
16
|
linux: {
|
|
17
17
|
arm: { base: 'linux-arm-gnueabihf', musl: null },
|
|
18
18
|
arm64: { base: 'linux-arm64-gnu', musl: 'linux-arm64-musl' },
|
|
19
|
+
riscv64: { base: 'linux-riscv64-gnu', musl: null },
|
|
19
20
|
x64: { base: 'linux-x64-gnu', musl: 'linux-x64-musl' }
|
|
20
21
|
},
|
|
21
22
|
win32: {
|
|
@@ -25,6 +26,12 @@ const bindingsByPlatformAndArch = {
|
|
|
25
26
|
}
|
|
26
27
|
};
|
|
27
28
|
|
|
29
|
+
const msvcLinkFilenameByArch = {
|
|
30
|
+
arm64: 'vc_redist.arm64.exe',
|
|
31
|
+
ia32: 'vc_redist.x86.exe',
|
|
32
|
+
x64: 'vc_redist.x64.exe'
|
|
33
|
+
};
|
|
34
|
+
|
|
28
35
|
const packageBase = getPackageBase();
|
|
29
36
|
|
|
30
37
|
if (!packageBase) {
|
|
@@ -61,6 +68,22 @@ const requireWithFriendlyError = id => {
|
|
|
61
68
|
try {
|
|
62
69
|
return require(id);
|
|
63
70
|
} catch (error) {
|
|
71
|
+
if (
|
|
72
|
+
platform === 'win32' &&
|
|
73
|
+
error instanceof Error &&
|
|
74
|
+
error.code === 'ERR_DLOPEN_FAILED' &&
|
|
75
|
+
error.message.includes('The specified module could not be found')
|
|
76
|
+
) {
|
|
77
|
+
const msvcDownloadLink = `https://aka.ms/vs/17/release/${msvcLinkFilenameByArch[arch]}`;
|
|
78
|
+
throw new Error(
|
|
79
|
+
`Failed to load module ${id}. ` +
|
|
80
|
+
'Required DLL was not found. ' +
|
|
81
|
+
'This error usually happens when Microsoft Visual C++ Redistributable is not installed. ' +
|
|
82
|
+
`You can download it from ${msvcDownloadLink}`,
|
|
83
|
+
{ cause: error }
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
|
|
64
87
|
throw new Error(
|
|
65
88
|
`Cannot find module ${id}. ` +
|
|
66
89
|
`npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). ` +
|
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.7.0
|
|
4
|
+
Fri, 08 Dec 2023 07:57:30 GMT - commit 098e29ca3e0643006870f9ed94710fd3004a9043
|
|
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.7.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.7.0",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"armv7-linux-androideabi",
|
|
25
25
|
"armv7-unknown-linux-gnueabihf",
|
|
26
26
|
"i686-pc-windows-msvc",
|
|
27
|
+
"riscv64gc-unknown-linux-gnu",
|
|
27
28
|
"x86_64-apple-darwin",
|
|
28
29
|
"x86_64-pc-windows-msvc",
|
|
29
30
|
"x86_64-unknown-linux-gnu",
|
|
@@ -100,33 +101,34 @@
|
|
|
100
101
|
"homepage": "https://rollupjs.org/",
|
|
101
102
|
"optionalDependencies": {
|
|
102
103
|
"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-
|
|
112
|
-
"@rollup/rollup-
|
|
113
|
-
"@rollup/rollup-
|
|
114
|
-
"@rollup/rollup-linux-x64-
|
|
104
|
+
"@rollup/rollup-darwin-arm64": "4.7.0",
|
|
105
|
+
"@rollup/rollup-android-arm64": "4.7.0",
|
|
106
|
+
"@rollup/rollup-win32-arm64-msvc": "4.7.0",
|
|
107
|
+
"@rollup/rollup-linux-arm64-gnu": "4.7.0",
|
|
108
|
+
"@rollup/rollup-linux-arm64-musl": "4.7.0",
|
|
109
|
+
"@rollup/rollup-android-arm-eabi": "4.7.0",
|
|
110
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.7.0",
|
|
111
|
+
"@rollup/rollup-win32-ia32-msvc": "4.7.0",
|
|
112
|
+
"@rollup/rollup-linux-riscv64-gnu": "4.7.0",
|
|
113
|
+
"@rollup/rollup-darwin-x64": "4.7.0",
|
|
114
|
+
"@rollup/rollup-win32-x64-msvc": "4.7.0",
|
|
115
|
+
"@rollup/rollup-linux-x64-gnu": "4.7.0",
|
|
116
|
+
"@rollup/rollup-linux-x64-musl": "4.7.0"
|
|
115
117
|
},
|
|
116
118
|
"devDependenciesComments": {
|
|
117
119
|
"@rollup/plugin-typescript": "It appears that 11.1.3 breaks sourcemaps"
|
|
118
120
|
},
|
|
119
121
|
"devDependencies": {
|
|
120
|
-
"@codemirror/commands": "^6.3.
|
|
122
|
+
"@codemirror/commands": "^6.3.2",
|
|
121
123
|
"@codemirror/lang-javascript": "^6.2.1",
|
|
122
|
-
"@codemirror/language": "^6.9.
|
|
123
|
-
"@codemirror/search": "^6.5.
|
|
124
|
-
"@codemirror/state": "^6.3.
|
|
125
|
-
"@codemirror/view": "^6.22.
|
|
124
|
+
"@codemirror/language": "^6.9.3",
|
|
125
|
+
"@codemirror/search": "^6.5.5",
|
|
126
|
+
"@codemirror/state": "^6.3.2",
|
|
127
|
+
"@codemirror/view": "^6.22.1",
|
|
126
128
|
"@jridgewell/sourcemap-codec": "^1.4.15",
|
|
127
129
|
"@mermaid-js/mermaid-cli": "^10.6.1",
|
|
128
|
-
"@napi-rs/cli": "^2.
|
|
129
|
-
"@rollup/plugin-alias": "^5.0
|
|
130
|
+
"@napi-rs/cli": "^2.17.0",
|
|
131
|
+
"@rollup/plugin-alias": "^5.1.0",
|
|
130
132
|
"@rollup/plugin-buble": "^1.0.3",
|
|
131
133
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
132
134
|
"@rollup/plugin-json": "^6.0.1",
|
|
@@ -134,13 +136,13 @@
|
|
|
134
136
|
"@rollup/plugin-replace": "^5.0.5",
|
|
135
137
|
"@rollup/plugin-terser": "^0.4.4",
|
|
136
138
|
"@rollup/plugin-typescript": "11.1.5",
|
|
137
|
-
"@rollup/pluginutils": "^5.0
|
|
139
|
+
"@rollup/pluginutils": "^5.1.0",
|
|
138
140
|
"@types/estree": "1.0.5",
|
|
139
|
-
"@types/mocha": "^10.0.
|
|
141
|
+
"@types/mocha": "^10.0.6",
|
|
140
142
|
"@types/node": "18.0.0",
|
|
141
143
|
"@types/yargs-parser": "^21.0.3",
|
|
142
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
143
|
-
"@typescript-eslint/parser": "^6.
|
|
144
|
+
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
|
145
|
+
"@typescript-eslint/parser": "^6.13.2",
|
|
144
146
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
145
147
|
"@vue/eslint-config-typescript": "^12.0.0",
|
|
146
148
|
"acorn": "^8.11.2",
|
|
@@ -154,20 +156,20 @@
|
|
|
154
156
|
"date-time": "^4.0.0",
|
|
155
157
|
"es5-shim": "^4.6.7",
|
|
156
158
|
"es6-shim": "^0.35.8",
|
|
157
|
-
"eslint": "^8.
|
|
158
|
-
"eslint-config-prettier": "^9.
|
|
159
|
+
"eslint": "^8.55.0",
|
|
160
|
+
"eslint-config-prettier": "^9.1.0",
|
|
159
161
|
"eslint-plugin-import": "^2.29.0",
|
|
160
162
|
"eslint-plugin-prettier": "^5.0.1",
|
|
161
163
|
"eslint-plugin-unicorn": "^49.0.0",
|
|
162
|
-
"eslint-plugin-vue": "^9.
|
|
164
|
+
"eslint-plugin-vue": "^9.19.2",
|
|
163
165
|
"fixturify": "^3.0.0",
|
|
164
166
|
"flru": "^1.0.2",
|
|
165
|
-
"fs-extra": "^11.
|
|
167
|
+
"fs-extra": "^11.2.0",
|
|
166
168
|
"github-api": "^3.4.0",
|
|
167
169
|
"husky": "^8.0.3",
|
|
168
170
|
"inquirer": "^9.2.12",
|
|
169
171
|
"is-reference": "^3.0.2",
|
|
170
|
-
"lint-staged": "^15.
|
|
172
|
+
"lint-staged": "^15.2.0",
|
|
171
173
|
"locate-character": "^3.0.0",
|
|
172
174
|
"magic-string": "^0.30.5",
|
|
173
175
|
"mocha": "^10.2.0",
|
|
@@ -177,7 +179,7 @@
|
|
|
177
179
|
"pretty-bytes": "^6.1.1",
|
|
178
180
|
"pretty-ms": "^8.0.0",
|
|
179
181
|
"requirejs": "^2.3.6",
|
|
180
|
-
"rollup": "^4.
|
|
182
|
+
"rollup": "^4.6.1",
|
|
181
183
|
"rollup-plugin-license": "^3.2.0",
|
|
182
184
|
"rollup-plugin-string": "^3.0.0",
|
|
183
185
|
"rollup-plugin-thatworks": "^1.0.4",
|
|
@@ -187,12 +189,12 @@
|
|
|
187
189
|
"source-map": "^0.7.4",
|
|
188
190
|
"source-map-support": "^0.5.21",
|
|
189
191
|
"systemjs": "^6.14.2",
|
|
190
|
-
"terser": "^5.
|
|
192
|
+
"terser": "^5.25.0",
|
|
191
193
|
"tslib": "^2.6.2",
|
|
192
194
|
"typescript": "^5.3.2",
|
|
193
|
-
"vite": "^5.0.
|
|
194
|
-
"vitepress": "^1.0.0-rc.
|
|
195
|
-
"vue": "^3.3.
|
|
195
|
+
"vite": "^5.0.5",
|
|
196
|
+
"vitepress": "^1.0.0-rc.31",
|
|
197
|
+
"vue": "^3.3.10",
|
|
196
198
|
"wasm-pack": "^0.12.1",
|
|
197
199
|
"weak-napi": "^2.0.2",
|
|
198
200
|
"yargs-parser": "^21.1.1"
|