diff --git a/package.json b/package.json index ad07f3e..5657929 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "test": "vitest" }, "dependencies": { - "@antfu/ni": "^0.21.10", + "@antfu/ni": "^0.21.12", "@npmcli/config": "^8.0.2", "cli-progress": "^3.12.0", "deepmerge": "^4.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2d7f46c..58f570b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@antfu/ni': - specifier: ^0.21.10 - version: 0.21.10 + specifier: ^0.21.12 + version: 0.21.12 '@npmcli/config': specifier: ^8.0.2 version: 8.0.2 @@ -164,8 +164,8 @@ packages: engines: {node: '>=18.0.0', npm: '>=9.0.0', pnpm: '>= 8.6.0'} dev: true - /@antfu/ni@0.21.10: - resolution: {integrity: sha512-EHIUsdIKeBYSoo4rtLNl0Myzp0aMaaJHnx0i5OK9Q4HoYd82z21CyOghz7HAOQOxYVPy+zzLOUmM+L4SA5V/tQ==} + /@antfu/ni@0.21.12: + resolution: {integrity: sha512-2aDL3WUv8hMJb2L3r/PIQWsTLyq7RQr3v9xD16fiz6O8ys1xEyLhhTOv8gxtZvJiTzjTF5pHoArvRdesGL1DMQ==} hasBin: true dev: false diff --git a/src/commands/check/interactive.ts b/src/commands/check/interactive.ts index 7b597a8..2241c47 100644 --- a/src/commands/check/interactive.ts +++ b/src/commands/check/interactive.ts @@ -4,7 +4,6 @@ import readline from 'node:readline' import process from 'node:process' import c from 'picocolors' import { createControlledPromise, notNullish } from '@antfu/utils' -import { sort } from 'semver' import type { CheckOptions, InteractiveContext, PackageMeta, ResolvedDepChange } from '../../types' import { getVersionOfRange, updateTargetVersion } from '../../io/resolves' import { getPrefixedVersion } from '../../utils/versions'