@rolldown/browser 1.0.0-beta.7-commit.a7cf9ac → 1.0.0-beta.7-commit.46fbc61
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/browser.mjs +2 -2
- package/dist/cli.cjs +1 -1
- package/dist/cli.mjs +4 -4
- package/dist/experimental-index.cjs +1 -1
- package/dist/experimental-index.mjs +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/parallel-plugin-worker.cjs +1 -1
- package/dist/parallel-plugin-worker.mjs +3 -3
- package/dist/parallel-plugin.mjs +0 -1
- package/dist/parse-ast-index.mjs +1 -1
- package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
- package/dist/shared/{chunk-BuCFLigr.mjs → chunk-nENTdJ2K.mjs} +0 -1
- package/dist/shared/{parse-ast-index-CBDb3Hys.mjs → parse-ast-index-CaKd8BTZ.mjs} +1 -1
- package/dist/shared/{prompt-B3VJLbs9.mjs → prompt-D713KUcE.mjs} +1 -1
- package/dist/shared/{src-B0-c-FLL.cjs → src-DoypqT02.cjs} +2 -2
- package/dist/shared/{src-B0csdUUQ.mjs → src-whyHz3p3.mjs} +4 -4
- package/dist/types/binding.d.ts +1 -1
- package/dist/types/options/input-options.d.ts +1 -1
- package/dist/types/plugin/generated/hook-usage.d.ts +29 -0
- package/package.json +1 -1
package/dist/browser.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import "@valibot/to-json-schema";
|
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
|
|
7
7
|
//#region package.json
|
|
8
|
-
var version = "1.0.0-beta.7-commit.
|
|
8
|
+
var version = "1.0.0-beta.7-commit.46fbc61";
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/builtin-plugin/utils.ts
|
|
@@ -712,7 +712,7 @@ const InputOptionsSchema = v.strictObject({
|
|
|
712
712
|
dropLabels: v.pipe(v.optional(v.array(v.string())), v.description("Remove labeled statements with these label names")),
|
|
713
713
|
checks: v.optional(ChecksOptionsSchema),
|
|
714
714
|
keepNames: v.pipe(v.optional(v.boolean()), v.description("Keep function/class name")),
|
|
715
|
-
debug: v.pipe(v.optional(v.object({
|
|
715
|
+
debug: v.pipe(v.optional(v.object({ sessionId: v.pipe(v.optional(v.string()), v.description("Used to name the build.")) })), v.description("Enable debug mode. Emit debug information to disk. This might slow down the build process significantly."))
|
|
716
716
|
});
|
|
717
717
|
const InputCliOverrideSchema = v.strictObject({
|
|
718
718
|
external: v.pipe(v.optional(v.array(v.string())), v.description("Comma-separated list of module ids to exclude from the bundle `<module-id>,...`")),
|
package/dist/cli.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-Dc32QXFI.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
2
|
+
const require_src = require('./shared/src-DoypqT02.cjs');
|
|
3
3
|
require('./shared/parse-ast-index-Rn-i2y3M.cjs');
|
|
4
4
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
5
5
|
const ansis = require_chunk.__toESM(require("ansis"));
|
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { __commonJS, __esm } from "./shared/chunk-
|
|
2
|
-
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_misc, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-
|
|
3
|
-
import "./shared/parse-ast-index-
|
|
1
|
+
import { __commonJS, __esm } from "./shared/chunk-nENTdJ2K.mjs";
|
|
2
|
+
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_misc, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-whyHz3p3.mjs";
|
|
3
|
+
import "./shared/parse-ast-index-CaKd8BTZ.mjs";
|
|
4
4
|
import path, { sep } from "node:path";
|
|
5
5
|
import colors from "ansis";
|
|
6
6
|
import process$1, { cwd } from "node:process";
|
|
@@ -760,7 +760,7 @@ function createConsola(options$1 = {}) {
|
|
|
760
760
|
defaults: { level },
|
|
761
761
|
stdout: process.stdout,
|
|
762
762
|
stderr: process.stderr,
|
|
763
|
-
prompt: (...args) => import("./shared/prompt-
|
|
763
|
+
prompt: (...args) => import("./shared/prompt-D713KUcE.mjs").then((m) => m.prompt(...args)),
|
|
764
764
|
reporters: options$1.reporters || [options$1.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
|
|
765
765
|
...options$1
|
|
766
766
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('./shared/chunk-Dc32QXFI.cjs');
|
|
3
|
-
const require_src = require('./shared/src-
|
|
3
|
+
const require_src = require('./shared/src-DoypqT02.cjs');
|
|
4
4
|
require('./shared/parse-ast-index-Rn-i2y3M.cjs');
|
|
5
5
|
const src_rolldown_binding_wasi_cjs = require_chunk.__toESM(require("./rolldown-binding.wasi.cjs"));
|
|
6
6
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, init_compose_js_plugins, init_constructors, init_create_bundler, init_normalize_string_or_regex, init_transform_to_rollup_output, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./shared/src-
|
|
2
|
-
import "./shared/parse-ast-index-
|
|
1
|
+
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, init_compose_js_plugins, init_constructors, init_create_bundler, init_normalize_string_or_regex, init_transform_to_rollup_output, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./shared/src-whyHz3p3.mjs";
|
|
2
|
+
import "./shared/parse-ast-index-CaKd8BTZ.mjs";
|
|
3
3
|
import { moduleRunnerTransform, transform } from "./rolldown-binding.wasi.cjs";
|
|
4
4
|
import { pathToFileURL } from "node:url";
|
|
5
5
|
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VERSION, build, defineConfig, init_src, rolldown, watch, withFilter } from "./shared/src-
|
|
2
|
-
import "./shared/parse-ast-index-
|
|
1
|
+
import { VERSION, build, defineConfig, init_src, rolldown, watch, withFilter } from "./shared/src-whyHz3p3.mjs";
|
|
2
|
+
import "./shared/parse-ast-index-CaKd8BTZ.mjs";
|
|
3
3
|
|
|
4
4
|
init_src();
|
|
5
5
|
export { VERSION, build, defineConfig, rolldown, watch, withFilter };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-Dc32QXFI.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
2
|
+
const require_src = require('./shared/src-DoypqT02.cjs');
|
|
3
3
|
require('./shared/parse-ast-index-Rn-i2y3M.cjs');
|
|
4
4
|
const src_rolldown_binding_wasi_cjs = require_chunk.__toESM(require("./rolldown-binding.wasi.cjs"));
|
|
5
5
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { __commonJS } from "./shared/chunk-
|
|
2
|
-
import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-
|
|
3
|
-
import "./shared/parse-ast-index-
|
|
1
|
+
import { __commonJS } from "./shared/chunk-nENTdJ2K.mjs";
|
|
2
|
+
import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-whyHz3p3.mjs";
|
|
3
|
+
import "./shared/parse-ast-index-CaKd8BTZ.mjs";
|
|
4
4
|
import { registerPlugins } from "./rolldown-binding.wasi.cjs";
|
|
5
5
|
import { parentPort, workerData } from "node:worker_threads";
|
|
6
6
|
|
package/dist/parallel-plugin.mjs
CHANGED
package/dist/parse-ast-index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_parse_ast_index, parseAst, parseAstAsync } from "./shared/parse-ast-index-
|
|
1
|
+
import { init_parse_ast_index, parseAst, parseAstAsync } from "./shared/parse-ast-index-CaKd8BTZ.mjs";
|
|
2
2
|
|
|
3
3
|
init_parse_ast_index();
|
|
4
4
|
export { parseAst, parseAstAsync };
|
|
Binary file
|
|
@@ -10,7 +10,7 @@ const node_os = require_chunk.__toESM(require("node:os"));
|
|
|
10
10
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
11
11
|
|
|
12
12
|
//#region package.json
|
|
13
|
-
var version = "1.0.0-beta.7-commit.
|
|
13
|
+
var version = "1.0.0-beta.7-commit.46fbc61";
|
|
14
14
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
@@ -614,7 +614,7 @@ const InputOptionsSchema = valibot.strictObject({
|
|
|
614
614
|
dropLabels: valibot.pipe(valibot.optional(valibot.array(valibot.string())), valibot.description("Remove labeled statements with these label names")),
|
|
615
615
|
checks: valibot.optional(ChecksOptionsSchema),
|
|
616
616
|
keepNames: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Keep function/class name")),
|
|
617
|
-
debug: valibot.pipe(valibot.optional(valibot.object({
|
|
617
|
+
debug: valibot.pipe(valibot.optional(valibot.object({ sessionId: valibot.pipe(valibot.optional(valibot.string()), valibot.description("Used to name the build.")) })), valibot.description("Enable debug mode. Emit debug information to disk. This might slow down the build process significantly."))
|
|
618
618
|
});
|
|
619
619
|
const InputCliOverrideSchema = valibot.strictObject({
|
|
620
620
|
external: valibot.pipe(valibot.optional(valibot.array(valibot.string())), valibot.description("Comma-separated list of module ids to exclude from the bundle `<module-id>,...`")),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __esm } from "./chunk-
|
|
2
|
-
import { augmentCodeLocation, error, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMinifyWarning, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-
|
|
1
|
+
import { __esm } from "./chunk-nENTdJ2K.mjs";
|
|
2
|
+
import { augmentCodeLocation, error, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMinifyWarning, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-CaKd8BTZ.mjs";
|
|
3
3
|
import { BindingCallableBuiltinPlugin, BindingHookSideEffects, BindingLogLevel, BindingPluginOrder, BindingWatcher, Bundler, ParallelJsPluginRegistry, shutdownAsyncRuntime, startAsyncRuntime } from "../rolldown-binding.wasi.cjs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import colors from "ansis";
|
|
@@ -9,7 +9,7 @@ import { availableParallelism } from "node:os";
|
|
|
9
9
|
import { Worker } from "node:worker_threads";
|
|
10
10
|
|
|
11
11
|
//#region package.json
|
|
12
|
-
var version = "1.0.0-beta.7-commit.
|
|
12
|
+
var version = "1.0.0-beta.7-commit.46fbc61";
|
|
13
13
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
14
14
|
|
|
15
15
|
//#endregion
|
|
@@ -707,7 +707,7 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
|
|
|
707
707
|
dropLabels: v.pipe(v.optional(v.array(v.string())), v.description("Remove labeled statements with these label names")),
|
|
708
708
|
checks: v.optional(ChecksOptionsSchema),
|
|
709
709
|
keepNames: v.pipe(v.optional(v.boolean()), v.description("Keep function/class name")),
|
|
710
|
-
debug: v.pipe(v.optional(v.object({
|
|
710
|
+
debug: v.pipe(v.optional(v.object({ sessionId: v.pipe(v.optional(v.string()), v.description("Used to name the build.")) })), v.description("Enable debug mode. Emit debug information to disk. This might slow down the build process significantly."))
|
|
711
711
|
});
|
|
712
712
|
InputCliOverrideSchema = v.strictObject({
|
|
713
713
|
external: v.pipe(v.optional(v.array(v.string())), v.description("Comma-separated list of module ids to exclude from the bundle `<module-id>,...`")),
|
package/dist/types/binding.d.ts
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare enum HookUsageKind {
|
|
2
|
+
buildStart = 1,
|
|
3
|
+
resolveId = 2,
|
|
4
|
+
resolveDynamicImport = 4,
|
|
5
|
+
load = 8,
|
|
6
|
+
transform = 16,
|
|
7
|
+
moduleParsed = 32,
|
|
8
|
+
buildEnd = 64,
|
|
9
|
+
renderStart = 128,
|
|
10
|
+
renderError = 256,
|
|
11
|
+
renderChunk = 512,
|
|
12
|
+
augmentChunkHash = 1024,
|
|
13
|
+
generateBundle = 2048,
|
|
14
|
+
writeBundle = 4096,
|
|
15
|
+
closeBundle = 8192,
|
|
16
|
+
watchChange = 16384,
|
|
17
|
+
closeWatcher = 32768,
|
|
18
|
+
transformAst = 65536,
|
|
19
|
+
banner = 131072,
|
|
20
|
+
footer = 262144,
|
|
21
|
+
intro = 524288,
|
|
22
|
+
outro = 1048576
|
|
23
|
+
}
|
|
24
|
+
export declare class HookUsage {
|
|
25
|
+
bitflag: bigint;
|
|
26
|
+
constructor(bitflag: bigint);
|
|
27
|
+
union(kind: HookUsageKind): void;
|
|
28
|
+
inner(): number;
|
|
29
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rolldown/browser",
|
|
3
|
-
"version": "1.0.0-beta.7-commit.
|
|
3
|
+
"version": "1.0.0-beta.7-commit.46fbc61",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"homepage": "https://rolldown.rs/",
|
|
6
6
|
"type": "module",
|