bun-plugin-dtsx 0.11.10 → 0.11.12

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 (2) hide show
  1. package/dist/index.js +8 -8
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -174,9 +174,9 @@ function dts(options = {}) {
174
174
  const timeoutId = setTimeout(() => {
175
175
  rejectPromise(new DtsxPluginError(`Generation timed out after ${timeout}ms`, "TIMEOUT_ERROR", { timeout }));
176
176
  }, timeout);
177
- generate(config).then((stats2) => {
177
+ generate(config).then((stats) => {
178
178
  clearTimeout(timeoutId);
179
- resolvePromise(stats2);
179
+ resolvePromise(stats);
180
180
  }).catch((err) => {
181
181
  clearTimeout(timeoutId);
182
182
  rejectPromise(err);
@@ -325,11 +325,11 @@ function clearCache(cacheDir = ".dtsx-cache") {
325
325
  }
326
326
  var src_default = dts;
327
327
  export {
328
- dtsWatch,
329
- dtsCheck,
330
- dts,
331
- src_default as default,
332
- clearCache,
328
+ DtsxPluginError,
333
329
  PluginErrorCodes,
334
- DtsxPluginError
330
+ clearCache,
331
+ src_default as default,
332
+ dts,
333
+ dtsCheck,
334
+ dtsWatch
335
335
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "bun-plugin-dtsx",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.11.10",
5
+ "version": "0.11.12",
6
6
  "description": "A Bun Bundler plugin that auto generates your DTS types extremely fast.",
7
7
  "author": "Chris Breuer <chris@ow3.org>",
8
8
  "license": "MIT",
@@ -52,6 +52,6 @@
52
52
  "lint:fix": "bun x --bun pickier . --fix"
53
53
  },
54
54
  "dependencies": {
55
- "@stacksjs/dtsx": "0.11.10"
55
+ "@stacksjs/dtsx": "0.11.12"
56
56
  }
57
57
  }