@powerlines/plugin-unimport 0.1.132 → 0.1.133

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.
@@ -327,19 +327,17 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
327
327
  *
328
328
  * @param code - The source code of the builtin file
329
329
  * @param id - The unique identifier of the builtin file
330
- * @param path - An optional path to write the builtin file to
331
330
  * @param options - Additional options for writing the builtin file
332
331
  */
333
- emitBuiltin: (code: string, id: string, path?: string, options?: EmitOptions) => Promise<void>;
332
+ emitBuiltin: (code: string, id: string, options?: EmitOptions) => Promise<void>;
334
333
  /**
335
334
  * Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
336
335
  *
337
336
  * @param code - The source code of the builtin file
338
337
  * @param id - The unique identifier of the builtin file
339
- * @param path - An optional path to write the builtin file to
340
338
  * @param options - Additional options for writing the builtin file
341
339
  */
342
- emitBuiltinSync: (code: string, id: string, path?: string, options?: EmitOptions) => void;
340
+ emitBuiltinSync: (code: string, id: string, options?: EmitOptions) => void;
343
341
  /**
344
342
  * Resolves a entry virtual file and writes it to the VFS if it does not already exist
345
343
  *
@@ -327,19 +327,17 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
327
327
  *
328
328
  * @param code - The source code of the builtin file
329
329
  * @param id - The unique identifier of the builtin file
330
- * @param path - An optional path to write the builtin file to
331
330
  * @param options - Additional options for writing the builtin file
332
331
  */
333
- emitBuiltin: (code: string, id: string, path?: string, options?: EmitOptions) => Promise<void>;
332
+ emitBuiltin: (code: string, id: string, options?: EmitOptions) => Promise<void>;
334
333
  /**
335
334
  * Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
336
335
  *
337
336
  * @param code - The source code of the builtin file
338
337
  * @param id - The unique identifier of the builtin file
339
- * @param path - An optional path to write the builtin file to
340
338
  * @param options - Additional options for writing the builtin file
341
339
  */
342
- emitBuiltinSync: (code: string, id: string, path?: string, options?: EmitOptions) => void;
340
+ emitBuiltinSync: (code: string, id: string, options?: EmitOptions) => void;
343
341
  /**
344
342
  * Resolves a entry virtual file and writes it to the VFS if it does not already exist
345
343
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-unimport",
3
- "version": "0.1.132",
3
+ "version": "0.1.133",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to add imports to source code automatically via unimport.",
6
6
  "repository": {
@@ -122,13 +122,13 @@
122
122
  "@stryke/path": "^0.24.1",
123
123
  "defu": "^6.1.4",
124
124
  "magic-string": "^0.30.21",
125
- "powerlines": "^0.37.5",
125
+ "powerlines": "^0.37.6",
126
126
  "unimport": "^5.6.0"
127
127
  },
128
128
  "devDependencies": {
129
- "@powerlines/plugin-plugin": "^0.12.83",
129
+ "@powerlines/plugin-plugin": "^0.12.84",
130
130
  "@types/node": "^24.10.4"
131
131
  },
132
132
  "publishConfig": { "access": "public" },
133
- "gitHead": "cde0a30e0b06424661720ed40b29ae6f67a9ebcc"
133
+ "gitHead": "4f4e84adc19aadfea6a385968266306934c1ee08"
134
134
  }