rolldown 1.0.0-beta.8-commit.709eb63 → 1.0.0-beta.8-commit.53a64a8
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/cli.cjs +9 -36
- package/dist/cli.mjs +6 -20
- package/dist/config.cjs +3 -3
- package/dist/config.d.cts +2 -2
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +3 -3
- package/dist/experimental-index.cjs +2 -2
- package/dist/experimental-index.d.cts +2 -2
- package/dist/experimental-index.d.mts +2 -2
- package/dist/experimental-index.mjs +2 -2
- package/dist/filter-index.d.cts +2 -2
- package/dist/filter-index.d.mts +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/parallel-plugin-worker.cjs +3 -14
- package/dist/parallel-plugin-worker.mjs +3 -14
- package/dist/parallel-plugin.d.cts +2 -2
- package/dist/parallel-plugin.d.mts +2 -2
- package/dist/parse-ast-index.cjs +1 -1
- package/dist/parse-ast-index.d.cts +1 -1
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +1 -1
- package/dist/shared/{binding.d-CXGXLPk3.d.cts → binding.d-CaUjr8EK.d.cts} +25 -16
- package/dist/shared/{binding.d-DwjGbo57.d.mts → binding.d-ClGg1neJ.d.mts} +25 -16
- package/dist/shared/{define-config.d-fxuJmTfB.d.mts → define-config.d-CBG80ToE.d.mts} +7 -3
- package/dist/shared/{define-config.d-DmtANgju.d.cts → define-config.d-ZHP_KKLU.d.cts} +7 -3
- package/dist/shared/{load-config-CNOQv_mv.mjs → load-config-Cwr2_DiJ.mjs} +1 -1
- package/dist/shared/{load-config-ChFIKTAX.cjs → load-config-DDegSkkm.cjs} +1 -1
- package/dist/shared/{parse-ast-index-BRsUTsn7.cjs → parse-ast-index-CtQjLtqj.cjs} +1 -1
- package/dist/shared/{parse-ast-index-CMF-2Ku4.mjs → parse-ast-index-_P4eJuv5.mjs} +2 -2
- package/dist/shared/{src-CJfH8uNa.mjs → src-C3GKppgv.mjs} +20 -34
- package/dist/shared/{src-RBXxNpra.cjs → src-CXlRt_uA.cjs} +18 -32
- package/package.json +18 -18
package/dist/cli.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
3
|
-
require('./shared/parse-ast-index-
|
|
2
|
+
const require_src = require('./shared/src-CXlRt_uA.cjs');
|
|
3
|
+
require('./shared/parse-ast-index-CtQjLtqj.cjs');
|
|
4
4
|
const require_misc = require('./shared/misc-BKp5iIef.cjs');
|
|
5
|
-
const require_load_config = require('./shared/load-config-
|
|
5
|
+
const require_load_config = require('./shared/load-config-DDegSkkm.cjs');
|
|
6
6
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
7
7
|
const ansis = require_chunk.__toESM(require("ansis"));
|
|
8
8
|
const node_process = require_chunk.__toESM(require("node:process"));
|
|
@@ -956,22 +956,9 @@ function createConsola(options$1 = {}) {
|
|
|
956
956
|
defaults: { level },
|
|
957
957
|
stdout: process.stdout,
|
|
958
958
|
stderr: process.stderr,
|
|
959
|
-
prompt: (...args) => Promise.resolve().then(
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
// Combining diacritical marks
|
|
963
|
-
// Combining diacritical marks extended
|
|
964
|
-
// Combining diacritical marks supplement
|
|
965
|
-
// Combining diacritical marks for symbols
|
|
966
|
-
// Combining half marks
|
|
967
|
-
// Linux console (kernel)
|
|
968
|
-
// Windows Terminal
|
|
969
|
-
// Terminus (<0.2.27)
|
|
970
|
-
// ConEmu and cmder
|
|
971
|
-
function() {
|
|
972
|
-
return require("./shared/prompt-CxjDC0Gn.cjs");
|
|
973
|
-
}
|
|
974
|
-
).then((m) => m.prompt(...args)),
|
|
959
|
+
prompt: (...args) => Promise.resolve().then(function() {
|
|
960
|
+
return require("./shared/prompt-CxjDC0Gn.cjs");
|
|
961
|
+
}).then((m) => m.prompt(...args)),
|
|
975
962
|
reporters: options$1.reporters || [options$1.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
|
|
976
963
|
...options$1
|
|
977
964
|
});
|
|
@@ -1261,21 +1248,7 @@ function parseCliArguments() {
|
|
|
1261
1248
|
*/
|
|
1262
1249
|
const signals = [];
|
|
1263
1250
|
signals.push("SIGHUP", "SIGINT", "SIGTERM");
|
|
1264
|
-
if (process.platform !== "win32") signals.push(
|
|
1265
|
-
"SIGALRM",
|
|
1266
|
-
"SIGABRT",
|
|
1267
|
-
"SIGVTALRM",
|
|
1268
|
-
"SIGXCPU",
|
|
1269
|
-
"SIGXFSZ",
|
|
1270
|
-
"SIGUSR2",
|
|
1271
|
-
"SIGTRAP",
|
|
1272
|
-
"SIGSYS",
|
|
1273
|
-
"SIGQUIT",
|
|
1274
|
-
"SIGIOT"
|
|
1275
|
-
// should detect profiler and enable/disable accordingly.
|
|
1276
|
-
// see #21
|
|
1277
|
-
// 'SIGPROF'
|
|
1278
|
-
);
|
|
1251
|
+
if (process.platform !== "win32") signals.push("SIGALRM", "SIGABRT", "SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
|
|
1279
1252
|
if (process.platform === "linux") signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
|
|
1280
1253
|
|
|
1281
1254
|
//#endregion
|
|
@@ -1447,8 +1420,8 @@ const process$2 = globalThis.process;
|
|
|
1447
1420
|
const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
|
|
1448
1421
|
|
|
1449
1422
|
//#endregion
|
|
1450
|
-
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
1451
|
-
var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
1423
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.70.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
|
|
1424
|
+
var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.70.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
|
|
1452
1425
|
function _usingCtx() {
|
|
1453
1426
|
var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
|
|
1454
1427
|
var n$2 = Error();
|
package/dist/cli.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __commonJS, __esm, __toESM } from "./shared/chunk--iN_1bjD.mjs";
|
|
2
|
-
import { description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-
|
|
3
|
-
import "./shared/parse-ast-index-
|
|
2
|
+
import { description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-C3GKppgv.mjs";
|
|
3
|
+
import "./shared/parse-ast-index-_P4eJuv5.mjs";
|
|
4
4
|
import { arraify, init_misc } from "./shared/misc-DGAe2XOW.mjs";
|
|
5
|
-
import { init_load_config, loadConfig } from "./shared/load-config-
|
|
5
|
+
import { init_load_config, loadConfig } from "./shared/load-config-Cwr2_DiJ.mjs";
|
|
6
6
|
import path, { sep } from "node:path";
|
|
7
7
|
import colors from "ansis";
|
|
8
8
|
import process$1 from "node:process";
|
|
@@ -1257,21 +1257,7 @@ var signals;
|
|
|
1257
1257
|
var init_signals = __esm({ "../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js"() {
|
|
1258
1258
|
signals = [];
|
|
1259
1259
|
signals.push("SIGHUP", "SIGINT", "SIGTERM");
|
|
1260
|
-
if (process.platform !== "win32") signals.push(
|
|
1261
|
-
"SIGALRM",
|
|
1262
|
-
"SIGABRT",
|
|
1263
|
-
"SIGVTALRM",
|
|
1264
|
-
"SIGXCPU",
|
|
1265
|
-
"SIGXFSZ",
|
|
1266
|
-
"SIGUSR2",
|
|
1267
|
-
"SIGTRAP",
|
|
1268
|
-
"SIGSYS",
|
|
1269
|
-
"SIGQUIT",
|
|
1270
|
-
"SIGIOT"
|
|
1271
|
-
// should detect profiler and enable/disable accordingly.
|
|
1272
|
-
// see #21
|
|
1273
|
-
// 'SIGPROF'
|
|
1274
|
-
);
|
|
1260
|
+
if (process.platform !== "win32") signals.push("SIGALRM", "SIGABRT", "SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
|
|
1275
1261
|
if (process.platform === "linux") signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
|
|
1276
1262
|
} });
|
|
1277
1263
|
|
|
@@ -1448,8 +1434,8 @@ var init_mjs = __esm({ "../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/
|
|
|
1448
1434
|
} });
|
|
1449
1435
|
|
|
1450
1436
|
//#endregion
|
|
1451
|
-
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
1452
|
-
var require_usingCtx = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
1437
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.70.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
|
|
1438
|
+
var require_usingCtx = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.70.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
|
|
1453
1439
|
function _usingCtx() {
|
|
1454
1440
|
var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
|
|
1455
1441
|
var n$2 = Error();
|
package/dist/config.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_src = require('./shared/src-
|
|
2
|
-
require('./shared/parse-ast-index-
|
|
1
|
+
const require_src = require('./shared/src-CXlRt_uA.cjs');
|
|
2
|
+
require('./shared/parse-ast-index-CtQjLtqj.cjs');
|
|
3
3
|
require('./shared/misc-BKp5iIef.cjs');
|
|
4
|
-
const require_load_config = require('./shared/load-config-
|
|
4
|
+
const require_load_config = require('./shared/load-config-DDegSkkm.cjs');
|
|
5
5
|
|
|
6
6
|
//#region src/config.ts
|
|
7
7
|
const VERSION = require_src.version;
|
package/dist/config.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding.d-
|
|
2
|
-
import { ConfigExport, defineConfig } from "./shared/define-config.d-
|
|
1
|
+
import "./shared/binding.d-CaUjr8EK.cjs";
|
|
2
|
+
import { ConfigExport, defineConfig } from "./shared/define-config.d-ZHP_KKLU.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/load-config.d.ts
|
|
5
5
|
declare function loadConfig(configPath: string): Promise<ConfigExport>;
|
package/dist/config.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding.d-
|
|
2
|
-
import { ConfigExport, defineConfig$1 as defineConfig } from "./shared/define-config.d-
|
|
1
|
+
import "./shared/binding.d-ClGg1neJ.mjs";
|
|
2
|
+
import { ConfigExport, defineConfig$1 as defineConfig } from "./shared/define-config.d-CBG80ToE.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/load-config.d.ts
|
|
5
5
|
declare function loadConfig(configPath: string): Promise<ConfigExport>;
|
package/dist/config.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineConfig, init_define_config, version } from "./shared/src-
|
|
2
|
-
import "./shared/parse-ast-index-
|
|
1
|
+
import { defineConfig, init_define_config, version } from "./shared/src-C3GKppgv.mjs";
|
|
2
|
+
import "./shared/parse-ast-index-_P4eJuv5.mjs";
|
|
3
3
|
import "./shared/misc-DGAe2XOW.mjs";
|
|
4
|
-
import { init_load_config, loadConfig } from "./shared/load-config-
|
|
4
|
+
import { init_load_config, loadConfig } from "./shared/load-config-Cwr2_DiJ.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/config.ts
|
|
7
7
|
init_define_config();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
3
|
-
const require_parse_ast_index = require('./shared/parse-ast-index-
|
|
2
|
+
const require_src = require('./shared/src-CXlRt_uA.cjs');
|
|
3
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-CtQjLtqj.cjs');
|
|
4
4
|
require('./shared/misc-BKp5iIef.cjs');
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult$1 as TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding.d-
|
|
2
|
-
import { BuiltinPlugin, InputOptions, RolldownPlugin, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./shared/define-config.d-
|
|
1
|
+
import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult$1 as TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding.d-CaUjr8EK.cjs";
|
|
2
|
+
import { BuiltinPlugin, InputOptions, RolldownPlugin, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./shared/define-config.d-ZHP_KKLU.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/experimental.d.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult$1 as TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding.d-
|
|
2
|
-
import { BuiltinPlugin$1 as BuiltinPlugin, InputOptions, RolldownPlugin, assetPlugin$1 as assetPlugin, buildImportAnalysisPlugin$1 as buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin$1 as dynamicImportVarsPlugin, importGlobPlugin$1 as importGlobPlugin, isolatedDeclarationPlugin$1 as isolatedDeclarationPlugin, jsonPlugin$1 as jsonPlugin, loadFallbackPlugin$1 as loadFallbackPlugin, manifestPlugin$1 as manifestPlugin, moduleFederationPlugin$1 as moduleFederationPlugin, modulePreloadPolyfillPlugin$1 as modulePreloadPolyfillPlugin, reportPlugin$1 as reportPlugin, viteResolvePlugin$1 as viteResolvePlugin, wasmFallbackPlugin$1 as wasmFallbackPlugin, wasmHelperPlugin$1 as wasmHelperPlugin } from "./shared/define-config.d-
|
|
1
|
+
import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult$1 as TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding.d-ClGg1neJ.mjs";
|
|
2
|
+
import { BuiltinPlugin$1 as BuiltinPlugin, InputOptions, RolldownPlugin, assetPlugin$1 as assetPlugin, buildImportAnalysisPlugin$1 as buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin$1 as dynamicImportVarsPlugin, importGlobPlugin$1 as importGlobPlugin, isolatedDeclarationPlugin$1 as isolatedDeclarationPlugin, jsonPlugin$1 as jsonPlugin, loadFallbackPlugin$1 as loadFallbackPlugin, manifestPlugin$1 as manifestPlugin, moduleFederationPlugin$1 as moduleFederationPlugin, modulePreloadPolyfillPlugin$1 as modulePreloadPolyfillPlugin, reportPlugin$1 as reportPlugin, viteResolvePlugin$1 as viteResolvePlugin, wasmFallbackPlugin$1 as wasmFallbackPlugin, wasmHelperPlugin$1 as wasmHelperPlugin } from "./shared/define-config.d-CBG80ToE.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/experimental.d.ts
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __toESM } from "./shared/chunk--iN_1bjD.mjs";
|
|
2
|
-
import { BuiltinPlugin, assetPlugin, 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-
|
|
3
|
-
import { require_binding } from "./shared/parse-ast-index-
|
|
2
|
+
import { BuiltinPlugin, assetPlugin, 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-C3GKppgv.mjs";
|
|
3
|
+
import { require_binding } from "./shared/parse-ast-index-_P4eJuv5.mjs";
|
|
4
4
|
import "./shared/misc-DGAe2XOW.mjs";
|
|
5
5
|
import { pathToFileURL } from "node:url";
|
|
6
6
|
|
package/dist/filter-index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding.d-
|
|
2
|
-
import { withFilter } from "./shared/define-config.d-
|
|
1
|
+
import "./shared/binding.d-CaUjr8EK.cjs";
|
|
2
|
+
import { withFilter } from "./shared/define-config.d-ZHP_KKLU.cjs";
|
|
3
3
|
import { and, code, exclude, id, include, moduleType, not, or, queries, query } from "@rolldown/pluginutils";
|
|
4
4
|
|
|
5
5
|
export { and, code, exclude, id, include, moduleType, not, or, queries, query, withFilter };
|
package/dist/filter-index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding.d-
|
|
2
|
-
import { withFilter } from "./shared/define-config.d-
|
|
1
|
+
import "./shared/binding.d-ClGg1neJ.mjs";
|
|
2
|
+
import { withFilter } from "./shared/define-config.d-CBG80ToE.mjs";
|
|
3
3
|
import { and, code, exclude, id, include, moduleType, not, or, queries, query } from "@rolldown/pluginutils";
|
|
4
4
|
|
|
5
5
|
export { and, code, exclude, id, include, moduleType, not, or, queries, query, withFilter };
|
package/dist/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-CXlRt_uA.cjs');
|
|
2
|
+
require('./shared/parse-ast-index-CtQjLtqj.cjs');
|
|
3
3
|
require('./shared/misc-BKp5iIef.cjs');
|
|
4
4
|
|
|
5
5
|
exports.VERSION = require_src.VERSION;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PreRenderedChunk } from "./shared/binding.d-
|
|
2
|
-
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch } from "./shared/define-config.d-
|
|
1
|
+
import { PreRenderedChunk } from "./shared/binding.d-CaUjr8EK.cjs";
|
|
2
|
+
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch } from "./shared/define-config.d-ZHP_KKLU.cjs";
|
|
3
3
|
|
|
4
4
|
export { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PreRenderedChunk } from "./shared/binding.d-
|
|
2
|
-
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION$1 as VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build$1 as build, defineConfig$1 as defineConfig, rolldown$1 as rolldown, watch$1 as watch } from "./shared/define-config.d-
|
|
1
|
+
import { PreRenderedChunk } from "./shared/binding.d-ClGg1neJ.mjs";
|
|
2
|
+
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION$1 as VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build$1 as build, defineConfig$1 as defineConfig, rolldown$1 as rolldown, watch$1 as watch } from "./shared/define-config.d-CBG80ToE.mjs";
|
|
3
3
|
|
|
4
4
|
export { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VERSION, build, defineConfig, init_src, rolldown, watch } from "./shared/src-
|
|
2
|
-
import "./shared/parse-ast-index-
|
|
1
|
+
import { VERSION, build, defineConfig, init_src, rolldown, watch } from "./shared/src-C3GKppgv.mjs";
|
|
2
|
+
import "./shared/parse-ast-index-_P4eJuv5.mjs";
|
|
3
3
|
import "./shared/misc-DGAe2XOW.mjs";
|
|
4
4
|
|
|
5
5
|
init_src();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
3
|
-
const require_parse_ast_index = require('./shared/parse-ast-index-
|
|
2
|
+
const require_src = require('./shared/src-CXlRt_uA.cjs');
|
|
3
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-CtQjLtqj.cjs');
|
|
4
4
|
require('./shared/misc-BKp5iIef.cjs');
|
|
5
5
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
6
6
|
|
|
@@ -15,18 +15,7 @@ const { registryId, pluginInfos, threadNumber } = node_worker_threads.workerData
|
|
|
15
15
|
const plugin = await definePluginImpl(pluginInfo.options, { threadNumber });
|
|
16
16
|
return {
|
|
17
17
|
index: pluginInfo.index,
|
|
18
|
-
plugin: require_src.bindingifyPlugin(
|
|
19
|
-
plugin,
|
|
20
|
-
{},
|
|
21
|
-
{},
|
|
22
|
-
// TODO need to find a way to share pluginContextData
|
|
23
|
-
new require_src.PluginContextData(),
|
|
24
|
-
[],
|
|
25
|
-
() => {},
|
|
26
|
-
"info",
|
|
27
|
-
// TODO: support this.meta.watchMode
|
|
28
|
-
false
|
|
29
|
-
)
|
|
18
|
+
plugin: require_src.bindingifyPlugin(plugin, {}, {}, new require_src.PluginContextData(), [], () => {}, "info", false)
|
|
30
19
|
};
|
|
31
20
|
}));
|
|
32
21
|
(0, import_binding.registerPlugins)(registryId, plugins);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJS, __toESM } from "./shared/chunk--iN_1bjD.mjs";
|
|
2
|
-
import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-
|
|
3
|
-
import { require_binding } from "./shared/parse-ast-index-
|
|
2
|
+
import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-C3GKppgv.mjs";
|
|
3
|
+
import { require_binding } from "./shared/parse-ast-index-_P4eJuv5.mjs";
|
|
4
4
|
import "./shared/misc-DGAe2XOW.mjs";
|
|
5
5
|
import { parentPort, workerData } from "node:worker_threads";
|
|
6
6
|
|
|
@@ -18,18 +18,7 @@ var require_parallel_plugin_worker = __commonJS({ "src/parallel-plugin-worker.ts
|
|
|
18
18
|
const plugin = await definePluginImpl(pluginInfo.options, { threadNumber });
|
|
19
19
|
return {
|
|
20
20
|
index: pluginInfo.index,
|
|
21
|
-
plugin: bindingifyPlugin(
|
|
22
|
-
plugin,
|
|
23
|
-
{},
|
|
24
|
-
{},
|
|
25
|
-
// TODO need to find a way to share pluginContextData
|
|
26
|
-
new PluginContextData(),
|
|
27
|
-
[],
|
|
28
|
-
() => {},
|
|
29
|
-
"info",
|
|
30
|
-
// TODO: support this.meta.watchMode
|
|
31
|
-
false
|
|
32
|
-
)
|
|
21
|
+
plugin: bindingifyPlugin(plugin, {}, {}, new PluginContextData(), [], () => {}, "info", false)
|
|
33
22
|
};
|
|
34
23
|
}));
|
|
35
24
|
(0, import_binding.registerPlugins)(registryId, plugins);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding.d-
|
|
2
|
-
import { MaybePromise, Plugin } from "./shared/define-config.d-
|
|
1
|
+
import "./shared/binding.d-CaUjr8EK.cjs";
|
|
2
|
+
import { MaybePromise, Plugin } from "./shared/define-config.d-ZHP_KKLU.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
5
5
|
type ParallelPluginImplementation = Plugin;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding.d-
|
|
2
|
-
import { MaybePromise, Plugin } from "./shared/define-config.d-
|
|
1
|
+
import "./shared/binding.d-ClGg1neJ.mjs";
|
|
2
|
+
import { MaybePromise, Plugin } from "./shared/define-config.d-CBG80ToE.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
5
5
|
type ParallelPluginImplementation = Plugin;
|
package/dist/parse-ast-index.cjs
CHANGED
|
@@ -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-CtQjLtqj.cjs');
|
|
2
2
|
|
|
3
3
|
exports.parseAst = require_parse_ast_index.parseAst;
|
|
4
4
|
exports.parseAstAsync = require_parse_ast_index.parseAstAsync;
|
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-_P4eJuv5.mjs";
|
|
2
2
|
|
|
3
3
|
init_parse_ast_index();
|
|
4
4
|
export { parseAst, parseAstAsync };
|
|
@@ -179,6 +179,8 @@ interface BindingAdvancedChunksOptions {
|
|
|
179
179
|
maxModuleSize?: number
|
|
180
180
|
}
|
|
181
181
|
interface BindingAssetPluginConfig {
|
|
182
|
+
isServer?: boolean
|
|
183
|
+
urlBase?: string
|
|
182
184
|
publicDir?: string
|
|
183
185
|
assetsInclude?: Array<BindingStringOrRegex>
|
|
184
186
|
}
|
|
@@ -196,23 +198,25 @@ interface BindingBuiltinPlugin {
|
|
|
196
198
|
__name: BindingBuiltinPluginName
|
|
197
199
|
options?: unknown
|
|
198
200
|
}
|
|
199
|
-
type BindingBuiltinPluginName = 'builtin:
|
|
200
|
-
'builtin:
|
|
201
|
+
type BindingBuiltinPluginName = 'builtin:alias'|
|
|
202
|
+
'builtin:asset'|
|
|
203
|
+
'builtin:asset-import-meta-url'|
|
|
204
|
+
'builtin:build-import-analysis'|
|
|
201
205
|
'builtin:dynamic-import-vars'|
|
|
202
|
-
'builtin:
|
|
203
|
-
'builtin:
|
|
204
|
-
'builtin:load-fallback'|
|
|
205
|
-
'builtin:transform'|
|
|
206
|
-
'builtin:wasm-fallback'|
|
|
207
|
-
'builtin:alias'|
|
|
206
|
+
'builtin:import-glob'|
|
|
207
|
+
'builtin:isolated-declaration'|
|
|
208
208
|
'builtin:json'|
|
|
209
|
-
'builtin:
|
|
210
|
-
'builtin:
|
|
211
|
-
'builtin:vite-resolve'|
|
|
209
|
+
'builtin:load-fallback'|
|
|
210
|
+
'builtin:manifest'|
|
|
212
211
|
'builtin:module-federation'|
|
|
213
|
-
'builtin:
|
|
212
|
+
'builtin:module-preload-polyfill'|
|
|
214
213
|
'builtin:report'|
|
|
215
|
-
'builtin:
|
|
214
|
+
'builtin:replace'|
|
|
215
|
+
'builtin:transform'|
|
|
216
|
+
'builtin:vite-resolve'|
|
|
217
|
+
'builtin:wasm-fallback'|
|
|
218
|
+
'builtin:wasm-helper'|
|
|
219
|
+
'builtin:web-worker-post';
|
|
216
220
|
interface BindingBundlerOptions {
|
|
217
221
|
inputOptions: BindingInputOptions
|
|
218
222
|
outputOptions: BindingOutputOptions
|
|
@@ -281,7 +285,10 @@ interface BindingHmrBoundaryOutput {
|
|
|
281
285
|
acceptedVia: string
|
|
282
286
|
}
|
|
283
287
|
interface BindingHmrOutput {
|
|
284
|
-
|
|
288
|
+
code: string
|
|
289
|
+
filename: string
|
|
290
|
+
sourcemap?: string
|
|
291
|
+
sourcemapFilename?: string
|
|
285
292
|
hmrBoundaries: Array<BindingHmrBoundaryOutput>
|
|
286
293
|
fullReload: boolean
|
|
287
294
|
firstInvalidatedBy?: string
|
|
@@ -1242,9 +1249,10 @@ interface OxcError {
|
|
|
1242
1249
|
codeframe?: string
|
|
1243
1250
|
}
|
|
1244
1251
|
interface ParserOptions {
|
|
1245
|
-
sourceType?: 'script' | 'module' | 'unambiguous' | undefined
|
|
1246
1252
|
/** Treat the source text as `js`, `jsx`, `ts`, or `tsx`. */
|
|
1247
1253
|
lang?: 'js' | 'jsx' | 'ts' | 'tsx'
|
|
1254
|
+
/** Treat the source text as `script` or `module` code. */
|
|
1255
|
+
sourceType?: 'script' | 'module' | 'unambiguous' | undefined
|
|
1248
1256
|
/**
|
|
1249
1257
|
* Return an AST which includes TypeScript-related properties, or excludes them.
|
|
1250
1258
|
*
|
|
@@ -1451,9 +1459,10 @@ declare function transform(filename: string, sourceText: string, options?: Trans
|
|
|
1451
1459
|
* @see {@link transform}
|
|
1452
1460
|
*/
|
|
1453
1461
|
interface TransformOptions {
|
|
1454
|
-
sourceType?: 'script' | 'module' | 'unambiguous' | undefined
|
|
1455
1462
|
/** Treat the source text as `js`, `jsx`, `ts`, or `tsx`. */
|
|
1456
1463
|
lang?: 'js' | 'jsx' | 'ts' | 'tsx'
|
|
1464
|
+
/** Treat the source text as `script` or `module` code. */
|
|
1465
|
+
sourceType?: 'script' | 'module' | 'unambiguous' | undefined
|
|
1457
1466
|
/**
|
|
1458
1467
|
* The current working directory. Used to resolve relative paths in other
|
|
1459
1468
|
* options.
|
|
@@ -179,6 +179,8 @@ interface BindingAdvancedChunksOptions {
|
|
|
179
179
|
maxModuleSize?: number
|
|
180
180
|
}
|
|
181
181
|
interface BindingAssetPluginConfig {
|
|
182
|
+
isServer?: boolean
|
|
183
|
+
urlBase?: string
|
|
182
184
|
publicDir?: string
|
|
183
185
|
assetsInclude?: Array<BindingStringOrRegex>
|
|
184
186
|
}
|
|
@@ -196,23 +198,25 @@ interface BindingBuiltinPlugin {
|
|
|
196
198
|
__name: BindingBuiltinPluginName
|
|
197
199
|
options?: unknown
|
|
198
200
|
}
|
|
199
|
-
type BindingBuiltinPluginName = 'builtin:
|
|
200
|
-
'builtin:
|
|
201
|
+
type BindingBuiltinPluginName = 'builtin:alias'|
|
|
202
|
+
'builtin:asset'|
|
|
203
|
+
'builtin:asset-import-meta-url'|
|
|
204
|
+
'builtin:build-import-analysis'|
|
|
201
205
|
'builtin:dynamic-import-vars'|
|
|
202
|
-
'builtin:
|
|
203
|
-
'builtin:
|
|
204
|
-
'builtin:load-fallback'|
|
|
205
|
-
'builtin:transform'|
|
|
206
|
-
'builtin:wasm-fallback'|
|
|
207
|
-
'builtin:alias'|
|
|
206
|
+
'builtin:import-glob'|
|
|
207
|
+
'builtin:isolated-declaration'|
|
|
208
208
|
'builtin:json'|
|
|
209
|
-
'builtin:
|
|
210
|
-
'builtin:
|
|
211
|
-
'builtin:vite-resolve'|
|
|
209
|
+
'builtin:load-fallback'|
|
|
210
|
+
'builtin:manifest'|
|
|
212
211
|
'builtin:module-federation'|
|
|
213
|
-
'builtin:
|
|
212
|
+
'builtin:module-preload-polyfill'|
|
|
214
213
|
'builtin:report'|
|
|
215
|
-
'builtin:
|
|
214
|
+
'builtin:replace'|
|
|
215
|
+
'builtin:transform'|
|
|
216
|
+
'builtin:vite-resolve'|
|
|
217
|
+
'builtin:wasm-fallback'|
|
|
218
|
+
'builtin:wasm-helper'|
|
|
219
|
+
'builtin:web-worker-post';
|
|
216
220
|
interface BindingBundlerOptions {
|
|
217
221
|
inputOptions: BindingInputOptions
|
|
218
222
|
outputOptions: BindingOutputOptions
|
|
@@ -281,7 +285,10 @@ interface BindingHmrBoundaryOutput {
|
|
|
281
285
|
acceptedVia: string
|
|
282
286
|
}
|
|
283
287
|
interface BindingHmrOutput {
|
|
284
|
-
|
|
288
|
+
code: string
|
|
289
|
+
filename: string
|
|
290
|
+
sourcemap?: string
|
|
291
|
+
sourcemapFilename?: string
|
|
285
292
|
hmrBoundaries: Array<BindingHmrBoundaryOutput>
|
|
286
293
|
fullReload: boolean
|
|
287
294
|
firstInvalidatedBy?: string
|
|
@@ -1242,9 +1249,10 @@ interface OxcError {
|
|
|
1242
1249
|
codeframe?: string
|
|
1243
1250
|
}
|
|
1244
1251
|
interface ParserOptions {
|
|
1245
|
-
sourceType?: 'script' | 'module' | 'unambiguous' | undefined
|
|
1246
1252
|
/** Treat the source text as `js`, `jsx`, `ts`, or `tsx`. */
|
|
1247
1253
|
lang?: 'js' | 'jsx' | 'ts' | 'tsx'
|
|
1254
|
+
/** Treat the source text as `script` or `module` code. */
|
|
1255
|
+
sourceType?: 'script' | 'module' | 'unambiguous' | undefined
|
|
1248
1256
|
/**
|
|
1249
1257
|
* Return an AST which includes TypeScript-related properties, or excludes them.
|
|
1250
1258
|
*
|
|
@@ -1451,9 +1459,10 @@ declare function transform(filename: string, sourceText: string, options?: Trans
|
|
|
1451
1459
|
* @see {@link transform}
|
|
1452
1460
|
*/
|
|
1453
1461
|
interface TransformOptions {
|
|
1454
|
-
sourceType?: 'script' | 'module' | 'unambiguous' | undefined
|
|
1455
1462
|
/** Treat the source text as `js`, `jsx`, `ts`, or `tsx`. */
|
|
1456
1463
|
lang?: 'js' | 'jsx' | 'ts' | 'tsx'
|
|
1464
|
+
/** Treat the source text as `script` or `module` code. */
|
|
1465
|
+
sourceType?: 'script' | 'module' | 'unambiguous' | undefined
|
|
1457
1466
|
/**
|
|
1458
1467
|
* The current working directory. Used to resolve relative paths in other
|
|
1459
1468
|
* options.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingDynamicImportVarsPluginConfig, BindingGlobImportPluginConfig, BindingHmrOutput, BindingHookResolveIdExtraArgs, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReportPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWatcherEvent, Bundler, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding.d-
|
|
1
|
+
import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingDynamicImportVarsPluginConfig, BindingGlobImportPluginConfig, BindingHmrOutput, BindingHookResolveIdExtraArgs, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReportPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWatcherEvent, Bundler, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding.d-ClGg1neJ.mjs";
|
|
2
2
|
import { TopLevelFilterExpression } from "@rolldown/pluginutils";
|
|
3
3
|
import { Program } from "@oxc-project/types";
|
|
4
4
|
|
|
@@ -820,9 +820,13 @@ interface Plugin<A = any> extends OutputPlugin, Partial<PluginHooks> {
|
|
|
820
820
|
api?: A;
|
|
821
821
|
}
|
|
822
822
|
type RolldownPlugin<A = any> = Plugin<A> | BuiltinPlugin | ParallelPlugin;
|
|
823
|
-
type RolldownPluginOption<A = any> = MaybePromise<NullValue<RolldownPlugin<A>> |
|
|
823
|
+
type RolldownPluginOption<A = any> = MaybePromise<NullValue<RolldownPlugin<A>> | {
|
|
824
|
+
name: string
|
|
825
|
+
} | false | RolldownPluginOption[]>;
|
|
824
826
|
type RolldownOutputPlugin = OutputPlugin | BuiltinPlugin;
|
|
825
|
-
type RolldownOutputPluginOption = MaybePromise<NullValue<RolldownOutputPlugin> |
|
|
827
|
+
type RolldownOutputPluginOption = MaybePromise<NullValue<RolldownOutputPlugin> | {
|
|
828
|
+
name: string
|
|
829
|
+
} | false | RolldownOutputPluginOption[]>;
|
|
826
830
|
|
|
827
831
|
//#endregion
|
|
828
832
|
//#region src/options/generated/checks-options.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingDynamicImportVarsPluginConfig, BindingGlobImportPluginConfig, BindingHmrOutput, BindingHookResolveIdExtraArgs, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReportPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWatcherEvent, Bundler, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding.d-
|
|
1
|
+
import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingDynamicImportVarsPluginConfig, BindingGlobImportPluginConfig, BindingHmrOutput, BindingHookResolveIdExtraArgs, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReportPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWatcherEvent, Bundler, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding.d-CaUjr8EK.cjs";
|
|
2
2
|
import { Program } from "@oxc-project/types";
|
|
3
3
|
import { TopLevelFilterExpression } from "@rolldown/pluginutils";
|
|
4
4
|
|
|
@@ -820,9 +820,13 @@ interface Plugin<A = any> extends OutputPlugin, Partial<PluginHooks> {
|
|
|
820
820
|
api?: A;
|
|
821
821
|
}
|
|
822
822
|
type RolldownPlugin<A = any> = Plugin<A> | BuiltinPlugin | ParallelPlugin;
|
|
823
|
-
type RolldownPluginOption<A = any> = MaybePromise<NullValue<RolldownPlugin<A>> |
|
|
823
|
+
type RolldownPluginOption<A = any> = MaybePromise<NullValue<RolldownPlugin<A>> | {
|
|
824
|
+
name: string
|
|
825
|
+
} | false | RolldownPluginOption[]>;
|
|
824
826
|
type RolldownOutputPlugin = OutputPlugin | BuiltinPlugin;
|
|
825
|
-
type RolldownOutputPluginOption = MaybePromise<NullValue<RolldownOutputPlugin> |
|
|
827
|
+
type RolldownOutputPluginOption = MaybePromise<NullValue<RolldownOutputPlugin> | {
|
|
828
|
+
name: string
|
|
829
|
+
} | false | RolldownOutputPluginOption[]>;
|
|
826
830
|
|
|
827
831
|
//#endregion
|
|
828
832
|
//#region src/options/generated/checks-options.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esm } from "./chunk--iN_1bjD.mjs";
|
|
2
|
-
import { init_rolldown, rolldown } from "./src-
|
|
2
|
+
import { init_rolldown, rolldown } from "./src-C3GKppgv.mjs";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { pathToFileURL } from "node:url";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-DDkG_k5U.cjs');
|
|
2
|
-
const require_src = require('./src-
|
|
2
|
+
const require_src = require('./src-CXlRt_uA.cjs');
|
|
3
3
|
const node_fs = require_chunk.__toESM(require("node:fs"));
|
|
4
4
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
@@ -555,7 +555,7 @@ function augmentCodeLocation(properties, pos, source, id) {
|
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
//#endregion
|
|
558
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
558
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.70.0/node_modules/oxc-parser/wrap.mjs
|
|
559
559
|
function wrap$1(result) {
|
|
560
560
|
let program, module$1, comments, errors;
|
|
561
561
|
return {
|
|
@@ -564,7 +564,7 @@ var init_logs = __esm({ "src/log/logs.ts"() {
|
|
|
564
564
|
} });
|
|
565
565
|
|
|
566
566
|
//#endregion
|
|
567
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
567
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.70.0/node_modules/oxc-parser/wrap.mjs
|
|
568
568
|
function wrap$1(result) {
|
|
569
569
|
let program, module$1, comments, errors;
|
|
570
570
|
return {
|
|
@@ -599,7 +599,7 @@ function applyFix(program, fixPath) {
|
|
|
599
599
|
node.value = RegExp(node.regex.pattern, node.regex.flags);
|
|
600
600
|
} catch (_err) {}
|
|
601
601
|
}
|
|
602
|
-
var init_wrap = __esm({ "../../node_modules/.pnpm/oxc-parser@0.
|
|
602
|
+
var init_wrap = __esm({ "../../node_modules/.pnpm/oxc-parser@0.70.0/node_modules/oxc-parser/wrap.mjs"() {} });
|
|
603
603
|
|
|
604
604
|
//#endregion
|
|
605
605
|
//#region src/parse-ast-index.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { __esm, __toESM } from "./chunk--iN_1bjD.mjs";
|
|
2
|
-
import { augmentCodeLocation, error, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst, require_binding } from "./parse-ast-index-
|
|
2
|
+
import { augmentCodeLocation, error, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst, require_binding } from "./parse-ast-index-_P4eJuv5.mjs";
|
|
3
3
|
import { arraify, init_misc, isNullish, noop, unimplemented, unreachable, unsupported } from "./misc-DGAe2XOW.mjs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import colors from "ansis";
|
|
6
6
|
import * as filter from "@rolldown/pluginutils";
|
|
7
|
-
import
|
|
7
|
+
import os from "node:os";
|
|
8
8
|
import { Worker } from "node:worker_threads";
|
|
9
9
|
|
|
10
10
|
//#region package.json
|
|
11
|
-
var version = "1.0.0-beta.8-commit.
|
|
11
|
+
var version = "1.0.0-beta.8-commit.53a64a8";
|
|
12
12
|
var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
@@ -1569,11 +1569,7 @@ function convertAction(jsonSchema, valibotAction, config) {
|
|
|
1569
1569
|
jsonSchema.const = valibotAction.requirement;
|
|
1570
1570
|
break;
|
|
1571
1571
|
}
|
|
1572
|
-
default: handleError(
|
|
1573
|
-
// @ts-expect-error
|
|
1574
|
-
`The "${valibotAction.type}" action cannot be converted to JSON Schema.`,
|
|
1575
|
-
config
|
|
1576
|
-
);
|
|
1572
|
+
default: handleError(`The "${valibotAction.type}" action cannot be converted to JSON Schema.`, config);
|
|
1577
1573
|
}
|
|
1578
1574
|
return jsonSchema;
|
|
1579
1575
|
}
|
|
@@ -1706,11 +1702,7 @@ function convertSchema(jsonSchema, valibotSchema, config, context) {
|
|
|
1706
1702
|
jsonSchema.$ref = `#/$defs/${referenceId2}`;
|
|
1707
1703
|
break;
|
|
1708
1704
|
}
|
|
1709
|
-
default: handleError(
|
|
1710
|
-
// @ts-expect-error
|
|
1711
|
-
`The "${valibotSchema.type}" schema cannot be converted to JSON Schema.`,
|
|
1712
|
-
config
|
|
1713
|
-
);
|
|
1705
|
+
default: handleError(`The "${valibotSchema.type}" schema cannot be converted to JSON Schema.`, config);
|
|
1714
1706
|
}
|
|
1715
1707
|
return jsonSchema;
|
|
1716
1708
|
}
|
|
@@ -1722,21 +1714,9 @@ function toJsonSchema(schema, config) {
|
|
|
1722
1714
|
};
|
|
1723
1715
|
if (config?.definitions) {
|
|
1724
1716
|
for (const key in config.definitions) context.referenceMap.set(config.definitions[key], key);
|
|
1725
|
-
for (const key in config.definitions) context.definitions[key] = convertSchema(
|
|
1726
|
-
{},
|
|
1727
|
-
// @ts-expect-error
|
|
1728
|
-
config.definitions[key],
|
|
1729
|
-
config,
|
|
1730
|
-
context
|
|
1731
|
-
);
|
|
1717
|
+
for (const key in config.definitions) context.definitions[key] = convertSchema({}, config.definitions[key], config, context);
|
|
1732
1718
|
}
|
|
1733
|
-
const jsonSchema = convertSchema(
|
|
1734
|
-
{ $schema: "http://json-schema.org/draft-07/schema#" },
|
|
1735
|
-
// @ts-expect-error
|
|
1736
|
-
schema,
|
|
1737
|
-
config,
|
|
1738
|
-
context
|
|
1739
|
-
);
|
|
1719
|
+
const jsonSchema = convertSchema({ $schema: "http://json-schema.org/draft-07/schema#" }, schema, config, context);
|
|
1740
1720
|
if (context.referenceMap.size) jsonSchema.$defs = context.definitions;
|
|
1741
1721
|
return jsonSchema;
|
|
1742
1722
|
}
|
|
@@ -5450,7 +5430,7 @@ async function initializeParallelPlugins(plugins) {
|
|
|
5450
5430
|
});
|
|
5451
5431
|
}
|
|
5452
5432
|
if (pluginInfos.length <= 0) return void 0;
|
|
5453
|
-
const count =
|
|
5433
|
+
const count = availableParallelism();
|
|
5454
5434
|
const parallelJsPluginRegistry = new import_binding$2.ParallelJsPluginRegistry(count);
|
|
5455
5435
|
const registryId = parallelJsPluginRegistry.id;
|
|
5456
5436
|
const workers = await initializeWorkers(registryId, count, pluginInfos);
|
|
@@ -5488,9 +5468,19 @@ async function initializeWorker(registryId, pluginInfos, threadNumber) {
|
|
|
5488
5468
|
throw e$5;
|
|
5489
5469
|
}
|
|
5490
5470
|
}
|
|
5491
|
-
var import_binding$2;
|
|
5471
|
+
var import_binding$2, availableParallelism;
|
|
5492
5472
|
var init_initialize_parallel_plugins = __esm({ "src/utils/initialize-parallel-plugins.ts"() {
|
|
5493
5473
|
import_binding$2 = __toESM(require_binding());
|
|
5474
|
+
availableParallelism = () => {
|
|
5475
|
+
let availableParallelism$1 = 1;
|
|
5476
|
+
try {
|
|
5477
|
+
availableParallelism$1 = os.availableParallelism();
|
|
5478
|
+
} catch {
|
|
5479
|
+
const cpus = os.cpus();
|
|
5480
|
+
if (Array.isArray(cpus) && cpus.length > 0) availableParallelism$1 = cpus.length;
|
|
5481
|
+
}
|
|
5482
|
+
return Math.min(availableParallelism$1, 8);
|
|
5483
|
+
};
|
|
5494
5484
|
} });
|
|
5495
5485
|
|
|
5496
5486
|
//#endregion
|
|
@@ -5656,11 +5646,7 @@ var init_watch_emitter = __esm({ "src/api/watch/watch-emitter.ts"() {
|
|
|
5656
5646
|
listeners = new Map();
|
|
5657
5647
|
timer;
|
|
5658
5648
|
constructor() {
|
|
5659
|
-
this.timer = setInterval(
|
|
5660
|
-
() => {},
|
|
5661
|
-
1e9
|
|
5662
|
-
/* Low power usage */
|
|
5663
|
-
);
|
|
5649
|
+
this.timer = setInterval(() => {}, 1e9);
|
|
5664
5650
|
}
|
|
5665
5651
|
on(event, listener) {
|
|
5666
5652
|
const listeners = this.listeners.get(event);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-DDkG_k5U.cjs');
|
|
2
|
-
const require_parse_ast_index = require('./parse-ast-index-
|
|
2
|
+
const require_parse_ast_index = require('./parse-ast-index-CtQjLtqj.cjs');
|
|
3
3
|
const require_misc = require('./misc-BKp5iIef.cjs');
|
|
4
4
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
5
5
|
const ansis = require_chunk.__toESM(require("ansis"));
|
|
@@ -8,7 +8,7 @@ const node_os = require_chunk.__toESM(require("node:os"));
|
|
|
8
8
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
9
9
|
|
|
10
10
|
//#region package.json
|
|
11
|
-
var version = "1.0.0-beta.8-commit.
|
|
11
|
+
var version = "1.0.0-beta.8-commit.53a64a8";
|
|
12
12
|
var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
@@ -1525,11 +1525,7 @@ function convertAction(jsonSchema, valibotAction, config) {
|
|
|
1525
1525
|
jsonSchema.const = valibotAction.requirement;
|
|
1526
1526
|
break;
|
|
1527
1527
|
}
|
|
1528
|
-
default: handleError(
|
|
1529
|
-
// @ts-expect-error
|
|
1530
|
-
`The "${valibotAction.type}" action cannot be converted to JSON Schema.`,
|
|
1531
|
-
config
|
|
1532
|
-
);
|
|
1528
|
+
default: handleError(`The "${valibotAction.type}" action cannot be converted to JSON Schema.`, config);
|
|
1533
1529
|
}
|
|
1534
1530
|
return jsonSchema;
|
|
1535
1531
|
}
|
|
@@ -1663,11 +1659,7 @@ function convertSchema(jsonSchema, valibotSchema, config, context) {
|
|
|
1663
1659
|
jsonSchema.$ref = `#/$defs/${referenceId2}`;
|
|
1664
1660
|
break;
|
|
1665
1661
|
}
|
|
1666
|
-
default: handleError(
|
|
1667
|
-
// @ts-expect-error
|
|
1668
|
-
`The "${valibotSchema.type}" schema cannot be converted to JSON Schema.`,
|
|
1669
|
-
config
|
|
1670
|
-
);
|
|
1662
|
+
default: handleError(`The "${valibotSchema.type}" schema cannot be converted to JSON Schema.`, config);
|
|
1671
1663
|
}
|
|
1672
1664
|
return jsonSchema;
|
|
1673
1665
|
}
|
|
@@ -1679,21 +1671,9 @@ function toJsonSchema(schema, config) {
|
|
|
1679
1671
|
};
|
|
1680
1672
|
if (config?.definitions) {
|
|
1681
1673
|
for (const key in config.definitions) context.referenceMap.set(config.definitions[key], key);
|
|
1682
|
-
for (const key in config.definitions) context.definitions[key] = convertSchema(
|
|
1683
|
-
{},
|
|
1684
|
-
// @ts-expect-error
|
|
1685
|
-
config.definitions[key],
|
|
1686
|
-
config,
|
|
1687
|
-
context
|
|
1688
|
-
);
|
|
1674
|
+
for (const key in config.definitions) context.definitions[key] = convertSchema({}, config.definitions[key], config, context);
|
|
1689
1675
|
}
|
|
1690
|
-
const jsonSchema = convertSchema(
|
|
1691
|
-
{ $schema: "http://json-schema.org/draft-07/schema#" },
|
|
1692
|
-
// @ts-expect-error
|
|
1693
|
-
schema,
|
|
1694
|
-
config,
|
|
1695
|
-
context
|
|
1696
|
-
);
|
|
1676
|
+
const jsonSchema = convertSchema({ $schema: "http://json-schema.org/draft-07/schema#" }, schema, config, context);
|
|
1697
1677
|
if (context.referenceMap.size) jsonSchema.$defs = context.definitions;
|
|
1698
1678
|
return jsonSchema;
|
|
1699
1679
|
}
|
|
@@ -4103,7 +4083,7 @@ async function initializeParallelPlugins(plugins) {
|
|
|
4103
4083
|
});
|
|
4104
4084
|
}
|
|
4105
4085
|
if (pluginInfos.length <= 0) return void 0;
|
|
4106
|
-
const count =
|
|
4086
|
+
const count = availableParallelism();
|
|
4107
4087
|
const parallelJsPluginRegistry = new import_binding$2.ParallelJsPluginRegistry(count);
|
|
4108
4088
|
const registryId = parallelJsPluginRegistry.id;
|
|
4109
4089
|
const workers = await initializeWorkers(registryId, count, pluginInfos);
|
|
@@ -4141,6 +4121,16 @@ async function initializeWorker(registryId, pluginInfos, threadNumber) {
|
|
|
4141
4121
|
throw e;
|
|
4142
4122
|
}
|
|
4143
4123
|
}
|
|
4124
|
+
const availableParallelism = () => {
|
|
4125
|
+
let availableParallelism$1 = 1;
|
|
4126
|
+
try {
|
|
4127
|
+
availableParallelism$1 = node_os.default.availableParallelism();
|
|
4128
|
+
} catch {
|
|
4129
|
+
const cpus = node_os.default.cpus();
|
|
4130
|
+
if (Array.isArray(cpus) && cpus.length > 0) availableParallelism$1 = cpus.length;
|
|
4131
|
+
}
|
|
4132
|
+
return Math.min(availableParallelism$1, 8);
|
|
4133
|
+
};
|
|
4144
4134
|
|
|
4145
4135
|
//#endregion
|
|
4146
4136
|
//#region src/utils/create-bundler-option.ts
|
|
@@ -4273,11 +4263,7 @@ var WatcherEmitter = class {
|
|
|
4273
4263
|
listeners = new Map();
|
|
4274
4264
|
timer;
|
|
4275
4265
|
constructor() {
|
|
4276
|
-
this.timer = setInterval(
|
|
4277
|
-
() => {},
|
|
4278
|
-
1e9
|
|
4279
|
-
/* Low power usage */
|
|
4280
|
-
);
|
|
4266
|
+
this.timer = setInterval(() => {}, 1e9);
|
|
4281
4267
|
}
|
|
4282
4268
|
on(event, listener) {
|
|
4283
4269
|
const listeners = this.listeners.get(event);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rolldown",
|
|
3
|
-
"version": "1.0.0-beta.8-commit.
|
|
3
|
+
"version": "1.0.0-beta.8-commit.53a64a8",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"homepage": "https://rolldown.rs/",
|
|
@@ -90,12 +90,12 @@
|
|
|
90
90
|
"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"
|
|
91
91
|
},
|
|
92
92
|
"dependencies": {
|
|
93
|
-
"@oxc-project/types": "0.
|
|
93
|
+
"@oxc-project/types": "0.70.0",
|
|
94
94
|
"ansis": "^4.0.0",
|
|
95
|
-
"@rolldown/pluginutils": "1.0.0-beta.8-commit.
|
|
95
|
+
"@rolldown/pluginutils": "1.0.0-beta.8-commit.53a64a8"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
|
-
"@oxc-project/runtime": "0.
|
|
98
|
+
"@oxc-project/runtime": "0.70.0"
|
|
99
99
|
},
|
|
100
100
|
"peerDependenciesMeta": {
|
|
101
101
|
"@oxc-project/runtime": {
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"fs-extra": "^11.2.0",
|
|
116
116
|
"glob": "^11.0.0",
|
|
117
117
|
"locate-character": "^3.0.0",
|
|
118
|
-
"oxc-parser": "0.
|
|
118
|
+
"oxc-parser": "0.70.0",
|
|
119
119
|
"pathe": "^2.0.3",
|
|
120
120
|
"remeda": "^2.10.0",
|
|
121
121
|
"rolldown-plugin-dts": "^0.7.12",
|
|
@@ -128,21 +128,21 @@
|
|
|
128
128
|
"unbuild": "^3.0.0",
|
|
129
129
|
"valibot": "1.0.0",
|
|
130
130
|
"@rolldown/testing": "0.0.1",
|
|
131
|
-
"rolldown": "1.0.0-beta.8-commit.
|
|
131
|
+
"rolldown": "1.0.0-beta.8-commit.53a64a8"
|
|
132
132
|
},
|
|
133
133
|
"optionalDependencies": {
|
|
134
|
-
"@rolldown/binding-darwin-
|
|
135
|
-
"@rolldown/binding-
|
|
136
|
-
"@rolldown/binding-
|
|
137
|
-
"@rolldown/binding-
|
|
138
|
-
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.8-commit.
|
|
139
|
-
"@rolldown/binding-linux-
|
|
140
|
-
"@rolldown/binding-linux-x64-
|
|
141
|
-
"@rolldown/binding-linux-
|
|
142
|
-
"@rolldown/binding-
|
|
143
|
-
"@rolldown/binding-win32-
|
|
144
|
-
"@rolldown/binding-
|
|
145
|
-
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.8-commit.
|
|
134
|
+
"@rolldown/binding-darwin-arm64": "1.0.0-beta.8-commit.53a64a8",
|
|
135
|
+
"@rolldown/binding-freebsd-x64": "1.0.0-beta.8-commit.53a64a8",
|
|
136
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.8-commit.53a64a8",
|
|
137
|
+
"@rolldown/binding-darwin-x64": "1.0.0-beta.8-commit.53a64a8",
|
|
138
|
+
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.8-commit.53a64a8",
|
|
139
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.8-commit.53a64a8",
|
|
140
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.8-commit.53a64a8",
|
|
141
|
+
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.8-commit.53a64a8",
|
|
142
|
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.8-commit.53a64a8",
|
|
143
|
+
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.8-commit.53a64a8",
|
|
144
|
+
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.8-commit.53a64a8",
|
|
145
|
+
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.8-commit.53a64a8"
|
|
146
146
|
},
|
|
147
147
|
"scripts": {
|
|
148
148
|
"# Scrips for binding #": "_",
|