@antfu/ni
Advanced tools
Comparing version 0.18.5 to 0.18.6
@@ -81,4 +81,4 @@ declare const AGENTS: { | ||
}; | ||
declare type Agent = keyof typeof AGENTS; | ||
declare type Command = keyof typeof AGENTS.npm; | ||
type Agent = keyof typeof AGENTS; | ||
type Command = keyof typeof AGENTS.npm; | ||
@@ -95,3 +95,3 @@ interface DetectOptions { | ||
} | ||
declare type Runner = (agent: Agent, args: string[], ctx?: RunnerContext) => Promise<string | undefined> | string | undefined; | ||
type Runner = (agent: Agent, args: string[], ctx?: RunnerContext) => Promise<string | undefined> | string | undefined; | ||
declare function runCli(fn: Runner, options?: DetectOptions): Promise<void>; | ||
@@ -98,0 +98,0 @@ declare function run(fn: Runner, args: string[], options?: DetectOptions): Promise<void>; |
{ | ||
"name": "@antfu/ni", | ||
"version": "0.18.5", | ||
"version": "0.18.6", | ||
"packageManager": "pnpm@7.4.0", | ||
@@ -18,2 +18,3 @@ "description": "Use the right package manager", | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"require": "./dist/index.cjs", | ||
@@ -49,7 +50,4 @@ "import": "./dist/index.mjs" | ||
}, | ||
"dependencies": { | ||
"fzf": "^0.5.1" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^0.29.4", | ||
"@antfu/eslint-config": "^0.30.1", | ||
"@types/ini": "^1.3.31", | ||
@@ -65,2 +63,3 @@ "@types/node": "^18.11.9", | ||
"find-up": "^6.3.0", | ||
"fzf": "^0.5.1", | ||
"ini": "^3.0.1", | ||
@@ -71,5 +70,5 @@ "kleur": "^4.1.5", | ||
"terminal-link": "^3.0.0", | ||
"typescript": "^4.8.4", | ||
"unbuild": "^0.9.4", | ||
"vitest": "^0.25.1", | ||
"typescript": "^4.9.3", | ||
"unbuild": "^1.0.1", | ||
"vitest": "^0.25.2", | ||
"which": "^2.0.2" | ||
@@ -76,0 +75,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
567149
0
16968
21
2
- Removedfzf@^0.5.1
- Removedfzf@0.5.2(transitive)