rolldown 1.0.0-beta.26-commit.abdc470 → 1.0.0-beta.26-commit.e5d5666

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-DW0QAYZP.cjs');
3
- require('./shared/parse-ast-index-FpWRkz3o.cjs');
2
+ const require_src = require('./shared/src-CgDG0Z3M.cjs');
3
+ require('./shared/parse-ast-index-CBA_AByf.cjs');
4
4
  const require_misc = require('./shared/misc-DksvspN4.cjs');
5
- const require_load_config = require('./shared/load-config-BswucoFq.cjs');
5
+ const require_load_config = require('./shared/load-config-Dp-R8Iym.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"));
package/dist/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { __commonJS, __toESM } from "./shared/parse-ast-index-B7LAlzDE.mjs";
2
- import { description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "./shared/src-BRTGfn5F.mjs";
1
+ import { __commonJS, __toESM } from "./shared/parse-ast-index-Cn1hXCrA.mjs";
2
+ import { description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "./shared/src-D2xY0HpX.mjs";
3
3
  import { arraify } from "./shared/misc-CQeo-AFx.mjs";
4
- import { loadConfig } from "./shared/load-config-CJSRM2se.mjs";
4
+ import { loadConfig } from "./shared/load-config-EbFxDNBo.mjs";
5
5
  import path, { sep } from "node:path";
6
6
  import colors from "ansis";
7
7
  import process$1 from "node:process";
package/dist/config.cjs CHANGED
@@ -1,7 +1,7 @@
1
- const require_src = require('./shared/src-DW0QAYZP.cjs');
2
- require('./shared/parse-ast-index-FpWRkz3o.cjs');
1
+ const require_src = require('./shared/src-CgDG0Z3M.cjs');
2
+ require('./shared/parse-ast-index-CBA_AByf.cjs');
3
3
  require('./shared/misc-DksvspN4.cjs');
4
- const require_load_config = require('./shared/load-config-BswucoFq.cjs');
4
+ const require_load_config = require('./shared/load-config-Dp-R8Iym.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 "./shared/parse-ast-index-B7LAlzDE.mjs";
2
- import { defineConfig, version } from "./shared/src-BRTGfn5F.mjs";
1
+ import "./shared/parse-ast-index-Cn1hXCrA.mjs";
2
+ import { defineConfig, version } from "./shared/src-D2xY0HpX.mjs";
3
3
  import "./shared/misc-CQeo-AFx.mjs";
4
- import { loadConfig } from "./shared/load-config-CJSRM2se.mjs";
4
+ import { loadConfig } from "./shared/load-config-EbFxDNBo.mjs";
5
5
 
6
6
  //#region src/config.ts
7
7
  const VERSION = version;
@@ -1,6 +1,6 @@
1
1
  const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
2
- const require_src = require('./shared/src-DW0QAYZP.cjs');
3
- const require_parse_ast_index = require('./shared/parse-ast-index-FpWRkz3o.cjs');
2
+ const require_src = require('./shared/src-CgDG0Z3M.cjs');
3
+ const require_parse_ast_index = require('./shared/parse-ast-index-CBA_AByf.cjs');
4
4
  require('./shared/misc-DksvspN4.cjs');
5
5
  const node_url = require_chunk.__toESM(require("node:url"));
6
6
 
@@ -1,5 +1,5 @@
1
- import { BindingBundler, ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/parse-ast-index-B7LAlzDE.mjs";
2
- import { BuiltinPlugin, PluginDriver, assetPlugin, buildImportAnalysisPlugin, createBundlerImpl, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-BRTGfn5F.mjs";
1
+ import { BindingBundler, ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/parse-ast-index-Cn1hXCrA.mjs";
2
+ import { BuiltinPlugin, PluginDriver, assetPlugin, buildImportAnalysisPlugin, createBundlerImpl, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-D2xY0HpX.mjs";
3
3
  import "./shared/misc-CQeo-AFx.mjs";
4
4
  import { pathToFileURL } from "node:url";
5
5
 
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
- const require_src = require('./shared/src-DW0QAYZP.cjs');
2
- require('./shared/parse-ast-index-FpWRkz3o.cjs');
1
+ const require_src = require('./shared/src-CgDG0Z3M.cjs');
2
+ require('./shared/parse-ast-index-CBA_AByf.cjs');
3
3
  require('./shared/misc-DksvspN4.cjs');
4
4
 
5
5
  exports.VERSION = require_src.VERSION;
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import "./shared/parse-ast-index-B7LAlzDE.mjs";
2
- import { VERSION, build, defineConfig, rolldown, watch } from "./shared/src-BRTGfn5F.mjs";
1
+ import "./shared/parse-ast-index-Cn1hXCrA.mjs";
2
+ import { VERSION, build, defineConfig, rolldown, watch } from "./shared/src-D2xY0HpX.mjs";
3
3
  import "./shared/misc-CQeo-AFx.mjs";
4
4
 
5
5
  export { VERSION, build, defineConfig, rolldown, watch };
@@ -1,6 +1,6 @@
1
1
  const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
2
- const require_src = require('./shared/src-DW0QAYZP.cjs');
3
- const require_parse_ast_index = require('./shared/parse-ast-index-FpWRkz3o.cjs');
2
+ const require_src = require('./shared/src-CgDG0Z3M.cjs');
3
+ const require_parse_ast_index = require('./shared/parse-ast-index-CBA_AByf.cjs');
4
4
  require('./shared/misc-DksvspN4.cjs');
5
5
  const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
6
6
 
@@ -1,5 +1,5 @@
1
- import { registerPlugins } from "./shared/parse-ast-index-B7LAlzDE.mjs";
2
- import { PluginContextData, bindingifyPlugin } from "./shared/src-BRTGfn5F.mjs";
1
+ import { registerPlugins } from "./shared/parse-ast-index-Cn1hXCrA.mjs";
2
+ import { PluginContextData, bindingifyPlugin } from "./shared/src-D2xY0HpX.mjs";
3
3
  import "./shared/misc-CQeo-AFx.mjs";
4
4
  import { parentPort, workerData } from "node:worker_threads";
5
5
 
@@ -1,4 +1,4 @@
1
- const require_parse_ast_index = require('./shared/parse-ast-index-FpWRkz3o.cjs');
1
+ const require_parse_ast_index = require('./shared/parse-ast-index-CBA_AByf.cjs');
2
2
 
3
3
  exports.parseAst = require_parse_ast_index.parseAst;
4
4
  exports.parseAstAsync = require_parse_ast_index.parseAstAsync;
@@ -1,3 +1,3 @@
1
- import { parseAst, parseAstAsync } from "./shared/parse-ast-index-B7LAlzDE.mjs";
1
+ import { parseAst, parseAstAsync } from "./shared/parse-ast-index-Cn1hXCrA.mjs";
2
2
 
3
3
  export { parseAst, parseAstAsync };
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-DDkG_k5U.cjs');
2
- const require_src = require('./src-DW0QAYZP.cjs');
2
+ const require_src = require('./src-CgDG0Z3M.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"));
@@ -1,4 +1,4 @@
1
- import { rolldown } from "./src-BRTGfn5F.mjs";
1
+ import { rolldown } from "./src-D2xY0HpX.mjs";
2
2
  import fs from "node:fs";
3
3
  import path from "node:path";
4
4
  import { pathToFileURL } from "node:url";
@@ -39,6 +39,7 @@ const isMusl = () => {
39
39
  }
40
40
  return musl;
41
41
  };
42
+ const isOpenHarmony = process.platform === "openharmony";
42
43
  const isFileMusl = (f) => f.includes("libc.musl-") || f.includes("ld-musl-");
43
44
  const isMuslFromFilesystem = () => {
44
45
  try {
@@ -198,6 +199,17 @@ function requireNative() {
198
199
  } catch (e) {
199
200
  loadErrors.push(e);
200
201
  }
202
+ } else if (isOpenHarmony) {
203
+ try {
204
+ return require("../rolldown-binding.linux-x64-ohos.node");
205
+ } catch (e) {
206
+ loadErrors.push(e);
207
+ }
208
+ try {
209
+ return require("@rolldown/binding-linux-x64-ohos");
210
+ } catch (e) {
211
+ loadErrors.push(e);
212
+ }
201
213
  } else {
202
214
  try {
203
215
  return require("../rolldown-binding.linux-x64-gnu.node");
@@ -221,6 +233,17 @@ function requireNative() {
221
233
  } catch (e) {
222
234
  loadErrors.push(e);
223
235
  }
236
+ } else if (isOpenHarmony) {
237
+ try {
238
+ return require("../rolldown-binding.linux-arm64-ohos.node");
239
+ } catch (e) {
240
+ loadErrors.push(e);
241
+ }
242
+ try {
243
+ return require("@rolldown/binding-linux-arm64-ohos");
244
+ } catch (e) {
245
+ loadErrors.push(e);
246
+ }
224
247
  } else {
225
248
  try {
226
249
  return require("../rolldown-binding.linux-arm64-gnu.node");
@@ -244,6 +267,17 @@ function requireNative() {
244
267
  } catch (e) {
245
268
  loadErrors.push(e);
246
269
  }
270
+ } else if (isOpenHarmony) {
271
+ try {
272
+ return require("../rolldown-binding.linux-arm-ohos.node");
273
+ } catch (e) {
274
+ loadErrors.push(e);
275
+ }
276
+ try {
277
+ return require("@rolldown/binding-linux-arm-ohos");
278
+ } catch (e) {
279
+ loadErrors.push(e);
280
+ }
247
281
  } else {
248
282
  try {
249
283
  return require("../rolldown-binding.linux-arm-gnueabihf.node");
@@ -66,6 +66,7 @@ const isMusl = () => {
66
66
  }
67
67
  return musl;
68
68
  };
69
+ const isOpenHarmony = process.platform === "openharmony";
69
70
  const isFileMusl = (f) => f.includes("libc.musl-") || f.includes("ld-musl-");
70
71
  const isMuslFromFilesystem = () => {
71
72
  try {
@@ -225,6 +226,17 @@ function requireNative() {
225
226
  } catch (e) {
226
227
  loadErrors.push(e);
227
228
  }
229
+ } else if (isOpenHarmony) {
230
+ try {
231
+ return __require("../rolldown-binding.linux-x64-ohos.node");
232
+ } catch (e) {
233
+ loadErrors.push(e);
234
+ }
235
+ try {
236
+ return __require("@rolldown/binding-linux-x64-ohos");
237
+ } catch (e) {
238
+ loadErrors.push(e);
239
+ }
228
240
  } else {
229
241
  try {
230
242
  return __require("../rolldown-binding.linux-x64-gnu.node");
@@ -248,6 +260,17 @@ function requireNative() {
248
260
  } catch (e) {
249
261
  loadErrors.push(e);
250
262
  }
263
+ } else if (isOpenHarmony) {
264
+ try {
265
+ return __require("../rolldown-binding.linux-arm64-ohos.node");
266
+ } catch (e) {
267
+ loadErrors.push(e);
268
+ }
269
+ try {
270
+ return __require("@rolldown/binding-linux-arm64-ohos");
271
+ } catch (e) {
272
+ loadErrors.push(e);
273
+ }
251
274
  } else {
252
275
  try {
253
276
  return __require("../rolldown-binding.linux-arm64-gnu.node");
@@ -271,6 +294,17 @@ function requireNative() {
271
294
  } catch (e) {
272
295
  loadErrors.push(e);
273
296
  }
297
+ } else if (isOpenHarmony) {
298
+ try {
299
+ return __require("../rolldown-binding.linux-arm-ohos.node");
300
+ } catch (e) {
301
+ loadErrors.push(e);
302
+ }
303
+ try {
304
+ return __require("@rolldown/binding-linux-arm-ohos");
305
+ } catch (e) {
306
+ loadErrors.push(e);
307
+ }
274
308
  } else {
275
309
  try {
276
310
  return __require("../rolldown-binding.linux-arm-gnueabihf.node");
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-DDkG_k5U.cjs');
2
- const require_parse_ast_index = require('./parse-ast-index-FpWRkz3o.cjs');
2
+ const require_parse_ast_index = require('./parse-ast-index-CBA_AByf.cjs');
3
3
  const require_misc = require('./misc-DksvspN4.cjs');
4
4
  const node_path = require_chunk.__toESM(require("node:path"));
5
5
  const node_url = require_chunk.__toESM(require("node:url"));
@@ -9,7 +9,7 @@ const node_os = require_chunk.__toESM(require("node:os"));
9
9
  const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
10
10
 
11
11
  //#region package.json
12
- var version = "1.0.0-beta.26-commit.abdc470";
12
+ var version = "1.0.0-beta.26-commit.e5d5666";
13
13
  var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
14
14
 
15
15
  //#endregion
@@ -1,4 +1,4 @@
1
- import { BindingAttachDebugInfo, BindingBundler, BindingCallableBuiltinPlugin, BindingChunkModuleOrderBy, BindingJsx, BindingLogLevel, BindingPluginOrder, BindingWatcher, ParallelJsPluginRegistry, augmentCodeLocation, error, logCycleLoading, logDuplicateJsxConfig, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst, shutdownAsyncRuntime, startAsyncRuntime } from "./parse-ast-index-B7LAlzDE.mjs";
1
+ import { BindingAttachDebugInfo, BindingBundler, BindingCallableBuiltinPlugin, BindingChunkModuleOrderBy, BindingJsx, BindingLogLevel, BindingPluginOrder, BindingWatcher, ParallelJsPluginRegistry, augmentCodeLocation, error, logCycleLoading, logDuplicateJsxConfig, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst, shutdownAsyncRuntime, startAsyncRuntime } from "./parse-ast-index-Cn1hXCrA.mjs";
2
2
  import { arraify, noop, unimplemented, unreachable, unsupported } from "./misc-CQeo-AFx.mjs";
3
3
  import path from "node:path";
4
4
  import { fileURLToPath } from "node:url";
@@ -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.26-commit.abdc470";
11
+ var version = "1.0.0-beta.26-commit.e5d5666";
12
12
  var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
13
13
 
14
14
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rolldown",
3
- "version": "1.0.0-beta.26-commit.abdc470",
3
+ "version": "1.0.0-beta.26-commit.e5d5666",
4
4
  "description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
5
5
  "type": "module",
6
6
  "homepage": "https://rolldown.rs/",
@@ -77,6 +77,7 @@
77
77
  "aarch64-unknown-linux-gnu",
78
78
  "aarch64-apple-darwin",
79
79
  "aarch64-unknown-linux-musl",
80
+ "aarch64-unknown-linux-ohos",
80
81
  "aarch64-pc-windows-msvc",
81
82
  "aarch64-linux-android",
82
83
  "wasm32-wasip1-threads"
@@ -94,10 +95,10 @@
94
95
  "@oxc-project/runtime": "=0.77.0",
95
96
  "@oxc-project/types": "=0.77.0",
96
97
  "ansis": "^4.0.0",
97
- "@rolldown/pluginutils": "1.0.0-beta.26-commit.abdc470"
98
+ "@rolldown/pluginutils": "1.0.0-beta.26-commit.e5d5666"
98
99
  },
99
100
  "devDependencies": {
100
- "@napi-rs/cli": "^3.0.0-alpha.95",
101
+ "@napi-rs/cli": "^3.0.0-alpha.97",
101
102
  "@napi-rs/wasm-runtime": "^0.2.10",
102
103
  "@oxc-node/cli": "^0.0.29",
103
104
  "@rollup/plugin-json": "^6.1.0",
@@ -119,22 +120,23 @@
119
120
  "typescript": "^5.7.3",
120
121
  "valibot": "1.1.0",
121
122
  "@rolldown/testing": "0.0.1",
122
- "rolldown": "1.0.0-beta.26-commit.abdc470"
123
+ "rolldown": "1.0.0-beta.26-commit.e5d5666"
123
124
  },
124
125
  "optionalDependencies": {
125
- "@rolldown/binding-darwin-x64": "1.0.0-beta.26-commit.abdc470",
126
- "@rolldown/binding-win32-x64-msvc": "1.0.0-beta.26-commit.abdc470",
127
- "@rolldown/binding-linux-x64-gnu": "1.0.0-beta.26-commit.abdc470",
128
- "@rolldown/binding-linux-x64-musl": "1.0.0-beta.26-commit.abdc470",
129
- "@rolldown/binding-freebsd-x64": "1.0.0-beta.26-commit.abdc470",
130
- "@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.26-commit.abdc470",
131
- "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.26-commit.abdc470",
132
- "@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.26-commit.abdc470",
133
- "@rolldown/binding-darwin-arm64": "1.0.0-beta.26-commit.abdc470",
134
- "@rolldown/binding-linux-arm64-musl": "1.0.0-beta.26-commit.abdc470",
135
- "@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.26-commit.abdc470",
136
- "@rolldown/binding-android-arm64": "1.0.0-beta.26-commit.abdc470",
137
- "@rolldown/binding-wasm32-wasi": "1.0.0-beta.26-commit.abdc470"
126
+ "@rolldown/binding-darwin-x64": "1.0.0-beta.26-commit.e5d5666",
127
+ "@rolldown/binding-win32-x64-msvc": "1.0.0-beta.26-commit.e5d5666",
128
+ "@rolldown/binding-linux-x64-gnu": "1.0.0-beta.26-commit.e5d5666",
129
+ "@rolldown/binding-linux-x64-musl": "1.0.0-beta.26-commit.e5d5666",
130
+ "@rolldown/binding-freebsd-x64": "1.0.0-beta.26-commit.e5d5666",
131
+ "@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.26-commit.e5d5666",
132
+ "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.26-commit.e5d5666",
133
+ "@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.26-commit.e5d5666",
134
+ "@rolldown/binding-darwin-arm64": "1.0.0-beta.26-commit.e5d5666",
135
+ "@rolldown/binding-linux-arm64-musl": "1.0.0-beta.26-commit.e5d5666",
136
+ "@rolldown/binding-linux-arm64-ohos": "1.0.0-beta.26-commit.e5d5666",
137
+ "@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.26-commit.e5d5666",
138
+ "@rolldown/binding-android-arm64": "1.0.0-beta.26-commit.e5d5666",
139
+ "@rolldown/binding-wasm32-wasi": "1.0.0-beta.26-commit.e5d5666"
138
140
  },
139
141
  "scripts": {
140
142
  "# Scrips for binding #": "_",