@rollup/wasm-node 4.27.4 → 4.28.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 +4 -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/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 +9 -3
- package/dist/shared/parseAst.js +2 -2
- package/dist/shared/rollup.js +4 -3
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +13 -13
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
|
-
Sat,
|
|
4
|
+
Rollup.js v4.28.0
|
|
5
|
+
Sat, 30 Nov 2024 13:15:17 GMT - commit 0595e433edec3608bfc0331d8f02912374e7f7f7
|
|
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
|
-
Sat,
|
|
3
|
+
Rollup.js v4.28.0
|
|
4
|
+
Sat, 30 Nov 2024 13:15:17 GMT - commit 0595e433edec3608bfc0331d8f02912374e7f7f7
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -16,7 +16,7 @@ import { performance } from 'node:perf_hooks';
|
|
|
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.28.0";
|
|
20
20
|
|
|
21
21
|
const comma = ','.charCodeAt(0);
|
|
22
22
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -22035,6 +22035,7 @@ async function mergeOptions(config, watchMode, rawCommandOptions = EMPTY_COMMAND
|
|
|
22035
22035
|
...Object.keys(commandAliases),
|
|
22036
22036
|
'bundleConfigAsCjs',
|
|
22037
22037
|
'config',
|
|
22038
|
+
'configImportAttributesKey',
|
|
22038
22039
|
'configPlugin',
|
|
22039
22040
|
'environment',
|
|
22040
22041
|
'failAfterWarnings',
|
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
Sat,
|
|
3
|
+
Rollup.js v4.28.0
|
|
4
|
+
Sat, 30 Nov 2024 13:15:17 GMT - commit 0595e433edec3608bfc0331d8f02912374e7f7f7
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -486,8 +486,13 @@ async function getConfigFileExport(fileName, commandOptions, watchMode) {
|
|
|
486
486
|
function getDefaultFromCjs(namespace) {
|
|
487
487
|
return namespace.default || namespace;
|
|
488
488
|
}
|
|
489
|
+
function getConfigImportAttributesKey(input) {
|
|
490
|
+
if (input === 'assert' || input === 'with')
|
|
491
|
+
return input;
|
|
492
|
+
return;
|
|
493
|
+
}
|
|
489
494
|
async function loadTranspiledConfigFile(fileName, commandOptions) {
|
|
490
|
-
const { bundleConfigAsCjs, configPlugin, silent } = commandOptions;
|
|
495
|
+
const { bundleConfigAsCjs, configPlugin, configImportAttributesKey, silent } = commandOptions;
|
|
491
496
|
const warnings = batchWarnings(commandOptions);
|
|
492
497
|
const inputOptions = {
|
|
493
498
|
external: (id) => (id[0] !== '.' && !path.isAbsolute(id)) || id.slice(-5) === '.json',
|
|
@@ -501,6 +506,7 @@ async function loadTranspiledConfigFile(fileName, commandOptions) {
|
|
|
501
506
|
const { output: [{ code }] } = await bundle.generate({
|
|
502
507
|
exports: 'named',
|
|
503
508
|
format: bundleConfigAsCjs ? 'cjs' : 'es',
|
|
509
|
+
importAttributesKey: getConfigImportAttributesKey(configImportAttributesKey),
|
|
504
510
|
plugins: [
|
|
505
511
|
{
|
|
506
512
|
name: 'transpile-import-meta',
|
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
|
-
Sat,
|
|
3
|
+
Rollup.js v4.28.0
|
|
4
|
+
Sat, 30 Nov 2024 13:15:17 GMT - commit 0595e433edec3608bfc0331d8f02912374e7f7f7
|
|
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.28.0";
|
|
35
35
|
|
|
36
36
|
function ensureArray$1(items) {
|
|
37
37
|
if (Array.isArray(items)) {
|
|
@@ -1245,6 +1245,7 @@ async function mergeOptions(config, watchMode, rawCommandOptions = EMPTY_COMMAND
|
|
|
1245
1245
|
...Object.keys(commandAliases),
|
|
1246
1246
|
'bundleConfigAsCjs',
|
|
1247
1247
|
'config',
|
|
1248
|
+
'configImportAttributesKey',
|
|
1248
1249
|
'configPlugin',
|
|
1249
1250
|
'environment',
|
|
1250
1251
|
'failAfterWarnings',
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/wasm-node",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.28.0",
|
|
4
4
|
"description": "Next-generation ES module bundler with Node wasm",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@codemirror/commands": "^6.7.1",
|
|
36
36
|
"@codemirror/lang-javascript": "^6.2.2",
|
|
37
|
-
"@codemirror/language": "^6.10.
|
|
38
|
-
"@codemirror/search": "^6.5.
|
|
37
|
+
"@codemirror/language": "^6.10.4",
|
|
38
|
+
"@codemirror/search": "^6.5.8",
|
|
39
39
|
"@codemirror/state": "^6.4.1",
|
|
40
|
-
"@codemirror/view": "^6.
|
|
40
|
+
"@codemirror/view": "^6.35.0",
|
|
41
41
|
"@eslint/js": "^9.15.0",
|
|
42
42
|
"@inquirer/prompts": "^7.1.0",
|
|
43
43
|
"@jridgewell/sourcemap-codec": "^1.5.0",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@rollup/plugin-typescript": "^12.1.1",
|
|
54
54
|
"@rollup/pluginutils": "^5.1.3",
|
|
55
55
|
"@shikijs/vitepress-twoslash": "^1.23.1",
|
|
56
|
-
"@types/mocha": "^10.0.
|
|
57
|
-
"@types/node": "^18.19.
|
|
56
|
+
"@types/mocha": "^10.0.10",
|
|
57
|
+
"@types/node": "^18.19.66",
|
|
58
58
|
"@types/semver": "^7.5.8",
|
|
59
59
|
"@types/yargs-parser": "^21.0.3",
|
|
60
60
|
"@vue/language-server": "^2.1.10",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"eslint": "^9.15.0",
|
|
75
75
|
"eslint-config-prettier": "^9.1.0",
|
|
76
76
|
"eslint-plugin-prettier": "^5.2.1",
|
|
77
|
-
"eslint-plugin-unicorn": "^56.0.
|
|
77
|
+
"eslint-plugin-unicorn": "^56.0.1",
|
|
78
78
|
"eslint-plugin-vue": "^9.31.0",
|
|
79
79
|
"fixturify": "^3.0.0",
|
|
80
80
|
"flru": "^1.0.2",
|
|
@@ -85,18 +85,18 @@
|
|
|
85
85
|
"is-reference": "^3.0.3",
|
|
86
86
|
"lint-staged": "^15.2.10",
|
|
87
87
|
"locate-character": "^3.0.0",
|
|
88
|
-
"magic-string": "^0.30.
|
|
88
|
+
"magic-string": "^0.30.14",
|
|
89
89
|
"mocha": "^10.8.2",
|
|
90
90
|
"nodemon": "^3.1.7",
|
|
91
91
|
"npm-audit-resolver": "^3.0.0-RC.0",
|
|
92
92
|
"nyc": "^17.1.0",
|
|
93
93
|
"pinia": "^2.2.6",
|
|
94
|
-
"prettier": "^3.
|
|
94
|
+
"prettier": "^3.4.1",
|
|
95
95
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
96
96
|
"pretty-bytes": "^6.1.1",
|
|
97
97
|
"pretty-ms": "^9.2.0",
|
|
98
98
|
"requirejs": "^2.3.7",
|
|
99
|
-
"rollup": "^4.27.
|
|
99
|
+
"rollup": "^4.27.4",
|
|
100
100
|
"rollup-plugin-license": "^3.5.3",
|
|
101
101
|
"rollup-plugin-string": "^3.0.0",
|
|
102
102
|
"semver": "^7.6.3",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"systemjs": "^6.15.1",
|
|
108
108
|
"terser": "^5.36.0",
|
|
109
109
|
"tslib": "^2.8.1",
|
|
110
|
-
"typescript": "^5.
|
|
111
|
-
"typescript-eslint": "^8.
|
|
110
|
+
"typescript": "^5.7.2",
|
|
111
|
+
"typescript-eslint": "^8.16.0",
|
|
112
112
|
"vite": "^5.4.11",
|
|
113
113
|
"vitepress": "^1.5.0",
|
|
114
114
|
"vue": "^3.5.13",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"yargs-parser": "^21.1.1"
|
|
118
118
|
},
|
|
119
119
|
"overrides": {
|
|
120
|
-
"axios": "^1.7.
|
|
120
|
+
"axios": "^1.7.8",
|
|
121
121
|
"semver": "^7.6.3",
|
|
122
122
|
"ws": "^8.18.0"
|
|
123
123
|
},
|