chore(deps): upgrade unimport (#3669)

This commit is contained in:
Anthony Fu 2022-03-15 19:21:06 +08:00 committed by GitHub
parent 13a5487c54
commit 505acb820a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 11 deletions

View File

@ -29,7 +29,7 @@
"scule": "^0.2.1", "scule": "^0.2.1",
"semver": "^7.3.5", "semver": "^7.3.5",
"unctx": "^1.0.2", "unctx": "^1.0.2",
"unimport": "0.0.8", "unimport": "^0.1.0",
"untyped": "^0.4.2" "untyped": "^0.4.2"
}, },
"devDependencies": { "devDependencies": {

View File

@ -58,7 +58,7 @@
"pathe": "^0.2.0", "pathe": "^0.2.0",
"scule": "^0.2.1", "scule": "^0.2.1",
"ufo": "^0.7.11", "ufo": "^0.7.11",
"unimport": "0.0.8", "unimport": "^0.1.0",
"unplugin": "^0.4.0", "unplugin": "^0.4.0",
"untyped": "^0.4.2", "untyped": "^0.4.2",
"vue": "^3.2.31", "vue": "^3.2.31",

View File

@ -145,6 +145,6 @@ function addDeclarationTemplates (ctx: Unimport) {
addTemplate({ addTemplate({
filename: 'types/auto-imports.d.ts', filename: 'types/auto-imports.d.ts',
getContents: () => '// Generated by auto imports\n' + ctx.generateTypeDecarations(r) getContents: () => '// Generated by auto imports\n' + ctx.generateTypeDecarations({ resolvePath: r })
}) })
} }

View File

@ -28,7 +28,7 @@
"scule": "^0.2.1", "scule": "^0.2.1",
"std-env": "^3.0.1", "std-env": "^3.0.1",
"ufo": "^0.7.11", "ufo": "^0.7.11",
"unimport": "0.0.8" "unimport": "^0.1.0"
}, },
"engines": { "engines": {
"node": "^14.16.0 || ^16.11.0 || ^17.0.0" "node": "^14.16.0 || ^16.11.0 || ^17.0.0"

View File

@ -2938,7 +2938,7 @@ __metadata:
semver: ^7.3.5 semver: ^7.3.5
unbuild: latest unbuild: latest
unctx: ^1.0.2 unctx: ^1.0.2
unimport: 0.0.8 unimport: ^0.1.0
untyped: ^0.4.2 untyped: ^0.4.2
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@ -3101,7 +3101,7 @@ __metadata:
std-env: ^3.0.1 std-env: ^3.0.1
ufo: ^0.7.11 ufo: ^0.7.11
unbuild: latest unbuild: latest
unimport: 0.0.8 unimport: ^0.1.0
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@ -15689,7 +15689,7 @@ __metadata:
scule: ^0.2.1 scule: ^0.2.1
ufo: ^0.7.11 ufo: ^0.7.11
unbuild: latest unbuild: latest
unimport: 0.0.8 unimport: ^0.1.0
unplugin: ^0.4.0 unplugin: ^0.4.0
untyped: ^0.4.2 untyped: ^0.4.2
vue: ^3.2.31 vue: ^3.2.31
@ -21333,17 +21333,20 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"unimport@npm:0.0.8": "unimport@npm:^0.1.0":
version: 0.0.8 version: 0.1.0
resolution: "unimport@npm:0.0.8" resolution: "unimport@npm:0.1.0"
dependencies: dependencies:
"@rollup/pluginutils": ^4.1.2 "@rollup/pluginutils": ^4.1.2
escape-string-regexp: ^5.0.0 escape-string-regexp: ^5.0.0
globby: ^13.1.1
local-pkg: ^0.4.1 local-pkg: ^0.4.1
magic-string: ^0.26.0 magic-string: ^0.26.0
mlly: ^0.4.3 mlly: ^0.4.3
pathe: ^0.2.0
scule: ^0.2.1
unplugin: ^0.3.3 unplugin: ^0.3.3
checksum: ac6e2ef860b274c28093117c23071aaa35f484f88ff23cd25a4f4d114c24e72969f46f729b26023546ffdc1016ef42e5fc399d14389c0c0374f4a74b17ff1955 checksum: eb53a62c1a2b8eb65a8ea99a9dfc4c70d8b900b9220547c6544cf4db48cdce79b342576c49306afa6cc4217a802943f8513c5397edb7ddee4c563f8dfff6a0ec
languageName: node languageName: node
linkType: hard linkType: hard