@rollipop/rolldown 1.0.24 → 1.0.26
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/THIRD-PARTY-LICENSE +33 -0
- package/dist/cli.mjs +9 -10
- package/dist/config.d.mts +16 -17
- package/dist/config.mjs +2 -2
- package/dist/experimental-default-runtime.mjs +116 -0
- package/dist/experimental-index.d.mts +220 -205
- package/dist/experimental-index.mjs +47 -22
- package/dist/experimental-runtime-base.mjs +95 -0
- package/dist/experimental-runtime-types.d.ts +111 -41
- package/dist/experimental-runtime.d.ts +177 -0
- package/dist/experimental-runtime.mjs +257 -0
- package/dist/filter-index.d.mts +6 -5
- package/dist/filter-index.mjs +1 -3
- package/dist/get-log-filter.d.mts +2 -2
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +4 -4
- package/dist/parallel-plugin-worker.mjs +2 -2
- package/dist/parallel-plugin.d.mts +3 -4
- package/dist/parse-ast-index.d.mts +19 -20
- package/dist/parse-ast-index.mjs +2 -2
- package/dist/plugins-index.d.mts +27 -28
- package/dist/plugins-index.mjs +2 -2
- package/dist/shared/{binding-DLP3kSP5.mjs → binding-D_XVvOPT.mjs} +124 -50
- package/dist/shared/{binding-FraDreAW.d.mts → binding-We_IfeZk.d.mts} +48 -25
- package/dist/shared/{bindingify-input-options-DQnooxIa.mjs → bindingify-input-options-BXQG8xz-.mjs} +213 -262
- package/dist/shared/{constructors-CXtPAgZN.d.mts → constructors-BIHQ8UmW.d.mts} +9 -10
- package/dist/shared/{constructors-DpCCe7z3.mjs → constructors-CNB5XL7Q.mjs} +10 -6
- package/dist/shared/{rolldown-build-Blclcr5k.mjs → create-bundler-option-Be4KJzGL.mjs} +39 -156
- package/dist/shared/define-config-thpMQ05a.d.mts +4096 -0
- package/dist/shared/{error-CIdnbKmG.mjs → error-bm-jLrD1.mjs} +1 -1
- package/dist/shared/get-log-filter-B6CU6b90.d.mts +34 -0
- package/dist/shared/{load-config-5r6l-9qr.mjs → load-config-Bu7-JwX4.mjs} +2 -2
- package/dist/shared/{logging-BSNejiLS.d.mts → logging-xuHO4mAy.d.mts} +6 -6
- package/dist/shared/{logs-ZGEh6uhb.mjs → logs-DmYCAKcW.mjs} +8 -1
- package/dist/shared/{misc-CoQm4NHO.mjs → misc-DOSKtd97.mjs} +9 -1
- package/dist/shared/{normalize-string-or-regex-oITfWWWc.mjs → normalize-string-or-regex-CiPu-0L6.mjs} +2 -2
- package/dist/shared/{parse-CI_bqXWS.mjs → parse-DFZrcERz.mjs} +2 -2
- package/dist/shared/{prompt--dNycKSZ.mjs → prompt-CH6TK0bC.mjs} +2 -6
- package/dist/shared/{resolve-tsconfig-9cpL_qUM.mjs → resolve-tsconfig-CsDgQmsO.mjs} +2 -2
- package/dist/shared/rolldown-CnVo3ESi.mjs +178 -0
- package/dist/shared/transform-CsZGbS4Q.d.mts +148 -0
- package/dist/shared/{watch-DElgNTzo.mjs → watch-WV6bq5kw.mjs} +16 -13
- package/dist/utils-index.d.mts +29 -30
- package/dist/utils-index.mjs +6 -8
- package/package.json +25 -16
- package/dist/shared/define-config-oNOGrLUX.d.mts +0 -4008
- package/dist/shared/get-log-filter-B4LpBryx.d.mts +0 -35
- package/dist/shared/rolldown-DBxQ1pTJ.mjs +0 -40
- package/dist/shared/transform-DmrnpNrQ.d.mts +0 -149
package/dist/utils-index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as parseSync, t as parse } from "./shared/parse-
|
|
2
|
-
import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-
|
|
3
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
1
|
+
import { n as parseSync, t as parse } from "./shared/parse-DFZrcERz.mjs";
|
|
2
|
+
import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-CsDgQmsO.mjs";
|
|
3
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.142.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
|
|
4
4
|
function walkNode(node, visitors) {
|
|
5
5
|
if (node == null) return;
|
|
6
6
|
if (Array.isArray(node)) {
|
|
@@ -499,9 +499,7 @@ function walkNode(node, visitors) {
|
|
|
499
499
|
case "TSTypeReference":
|
|
500
500
|
walkTSTypeReference(node, visitors);
|
|
501
501
|
break;
|
|
502
|
-
case "TSUnionType":
|
|
503
|
-
walkTSUnionType(node, visitors);
|
|
504
|
-
break;
|
|
502
|
+
case "TSUnionType": walkTSUnionType(node, visitors);
|
|
505
503
|
}
|
|
506
504
|
}
|
|
507
505
|
function walkDebuggerStatement(node, visitors) {
|
|
@@ -2010,7 +2008,7 @@ function walkTSUnionType(node, visitors) {
|
|
|
2010
2008
|
exit !== null && exit(node);
|
|
2011
2009
|
}
|
|
2012
2010
|
//#endregion
|
|
2013
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
2011
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.142.0/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
|
|
2014
2012
|
/** Mapping from node type name to node type ID */
|
|
2015
2013
|
const NODE_TYPE_IDS_MAP = /* @__PURE__ */ new Map([
|
|
2016
2014
|
["DebuggerStatement", 0],
|
|
@@ -2180,7 +2178,7 @@ const NODE_TYPE_IDS_MAP = /* @__PURE__ */ new Map([
|
|
|
2180
2178
|
["TSUnionType", 164]
|
|
2181
2179
|
]);
|
|
2182
2180
|
//#endregion
|
|
2183
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
2181
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.142.0/node_modules/oxc-parser/src-js/visit/visitor.js
|
|
2184
2182
|
let compiledVisitor;
|
|
2185
2183
|
function createCompiledVisitor() {
|
|
2186
2184
|
compiledVisitor = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollipop/rolldown",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bundler",
|
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
"bin",
|
|
25
25
|
"cli",
|
|
26
26
|
"dist",
|
|
27
|
+
"LICENSE",
|
|
28
|
+
"THIRD-PARTY-LICENSE",
|
|
27
29
|
"!dist/*.node"
|
|
28
30
|
],
|
|
29
31
|
"type": "module",
|
|
@@ -31,6 +33,7 @@
|
|
|
31
33
|
"module": "./dist/index.mjs",
|
|
32
34
|
"types": "./dist/index.d.mts",
|
|
33
35
|
"imports": {
|
|
36
|
+
"#default-runtime": "./dist/experimental-default-runtime.mjs",
|
|
34
37
|
"#parallel-plugin-worker": "./dist/parallel-plugin-worker.mjs"
|
|
35
38
|
},
|
|
36
39
|
"exports": {
|
|
@@ -40,6 +43,10 @@
|
|
|
40
43
|
"./experimental/runtime-types": {
|
|
41
44
|
"types": "./dist/experimental-runtime-types.d.ts"
|
|
42
45
|
},
|
|
46
|
+
"./experimental/runtime": {
|
|
47
|
+
"types": "./dist/experimental-runtime.d.ts",
|
|
48
|
+
"default": "./dist/experimental-runtime.mjs"
|
|
49
|
+
},
|
|
43
50
|
"./filter": "./dist/filter-index.mjs",
|
|
44
51
|
"./getLogFilter": "./dist/get-log-filter.mjs",
|
|
45
52
|
"./parallelPlugin": "./dist/parallel-plugin.mjs",
|
|
@@ -53,12 +60,14 @@
|
|
|
53
60
|
"registry": "https://registry.npmjs.org/"
|
|
54
61
|
},
|
|
55
62
|
"dependencies": {
|
|
56
|
-
"@oxc-project/types": "=0.
|
|
63
|
+
"@oxc-project/types": "=0.142.0",
|
|
57
64
|
"@rolldown/pluginutils": "^1.0.0"
|
|
58
65
|
},
|
|
59
66
|
"devDependencies": {
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
67
|
+
"@emnapi/core": "2.0.0-alpha.3",
|
|
68
|
+
"@emnapi/runtime": "2.0.0-alpha.3",
|
|
69
|
+
"@napi-rs/cli": "^3.8.0",
|
|
70
|
+
"@napi-rs/wasm-runtime": "^1.2.0",
|
|
62
71
|
"@oxc-node/cli": "^0.1.0",
|
|
63
72
|
"@rollup/plugin-json": "^6.1.0",
|
|
64
73
|
"buble": "^0.20.0",
|
|
@@ -67,17 +76,17 @@
|
|
|
67
76
|
"execa": "^9.2.0",
|
|
68
77
|
"fresh-import": "^0.2.1",
|
|
69
78
|
"glob": "^13.0.0",
|
|
70
|
-
"oxc-parser": "=0.
|
|
79
|
+
"oxc-parser": "=0.142.0",
|
|
71
80
|
"pathe": "^2.0.3",
|
|
72
81
|
"remeda": "^2.34.1",
|
|
73
|
-
"rolldown": "1.1
|
|
74
|
-
"rolldown-plugin-dts": "^0.
|
|
82
|
+
"rolldown": "1.2.1",
|
|
83
|
+
"rolldown-plugin-dts": "^0.27.0",
|
|
75
84
|
"rollup": "^4.60.4",
|
|
76
85
|
"signal-exit": "4.1.0",
|
|
77
|
-
"source-map": "0.
|
|
86
|
+
"source-map": "0.8.0",
|
|
78
87
|
"typescript": "^6.0.0",
|
|
79
88
|
"valibot": "1.4.2",
|
|
80
|
-
"@rollipop/rolldown": "1.0.
|
|
89
|
+
"@rollipop/rolldown": "1.0.26"
|
|
81
90
|
},
|
|
82
91
|
"napi": {
|
|
83
92
|
"binaryName": "rolldown-binding",
|
|
@@ -105,13 +114,13 @@
|
|
|
105
114
|
"node": "^20.19.0 || >=22.12.0"
|
|
106
115
|
},
|
|
107
116
|
"optionalDependencies": {
|
|
108
|
-
"@rollipop/rolldown-binding-darwin-x64": "1.0.
|
|
109
|
-
"@rollipop/rolldown-binding-win32-x64-msvc": "1.0.
|
|
110
|
-
"@rollipop/rolldown-binding-linux-x64-gnu": "1.0.
|
|
111
|
-
"@rollipop/rolldown-binding-linux-x64-musl": "1.0.
|
|
112
|
-
"@rollipop/rolldown-binding-linux-arm64-gnu": "1.0.
|
|
113
|
-
"@rollipop/rolldown-binding-darwin-arm64": "1.0.
|
|
114
|
-
"@rollipop/rolldown-binding-linux-arm64-musl": "1.0.
|
|
117
|
+
"@rollipop/rolldown-binding-darwin-x64": "1.0.26",
|
|
118
|
+
"@rollipop/rolldown-binding-win32-x64-msvc": "1.0.26",
|
|
119
|
+
"@rollipop/rolldown-binding-linux-x64-gnu": "1.0.26",
|
|
120
|
+
"@rollipop/rolldown-binding-linux-x64-musl": "1.0.26",
|
|
121
|
+
"@rollipop/rolldown-binding-linux-arm64-gnu": "1.0.26",
|
|
122
|
+
"@rollipop/rolldown-binding-darwin-arm64": "1.0.26",
|
|
123
|
+
"@rollipop/rolldown-binding-linux-arm64-musl": "1.0.26"
|
|
115
124
|
},
|
|
116
125
|
"scripts": {
|
|
117
126
|
"# Scrips for binding #": "_",
|