@rollipop/rolldown 1.0.15 → 1.0.16

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.
Files changed (33) hide show
  1. package/dist/cli.mjs +11 -11
  2. package/dist/config.d.mts +1 -1
  3. package/dist/config.mjs +2 -2
  4. package/dist/experimental-index.d.mts +5 -5
  5. package/dist/experimental-index.mjs +9 -9
  6. package/dist/filter-index.d.mts +1 -1
  7. package/dist/index.d.mts +2 -2
  8. package/dist/index.mjs +4 -4
  9. package/dist/parallel-plugin-worker.mjs +2 -2
  10. package/dist/parallel-plugin.d.mts +1 -1
  11. package/dist/parse-ast-index.d.mts +1 -1
  12. package/dist/parse-ast-index.mjs +1 -1
  13. package/dist/plugins-index.d.mts +3 -3
  14. package/dist/plugins-index.mjs +2 -2
  15. package/dist/shared/{binding-DjeCrugk.d.mts → binding-Cyz1BOPl.d.mts} +65 -116
  16. package/dist/shared/{binding-B7itccSM.mjs → binding-Dn4Jnf58.mjs} +39 -34
  17. package/dist/shared/{bindingify-input-options-BuxNquEM.mjs → bindingify-input-options-3wNtnw_c.mjs} +8 -8
  18. package/dist/shared/{constructors-CSHNEIRa.d.mts → constructors-C2RnsuK3.d.mts} +3 -4
  19. package/dist/shared/{constructors-D6m67Uns.mjs → constructors-C7jF9Awq.mjs} +2 -5
  20. package/dist/shared/{define-config-BG1gp08A.d.mts → define-config-oEABMwkg.d.mts} +1 -1
  21. package/dist/shared/{error-B2supV4P.mjs → error-mlrqL0iQ.mjs} +1 -1
  22. package/dist/shared/{load-config-Jek_ecFp.mjs → load-config-xCmfGMp4.mjs} +1 -1
  23. package/dist/shared/{normalize-string-or-regex-D88yK-x8.mjs → normalize-string-or-regex-CR0drIU2.mjs} +1 -1
  24. package/dist/shared/{parse-CyOsmpCD.mjs → parse-kbfKxH9J.mjs} +2 -2
  25. package/dist/shared/{prompt-DYnaB1Nb.mjs → prompt-B1Yc1NPt.mjs} +5 -5
  26. package/dist/shared/{resolve-tsconfig-B1YXq7OW.mjs → resolve-tsconfig-BBW9TW1J.mjs} +2 -2
  27. package/dist/shared/{rolldown-BVMrJZ0H.mjs → rolldown-BT21Scbf.mjs} +1 -1
  28. package/dist/shared/{rolldown-build-DSbCRsMq.mjs → rolldown-build-C6lyyPpt.mjs} +13 -45
  29. package/dist/shared/{transform-DhF3sVCo.d.mts → transform-BpkSLs0Y.d.mts} +1 -1
  30. package/dist/shared/{watch-BaTzhamX.mjs → watch-DxV2ASGY.mjs} +4 -4
  31. package/dist/utils-index.d.mts +3 -3
  32. package/dist/utils-index.mjs +6 -6
  33. package/package.json +14 -14
@@ -1,9 +1,9 @@
1
- import { n as __toESM, t as require_binding } from "./binding-B7itccSM.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-Dn4Jnf58.mjs";
2
2
  import { o as logMultipleWatcherOption } from "./logs-aMKUxRpj.mjs";
3
- import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-BuxNquEM.mjs";
3
+ import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-3wNtnw_c.mjs";
4
4
  import { t as arraify } from "./misc-CoQm4NHO.mjs";
5
- import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-DSbCRsMq.mjs";
6
- import { t as aggregateBindingErrorsIntoJsError } from "./error-B2supV4P.mjs";
5
+ import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-C6lyyPpt.mjs";
6
+ import { t as aggregateBindingErrorsIntoJsError } from "./error-mlrqL0iQ.mjs";
7
7
  //#region ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
8
8
  /**
9
9
  * This is not the set of all possible signals.
@@ -1,9 +1,9 @@
1
- import { v as BindingTsconfigCompilerOptions, y as BindingTsconfigRawOptions } from "./shared/binding-DjeCrugk.mjs";
2
- import { a as MinifyOptions, c as minifySync, d as parse, f as parseSync, i as transformSync, l as ParseResult, n as TransformResult, o as MinifyResult, p as TsconfigCache, r as transform, s as minify, t as TransformOptions, u as ParserOptions } from "./shared/transform-DhF3sVCo.mjs";
1
+ import { v as BindingTsconfigCompilerOptions, y as BindingTsconfigRawOptions } from "./shared/binding-Cyz1BOPl.mjs";
2
+ import { a as MinifyOptions, c as minifySync, d as parse, f as parseSync, i as transformSync, l as ParseResult, n as TransformResult, o as MinifyResult, p as TsconfigCache, r as transform, s as minify, t as TransformOptions, u as ParserOptions } from "./shared/transform-BpkSLs0Y.mjs";
3
3
  import * as ESTree from "@oxc-project/types";
4
4
  import { Program } from "@oxc-project/types";
5
5
 
6
- //#region ../../node_modules/.pnpm/oxc-parser@0.135.0/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
6
+ //#region ../../node_modules/.pnpm/oxc-parser@0.137.0/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
7
7
  interface VisitorObject$1 {
8
8
  DebuggerStatement?: (node: ESTree.DebuggerStatement) => void;
9
9
  "DebuggerStatement:exit"?: (node: ESTree.DebuggerStatement) => void;
@@ -1,6 +1,6 @@
1
- import { n as parseSync, t as parse } from "./shared/parse-CyOsmpCD.mjs";
2
- import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-B1YXq7OW.mjs";
3
- //#region ../../node_modules/.pnpm/oxc-parser@0.135.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
1
+ import { n as parseSync, t as parse } from "./shared/parse-kbfKxH9J.mjs";
2
+ import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-BBW9TW1J.mjs";
3
+ //#region ../../node_modules/.pnpm/oxc-parser@0.137.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
4
4
  function walkNode(node, visitors) {
5
5
  if (node == null) return;
6
6
  if (Array.isArray(node)) {
@@ -2010,9 +2010,9 @@ function walkTSUnionType(node, visitors) {
2010
2010
  exit !== null && exit(node);
2011
2011
  }
2012
2012
  //#endregion
2013
- //#region ../../node_modules/.pnpm/oxc-parser@0.135.0/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
2013
+ //#region ../../node_modules/.pnpm/oxc-parser@0.137.0/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
2014
2014
  /** Mapping from node type name to node type ID */
2015
- const NODE_TYPE_IDS_MAP = new Map([
2015
+ const NODE_TYPE_IDS_MAP = /* @__PURE__ */ new Map([
2016
2016
  ["DebuggerStatement", 0],
2017
2017
  ["EmptyStatement", 1],
2018
2018
  ["Literal", 2],
@@ -2180,7 +2180,7 @@ const NODE_TYPE_IDS_MAP = new Map([
2180
2180
  ["TSUnionType", 164]
2181
2181
  ]);
2182
2182
  //#endregion
2183
- //#region ../../node_modules/.pnpm/oxc-parser@0.135.0/node_modules/oxc-parser/src-js/visit/visitor.js
2183
+ //#region ../../node_modules/.pnpm/oxc-parser@0.137.0/node_modules/oxc-parser/src-js/visit/visitor.js
2184
2184
  let compiledVisitor;
2185
2185
  function createCompiledVisitor() {
2186
2186
  compiledVisitor = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollipop/rolldown",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
5
5
  "keywords": [
6
6
  "bundler",
@@ -53,11 +53,11 @@
53
53
  "registry": "https://registry.npmjs.org/"
54
54
  },
55
55
  "dependencies": {
56
- "@oxc-project/types": "=0.135.0",
56
+ "@oxc-project/types": "=0.137.0",
57
57
  "@rolldown/pluginutils": "^1.0.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@napi-rs/cli": "^3.7.1",
60
+ "@napi-rs/cli": "^3.7.2",
61
61
  "@napi-rs/wasm-runtime": "^1.1.5",
62
62
  "@oxc-node/cli": "^0.1.0",
63
63
  "@rollup/plugin-json": "^6.1.0",
@@ -66,17 +66,17 @@
66
66
  "consola": "^3.4.2",
67
67
  "execa": "^9.2.0",
68
68
  "glob": "^13.0.0",
69
- "oxc-parser": "=0.135.0",
69
+ "oxc-parser": "=0.137.0",
70
70
  "pathe": "^2.0.3",
71
71
  "remeda": "^2.34.1",
72
- "rolldown": "1.1.1",
72
+ "rolldown": "1.1.2",
73
73
  "rolldown-plugin-dts": "^0.25.2",
74
74
  "rollup": "^4.60.4",
75
75
  "signal-exit": "4.1.0",
76
76
  "source-map": "0.7.6",
77
77
  "typescript": "^6.0.0",
78
78
  "valibot": "1.4.1",
79
- "@rollipop/rolldown": "1.0.15"
79
+ "@rollipop/rolldown": "1.0.16"
80
80
  },
81
81
  "napi": {
82
82
  "binaryName": "rolldown-binding",
@@ -104,20 +104,20 @@
104
104
  "node": "^20.19.0 || >=22.12.0"
105
105
  },
106
106
  "optionalDependencies": {
107
- "@rollipop/rolldown-binding-darwin-x64": "1.0.15",
108
- "@rollipop/rolldown-binding-win32-x64-msvc": "1.0.15",
109
- "@rollipop/rolldown-binding-linux-x64-gnu": "1.0.15",
110
- "@rollipop/rolldown-binding-linux-x64-musl": "1.0.15",
111
- "@rollipop/rolldown-binding-linux-arm64-gnu": "1.0.15",
112
- "@rollipop/rolldown-binding-darwin-arm64": "1.0.15",
113
- "@rollipop/rolldown-binding-linux-arm64-musl": "1.0.15"
107
+ "@rollipop/rolldown-binding-darwin-x64": "1.0.16",
108
+ "@rollipop/rolldown-binding-win32-x64-msvc": "1.0.16",
109
+ "@rollipop/rolldown-binding-linux-x64-gnu": "1.0.16",
110
+ "@rollipop/rolldown-binding-linux-x64-musl": "1.0.16",
111
+ "@rollipop/rolldown-binding-linux-arm64-gnu": "1.0.16",
112
+ "@rollipop/rolldown-binding-darwin-arm64": "1.0.16",
113
+ "@rollipop/rolldown-binding-linux-arm64-musl": "1.0.16"
114
114
  },
115
115
  "scripts": {
116
116
  "# Scrips for binding #": "_",
117
117
  "artifacts": "napi artifacts --cwd ./src --package-json-path ../package.json -o=../artifacts --npm-dir ../npm",
118
118
  "build-binding": "oxnode ./build-binding.ts",
119
119
  "build-binding:release": "pnpm build-binding --release",
120
- "build-binding:profile": "pnpm build-binding --profile profile",
120
+ "build-binding:profile": "pnpm build-binding --profile profile --features chrome-tracing",
121
121
  "build-binding:wasi": "pnpm build-binding --target wasm32-wasip1-threads",
122
122
  "build-binding:wasi:release": "pnpm build-binding --profile release-wasi --target wasm32-wasip1-threads",
123
123
  "# Scrips for node #": "_",