@voidzero-dev/vite-plus-core 1.0.0-rc.0 → 1.0.0-rc.1

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 (55) hide show
  1. package/dist/rolldown/cli.mjs +6 -6
  2. package/dist/rolldown/config.d.mts +1 -1
  3. package/dist/rolldown/config.mjs +2 -2
  4. package/dist/rolldown/experimental-index.d.mts +8 -5
  5. package/dist/rolldown/experimental-index.mjs +14 -11
  6. package/dist/rolldown/experimental-runtime-types.d.ts +3 -26
  7. package/dist/rolldown/experimental-runtime.d.ts +3 -26
  8. package/dist/rolldown/experimental-runtime.mjs +4 -47
  9. package/dist/rolldown/filter-index.d.mts +1 -1
  10. package/dist/rolldown/index.d.mts +1 -1
  11. package/dist/rolldown/index.mjs +4 -4
  12. package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
  13. package/dist/rolldown/parallel-plugin.d.mts +1 -1
  14. package/dist/rolldown/parse-ast-index.mjs +2 -2
  15. package/dist/rolldown/plugins-index.d.mts +2 -2
  16. package/dist/rolldown/plugins-index.mjs +2 -2
  17. package/dist/rolldown/shared/{binding-BbrDfv1x.mjs → binding-BY0qR5iS.mjs} +28 -27
  18. package/dist/rolldown/shared/{bindingify-input-options-CbBAjvu6.mjs → bindingify-input-options-B8JHmN6_.mjs} +10 -8
  19. package/dist/rolldown/shared/{constructors-CmDKpWIU.d.mts → constructors-DuOq7MqW.d.mts} +1 -1
  20. package/dist/rolldown/shared/{constructors-D9jwEbE4.mjs → constructors-xEvVj3lN.mjs} +1 -1
  21. package/dist/rolldown/shared/{create-bundler-option-wxuQPB7F.mjs → create-bundler-option-COco-7P6.mjs} +93 -19
  22. package/dist/rolldown/shared/{define-config-BFdLpVut.d.mts → define-config-C7HCoqY8.d.mts} +11 -1
  23. package/dist/rolldown/shared/{error-CGhV1ebk.mjs → error-C7pxws0W.mjs} +1 -1
  24. package/dist/rolldown/shared/{load-config-DOMKIWz0.mjs → load-config-DkUBnDsI.mjs} +1 -1
  25. package/dist/rolldown/shared/{logs-DmYCAKcW.mjs → logs-D6uA606S.mjs} +8 -1
  26. package/dist/rolldown/shared/{normalize-string-or-regex-zc1bUto6.mjs → normalize-string-or-regex-F14uvr6D.mjs} +2 -2
  27. package/dist/rolldown/shared/{parse-6TJ5OMPh.mjs → parse-BWeE7Vr9.mjs} +1 -1
  28. package/dist/rolldown/shared/{resolve-tsconfig-Bf6oL9fm.mjs → resolve-tsconfig-DHwpIs5e.mjs} +2 -2
  29. package/dist/rolldown/shared/{rolldown-DZGaRc5R.mjs → rolldown-Bue0gNT5.mjs} +4 -4
  30. package/dist/rolldown/shared/{watch-CUKYWzxY.mjs → watch-RXhXN1aG.mjs} +5 -5
  31. package/dist/rolldown/utils-index.mjs +2 -2
  32. package/dist/tsdown/{build-JVmLFaZt-BN9yuB6k.js → build-JVmLFaZt-DRlLhpV3.js} +10 -8
  33. package/dist/tsdown/{debug-CpC4hV25-BeCITV83.js → debug-CpC4hV25-C-OYr2iI.js} +4 -3
  34. package/dist/tsdown/{detect-Bg-d8iUV-Cr_BRLVW.js → detect-Bg-d8iUV-Du8LljhG.js} +1 -1
  35. package/dist/tsdown/{dist-ByW_jJfv.js → dist-VDcV1Qyy.js} +19 -49
  36. package/dist/tsdown/index-types.d.ts +209 -209
  37. package/dist/tsdown/index.js +4 -4
  38. package/dist/tsdown/{main-bgV9NlwM.js → main-CyNcZUzu.js} +3 -88
  39. package/dist/tsdown/require-BbBF8Ii0-BDaWJgzA.js +320 -0
  40. package/dist/tsdown/{resolver-DE0_sy8o-UMsN-SXx.js → resolver-DE0_sy8o-Bi3xbRxi.js} +2 -3
  41. package/dist/tsdown/run.js +5 -4
  42. package/dist/tsdown/{src-D5xv98Iu.js → src-pN7Bl6zo.js} +4 -4
  43. package/dist/tsdown/style-DiMP8pYv-DIC5PXeH.js +88 -0
  44. package/dist/tsdown/{target-DgdLrXba-DaJJ11xX.js → target-DgdLrXba-DpO9JXxB.js} +6 -172
  45. package/dist/tsdown/{tsc-BFDF_Im9.js → tsc-BLb4pSBY.js} +8 -7
  46. package/dist/tsdown/tsdown-css.js +4 -5
  47. package/dist/tsdown/tsdown-exe.js +41 -4
  48. package/dist/tsdown/version-CQ98ZBpL-D6GAHapk.js +169 -0
  49. package/dist/vite/client/bundledDevClient.mjs +8 -42
  50. package/dist/vite/client/client.mjs +4 -4
  51. package/dist/vite/node/chunks/dist2.js +107 -104
  52. package/dist/vite/node/chunks/node.js +303 -100
  53. package/dist/vite/node/index.d.ts +4 -3
  54. package/package.json +14 -14
  55. package/dist/tsdown/internal-DTYQdXId.js +0 -3
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./binding-BbrDfv1x.mjs";
2
- import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-CGhV1ebk.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-BY0qR5iS.mjs";
2
+ import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-C7pxws0W.mjs";
3
3
  //#region src/utils/minify.ts
4
4
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
5
5
  /**
@@ -1,7 +1,7 @@
1
- import { n as __toESM, t as require_binding } from "./binding-BbrDfv1x.mjs";
2
- import { f as __decorate, h as PlainObjectLike, m as lazyProp, u as transformToRollupOutput } from "./bindingify-input-options-CbBAjvu6.mjs";
3
- import { l as PluginDriver, s as validateOption, t as createBundlerOptions } from "./create-bundler-option-wxuQPB7F.mjs";
4
- import { i as unwrapBindingResult } from "./error-CGhV1ebk.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-BY0qR5iS.mjs";
2
+ import { f as __decorate, h as PlainObjectLike, m as lazyProp, u as transformToRollupOutput } from "./bindingify-input-options-B8JHmN6_.mjs";
3
+ import { l as PluginDriver, s as validateOption, t as createBundlerOptions } from "./create-bundler-option-COco-7P6.mjs";
4
+ import { i as unwrapBindingResult } from "./error-C7pxws0W.mjs";
5
5
  //#region src/types/rolldown-output-impl.ts
6
6
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
7
7
  var RolldownOutputImpl = class extends PlainObjectLike {
@@ -1,9 +1,9 @@
1
- import { n as __toESM, t as require_binding } from "./binding-BbrDfv1x.mjs";
2
- import { s as logMultipleWatcherOption } from "./logs-DmYCAKcW.mjs";
3
- import { C as LOG_LEVEL_WARN } from "./bindingify-input-options-CbBAjvu6.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-BY0qR5iS.mjs";
2
+ import { c as logMultipleWatcherOption } from "./logs-D6uA606S.mjs";
3
+ import { C as LOG_LEVEL_WARN } from "./bindingify-input-options-B8JHmN6_.mjs";
4
4
  import { t as arraify } from "./misc-DOSKtd97.mjs";
5
- import { l as PluginDriver, t as createBundlerOptions } from "./create-bundler-option-wxuQPB7F.mjs";
6
- import { t as aggregateBindingErrorsIntoJsError } from "./error-CGhV1ebk.mjs";
5
+ import { l as PluginDriver, t as createBundlerOptions } from "./create-bundler-option-COco-7P6.mjs";
6
+ import { t as aggregateBindingErrorsIntoJsError } from "./error-C7pxws0W.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,5 +1,5 @@
1
- import { n as parseSync, t as parse } from "./shared/parse-6TJ5OMPh.mjs";
2
- import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-Bf6oL9fm.mjs";
1
+ import { n as parseSync, t as parse } from "./shared/parse-BWeE7Vr9.mjs";
2
+ import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-DHwpIs5e.mjs";
3
3
  //#region ../../../node_modules/.pnpm/oxc-parser@0.151.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
4
4
  function walkNode(node, visitors) {
5
5
  if (node == null) return;
@@ -1,7 +1,9 @@
1
1
  import { i as __toESM, n as __exportAll$1, t as __commonJSMin } from "./rolldown-runtime-B4iAMlE-.js";
2
- import { c as importWithError, d as pkgExists, f as resolveComma, g as toArray, h as styleText$1, l as matchPattern, m as slash, n as x, o as createConcurrencyExecutor, p as resolveRegex, r as createDebug, s as debounce, t as exec, u as noop } from "./main-bgV9NlwM.js";
3
- import { a as createSuppressWarnings, c as globalLogger, i as createLogger, l as prettyFormat, n as version, o as generateColor, r as LogLevels, s as getNameLabel } from "./debug-CpC4hV25-BeCITV83.js";
4
- import { A as fsStat, D as fsCopy, E as formatBytes, M as stripExtname, O as fsExists, a as resolveTarget, g as RE_JS, j as lowestCommonAncestor, k as fsRemove, l as parseRange, m as RE_DTS, o as validateSea, p as RE_CSS, r as buildExe, s as coerce, u as satisfies, v as RE_NODE_MODULES$1 } from "./target-DgdLrXba-DaJJ11xX.js";
2
+ import { a as noop, c as resolveRegex, d as toArray, i as matchPattern, l as slash, n as debounce, o as pkgExists, r as importWithError, s as resolveComma, t as createConcurrencyExecutor, u as styleText$1 } from "./style-DiMP8pYv-DIC5PXeH.js";
3
+ import { a as createSuppressWarnings, c as globalLogger, i as createLogger, l as prettyFormat, n as version, o as generateColor, r as LogLevels, s as getNameLabel } from "./debug-CpC4hV25-C-OYr2iI.js";
4
+ import { n as x, r as createDebug, t as exec } from "./main-CyNcZUzu.js";
5
+ import { a as parseRange, c as fsCopy, d as fsStat, f as lowestCommonAncestor, i as validateSea, l as fsExists, o as satisfies, p as stripExtname, r as resolveTarget, s as formatBytes, t as buildExe, u as fsRemove } from "./target-DgdLrXba-DpO9JXxB.js";
6
+ import { S as RE_NODE_MODULES$1, _ as RE_CSS, b as RE_JS, t as coerce, v as RE_DTS } from "./version-CQ98ZBpL-D6GAHapk.js";
5
7
  import module$1, { builtinModules, createRequire, isBuiltin } from "node:module";
6
8
  import process$1 from "node:process";
7
9
  import { formatWithOptions, inspect, isDeepStrictEqual, parseEnv, promisify } from "node:util";
@@ -1084,7 +1086,7 @@ i((e, n) => {
1084
1086
  return m.substitutions.map((f) => E(f.replace("*", v)));
1085
1087
  }, "resolvePathAlias");
1086
1088
  //#endregion
1087
- //#region ../../node_modules/.pnpm/tsdown@0.23.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.23.0_@tsdown+exe@0.23.0_@type_298964156353ef75a02894ab80b3a2e6/node_modules/tsdown/dist/deps-DCK8g4G9.mjs
1089
+ //#region ../../node_modules/.pnpm/tsdown@0.23.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.23.0_@tsdown+exe@0.23.0_@type_322c16727ed86a15fb2ecef349e911e9/node_modules/tsdown/dist/deps-DCK8g4G9.mjs
1088
1090
  const shimFile = path.resolve(import.meta.dirname, "..", "esm-shims.js");
1089
1091
  const shimsInject = {
1090
1092
  __dirname: [shimFile, "__dirname"],
@@ -5221,7 +5223,7 @@ function filterConfig(filter, configCwd, name) {
5221
5223
  return toArray(filter).some((value) => name && name === value || cwd === value);
5222
5224
  }
5223
5225
  //#endregion
5224
- //#region ../../node_modules/.pnpm/tsdown@0.23.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.23.0_@tsdown+exe@0.23.0_@type_298964156353ef75a02894ab80b3a2e6/node_modules/tsdown/dist/watch-UrMX4y5g.mjs
5226
+ //#region ../../node_modules/.pnpm/tsdown@0.23.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.23.0_@tsdown+exe@0.23.0_@type_322c16727ed86a15fb2ecef349e911e9/node_modules/tsdown/dist/watch-UrMX4y5g.mjs
5225
5227
  async function copy(options) {
5226
5228
  if (!options.copy) return;
5227
5229
  const resolved = await resolveCopyEntries(options);
@@ -5602,7 +5604,7 @@ var Hookable = class {
5602
5604
  }
5603
5605
  };
5604
5606
  //#endregion
5605
- //#region ../../node_modules/.pnpm/tsdown@0.23.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.23.0_@tsdown+exe@0.23.0_@type_298964156353ef75a02894ab80b3a2e6/node_modules/tsdown/dist/build-JVmLFaZt.mjs
5607
+ //#region ../../node_modules/.pnpm/tsdown@0.23.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.23.0_@tsdown+exe@0.23.0_@type_322c16727ed86a15fb2ecef349e911e9/node_modules/tsdown/dist/build-JVmLFaZt.mjs
5606
5608
  var build_JVmLFaZt_exports = /* @__PURE__ */ __exportAll$1({
5607
5609
  n: () => buildWithConfigs,
5608
5610
  r: () => build_exports,
@@ -5908,7 +5910,7 @@ async function bundleDone(bundleByPkg, bundle) {
5908
5910
  async function packTarball(packageJsonPath) {
5909
5911
  const pkgDir = path.dirname(packageJsonPath);
5910
5912
  const destination = await mkdtemp(path.join(tmpdir(), "tsdown-pack-"));
5911
- const { detect } = await import("./detect-Bg-d8iUV-Cr_BRLVW.js");
5913
+ const { detect } = await import("./detect-Bg-d8iUV-Du8LljhG.js");
5912
5914
  try {
5913
5915
  const detected = await detect({ cwd: pkgDir });
5914
5916
  debug$1("Detected package manager: %o", detected);
@@ -6049,7 +6051,7 @@ async function resolveInputOptions(config, format, configDeps, bundle, cjsDts, i
6049
6051
  if (nodeProtocol) plugins.push(NodeProtocolPlugin(nodeProtocol));
6050
6052
  if (config.pkg || config.deps.neverBundle === true || config.deps.dts.neverBundle === true) plugins.push(DepsPlugin(config, bundle));
6051
6053
  if (dts) {
6052
- const { dts: dtsPlugin } = await import("./dist-ByW_jJfv.js");
6054
+ const { dts: dtsPlugin } = await import("./dist-VDcV1Qyy.js");
6053
6055
  const options = {
6054
6056
  tsconfig,
6055
6057
  logger,
@@ -1,7 +1,8 @@
1
- import { a as namespaces, f as resolveComma, g as toArray, h as styleText$1, i as enable, r as createDebug, u as noop } from "./main-bgV9NlwM.js";
1
+ import { a as noop, d as toArray, s as resolveComma, u as styleText$1 } from "./style-DiMP8pYv-DIC5PXeH.js";
2
+ import { a as namespaces, i as enable, r as createDebug } from "./main-CyNcZUzu.js";
2
3
  import process from "node:process";
3
4
  import readline from "node:readline";
4
- //#region ../../node_modules/.pnpm/tsdown@0.23.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.23.0_@tsdown+exe@0.23.0_@type_298964156353ef75a02894ab80b3a2e6/node_modules/tsdown/dist/logger-D9XFzQl9.mjs
5
+ //#region ../../node_modules/.pnpm/tsdown@0.23.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.23.0_@tsdown+exe@0.23.0_@type_322c16727ed86a15fb2ecef349e911e9/node_modules/tsdown/dist/logger-D9XFzQl9.mjs
5
6
  const LogLevels = {
6
7
  silent: 0,
7
8
  error: 1,
@@ -144,7 +145,7 @@ function hue2rgb(p, q, t) {
144
145
  return p;
145
146
  }
146
147
  //#endregion
147
- //#region ../../node_modules/.pnpm/tsdown@0.23.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.23.0_@tsdown+exe@0.23.0_@type_298964156353ef75a02894ab80b3a2e6/node_modules/tsdown/dist/debug-CpC4hV25.mjs
148
+ //#region ../../node_modules/.pnpm/tsdown@0.23.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.23.0_@tsdown+exe@0.23.0_@type_322c16727ed86a15fb2ecef349e911e9/node_modules/tsdown/dist/debug-CpC4hV25.mjs
148
149
  var version = "0.23.0";
149
150
  const debugLog = createDebug("tsdown:debug");
150
151
  function enableDebug(debug) {
@@ -1,7 +1,7 @@
1
1
  import process from "node:process";
2
2
  import path from "node:path";
3
3
  import fs from "node:fs/promises";
4
- //#region ../../node_modules/.pnpm/tsdown@0.23.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.23.0_@tsdown+exe@0.23.0_@type_298964156353ef75a02894ab80b3a2e6/node_modules/tsdown/dist/detect-Bg-d8iUV.mjs
4
+ //#region ../../node_modules/.pnpm/tsdown@0.23.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.23.0_@tsdown+exe@0.23.0_@type_322c16727ed86a15fb2ecef349e911e9/node_modules/tsdown/dist/detect-Bg-d8iUV.mjs
5
5
  const AGENTS = [
6
6
  "npm",
7
7
  "yarn",
@@ -1,6 +1,6 @@
1
- import { r as createDebug } from "./main-bgV9NlwM.js";
2
- import { C as filename_to_dts, S as filename_js_to_dts, T as resolveTemplateFn, _ as RE_JSON, b as RE_TS, g as RE_JS, h as RE_DTS_MAP, m as RE_DTS, p as RE_CSS, v as RE_NODE_MODULES, w as replaceTemplateName, x as filename_dts_to, y as RE_ROLLDOWN_RUNTIME } from "./target-DgdLrXba-DaJJ11xX.js";
3
- import { o as mt, s as te } from "./build-JVmLFaZt-BN9yuB6k.js";
1
+ import { C as RE_ROLLDOWN_RUNTIME, D as filename_to_dts, E as filename_js_to_dts, O as replaceTemplateName, S as RE_NODE_MODULES, T as filename_dts_to, _ as RE_CSS, b as RE_JS, k as resolveTemplateFn, v as RE_DTS, w as RE_TS, x as RE_JSON, y as RE_DTS_MAP } from "./version-CQ98ZBpL-D6GAHapk.js";
2
+ import { o as mt, s as te } from "./build-JVmLFaZt-DRlLhpV3.js";
3
+ import { a as createDebug, i as tryResolve, n as require, r as requireTSApi, t as isTS70Installed } from "./require-BbBF8Ii0-BDaWJgzA.js";
4
4
  import { createRequire } from "node:module";
5
5
  import process from "node:process";
6
6
  import { styleText } from "node:util";
@@ -13,8 +13,8 @@ import { tmpdir } from "node:os";
13
13
  import { ResolverFactory, isolatedDeclarationSync } from "@voidzero-dev/vite-plus-core/rolldown/experimental";
14
14
  import { generate } from "yuku-codegen";
15
15
  import { parse as parse$1 } from "yuku-parser";
16
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.28.5_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolver_395c84c3f0e463da1bb9023138bdcb2e/node_modules/rolldown-plugin-dts/dist/tsc-context.mjs
17
- const debug$7 = createDebug("rolldown-plugin-dts:tsc-context");
16
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.28.6_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolver_d7b1f0f9db662f38e672c8f14bf9ba00/node_modules/rolldown-plugin-dts/dist/tsc-context.mjs
17
+ const debug$6 = createDebug("rolldown-plugin-dts:tsc-context");
18
18
  /** Creates an empty, isolated TypeScript compiler context. */
19
19
  function createContext() {
20
20
  return {
@@ -32,7 +32,7 @@ function createContext() {
32
32
  */
33
33
  function invalidateContextFile(context, file) {
34
34
  file = path.resolve(file).replaceAll("\\", "/");
35
- debug$7(`invalidating context file: ${file}`);
35
+ debug$6(`invalidating context file: ${file}`);
36
36
  context.files.delete(file);
37
37
  context.programs = context.programs.filter((program) => {
38
38
  return program.getSourceFiles().every((sourceFile) => sourceFile.fileName !== file);
@@ -42,37 +42,7 @@ function invalidateContextFile(context, file) {
42
42
  /** Shared compiler context used when no explicit context is provided. */
43
43
  const globalContext = createContext();
44
44
  //#endregion
45
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.28.5_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolver_395c84c3f0e463da1bb9023138bdcb2e/node_modules/rolldown-plugin-dts/dist/require-BbBF8Ii0.mjs
46
- const require = createRequire(import.meta.url);
47
- const debug$6 = createDebug("rolldown-plugin-dts:utils");
48
- function tryRequire(moduleName) {
49
- try {
50
- return require(moduleName);
51
- } catch {}
52
- }
53
- function tryResolve(id) {
54
- try {
55
- return require.resolve(id);
56
- } catch {}
57
- }
58
- let _ts;
59
- function isTS70Installed() {
60
- return tryRequire("typescript/package.json")?.version.slice(0, 3) === "7.0";
61
- }
62
- function requireTSApi(mode = "tsc", message = ".") {
63
- if (_ts) return _ts;
64
- if (isTS70Installed()) throw new Error(`TypeScript 7.0 is not supported when using ${mode}. Please use TypeScript 6.0 or below${message}`);
65
- let ts;
66
- try {
67
- ts = require("typescript");
68
- } catch (cause) {
69
- throw new Error(`TypeScript is not installed. Please install the \`typescript\` package (v7.0 is not yet supported)${message}`, { cause });
70
- }
71
- if (debug$6.enabled) debug$6(`Loaded TypeScript version ${ts.version} from ${require.resolve("typescript")}`);
72
- return _ts = ts;
73
- }
74
- //#endregion
75
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.28.5_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolver_395c84c3f0e463da1bb9023138bdcb2e/node_modules/rolldown-plugin-dts/dist/custom-language-BR14iqr3.mjs
45
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.28.6_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolver_d7b1f0f9db662f38e672c8f14bf9ba00/node_modules/rolldown-plugin-dts/dist/custom-language-BR14iqr3.mjs
76
46
  var LanguageContext = class {
77
47
  languages;
78
48
  patterns;
@@ -122,7 +92,7 @@ var LanguageContext = class {
122
92
  }
123
93
  };
124
94
  //#endregion
125
- //#region ../../node_modules/.pnpm/yuku-ast@0.9.3/node_modules/yuku-ast/dist/aliases.js
95
+ //#region ../../node_modules/.pnpm/yuku-ast@0.10.2/node_modules/yuku-ast/dist/aliases.js
126
96
  const ALIAS_GROUPS = {
127
97
  Expression: [
128
98
  "Identifier",
@@ -289,7 +259,7 @@ const ALIAS_GROUPS = {
289
259
  };
290
260
  Object.keys(ALIAS_GROUPS);
291
261
  //#endregion
292
- //#region ../../node_modules/.pnpm/yuku-ast@0.9.3/node_modules/yuku-ast/dist/generated.js
262
+ //#region ../../node_modules/.pnpm/yuku-ast@0.10.2/node_modules/yuku-ast/dist/generated.js
293
263
  const KEYS = Object.create(null);
294
264
  function ck(type, keys) {
295
265
  const prev = KEYS[type];
@@ -857,7 +827,7 @@ const NODE_TYPES = [.../* @__PURE__ */ new Set([
857
827
  "Hashbang"
858
828
  ])];
859
829
  //#endregion
860
- //#region ../../node_modules/.pnpm/yuku-ast@0.9.3/node_modules/yuku-ast/dist/builders.js
830
+ //#region ../../node_modules/.pnpm/yuku-ast@0.10.2/node_modules/yuku-ast/dist/builders.js
861
831
  /**
862
832
  * One constructor per node type, its fields derived from the node type
863
833
  * itself. `start` and `end` default to 0, which `ctx.replace` treats
@@ -874,7 +844,7 @@ const b = Object.fromEntries(NODE_TYPES.map((type) => [type, (fields) => ({
874
844
  ...fields
875
845
  })]));
876
846
  //#endregion
877
- //#region ../../node_modules/.pnpm/yuku-ast@0.9.3/node_modules/yuku-ast/dist/context.js
847
+ //#region ../../node_modules/.pnpm/yuku-ast@0.10.2/node_modules/yuku-ast/dist/context.js
878
848
  /**
879
849
  * The walk context: one reused object exposing the current position and
880
850
  * the tree mutation operations. Valid only during the visit that
@@ -960,7 +930,7 @@ var WalkContext = class {
960
930
  }
961
931
  };
962
932
  //#endregion
963
- //#region ../../node_modules/.pnpm/yuku-ast@0.9.3/node_modules/yuku-ast/dist/identifier.js
933
+ //#region ../../node_modules/.pnpm/yuku-ast@0.10.2/node_modules/yuku-ast/dist/identifier.js
964
934
  const IDENTIFIER_NAME = /^[$_\p{ID_Start}][$\u200C\u200D\p{ID_Continue}]*$/u;
965
935
  /**
966
936
  * True if `name` is a valid ECMAScript `IdentifierName`, the grammar an
@@ -972,7 +942,7 @@ function isIdentifierName(name) {
972
942
  return IDENTIFIER_NAME.test(name);
973
943
  }
974
944
  //#endregion
975
- //#region ../../node_modules/.pnpm/yuku-ast@0.9.3/node_modules/yuku-ast/dist/is.js
945
+ //#region ../../node_modules/.pnpm/yuku-ast@0.10.2/node_modules/yuku-ast/dist/is.js
976
946
  function aliasGuard(name) {
977
947
  const set = new Set(ALIAS_GROUPS[name]);
978
948
  return (node) => node != null && set.has(node.type);
@@ -1016,7 +986,7 @@ const is = {
1016
986
  Directive: (node) => node?.type === "ExpressionStatement" && node.directive != null
1017
987
  };
1018
988
  //#endregion
1019
- //#region ../../node_modules/.pnpm/yuku-ast@0.9.3/node_modules/yuku-ast/dist/walk.js
989
+ //#region ../../node_modules/.pnpm/yuku-ast@0.10.2/node_modules/yuku-ast/dist/walk.js
1020
990
  function createDispatch(visitors) {
1021
991
  let enter = null;
1022
992
  let leave = null;
@@ -1207,7 +1177,7 @@ async function _walkAsync(root, visitors, state, ctx) {
1207
1177
  })(root, null, null, null);
1208
1178
  }
1209
1179
  //#endregion
1210
- //#region ../../node_modules/.pnpm/yuku-ast@0.9.3/node_modules/yuku-ast/dist/utils.js
1180
+ //#region ../../node_modules/.pnpm/yuku-ast@0.10.2/node_modules/yuku-ast/dist/utils.js
1211
1181
  function nameOf(node) {
1212
1182
  if (node == null) return null;
1213
1183
  if (node.type === "Identifier") return node.name;
@@ -1327,7 +1297,7 @@ function ensureValue(value) {
1327
1297
  return value && ALLOW_EXTENSIONS.has(extname(value)) ? value.replaceAll("\\", "/") : null;
1328
1298
  }
1329
1299
  //#endregion
1330
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.28.5_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolver_395c84c3f0e463da1bb9023138bdcb2e/node_modules/rolldown-plugin-dts/dist/index.mjs
1300
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.28.6_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolver_d7b1f0f9db662f38e672c8f14bf9ba00/node_modules/rolldown-plugin-dts/dist/index.mjs
1331
1301
  function createDtsInputPlugin({ sideEffects }) {
1332
1302
  return {
1333
1303
  name: "rolldown-plugin-dts:dts-input",
@@ -1408,7 +1378,7 @@ var TscGenerator = class {
1408
1378
  this.worker = createTscWorker();
1409
1379
  return;
1410
1380
  }
1411
- this.tscModule = await import("./tsc-BFDF_Im9.js");
1381
+ this.tscModule = await import("./tsc-BLb4pSBY.js");
1412
1382
  if (this.newContext) this.context = createContext();
1413
1383
  }
1414
1384
  async emit(_code, fileName) {
@@ -2952,7 +2922,7 @@ function createDtsResolvePlugin({ cwd, tsconfig, tsconfigRaw, resolver, sideEffe
2952
2922
  async function resolveDtsPath(id, importer, rolldownResolution) {
2953
2923
  let dtsPath;
2954
2924
  if (resolver === "tsc") {
2955
- const { tscResolve } = await import("./resolver-DE0_sy8o-UMsN-SXx.js");
2925
+ const { tscResolve } = await import("./resolver-DE0_sy8o-Bi3xbRxi.js");
2956
2926
  dtsPath = tscResolve(id, importer, cwd, tsconfig, tsconfigRaw);
2957
2927
  } else dtsPath = baseDtsResolver(id, importer);
2958
2928
  debug$1("Using %s for dts import: %O -> %O", resolver, id, dtsPath);
@@ -2979,4 +2949,4 @@ function dts(options = {}) {
2979
2949
  return plugins;
2980
2950
  }
2981
2951
  //#endregion
2982
- export { dts, globalContext as n, requireTSApi as t };
2952
+ export { dts, globalContext as t };