rolldown 1.0.0-beta.3-commit.b814905 → 1.0.0-beta.3-commit.707c8dd
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/cjs/cli.cjs +2 -2
- package/dist/cjs/experimental-index.cjs +2 -2
- package/dist/cjs/index.cjs +2 -2
- package/dist/cjs/parallel-plugin-worker.cjs +2 -2
- package/dist/cjs/parse-ast-index.cjs +1 -1
- package/dist/esm/cli.mjs +2 -2
- package/dist/esm/experimental-index.mjs +2 -2
- package/dist/esm/index.mjs +2 -2
- package/dist/esm/parallel-plugin-worker.mjs +2 -2
- package/dist/esm/parse-ast-index.mjs +1 -1
- package/dist/shared/{parse-ast-index-CYgta8XV.cjs → parse-ast-index-BGtslpMc.cjs} +6 -1
- package/dist/shared/{parse-ast-index-xu1sp-Oh.mjs → parse-ast-index-CcVk5ch3.mjs} +6 -1
- package/dist/shared/{src-CMgSOUyx.cjs → src-CzKhjJPZ.cjs} +2 -2
- package/dist/shared/{src-DvFoEK0x.mjs → src-DRXsvQhQ.mjs} +2 -2
- package/dist/types/binding.d.ts +10 -0
- package/package.json +17 -17
package/dist/cjs/cli.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('../shared/chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_src = require('../shared/src-
|
|
4
|
-
const require_parse_ast_index = require('../shared/parse-ast-index-
|
|
3
|
+
const require_src = require('../shared/src-CzKhjJPZ.cjs');
|
|
4
|
+
const require_parse_ast_index = require('../shared/parse-ast-index-BGtslpMc.cjs');
|
|
5
5
|
const node_process = require_chunk.__toESM(require("node:process"));
|
|
6
6
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
7
7
|
const node_fs = require_chunk.__toESM(require("node:fs"));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('../shared/chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_src = require('../shared/src-
|
|
4
|
-
const require_parse_ast_index = require('../shared/parse-ast-index-
|
|
3
|
+
const require_src = require('../shared/src-CzKhjJPZ.cjs');
|
|
4
|
+
const require_parse_ast_index = require('../shared/parse-ast-index-BGtslpMc.cjs');
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
6
6
|
|
|
7
7
|
//#region src/plugin/parallel-plugin.ts
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_src = require('../shared/src-
|
|
2
|
-
require('../shared/parse-ast-index-
|
|
1
|
+
const require_src = require('../shared/src-CzKhjJPZ.cjs');
|
|
2
|
+
require('../shared/parse-ast-index-BGtslpMc.cjs');
|
|
3
3
|
|
|
4
4
|
exports.VERSION = require_src.VERSION
|
|
5
5
|
exports.build = require_src.build
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('../shared/chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_src = require('../shared/src-
|
|
4
|
-
const require_parse_ast_index = require('../shared/parse-ast-index-
|
|
3
|
+
const require_src = require('../shared/src-CzKhjJPZ.cjs');
|
|
4
|
+
const require_parse_ast_index = require('../shared/parse-ast-index-BGtslpMc.cjs');
|
|
5
5
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
6
6
|
|
|
7
7
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_parse_ast_index = require('../shared/parse-ast-index-
|
|
1
|
+
const require_parse_ast_index = require('../shared/parse-ast-index-BGtslpMc.cjs');
|
|
2
2
|
|
|
3
3
|
exports.parseAst = require_parse_ast_index.parseAst
|
|
4
4
|
exports.parseAstAsync = require_parse_ast_index.parseAstAsync
|
package/dist/esm/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { colors } from "../shared/parse-ast-index-
|
|
2
|
-
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "../shared/src-
|
|
1
|
+
import { colors } from "../shared/parse-ast-index-CcVk5ch3.mjs";
|
|
2
|
+
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "../shared/src-DRXsvQhQ.mjs";
|
|
3
3
|
import process$1, { cwd } from "node:process";
|
|
4
4
|
import path, { sep } from "node:path";
|
|
5
5
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { import_binding } from "../shared/parse-ast-index-
|
|
2
|
-
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/src-
|
|
1
|
+
import { import_binding } from "../shared/parse-ast-index-CcVk5ch3.mjs";
|
|
2
|
+
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/src-DRXsvQhQ.mjs";
|
|
3
3
|
import { pathToFileURL } from "node:url";
|
|
4
4
|
|
|
5
5
|
//#region src/plugin/parallel-plugin.ts
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../shared/parse-ast-index-
|
|
2
|
-
import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-
|
|
1
|
+
import "../shared/parse-ast-index-CcVk5ch3.mjs";
|
|
2
|
+
import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-DRXsvQhQ.mjs";
|
|
3
3
|
|
|
4
4
|
export { VERSION, build, defineConfig, rolldown, watch };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { import_binding } from "../shared/parse-ast-index-
|
|
2
|
-
import { PluginContextData, bindingifyPlugin } from "../shared/src-
|
|
1
|
+
import { import_binding } from "../shared/parse-ast-index-CcVk5ch3.mjs";
|
|
2
|
+
import { PluginContextData, bindingifyPlugin } from "../shared/src-DRXsvQhQ.mjs";
|
|
3
3
|
import { parentPort, workerData } from "node:worker_threads";
|
|
4
4
|
|
|
5
5
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -293,7 +293,12 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
|
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
function requireNative() {
|
|
296
|
-
if (process.
|
|
296
|
+
if (process.env.NAPI_RS_NATIVE_LIBRARY_PATH) try {
|
|
297
|
+
nativeBinding = require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH);
|
|
298
|
+
} catch (err) {
|
|
299
|
+
loadErrors.push(err);
|
|
300
|
+
}
|
|
301
|
+
else if (process.platform === "android") if (process.arch === "arm64") {
|
|
297
302
|
try {
|
|
298
303
|
return require("./rolldown-binding.android-arm64.node");
|
|
299
304
|
} catch (e) {
|
|
@@ -319,7 +319,12 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
|
|
|
319
319
|
}
|
|
320
320
|
};
|
|
321
321
|
function requireNative() {
|
|
322
|
-
if (process.
|
|
322
|
+
if (process.env.NAPI_RS_NATIVE_LIBRARY_PATH) try {
|
|
323
|
+
nativeBinding = __require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH);
|
|
324
|
+
} catch (err) {
|
|
325
|
+
loadErrors.push(err);
|
|
326
|
+
}
|
|
327
|
+
else if (process.platform === "android") if (process.arch === "arm64") {
|
|
323
328
|
try {
|
|
324
329
|
return __require("./rolldown-binding.android-arm64.node");
|
|
325
330
|
} catch (e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('./chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_parse_ast_index = require('./parse-ast-index-
|
|
3
|
+
const require_parse_ast_index = require('./parse-ast-index-BGtslpMc.cjs');
|
|
4
4
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
5
5
|
const node_buffer = require_chunk.__toESM(require("node:buffer"));
|
|
6
6
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
@@ -2707,7 +2707,7 @@ const watch = (input) => {
|
|
|
2707
2707
|
|
|
2708
2708
|
//#endregion
|
|
2709
2709
|
//#region package.json
|
|
2710
|
-
var version = "1.0.0-beta.3-commit.
|
|
2710
|
+
var version = "1.0.0-beta.3-commit.707c8dd";
|
|
2711
2711
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
2712
2712
|
|
|
2713
2713
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { augmentCodeLocation, colors, error, import_binding, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMinifyWarning, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-
|
|
1
|
+
import { augmentCodeLocation, colors, error, import_binding, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMinifyWarning, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-CcVk5ch3.mjs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { Buffer } from "node:buffer";
|
|
4
4
|
import { Worker } from "node:worker_threads";
|
|
@@ -2705,7 +2705,7 @@ const watch = (input) => {
|
|
|
2705
2705
|
|
|
2706
2706
|
//#endregion
|
|
2707
2707
|
//#region package.json
|
|
2708
|
-
var version = "1.0.0-beta.3-commit.
|
|
2708
|
+
var version = "1.0.0-beta.3-commit.707c8dd";
|
|
2709
2709
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
2710
2710
|
|
|
2711
2711
|
//#endregion
|
package/dist/types/binding.d.ts
CHANGED
|
@@ -754,6 +754,16 @@ export interface DecoratorOptions {
|
|
|
754
754
|
* @default false
|
|
755
755
|
*/
|
|
756
756
|
legacy?: boolean
|
|
757
|
+
/**
|
|
758
|
+
* Enables emitting decorator metadata.
|
|
759
|
+
*
|
|
760
|
+
* This option the same as [emitDecoratorMetadata](https://www.typescriptlang.org/tsconfig/#emitDecoratorMetadata)
|
|
761
|
+
* in TypeScript, and it only works when `legacy` is true.
|
|
762
|
+
*
|
|
763
|
+
* @see https://www.typescriptlang.org/tsconfig/#emitDecoratorMetadata
|
|
764
|
+
* @default false
|
|
765
|
+
*/
|
|
766
|
+
emitDecoratorMetadata?: boolean
|
|
757
767
|
}
|
|
758
768
|
|
|
759
769
|
export interface DynamicImport {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rolldown",
|
|
3
|
-
"version": "1.0.0-beta.3-commit.
|
|
3
|
+
"version": "1.0.0-beta.3-commit.707c8dd",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"homepage": "https://rolldown.rs/",
|
|
6
6
|
"repository": {
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
"dtsHeader": "type MaybePromise<T> = T | Promise<T>\ntype Nullable<T> = T | null | undefined\ntype VoidNullable<T = void> = T | null | undefined | void\nexport type BindingStringOrRegex = string | RegExp\n\n"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@oxc-project/types": "0.
|
|
87
|
+
"@oxc-project/types": "0.52.0",
|
|
88
88
|
"@valibot/to-json-schema": "1.0.0-beta.5",
|
|
89
89
|
"valibot": "1.0.0-beta.14"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
|
-
"@oxc-project/runtime": "0.
|
|
92
|
+
"@oxc-project/runtime": "0.52.0"
|
|
93
93
|
},
|
|
94
94
|
"peerDependenciesMeta": {
|
|
95
95
|
"@oxc-project/runtime": {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
100
|
"@jridgewell/sourcemap-codec": "^1.5.0",
|
|
101
|
-
"@napi-rs/cli": "^3.0.0-alpha.
|
|
101
|
+
"@napi-rs/cli": "^3.0.0-alpha.71",
|
|
102
102
|
"@napi-rs/wasm-runtime": "^0.2.4",
|
|
103
103
|
"@oxc-node/core": "^0.0.19",
|
|
104
104
|
"@types/fs-extra": "^11.0.4",
|
|
@@ -122,21 +122,21 @@
|
|
|
122
122
|
"unbuild": "^3.0.0",
|
|
123
123
|
"why-is-node-running": "^3.0.0",
|
|
124
124
|
"@rolldown/testing": "0.0.1",
|
|
125
|
-
"rolldown": "1.0.0-beta.3-commit.
|
|
125
|
+
"rolldown": "1.0.0-beta.3-commit.707c8dd"
|
|
126
126
|
},
|
|
127
127
|
"optionalDependencies": {
|
|
128
|
-
"@rolldown/binding-
|
|
129
|
-
"@rolldown/binding-
|
|
130
|
-
"@rolldown/binding-
|
|
131
|
-
"@rolldown/binding-
|
|
132
|
-
"@rolldown/binding-linux-
|
|
133
|
-
"@rolldown/binding-linux-
|
|
134
|
-
"@rolldown/binding-linux-x64-
|
|
135
|
-
"@rolldown/binding-
|
|
136
|
-
"@rolldown/binding-
|
|
137
|
-
"@rolldown/binding-
|
|
138
|
-
"@rolldown/binding-win32-
|
|
139
|
-
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.3-commit.
|
|
128
|
+
"@rolldown/binding-freebsd-x64": "1.0.0-beta.3-commit.707c8dd",
|
|
129
|
+
"@rolldown/binding-darwin-arm64": "1.0.0-beta.3-commit.707c8dd",
|
|
130
|
+
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.3-commit.707c8dd",
|
|
131
|
+
"@rolldown/binding-darwin-x64": "1.0.0-beta.3-commit.707c8dd",
|
|
132
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.3-commit.707c8dd",
|
|
133
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.3-commit.707c8dd",
|
|
134
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.3-commit.707c8dd",
|
|
135
|
+
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.3-commit.707c8dd",
|
|
136
|
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.3-commit.707c8dd",
|
|
137
|
+
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.3-commit.707c8dd",
|
|
138
|
+
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.3-commit.707c8dd",
|
|
139
|
+
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.3-commit.707c8dd"
|
|
140
140
|
},
|
|
141
141
|
"scripts": {
|
|
142
142
|
"# Scrips for binding #": "_",
|