@powerlines/plugin-unimport 0.1.132 → 0.1.134
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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.
|
|
3
|
+
"version": "0.1.134",
|
|
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.
|
|
125
|
+
"powerlines": "^0.37.7",
|
|
126
126
|
"unimport": "^5.6.0"
|
|
127
127
|
},
|
|
128
128
|
"devDependencies": {
|
|
129
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
129
|
+
"@powerlines/plugin-plugin": "^0.12.85",
|
|
130
130
|
"@types/node": "^24.10.4"
|
|
131
131
|
},
|
|
132
132
|
"publishConfig": { "access": "public" },
|
|
133
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "59db410d946ed8bbbff6ee6230b0716b91ef0115"
|
|
134
134
|
}
|