unplugin-auto-import
Advanced tools
Comparing version 0.17.2 to 0.17.3
@@ -5,3 +5,3 @@ import { Options } from './types.js'; | ||
import 'unimport'; | ||
import 'unimport/dist/shared/unimport.6f84d637'; | ||
import 'unimport/dist/shared/unimport.d0a971e7'; | ||
@@ -8,0 +8,0 @@ declare function export_default(options: Options): { |
import { | ||
unplugin_default | ||
} from "./chunk-RLWL6LPL.js"; | ||
} from "./chunk-VBOO6DJD.js"; | ||
import "./chunk-FHJUW6TX.js"; | ||
@@ -5,0 +5,0 @@ |
@@ -5,3 +5,3 @@ import { Options } from './types.js'; | ||
import 'unimport'; | ||
import 'unimport/dist/shared/unimport.6f84d637'; | ||
import 'unimport/dist/shared/unimport.d0a971e7'; | ||
@@ -8,0 +8,0 @@ declare const _default: (options?: Options) => any; |
import { | ||
unplugin_default | ||
} from "./chunk-RLWL6LPL.js"; | ||
} from "./chunk-VBOO6DJD.js"; | ||
import "./chunk-FHJUW6TX.js"; | ||
@@ -5,0 +5,0 @@ |
@@ -6,3 +6,3 @@ import * as unplugin from 'unplugin'; | ||
import 'unimport'; | ||
import 'unimport/dist/shared/unimport.6f84d637'; | ||
import 'unimport/dist/shared/unimport.d0a971e7'; | ||
@@ -9,0 +9,0 @@ declare const _default: unplugin.UnpluginInstance<Options, boolean>; |
import { | ||
unplugin_default | ||
} from "./chunk-RLWL6LPL.js"; | ||
} from "./chunk-VBOO6DJD.js"; | ||
import "./chunk-FHJUW6TX.js"; | ||
@@ -5,0 +5,0 @@ export { |
@@ -6,3 +6,3 @@ import * as _nuxt_schema from '@nuxt/schema'; | ||
import 'unimport'; | ||
import 'unimport/dist/shared/unimport.6f84d637'; | ||
import 'unimport/dist/shared/unimport.d0a971e7'; | ||
@@ -9,0 +9,0 @@ declare const _default: _nuxt_schema.NuxtModule<Options>; |
import { | ||
unplugin_default | ||
} from "./chunk-RLWL6LPL.js"; | ||
} from "./chunk-VBOO6DJD.js"; | ||
import "./chunk-FHJUW6TX.js"; | ||
@@ -5,0 +5,0 @@ |
@@ -5,3 +5,3 @@ import { Options } from './types.js'; | ||
import 'unimport'; | ||
import 'unimport/dist/shared/unimport.6f84d637'; | ||
import 'unimport/dist/shared/unimport.d0a971e7'; | ||
@@ -8,0 +8,0 @@ declare const _default: (options?: Options) => any; |
import { | ||
unplugin_default | ||
} from "./chunk-RLWL6LPL.js"; | ||
} from "./chunk-VBOO6DJD.js"; | ||
import "./chunk-FHJUW6TX.js"; | ||
@@ -5,0 +5,0 @@ |
@@ -5,3 +5,3 @@ import { Options } from './types.js'; | ||
import 'unimport'; | ||
import 'unimport/dist/shared/unimport.6f84d637'; | ||
import 'unimport/dist/shared/unimport.d0a971e7'; | ||
@@ -8,0 +8,0 @@ declare const _default: (options?: Options) => any; |
import { | ||
unplugin_default | ||
} from "./chunk-RLWL6LPL.js"; | ||
} from "./chunk-VBOO6DJD.js"; | ||
import "./chunk-FHJUW6TX.js"; | ||
@@ -5,0 +5,0 @@ |
import { Arrayable, Awaitable } from '@antfu/utils'; | ||
import { FilterPattern } from '@rollup/pluginutils'; | ||
import { Import, InlinePreset, PackagePreset } from 'unimport'; | ||
import * as unimport_dist_shared_unimport_6f84d637 from 'unimport/dist/shared/unimport.6f84d637'; | ||
import { Import, InlinePreset, PackagePreset, UnimportOptions } from 'unimport'; | ||
import * as unimport_dist_shared_unimport_d0a971e7 from 'unimport/dist/shared/unimport.d0a971e7'; | ||
@@ -37,12 +37,12 @@ declare const presets: { | ||
recoil: ImportsMap; | ||
'@vue/composition-api': unimport_dist_shared_unimport_6f84d637.a; | ||
pinia: unimport_dist_shared_unimport_6f84d637.a; | ||
'vue-demi': unimport_dist_shared_unimport_6f84d637.a; | ||
'vue-i18n': unimport_dist_shared_unimport_6f84d637.a; | ||
'vue-router-composables': unimport_dist_shared_unimport_6f84d637.a; | ||
vue: unimport_dist_shared_unimport_6f84d637.a; | ||
'vue/macros': unimport_dist_shared_unimport_6f84d637.a; | ||
vitest: unimport_dist_shared_unimport_6f84d637.a; | ||
rxjs: unimport_dist_shared_unimport_6f84d637.a; | ||
'date-fns': unimport_dist_shared_unimport_6f84d637.a; | ||
'@vue/composition-api': unimport_dist_shared_unimport_d0a971e7.a; | ||
pinia: unimport_dist_shared_unimport_d0a971e7.a; | ||
'vue-demi': unimport_dist_shared_unimport_d0a971e7.a; | ||
'vue-i18n': unimport_dist_shared_unimport_d0a971e7.a; | ||
'vue-router-composables': unimport_dist_shared_unimport_d0a971e7.a; | ||
vue: unimport_dist_shared_unimport_d0a971e7.a; | ||
'vue/macros': unimport_dist_shared_unimport_d0a971e7.a; | ||
vitest: unimport_dist_shared_unimport_d0a971e7.a; | ||
rxjs: unimport_dist_shared_unimport_d0a971e7.a; | ||
'date-fns': unimport_dist_shared_unimport_d0a971e7.a; | ||
}; | ||
@@ -144,2 +144,9 @@ type PresetName = keyof typeof presets; | ||
/** | ||
* Parser to be used for parsing the source code. | ||
* | ||
* @see https://github.com/unjs/unimport#acorn-parser | ||
* @default 'regex' | ||
*/ | ||
parser?: UnimportOptions['parser']; | ||
/** | ||
* Filepath to generate corresponding .d.ts file. | ||
@@ -146,0 +153,0 @@ * Default enabled when `typescript` is installed locally. |
@@ -5,3 +5,3 @@ import { Options } from './types.js'; | ||
import 'unimport'; | ||
import 'unimport/dist/shared/unimport.6f84d637'; | ||
import 'unimport/dist/shared/unimport.d0a971e7'; | ||
@@ -8,0 +8,0 @@ declare const _default: (options?: Options) => any; |
import { | ||
unplugin_default | ||
} from "./chunk-RLWL6LPL.js"; | ||
} from "./chunk-VBOO6DJD.js"; | ||
import "./chunk-FHJUW6TX.js"; | ||
@@ -5,0 +5,0 @@ |
@@ -5,3 +5,3 @@ import { Options } from './types.js'; | ||
import 'unimport'; | ||
import 'unimport/dist/shared/unimport.6f84d637'; | ||
import 'unimport/dist/shared/unimport.d0a971e7'; | ||
@@ -8,0 +8,0 @@ declare const _default: (options?: Options) => any; |
import { | ||
unplugin_default | ||
} from "./chunk-RLWL6LPL.js"; | ||
} from "./chunk-VBOO6DJD.js"; | ||
import "./chunk-FHJUW6TX.js"; | ||
@@ -5,0 +5,0 @@ |
{ | ||
"name": "unplugin-auto-import", | ||
"type": "module", | ||
"version": "0.17.2", | ||
"packageManager": "pnpm@8.11.0", | ||
"version": "0.17.3", | ||
"packageManager": "pnpm@8.13.1", | ||
"description": "Register global imports on demand for Vite and Webpack", | ||
@@ -153,3 +153,3 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
"dependencies": { | ||
"@antfu/utils": "^0.7.6", | ||
"@antfu/utils": "^0.7.7", | ||
"@rollup/pluginutils": "^5.1.0", | ||
@@ -160,22 +160,22 @@ "fast-glob": "^3.3.2", | ||
"minimatch": "^9.0.3", | ||
"unimport": "^3.6.0", | ||
"unplugin": "^1.5.1" | ||
"unimport": "^3.7.0", | ||
"unplugin": "^1.6.0" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^2.2.2", | ||
"@antfu/eslint-config": "^2.6.1", | ||
"@antfu/ni": "^0.21.12", | ||
"@nuxt/kit": "^3.8.2", | ||
"@nuxt/kit": "^3.9.0", | ||
"@svgr/plugin-jsx": "^8.1.0", | ||
"@types/node": "^20.10.2", | ||
"@types/node": "^20.10.5", | ||
"@types/resolve": "^1.20.6", | ||
"@vueuse/metadata": "^10.6.1", | ||
"bumpp": "^9.2.0", | ||
"eslint": "^8.55.0", | ||
"@vueuse/metadata": "^10.7.0", | ||
"bumpp": "^9.2.1", | ||
"eslint": "^8.56.0", | ||
"esno": "^4.0.0", | ||
"publint": "^0.2.6", | ||
"rollup": "^4.6.1", | ||
"publint": "^0.2.7", | ||
"rollup": "^4.9.1", | ||
"tsup": "^8.0.1", | ||
"typescript": "^5.3.2", | ||
"vite": "^5.0.4", | ||
"vitest": "^0.34.6", | ||
"typescript": "^5.3.3", | ||
"vite": "^5.0.10", | ||
"vitest": "^1.1.0", | ||
"webpack": "^5.89.0" | ||
@@ -182,0 +182,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
97256
2470
Updated@antfu/utils@^0.7.7
Updatedunimport@^3.7.0
Updatedunplugin@^1.6.0