rolldown 1.0.0-beta.3-commit.98f16a0 → 1.0.0-beta.3-commit.62fba31
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 +1 -1
- package/dist/cjs/experimental-index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/parallel-plugin-worker.cjs +1 -1
- package/dist/esm/cli.mjs +1 -1
- package/dist/esm/experimental-index.mjs +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/parallel-plugin-worker.mjs +1 -1
- package/dist/shared/{src-DOQfmgRW.cjs → src-BZ9nUXsY.cjs} +5 -3
- package/dist/shared/{src-Bkdoz1UK.mjs → src-CX4-zCdU.mjs} +5 -3
- package/dist/types/binding.d.ts +2 -0
- package/dist/types/plugin/plugin-context.d.ts +2 -2
- package/dist/types/types/rolldown-output.d.ts +2 -0
- package/dist/types/types/sourcemap.d.ts +2 -1
- package/package.json +15 -15
package/dist/cjs/cli.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('../shared/chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_src = require('../shared/src-
|
|
3
|
+
const require_src = require('../shared/src-BZ9nUXsY.cjs');
|
|
4
4
|
const require_parse_ast_index = require('../shared/parse-ast-index-DtSwpkV3.cjs');
|
|
5
5
|
const node_process = require_chunk.__toESM(require("node:process"));
|
|
6
6
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('../shared/chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_src = require('../shared/src-
|
|
3
|
+
const require_src = require('../shared/src-BZ9nUXsY.cjs');
|
|
4
4
|
const require_parse_ast_index = require('../shared/parse-ast-index-DtSwpkV3.cjs');
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
6
6
|
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('../shared/chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_src = require('../shared/src-
|
|
3
|
+
const require_src = require('../shared/src-BZ9nUXsY.cjs');
|
|
4
4
|
const require_parse_ast_index = require('../shared/parse-ast-index-DtSwpkV3.cjs');
|
|
5
5
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
6
6
|
|
package/dist/esm/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { colors } from "../shared/parse-ast-index-CSo7-trQ.mjs";
|
|
2
|
-
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "../shared/src-
|
|
2
|
+
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "../shared/src-CX4-zCdU.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
1
|
import { import_binding } from "../shared/parse-ast-index-CSo7-trQ.mjs";
|
|
2
|
-
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/src-
|
|
2
|
+
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/src-CX4-zCdU.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
1
|
import "../shared/parse-ast-index-CSo7-trQ.mjs";
|
|
2
|
-
import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-
|
|
2
|
+
import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-CX4-zCdU.mjs";
|
|
3
3
|
|
|
4
4
|
export { VERSION, build, defineConfig, rolldown, watch };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { import_binding } from "../shared/parse-ast-index-CSo7-trQ.mjs";
|
|
2
|
-
import { PluginContextData, bindingifyPlugin } from "../shared/src-
|
|
2
|
+
import { PluginContextData, bindingifyPlugin } from "../shared/src-CX4-zCdU.mjs";
|
|
3
3
|
import { parentPort, workerData } from "node:worker_threads";
|
|
4
4
|
|
|
5
5
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -421,10 +421,12 @@ function bindingifySourcemap$1(map) {
|
|
|
421
421
|
return { inner: typeof map === "string" ? map : {
|
|
422
422
|
file: map.file ?? void 0,
|
|
423
423
|
mappings: map.mappings,
|
|
424
|
-
sourceRoot: map.sourceRoot ?? void 0,
|
|
424
|
+
sourceRoot: "sourceRoot" in map ? map.sourceRoot ?? void 0 : void 0,
|
|
425
425
|
sources: map.sources?.map((s) => s ?? void 0),
|
|
426
426
|
sourcesContent: map.sourcesContent?.map((s) => s ?? void 0),
|
|
427
|
-
names: map.names
|
|
427
|
+
names: map.names,
|
|
428
|
+
x_google_ignoreList: map.x_google_ignoreList,
|
|
429
|
+
debugId: "debugId" in map ? map.debugId : void 0
|
|
428
430
|
} };
|
|
429
431
|
}
|
|
430
432
|
|
|
@@ -2704,7 +2706,7 @@ const watch = (input) => {
|
|
|
2704
2706
|
|
|
2705
2707
|
//#endregion
|
|
2706
2708
|
//#region package.json
|
|
2707
|
-
var version = "1.0.0-beta.3-commit.
|
|
2709
|
+
var version = "1.0.0-beta.3-commit.62fba31";
|
|
2708
2710
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
2709
2711
|
|
|
2710
2712
|
//#endregion
|
|
@@ -419,10 +419,12 @@ function bindingifySourcemap$1(map) {
|
|
|
419
419
|
return { inner: typeof map === "string" ? map : {
|
|
420
420
|
file: map.file ?? void 0,
|
|
421
421
|
mappings: map.mappings,
|
|
422
|
-
sourceRoot: map.sourceRoot ?? void 0,
|
|
422
|
+
sourceRoot: "sourceRoot" in map ? map.sourceRoot ?? void 0 : void 0,
|
|
423
423
|
sources: map.sources?.map((s) => s ?? void 0),
|
|
424
424
|
sourcesContent: map.sourcesContent?.map((s) => s ?? void 0),
|
|
425
|
-
names: map.names
|
|
425
|
+
names: map.names,
|
|
426
|
+
x_google_ignoreList: map.x_google_ignoreList,
|
|
427
|
+
debugId: "debugId" in map ? map.debugId : void 0
|
|
426
428
|
} };
|
|
427
429
|
}
|
|
428
430
|
|
|
@@ -2702,7 +2704,7 @@ const watch = (input) => {
|
|
|
2702
2704
|
|
|
2703
2705
|
//#endregion
|
|
2704
2706
|
//#region package.json
|
|
2705
|
-
var version = "1.0.0-beta.3-commit.
|
|
2707
|
+
var version = "1.0.0-beta.3-commit.62fba31";
|
|
2706
2708
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
2707
2709
|
|
|
2708
2710
|
//#endregion
|
package/dist/types/binding.d.ts
CHANGED
|
@@ -397,6 +397,8 @@ export interface BindingJsonSourcemap {
|
|
|
397
397
|
sources?: Array<string | undefined | null>
|
|
398
398
|
sourcesContent?: Array<string | undefined | null>
|
|
399
399
|
names?: Array<string>
|
|
400
|
+
debugId?: string
|
|
401
|
+
x_google_ignoreList?: Array<number>
|
|
400
402
|
}
|
|
401
403
|
|
|
402
404
|
export interface BindingJsWatchChangeEvent {
|
|
@@ -23,7 +23,7 @@ export interface EmittedChunk {
|
|
|
23
23
|
id: string;
|
|
24
24
|
importer?: string;
|
|
25
25
|
}
|
|
26
|
-
export type EmittedFile = EmittedAsset;
|
|
26
|
+
export type EmittedFile = EmittedAsset | EmittedChunk;
|
|
27
27
|
export interface PluginContextResolveOptions {
|
|
28
28
|
skipSelf?: boolean;
|
|
29
29
|
custom?: CustomPluginOptions;
|
|
@@ -45,7 +45,7 @@ export declare class PluginContext extends MinimalPluginContext {
|
|
|
45
45
|
resolveDependencies?: boolean;
|
|
46
46
|
} & Partial<PartialNull<ModuleOptions>>): Promise<ModuleInfo>;
|
|
47
47
|
resolve(source: string, importer?: string, options?: PluginContextResolveOptions): Promise<ResolvedId | null>;
|
|
48
|
-
emitFile: (file:
|
|
48
|
+
emitFile: (file: EmittedFile) => string;
|
|
49
49
|
private getAssetFileNames;
|
|
50
50
|
getFileName(referenceId: string): string;
|
|
51
51
|
getModuleIds(): IterableIterator<string>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BindingSourcemap } from '../binding';
|
|
2
|
+
import type { SourceMap } from './rolldown-output';
|
|
2
3
|
export interface ExistingRawSourceMap {
|
|
3
4
|
file?: string | null;
|
|
4
5
|
mappings: string;
|
|
@@ -10,4 +11,4 @@ export interface ExistingRawSourceMap {
|
|
|
10
11
|
x_google_ignoreList?: number[];
|
|
11
12
|
}
|
|
12
13
|
export type SourceMapInput = ExistingRawSourceMap | string | null;
|
|
13
|
-
export declare function bindingifySourcemap(map?: SourceMapInput): undefined | BindingSourcemap;
|
|
14
|
+
export declare function bindingifySourcemap(map?: SourceMapInput | SourceMap): undefined | BindingSourcemap;
|
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.62fba31",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"homepage": "https://rolldown.rs/",
|
|
6
6
|
"repository": {
|
|
@@ -121,22 +121,22 @@
|
|
|
121
121
|
"typescript": "^5.7.3",
|
|
122
122
|
"unbuild": "^3.0.0",
|
|
123
123
|
"why-is-node-running": "^3.0.0",
|
|
124
|
-
"rolldown": "
|
|
125
|
-
"
|
|
124
|
+
"@rolldown/testing": "0.0.1",
|
|
125
|
+
"rolldown": "1.0.0-beta.3-commit.62fba31"
|
|
126
126
|
},
|
|
127
127
|
"optionalDependencies": {
|
|
128
|
-
"@rolldown/binding-darwin-arm64": "1.0.0-beta.3-commit.
|
|
129
|
-
"@rolldown/binding-darwin-x64": "1.0.0-beta.3-commit.
|
|
130
|
-
"@rolldown/binding-freebsd-x64": "1.0.0-beta.3-commit.
|
|
131
|
-
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.3-commit.
|
|
132
|
-
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.3-commit.
|
|
133
|
-
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.3-commit.
|
|
134
|
-
"@rolldown/binding-
|
|
135
|
-
"@rolldown/binding-linux-x64-
|
|
136
|
-
"@rolldown/binding-win32-
|
|
137
|
-
"@rolldown/binding-
|
|
138
|
-
"@rolldown/binding-win32-
|
|
139
|
-
"@rolldown/binding-win32-
|
|
128
|
+
"@rolldown/binding-darwin-arm64": "1.0.0-beta.3-commit.62fba31",
|
|
129
|
+
"@rolldown/binding-darwin-x64": "1.0.0-beta.3-commit.62fba31",
|
|
130
|
+
"@rolldown/binding-freebsd-x64": "1.0.0-beta.3-commit.62fba31",
|
|
131
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.3-commit.62fba31",
|
|
132
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.3-commit.62fba31",
|
|
133
|
+
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.3-commit.62fba31",
|
|
134
|
+
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.3-commit.62fba31",
|
|
135
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.3-commit.62fba31",
|
|
136
|
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.3-commit.62fba31",
|
|
137
|
+
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.3-commit.62fba31",
|
|
138
|
+
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.3-commit.62fba31",
|
|
139
|
+
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.3-commit.62fba31"
|
|
140
140
|
},
|
|
141
141
|
"scripts": {
|
|
142
142
|
"# Scrips for binding #": "_",
|