@rolldown/browser 1.0.0-beta.9-commit.43425a0 → 1.0.0-beta.9-commit.ce72026

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 CHANGED
@@ -1,8 +1,8 @@
1
1
  const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
2
- const require_src = require('./shared/src-C_W5z7kh.cjs');
2
+ const require_src = require('./shared/src-C9LnSh9O.cjs');
3
3
  const require_dist = require('./shared/dist-BMVjvV-v.cjs');
4
- require('./shared/parse-ast-index-KEAbj-mg.cjs');
5
- const require_load_config = require('./shared/load-config-BycLdIMQ.cjs');
4
+ require('./shared/parse-ast-index-5aLNEQ2C.cjs');
5
+ const require_load_config = require('./shared/load-config-CBgCDjIX.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"));
@@ -1420,8 +1420,8 @@ const process$2 = globalThis.process;
1420
1420
  const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
1421
1421
 
1422
1422
  //#endregion
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) {
1423
+ //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.71.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
1424
+ var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.71.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
1425
1425
  function _usingCtx() {
1426
1426
  var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
1427
1427
  var n$2 = Error();
package/dist/cli.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import { __commonJS, __esm, __toESM } from "./shared/chunk-DSsiIF1Z.mjs";
2
- import { description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-CEyg0FMI.mjs";
2
+ import { description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-BuqnsN1w.mjs";
3
3
  import { arraify, init_misc } from "./shared/dist-CAn6dxW6.mjs";
4
- import "./shared/parse-ast-index-CxOeb18k.mjs";
5
- import { init_load_config, loadConfig } from "./shared/load-config-BaPZx4f1.mjs";
4
+ import "./shared/parse-ast-index-NgEigHGy.mjs";
5
+ import { init_load_config, loadConfig } from "./shared/load-config-C6jSuS5H.mjs";
6
6
  import path, { sep } from "node:path";
7
7
  import colors from "ansis";
8
8
  import process$1 from "node:process";
@@ -1434,8 +1434,8 @@ var init_mjs = __esm({ "../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/
1434
1434
  } });
1435
1435
 
1436
1436
  //#endregion
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) {
1437
+ //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.71.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
1438
+ var require_usingCtx = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.71.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
1439
1439
  function _usingCtx() {
1440
1440
  var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
1441
1441
  var n$2 = Error();
package/dist/config.cjs CHANGED
@@ -1,7 +1,7 @@
1
- const require_src = require('./shared/src-C_W5z7kh.cjs');
1
+ const require_src = require('./shared/src-C9LnSh9O.cjs');
2
2
  require('./shared/dist-BMVjvV-v.cjs');
3
- require('./shared/parse-ast-index-KEAbj-mg.cjs');
4
- const require_load_config = require('./shared/load-config-BycLdIMQ.cjs');
3
+ require('./shared/parse-ast-index-5aLNEQ2C.cjs');
4
+ const require_load_config = require('./shared/load-config-CBgCDjIX.cjs');
5
5
 
6
6
  //#region src/config.ts
7
7
  const VERSION = require_src.version;
package/dist/config.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { defineConfig, init_define_config, version } from "./shared/src-CEyg0FMI.mjs";
1
+ import { defineConfig, init_define_config, version } from "./shared/src-BuqnsN1w.mjs";
2
2
  import "./shared/dist-CAn6dxW6.mjs";
3
- import "./shared/parse-ast-index-CxOeb18k.mjs";
4
- import { init_load_config, loadConfig } from "./shared/load-config-BaPZx4f1.mjs";
3
+ import "./shared/parse-ast-index-NgEigHGy.mjs";
4
+ import { init_load_config, loadConfig } from "./shared/load-config-C6jSuS5H.mjs";
5
5
 
6
6
  //#region src/config.ts
7
7
  init_define_config();
@@ -1,4 +1,4 @@
1
- import { BuiltinPlugin, assetPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./src-DJECmp1K.js";
1
+ import { BuiltinPlugin, assetPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./src-DNQ5CH06.js";
2
2
  import { ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./rolldown-binding.wasi-browser.js";
3
3
 
4
4
  //#region src/api/experimental.ts
@@ -1,7 +1,7 @@
1
1
  const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
2
- const require_src = require('./shared/src-C_W5z7kh.cjs');
2
+ const require_src = require('./shared/src-C9LnSh9O.cjs');
3
3
  require('./shared/dist-BMVjvV-v.cjs');
4
- require('./shared/parse-ast-index-KEAbj-mg.cjs');
4
+ require('./shared/parse-ast-index-5aLNEQ2C.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"));
7
7
 
@@ -1,6 +1,6 @@
1
- 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, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-CEyg0FMI.mjs";
1
+ 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, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-BuqnsN1w.mjs";
2
2
  import "./shared/dist-CAn6dxW6.mjs";
3
- import "./shared/parse-ast-index-CxOeb18k.mjs";
3
+ import "./shared/parse-ast-index-NgEigHGy.mjs";
4
4
  import { ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./rolldown-binding.wasi.cjs";
5
5
  import { pathToFileURL } from "node:url";
6
6
 
@@ -1,3 +1,3 @@
1
- import { VERSION, build, defineConfig, rolldown, watch } from "./src-DJECmp1K.js";
1
+ import { VERSION, build, defineConfig, rolldown, watch } from "./src-DNQ5CH06.js";
2
2
 
3
3
  export { VERSION, build, defineConfig, rolldown, watch };
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
- const require_src = require('./shared/src-C_W5z7kh.cjs');
1
+ const require_src = require('./shared/src-C9LnSh9O.cjs');
2
2
  require('./shared/dist-BMVjvV-v.cjs');
3
- require('./shared/parse-ast-index-KEAbj-mg.cjs');
3
+ require('./shared/parse-ast-index-5aLNEQ2C.cjs');
4
4
 
5
5
  exports.VERSION = require_src.VERSION;
6
6
  exports.build = require_src.build;
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { VERSION, build, defineConfig, init_src, rolldown, watch } from "./shared/src-CEyg0FMI.mjs";
1
+ import { VERSION, build, defineConfig, init_src, rolldown, watch } from "./shared/src-BuqnsN1w.mjs";
2
2
  import "./shared/dist-CAn6dxW6.mjs";
3
- import "./shared/parse-ast-index-CxOeb18k.mjs";
3
+ import "./shared/parse-ast-index-NgEigHGy.mjs";
4
4
 
5
5
  init_src();
6
6
  export { VERSION, build, defineConfig, rolldown, watch };
@@ -1,7 +1,7 @@
1
1
  const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
2
- const require_src = require('./shared/src-C_W5z7kh.cjs');
2
+ const require_src = require('./shared/src-C9LnSh9O.cjs');
3
3
  require('./shared/dist-BMVjvV-v.cjs');
4
- require('./shared/parse-ast-index-KEAbj-mg.cjs');
4
+ require('./shared/parse-ast-index-5aLNEQ2C.cjs');
5
5
  const src_rolldown_binding_wasi_cjs = require_chunk.__toESM(require("./rolldown-binding.wasi.cjs"));
6
6
  const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { __commonJS } from "./shared/chunk-DSsiIF1Z.mjs";
2
- import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-CEyg0FMI.mjs";
2
+ import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-BuqnsN1w.mjs";
3
3
  import "./shared/dist-CAn6dxW6.mjs";
4
- import "./shared/parse-ast-index-CxOeb18k.mjs";
4
+ import "./shared/parse-ast-index-NgEigHGy.mjs";
5
5
  import { registerPlugins } from "./rolldown-binding.wasi.cjs";
6
6
  import { parentPort, workerData } from "node:worker_threads";
7
7
 
@@ -1,4 +1,4 @@
1
- const require_parse_ast_index = require('./shared/parse-ast-index-KEAbj-mg.cjs');
1
+ const require_parse_ast_index = require('./shared/parse-ast-index-5aLNEQ2C.cjs');
2
2
 
3
3
  exports.parseAst = require_parse_ast_index.parseAst;
4
4
  exports.parseAstAsync = require_parse_ast_index.parseAstAsync;
@@ -1,4 +1,4 @@
1
- import { init_parse_ast_index, parseAst, parseAstAsync } from "./shared/parse-ast-index-CxOeb18k.mjs";
1
+ import { init_parse_ast_index, parseAst, parseAstAsync } from "./shared/parse-ast-index-NgEigHGy.mjs";
2
2
 
3
3
  init_parse_ast_index();
4
4
  export { parseAst, parseAstAsync };
@@ -1,8 +1,8 @@
1
1
  import {
2
- instantiateNapiModule as __emnapiInstantiateNapiModule,
2
+ createOnMessage as __wasmCreateOnMessageForFsProxy,
3
3
  getDefaultContext as __emnapiGetDefaultContext,
4
+ instantiateNapiModule as __emnapiInstantiateNapiModule,
4
5
  WASI as __WASI,
5
- createOnMessage as __wasmCreateOnMessageForFsProxy,
6
6
  } from '@napi-rs/wasm-runtime'
7
7
  import { memfs } from '@napi-rs/wasm-runtime/fs'
8
8
  import __wasmUrl from './rolldown-binding.wasm32-wasi.wasm?url'
@@ -60,6 +60,7 @@ const {
60
60
  }
61
61
  },
62
62
  })
63
+ export default __napiModule.exports
63
64
  export const BindingBundleEndEventData = __napiModule.exports.BindingBundleEndEventData
64
65
  export const BindingBundleErrorEventData = __napiModule.exports.BindingBundleErrorEventData
65
66
  export const BindingCallableBuiltinPlugin = __napiModule.exports.BindingCallableBuiltinPlugin
@@ -9,9 +9,9 @@ const { WASI: __nodeWASI } = require('node:wasi')
9
9
  const { Worker } = require('node:worker_threads')
10
10
 
11
11
  const {
12
- instantiateNapiModuleSync: __emnapiInstantiateNapiModuleSync,
13
- getDefaultContext: __emnapiGetDefaultContext,
14
12
  createOnMessage: __wasmCreateOnMessageForFsProxy,
13
+ getDefaultContext: __emnapiGetDefaultContext,
14
+ instantiateNapiModuleSync: __emnapiInstantiateNapiModuleSync,
15
15
  } = require('@napi-rs/wasm-runtime')
16
16
 
17
17
  const __rootDir = __nodePath.parse(process.cwd()).root
@@ -84,7 +84,7 @@ const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule
84
84
  }
85
85
  },
86
86
  })
87
-
87
+ module.exports = __napiModule.exports
88
88
  module.exports.BindingBundleEndEventData = __napiModule.exports.BindingBundleEndEventData
89
89
  module.exports.BindingBundleErrorEventData = __napiModule.exports.BindingBundleErrorEventData
90
90
  module.exports.BindingCallableBuiltinPlugin = __napiModule.exports.BindingCallableBuiltinPlugin
@@ -1,5 +1,5 @@
1
1
  import { __esm } from "./chunk-DSsiIF1Z.mjs";
2
- import { init_rolldown, rolldown } from "./src-CEyg0FMI.mjs";
2
+ import { init_rolldown, rolldown } from "./src-BuqnsN1w.mjs";
3
3
  import path from "node:path";
4
4
  import { pathToFileURL } from "node:url";
5
5
  import { cwd } from "node:process";
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-DDkG_k5U.cjs');
2
- const require_src = require('./src-C_W5z7kh.cjs');
2
+ const require_src = require('./src-C9LnSh9O.cjs');
3
3
  const node_path = require_chunk.__toESM(require("node:path"));
4
4
  const node_url = require_chunk.__toESM(require("node:url"));
5
5
  const node_process = require_chunk.__toESM(require("node:process"));
@@ -181,7 +181,7 @@ function augmentCodeLocation(properties, pos, source, id) {
181
181
  }
182
182
 
183
183
  //#endregion
184
- //#region ../../node_modules/.pnpm/oxc-parser@0.70.0/node_modules/oxc-parser/wrap.mjs
184
+ //#region ../../node_modules/.pnpm/oxc-parser@0.71.0/node_modules/oxc-parser/wrap.mjs
185
185
  function wrap$1(result) {
186
186
  let program, module$1, comments, errors;
187
187
  return {
@@ -190,7 +190,7 @@ var init_logs = __esm({ "src/log/logs.ts"() {
190
190
  } });
191
191
 
192
192
  //#endregion
193
- //#region ../../node_modules/.pnpm/oxc-parser@0.70.0/node_modules/oxc-parser/wrap.mjs
193
+ //#region ../../node_modules/.pnpm/oxc-parser@0.71.0/node_modules/oxc-parser/wrap.mjs
194
194
  function wrap$1(result) {
195
195
  let program, module, comments, errors;
196
196
  return {
@@ -225,7 +225,7 @@ function applyFix(program, fixPath) {
225
225
  node.value = RegExp(node.regex.pattern, node.regex.flags);
226
226
  } catch (_err) {}
227
227
  }
228
- var init_wrap = __esm({ "../../node_modules/.pnpm/oxc-parser@0.70.0/node_modules/oxc-parser/wrap.mjs"() {} });
228
+ var init_wrap = __esm({ "../../node_modules/.pnpm/oxc-parser@0.71.0/node_modules/oxc-parser/wrap.mjs"() {} });
229
229
 
230
230
  //#endregion
231
231
  //#region src/parse-ast-index.ts
@@ -1,6 +1,6 @@
1
1
  import { __esm } from "./chunk-DSsiIF1Z.mjs";
2
2
  import { and$1 as and, arraify, code$1 as code, exclude$1 as exclude, id$1 as id, include$1 as include, init_dist, init_misc, isNullish, moduleType$1 as moduleType, noop, or$1 as or, unimplemented, unreachable, unsupported } from "./dist-CAn6dxW6.mjs";
3
- import { augmentCodeLocation, error, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-CxOeb18k.mjs";
3
+ import { augmentCodeLocation, error, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-NgEigHGy.mjs";
4
4
  import { BindingCallableBuiltinPlugin, BindingHookSideEffects, BindingLogLevel, BindingPluginOrder, BindingWatcher, Bundler, ParallelJsPluginRegistry, shutdownAsyncRuntime, startAsyncRuntime } from "../rolldown-binding.wasi.cjs";
5
5
  import path from "node:path";
6
6
  import colors from "ansis";
@@ -8,7 +8,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.9-commit.43425a0";
11
+ var version = "1.0.0-beta.9-commit.ce72026";
12
12
  var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
13
13
 
14
14
  //#endregion
@@ -1,6 +1,6 @@
1
1
  const require_chunk = require('./chunk-DDkG_k5U.cjs');
2
2
  const require_dist = require('./dist-BMVjvV-v.cjs');
3
- const require_parse_ast_index = require('./parse-ast-index-KEAbj-mg.cjs');
3
+ const require_parse_ast_index = require('./parse-ast-index-5aLNEQ2C.cjs');
4
4
  const src_rolldown_binding_wasi_cjs = require_chunk.__toESM(require("../rolldown-binding.wasi.cjs"));
5
5
  const node_path = require_chunk.__toESM(require("node:path"));
6
6
  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.9-commit.43425a0";
11
+ var version = "1.0.0-beta.9-commit.ce72026";
12
12
  var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
13
13
 
14
14
  //#endregion
@@ -3,7 +3,7 @@ import path from "pathe";
3
3
  import colors from "ansis";
4
4
 
5
5
  //#region package.json
6
- var version = "1.0.0-beta.9-commit.43425a0";
6
+ var version = "1.0.0-beta.9-commit.ce72026";
7
7
 
8
8
  //#endregion
9
9
  //#region src/builtin-plugin/utils.ts
@@ -2339,7 +2339,7 @@ function bindingPluginOrder(order) {
2339
2339
  }
2340
2340
 
2341
2341
  //#endregion
2342
- //#region ../../node_modules/.pnpm/oxc-parser@0.70.0/node_modules/oxc-parser/wrap.mjs
2342
+ //#region ../../node_modules/.pnpm/oxc-parser@0.71.0/node_modules/oxc-parser/wrap.mjs
2343
2343
  function wrap$1(result) {
2344
2344
  let program, module, comments, errors;
2345
2345
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolldown/browser",
3
- "version": "1.0.0-beta.9-commit.43425a0",
3
+ "version": "1.0.0-beta.9-commit.ce72026",
4
4
  "description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
5
5
  "homepage": "https://rolldown.rs/",
6
6
  "type": "module",
@@ -56,12 +56,12 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@napi-rs/wasm-runtime": "^0.2.8",
59
- "@oxc-project/types": "0.70.0",
59
+ "@oxc-project/types": "0.71.0",
60
60
  "ansis": "^4.0.0",
61
61
  "pathe": "^2.0.3"
62
62
  },
63
63
  "peerDependencies": {
64
- "@oxc-project/runtime": "0.70.0"
64
+ "@oxc-project/runtime": "0.71.0"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
67
  "@oxc-project/runtime": {