unplugin-isolated-decl 0.4.2 → 0.4.3

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.
@@ -1,5 +1,5 @@
1
- import type { TranspileOptions } from "typescript";
2
1
  import type { FilterPattern } from "@rollup/pluginutils";
2
+ import type { TranspileOptions } from "typescript";
3
3
  export type Options = {
4
4
  include?: FilterPattern;
5
5
  exclude?: FilterPattern;
@@ -1,5 +1,5 @@
1
- import type { TranspileOptions } from "typescript";
2
1
  import type { FilterPattern } from "@rollup/pluginutils";
2
+ import type { TranspileOptions } from "typescript";
3
3
  export type Options = {
4
4
  include?: FilterPattern;
5
5
  exclude?: FilterPattern;
package/dist/esbuild.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const require_transformer = require('./transformer-oh0-JTHH.cjs');
3
- const require_src_index = require('./src_index-jgSmcGXY.cjs');
3
+ const require_src_index = require('./src_index-XND_hrJh.cjs');
4
4
 
5
5
  //#region src/esbuild.ts
6
6
  var esbuild_default = require_src_index.IsolatedDecl.esbuild;
package/dist/esbuild.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./transformer-ScZEjI0h.js";
2
- import { IsolatedDecl } from "./src_index-lTUNmGu_.js";
2
+ import { IsolatedDecl } from "./src_index-2hhWj0Ml.js";
3
3
 
4
4
  //#region src/esbuild.ts
5
5
  var esbuild_default = IsolatedDecl.esbuild;
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const require_transformer = require('./transformer-oh0-JTHH.cjs');
3
- const require_src_index = require('./src_index-jgSmcGXY.cjs');
3
+ const require_src_index = require('./src_index-XND_hrJh.cjs');
4
4
 
5
5
  Object.defineProperty(exports, 'IsolatedDecl', {
6
6
  enumerable: true,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import "./transformer-ScZEjI0h.js";
2
- import { IsolatedDecl } from "./src_index-lTUNmGu_.js";
2
+ import { IsolatedDecl } from "./src_index-2hhWj0Ml.js";
3
3
 
4
4
  export { IsolatedDecl };
package/dist/rolldown.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const require_transformer = require('./transformer-oh0-JTHH.cjs');
3
- const require_src_index = require('./src_index-jgSmcGXY.cjs');
3
+ const require_src_index = require('./src_index-XND_hrJh.cjs');
4
4
 
5
5
  //#region src/rolldown.ts
6
6
  var rolldown_default = require_src_index.IsolatedDecl.rolldown;
package/dist/rolldown.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./transformer-ScZEjI0h.js";
2
- import { IsolatedDecl } from "./src_index-lTUNmGu_.js";
2
+ import { IsolatedDecl } from "./src_index-2hhWj0Ml.js";
3
3
 
4
4
  //#region src/rolldown.ts
5
5
  var rolldown_default = IsolatedDecl.rolldown;
package/dist/rollup.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const require_transformer = require('./transformer-oh0-JTHH.cjs');
3
- const require_src_index = require('./src_index-jgSmcGXY.cjs');
3
+ const require_src_index = require('./src_index-XND_hrJh.cjs');
4
4
 
5
5
  //#region src/rollup.ts
6
6
  var rollup_default = require_src_index.IsolatedDecl.rollup;
package/dist/rollup.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./transformer-ScZEjI0h.js";
2
- import { IsolatedDecl } from "./src_index-lTUNmGu_.js";
2
+ import { IsolatedDecl } from "./src_index-2hhWj0Ml.js";
3
3
 
4
4
  //#region src/rollup.ts
5
5
  var rollup_default = IsolatedDecl.rollup;
@@ -1,8 +1,8 @@
1
1
  import { oxcTransform, swcTransform, tsTransform } from "./transformer-ScZEjI0h.js";
2
- import { default as path } from "node:path";
3
2
  import { mkdir, writeFile } from "node:fs/promises";
4
- import { createUnplugin } from "unplugin";
3
+ import { default as path } from "node:path";
5
4
  import { createFilter } from "@rollup/pluginutils";
5
+ import { createUnplugin } from "unplugin";
6
6
 
7
7
  //#region src/core/options.ts
8
8
  function resolveOptions(options) {
@@ -17,7 +17,7 @@ function resolveOptions(options) {
17
17
 
18
18
  //#endregion
19
19
  //#region src/index.ts
20
- const IsolatedDecl = createUnplugin((rawOptions = {}, meta) => {
20
+ const IsolatedDecl = createUnplugin((rawOptions = {}) => {
21
21
  const options = resolveOptions(rawOptions);
22
22
  const filter = createFilter(options.include, options.exclude);
23
23
  const outputFiles = {};
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  const require_transformer = require('./transformer-oh0-JTHH.cjs');
3
- const { default: path } = __toESM(require("node:path"));
4
3
  const { mkdir, writeFile } = __toESM(require("node:fs/promises"));
5
- const { createUnplugin } = __toESM(require("unplugin"));
4
+ const { default: path } = __toESM(require("node:path"));
6
5
  const { createFilter } = __toESM(require("@rollup/pluginutils"));
6
+ const { createUnplugin } = __toESM(require("unplugin"));
7
7
 
8
8
  //#region src/core/options.ts
9
9
  function resolveOptions(options) {
@@ -18,7 +18,7 @@ function resolveOptions(options) {
18
18
 
19
19
  //#endregion
20
20
  //#region src/index.ts
21
- const IsolatedDecl = createUnplugin((rawOptions = {}, meta) => {
21
+ const IsolatedDecl = createUnplugin((rawOptions = {}) => {
22
22
  const options = resolveOptions(rawOptions);
23
23
  const filter = createFilter(options.include, options.exclude);
24
24
  const outputFiles = {};
package/dist/vite.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const require_transformer = require('./transformer-oh0-JTHH.cjs');
3
- const require_src_index = require('./src_index-jgSmcGXY.cjs');
3
+ const require_src_index = require('./src_index-XND_hrJh.cjs');
4
4
 
5
5
  //#region src/vite.ts
6
6
  var vite_default = require_src_index.IsolatedDecl.vite;
package/dist/vite.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./transformer-ScZEjI0h.js";
2
- import { IsolatedDecl } from "./src_index-lTUNmGu_.js";
2
+ import { IsolatedDecl } from "./src_index-2hhWj0Ml.js";
3
3
 
4
4
  //#region src/vite.ts
5
5
  var vite_default = IsolatedDecl.vite;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unplugin-isolated-decl",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "A blazing-fast tool for generating isolated declarations, powered by Oxc.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -81,25 +81,25 @@
81
81
  },
82
82
  "dependencies": {
83
83
  "@rollup/pluginutils": "^5.1.0",
84
- "oxc-transform": "^0.21.0",
85
- "unplugin": "^1.11.1"
84
+ "oxc-transform": "^0.23.0",
85
+ "unplugin": "^1.12.1"
86
86
  },
87
87
  "devDependencies": {
88
- "@swc/core": "^1.7.0",
89
- "@sxzz/eslint-config": "^3.14.0",
88
+ "@swc/core": "^1.7.6",
89
+ "@sxzz/eslint-config": "^3.17.0",
90
90
  "@sxzz/prettier-config": "^2.0.2",
91
- "@types/node": "^20.14.11",
92
- "bumpp": "^9.4.1",
91
+ "@types/node": "^20.14.14",
92
+ "bumpp": "^9.4.2",
93
93
  "esbuild": "^0.23.0",
94
- "eslint": "^9.7.0",
94
+ "eslint": "^9.8.0",
95
95
  "fast-glob": "^3.3.2",
96
96
  "prettier": "^3.3.3",
97
- "rollup": "^4.19.0",
97
+ "rollup": "^4.20.0",
98
98
  "tsdown": "^0.2.3",
99
- "tsx": "^4.16.2",
100
- "typescript": "^5.5.3",
101
- "vite": "^5.3.4",
102
- "vitest": "^2.0.3"
99
+ "tsx": "^4.16.5",
100
+ "typescript": "^5.5.4",
101
+ "vite": "^5.4.0",
102
+ "vitest": "^2.0.5"
103
103
  },
104
104
  "engines": {
105
105
  "node": ">=18.12.0"