@powerlines/plugin-unimport 0.1.458 → 0.1.460

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 +1,29 @@
1
- var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));exports.__toESM=s;
1
+ //#region \0rolldown/runtime.js
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) {
13
+ __defProp(to, key, {
14
+ get: ((k) => from[k]).bind(null, key),
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ }
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
+ value: mod,
24
+ enumerable: true
25
+ }) : target, mod));
26
+
27
+ //#endregion
28
+
29
+ exports.__toESM = __toESM;
package/dist/index.cjs CHANGED
@@ -1 +1,81 @@
1
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./_virtual/_rolldown/runtime.cjs`);let t=require(`@stryke/async`),n=require(`@stryke/json/storm-json`),r=require(`@stryke/path/join`),i=require(`defu`);i=e.__toESM(i,1);let a=require(`unimport`);const o=e=>({name:`unimport`,config(){return{unimport:(0,i.default)(e,{commentsDisable:[`@unimport-disable`,`@unimport-ignore`,`@imports-disable`,`@imports-ignore`,`@powerlines-disable`,`@powerlines-ignore`],commentsDebug:[`@unimport-debug`,`@imports-debug`,`@powerlines-debug`],injectAtEnd:!0})}},async configResolved(){let{injectImports:e,init:i,...o}=(0,a.createUnimport)(this.config.unimport);this.unimport={...o},this.unimport.dumpImports=(0,t.throttle)(async()=>{this.trace(`Dumping import file...`);let e=await this.unimport.getImports();this.trace(`Writing imports-dump JSON file: ${(0,r.joinPaths)(this.dataPath,`imports-dump.json`)}`);let t=n.StormJSON.stringify(e);t.trim()!==this.unimport.lastImportsDump?.trim()&&(this.unimport.lastImportsDump=t,await this.fs.write((0,r.joinPaths)(this.dataPath,`imports-dump.json`),t))},1e3),this.unimport.injectImports=async(t,n,r)=>{let i=await e(t,n,r);return i.s.hasChanged()&&await this.unimport.dumpImports(),i},this.unimport.init=async()=>{await i(),await this.unimport.dumpImports()},await this.unimport.init()},async transform(e,t){let n=await this.unimport.injectImports(e,t);return n.s.hasChanged()?{id:t,code:n.s.toString(),map:n.s.generateMap({source:t,includeContent:!0,hires:!0})}:null}});exports.default=o,exports.plugin=o;
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
3
+ let _stryke_async = require("@stryke/async");
4
+ let _stryke_json_storm_json = require("@stryke/json/storm-json");
5
+ let _stryke_path_join = require("@stryke/path/join");
6
+ let defu = require("defu");
7
+ defu = require_runtime.__toESM(defu, 1);
8
+ let unimport = require("unimport");
9
+
10
+ //#region src/index.ts
11
+ /**
12
+ * A Powerlines plugin to integrate Unimport for code generation.
13
+ *
14
+ * @param options - The plugin options.
15
+ * @returns A Powerlines plugin instance.
16
+ */
17
+ const plugin = (options) => {
18
+ return {
19
+ name: "unimport",
20
+ config() {
21
+ return { unimport: (0, defu.default)(options, {
22
+ commentsDisable: [
23
+ "@unimport-disable",
24
+ "@unimport-ignore",
25
+ "@imports-disable",
26
+ "@imports-ignore",
27
+ "@powerlines-disable",
28
+ "@powerlines-ignore"
29
+ ],
30
+ commentsDebug: [
31
+ "@unimport-debug",
32
+ "@imports-debug",
33
+ "@powerlines-debug"
34
+ ],
35
+ injectAtEnd: true
36
+ }) };
37
+ },
38
+ async configResolved() {
39
+ const { injectImports, init, ...rest } = (0, unimport.createUnimport)(this.config.unimport);
40
+ this.unimport = { ...rest };
41
+ this.unimport.dumpImports = (0, _stryke_async.throttle)(async () => {
42
+ this.trace("Dumping import file...");
43
+ const items = await this.unimport.getImports();
44
+ this.trace(`Writing imports-dump JSON file: ${(0, _stryke_path_join.joinPaths)(this.dataPath, "imports-dump.json")}`);
45
+ const content = _stryke_json_storm_json.StormJSON.stringify(items);
46
+ if (content.trim() !== this.unimport.lastImportsDump?.trim()) {
47
+ this.unimport.lastImportsDump = content;
48
+ await this.fs.write((0, _stryke_path_join.joinPaths)(this.dataPath, "imports-dump.json"), content);
49
+ }
50
+ }, 1e3);
51
+ this.unimport.injectImports = async (code, id, options) => {
52
+ const result = await injectImports(code, id, options);
53
+ if (!result.s.hasChanged()) return result;
54
+ await this.unimport.dumpImports();
55
+ return result;
56
+ };
57
+ this.unimport.init = async () => {
58
+ await init();
59
+ await this.unimport.dumpImports();
60
+ };
61
+ await this.unimport.init();
62
+ },
63
+ async transform(code, id) {
64
+ const result = await this.unimport.injectImports(code, id);
65
+ if (!result.s.hasChanged()) return null;
66
+ return {
67
+ id,
68
+ code: result.s.toString(),
69
+ map: result.s.generateMap({
70
+ source: id,
71
+ includeContent: true,
72
+ hires: true
73
+ })
74
+ };
75
+ }
76
+ };
77
+ };
78
+
79
+ //#endregion
80
+ exports.default = plugin;
81
+ exports.plugin = plugin;
package/dist/index.mjs CHANGED
@@ -1,2 +1,78 @@
1
- import{throttle as e}from"@stryke/async";import{StormJSON as t}from"@stryke/json/storm-json";import{joinPaths as n}from"@stryke/path/join";import r from"defu";import{createUnimport as i}from"unimport";const a=a=>({name:`unimport`,config(){return{unimport:r(a,{commentsDisable:[`@unimport-disable`,`@unimport-ignore`,`@imports-disable`,`@imports-ignore`,`@powerlines-disable`,`@powerlines-ignore`],commentsDebug:[`@unimport-debug`,`@imports-debug`,`@powerlines-debug`],injectAtEnd:!0})}},async configResolved(){let{injectImports:r,init:a,...o}=i(this.config.unimport);this.unimport={...o},this.unimport.dumpImports=e(async()=>{this.trace(`Dumping import file...`);let e=await this.unimport.getImports();this.trace(`Writing imports-dump JSON file: ${n(this.dataPath,`imports-dump.json`)}`);let r=t.stringify(e);r.trim()!==this.unimport.lastImportsDump?.trim()&&(this.unimport.lastImportsDump=r,await this.fs.write(n(this.dataPath,`imports-dump.json`),r))},1e3),this.unimport.injectImports=async(e,t,n)=>{let i=await r(e,t,n);return i.s.hasChanged()&&await this.unimport.dumpImports(),i},this.unimport.init=async()=>{await a(),await this.unimport.dumpImports()},await this.unimport.init()},async transform(e,t){let n=await this.unimport.injectImports(e,t);return n.s.hasChanged()?{id:t,code:n.s.toString(),map:n.s.generateMap({source:t,includeContent:!0,hires:!0})}:null}});export{a as default,a as plugin};
1
+ import { throttle } from "@stryke/async";
2
+ import { StormJSON } from "@stryke/json/storm-json";
3
+ import { joinPaths } from "@stryke/path/join";
4
+ import defu from "defu";
5
+ import { createUnimport } from "unimport";
6
+
7
+ //#region src/index.ts
8
+ /**
9
+ * A Powerlines plugin to integrate Unimport for code generation.
10
+ *
11
+ * @param options - The plugin options.
12
+ * @returns A Powerlines plugin instance.
13
+ */
14
+ const plugin = (options) => {
15
+ return {
16
+ name: "unimport",
17
+ config() {
18
+ return { unimport: defu(options, {
19
+ commentsDisable: [
20
+ "@unimport-disable",
21
+ "@unimport-ignore",
22
+ "@imports-disable",
23
+ "@imports-ignore",
24
+ "@powerlines-disable",
25
+ "@powerlines-ignore"
26
+ ],
27
+ commentsDebug: [
28
+ "@unimport-debug",
29
+ "@imports-debug",
30
+ "@powerlines-debug"
31
+ ],
32
+ injectAtEnd: true
33
+ }) };
34
+ },
35
+ async configResolved() {
36
+ const { injectImports, init, ...rest } = createUnimport(this.config.unimport);
37
+ this.unimport = { ...rest };
38
+ this.unimport.dumpImports = throttle(async () => {
39
+ this.trace("Dumping import file...");
40
+ const items = await this.unimport.getImports();
41
+ this.trace(`Writing imports-dump JSON file: ${joinPaths(this.dataPath, "imports-dump.json")}`);
42
+ const content = StormJSON.stringify(items);
43
+ if (content.trim() !== this.unimport.lastImportsDump?.trim()) {
44
+ this.unimport.lastImportsDump = content;
45
+ await this.fs.write(joinPaths(this.dataPath, "imports-dump.json"), content);
46
+ }
47
+ }, 1e3);
48
+ this.unimport.injectImports = async (code, id, options) => {
49
+ const result = await injectImports(code, id, options);
50
+ if (!result.s.hasChanged()) return result;
51
+ await this.unimport.dumpImports();
52
+ return result;
53
+ };
54
+ this.unimport.init = async () => {
55
+ await init();
56
+ await this.unimport.dumpImports();
57
+ };
58
+ await this.unimport.init();
59
+ },
60
+ async transform(code, id) {
61
+ const result = await this.unimport.injectImports(code, id);
62
+ if (!result.s.hasChanged()) return null;
63
+ return {
64
+ id,
65
+ code: result.s.toString(),
66
+ map: result.s.generateMap({
67
+ source: id,
68
+ includeContent: true,
69
+ hires: true
70
+ })
71
+ };
72
+ }
73
+ };
74
+ };
75
+
76
+ //#endregion
77
+ export { plugin as default, plugin };
2
78
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { throttle } from \"@stryke/async\";\nimport { StormJSON } from \"@stryke/json/storm-json\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport defu from \"defu\";\nimport MagicString from \"magic-string\";\nimport { Plugin } from \"powerlines\";\nimport {\n createUnimport,\n ImportInjectionResult,\n InjectImportsOptions\n} from \"unimport\";\nimport {\n UnimportContext,\n UnimportPluginContext,\n UnimportPluginOptions\n} from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n unimport?: UnimportPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to integrate Unimport for code generation.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends UnimportPluginContext = UnimportPluginContext\n>(\n options: UnimportPluginOptions\n): Plugin<TContext> => {\n return {\n name: \"unimport\",\n config() {\n return {\n unimport: defu(options, {\n commentsDisable: [\n \"@unimport-disable\",\n \"@unimport-ignore\",\n \"@imports-disable\",\n \"@imports-ignore\",\n \"@powerlines-disable\",\n \"@powerlines-ignore\"\n ],\n commentsDebug: [\n \"@unimport-debug\",\n \"@imports-debug\",\n \"@powerlines-debug\"\n ],\n injectAtEnd: true\n })\n };\n },\n async configResolved() {\n const { injectImports, init, ...rest } = createUnimport(\n this.config.unimport\n );\n this.unimport = { ...rest } as UnimportContext;\n\n this.unimport.dumpImports = throttle(async () => {\n this.trace(\"Dumping import file...\");\n\n const items = await this.unimport.getImports();\n\n this.trace(\n `Writing imports-dump JSON file: ${joinPaths(this.dataPath, \"imports-dump.json\")}`\n );\n\n const content = StormJSON.stringify(items);\n if (content.trim() !== this.unimport.lastImportsDump?.trim()) {\n this.unimport.lastImportsDump = content;\n await this.fs.write(\n joinPaths(this.dataPath, \"imports-dump.json\"),\n content\n );\n }\n }, 1000);\n\n this.unimport.injectImports = async (\n code: string | MagicString,\n id?: string,\n options?: InjectImportsOptions\n ): Promise<ImportInjectionResult> => {\n const result = await injectImports(code, id, options);\n\n if (!result.s.hasChanged()) {\n return result;\n }\n\n await this.unimport.dumpImports();\n\n return result;\n };\n\n this.unimport.init = async () => {\n await init();\n await this.unimport.dumpImports();\n };\n\n await this.unimport.init();\n },\n async transform(code, id) {\n const result = await this.unimport.injectImports(code, id);\n if (!result.s.hasChanged()) {\n return null;\n }\n\n return {\n id,\n code: result.s.toString(),\n map: result.s.generateMap({\n source: id,\n includeContent: true,\n hires: true\n })\n };\n }\n };\n};\n\nexport default plugin;\n"],"mappings":"yMAiDA,MAAa,EAGX,IAEO,CACL,KAAM,WACN,QAAS,CACP,MAAO,CACL,SAAU,EAAK,EAAS,CACtB,gBAAiB,CACf,oBACA,mBACA,mBACA,kBACA,sBACA,qBACD,CACD,cAAe,CACb,kBACA,iBACA,oBACD,CACD,YAAa,GACd,CAAC,CACH,EAEH,MAAM,gBAAiB,CACrB,GAAM,CAAE,gBAAe,OAAM,GAAG,GAAS,EACvC,KAAK,OAAO,SACb,CACD,KAAK,SAAW,CAAE,GAAG,EAAM,CAE3B,KAAK,SAAS,YAAc,EAAS,SAAY,CAC/C,KAAK,MAAM,yBAAyB,CAEpC,IAAM,EAAQ,MAAM,KAAK,SAAS,YAAY,CAE9C,KAAK,MACH,mCAAmC,EAAU,KAAK,SAAU,oBAAoB,GACjF,CAED,IAAM,EAAU,EAAU,UAAU,EAAM,CACtC,EAAQ,MAAM,GAAK,KAAK,SAAS,iBAAiB,MAAM,GAC1D,KAAK,SAAS,gBAAkB,EAChC,MAAM,KAAK,GAAG,MACZ,EAAU,KAAK,SAAU,oBAAoB,CAC7C,EACD,GAEF,IAAK,CAER,KAAK,SAAS,cAAgB,MAC5B,EACA,EACA,IACmC,CACnC,IAAM,EAAS,MAAM,EAAc,EAAM,EAAI,EAAQ,CAQrD,OANK,EAAO,EAAE,YAAY,EAI1B,MAAM,KAAK,SAAS,aAAa,CAHxB,GAQX,KAAK,SAAS,KAAO,SAAY,CAC/B,MAAM,GAAM,CACZ,MAAM,KAAK,SAAS,aAAa,EAGnC,MAAM,KAAK,SAAS,MAAM,EAE5B,MAAM,UAAU,EAAM,EAAI,CACxB,IAAM,EAAS,MAAM,KAAK,SAAS,cAAc,EAAM,EAAG,CAK1D,OAJK,EAAO,EAAE,YAAY,CAInB,CACL,KACA,KAAM,EAAO,EAAE,UAAU,CACzB,IAAK,EAAO,EAAE,YAAY,CACxB,OAAQ,EACR,eAAgB,GAChB,MAAO,GACR,CAAC,CACH,CAXQ,MAaZ"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { throttle } from \"@stryke/async\";\nimport { StormJSON } from \"@stryke/json/storm-json\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport defu from \"defu\";\nimport MagicString from \"magic-string\";\nimport { Plugin } from \"powerlines\";\nimport {\n createUnimport,\n ImportInjectionResult,\n InjectImportsOptions\n} from \"unimport\";\nimport {\n UnimportContext,\n UnimportPluginContext,\n UnimportPluginOptions\n} from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n unimport?: UnimportPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to integrate Unimport for code generation.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends UnimportPluginContext = UnimportPluginContext\n>(\n options: UnimportPluginOptions\n): Plugin<TContext> => {\n return {\n name: \"unimport\",\n config() {\n return {\n unimport: defu(options, {\n commentsDisable: [\n \"@unimport-disable\",\n \"@unimport-ignore\",\n \"@imports-disable\",\n \"@imports-ignore\",\n \"@powerlines-disable\",\n \"@powerlines-ignore\"\n ],\n commentsDebug: [\n \"@unimport-debug\",\n \"@imports-debug\",\n \"@powerlines-debug\"\n ],\n injectAtEnd: true\n })\n };\n },\n async configResolved() {\n const { injectImports, init, ...rest } = createUnimport(\n this.config.unimport\n );\n this.unimport = { ...rest } as UnimportContext;\n\n this.unimport.dumpImports = throttle(async () => {\n this.trace(\"Dumping import file...\");\n\n const items = await this.unimport.getImports();\n\n this.trace(\n `Writing imports-dump JSON file: ${joinPaths(this.dataPath, \"imports-dump.json\")}`\n );\n\n const content = StormJSON.stringify(items);\n if (content.trim() !== this.unimport.lastImportsDump?.trim()) {\n this.unimport.lastImportsDump = content;\n await this.fs.write(\n joinPaths(this.dataPath, \"imports-dump.json\"),\n content\n );\n }\n }, 1000);\n\n this.unimport.injectImports = async (\n code: string | MagicString,\n id?: string,\n options?: InjectImportsOptions\n ): Promise<ImportInjectionResult> => {\n const result = await injectImports(code, id, options);\n\n if (!result.s.hasChanged()) {\n return result;\n }\n\n await this.unimport.dumpImports();\n\n return result;\n };\n\n this.unimport.init = async () => {\n await init();\n await this.unimport.dumpImports();\n };\n\n await this.unimport.init();\n },\n async transform(code, id) {\n const result = await this.unimport.injectImports(code, id);\n if (!result.s.hasChanged()) {\n return null;\n }\n\n return {\n id,\n code: result.s.toString(),\n map: result.s.generateMap({\n source: id,\n includeContent: true,\n hires: true\n })\n };\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;AAiDA,MAAa,UAGX,YACqB;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO,EACL,UAAU,KAAK,SAAS;IACtB,iBAAiB;KACf;KACA;KACA;KACA;KACA;KACA;KACD;IACD,eAAe;KACb;KACA;KACA;KACD;IACD,aAAa;IACd,CAAC,EACH;;EAEH,MAAM,iBAAiB;GACrB,MAAM,EAAE,eAAe,MAAM,GAAG,SAAS,eACvC,KAAK,OAAO,SACb;AACD,QAAK,WAAW,EAAE,GAAG,MAAM;AAE3B,QAAK,SAAS,cAAc,SAAS,YAAY;AAC/C,SAAK,MAAM,yBAAyB;IAEpC,MAAM,QAAQ,MAAM,KAAK,SAAS,YAAY;AAE9C,SAAK,MACH,mCAAmC,UAAU,KAAK,UAAU,oBAAoB,GACjF;IAED,MAAM,UAAU,UAAU,UAAU,MAAM;AAC1C,QAAI,QAAQ,MAAM,KAAK,KAAK,SAAS,iBAAiB,MAAM,EAAE;AAC5D,UAAK,SAAS,kBAAkB;AAChC,WAAM,KAAK,GAAG,MACZ,UAAU,KAAK,UAAU,oBAAoB,EAC7C,QACD;;MAEF,IAAK;AAER,QAAK,SAAS,gBAAgB,OAC5B,MACA,IACA,YACmC;IACnC,MAAM,SAAS,MAAM,cAAc,MAAM,IAAI,QAAQ;AAErD,QAAI,CAAC,OAAO,EAAE,YAAY,CACxB,QAAO;AAGT,UAAM,KAAK,SAAS,aAAa;AAEjC,WAAO;;AAGT,QAAK,SAAS,OAAO,YAAY;AAC/B,UAAM,MAAM;AACZ,UAAM,KAAK,SAAS,aAAa;;AAGnC,SAAM,KAAK,SAAS,MAAM;;EAE5B,MAAM,UAAU,MAAM,IAAI;GACxB,MAAM,SAAS,MAAM,KAAK,SAAS,cAAc,MAAM,GAAG;AAC1D,OAAI,CAAC,OAAO,EAAE,YAAY,CACxB,QAAO;AAGT,UAAO;IACL;IACA,MAAM,OAAO,EAAE,UAAU;IACzB,KAAK,OAAO,EAAE,YAAY;KACxB,QAAQ;KACR,gBAAgB;KAChB,OAAO;KACR,CAAC;IACH;;EAEJ"}
@@ -1 +1 @@
1
- export{};
1
+ export { };
@@ -1 +1 @@
1
- export{};
1
+ export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-unimport",
3
- "version": "0.1.458",
3
+ "version": "0.1.460",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to add imports to source code automatically via unimport.",
6
6
  "repository": {
@@ -95,14 +95,14 @@
95
95
  "@stryke/path": "^0.28.2",
96
96
  "defu": "^6.1.7",
97
97
  "magic-string": "^0.30.21",
98
- "powerlines": "^0.46.4",
98
+ "powerlines": "^0.46.6",
99
99
  "unimport": "^5.7.0"
100
100
  },
101
101
  "devDependencies": {
102
- "@powerlines/plugin-plugin": "^0.12.408",
102
+ "@powerlines/plugin-plugin": "^0.12.410",
103
103
  "@types/node": "^25.6.0"
104
104
  },
105
105
  "publishConfig": { "access": "public" },
106
106
  "types": "./dist/index.d.cts",
107
- "gitHead": "2e5eff0d36cb4a1a54242017a16c5af5d9ce2cc3"
107
+ "gitHead": "610c4c943933458c5f433b9002d8c187625b2d3f"
108
108
  }