From aa09b68f75bc0e44d830d1aac2935b25f3d2affe Mon Sep 17 00:00:00 2001 From: ocavue Date: Mon, 18 May 2026 22:06:56 +1000 Subject: [PATCH] Update dependency `human-id` to v4 --- index.ts | 2 +- modules.d.ts | 3 --- package.json | 2 +- pnpm-lock.yaml | 11 ++++++----- 4 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 modules.d.ts diff --git a/index.ts b/index.ts index 099935c..ebb3780 100644 --- a/index.ts +++ b/index.ts @@ -2,7 +2,7 @@ import { ValidationError } from "@changesets/errors"; import type { ReleasePlan, ComprehensiveRelease, VersionType } from "@changesets/types"; import type { EmitterWebhookEvent } from "@octokit/webhooks"; import { captureException } from "@sentry/node"; -import humanId from "human-id"; +import { humanId } from "human-id"; import markdownTable from "markdown-table"; import type { Probot, Context } from "probot"; diff --git a/modules.d.ts b/modules.d.ts deleted file mode 100644 index 1c06ab6..0000000 --- a/modules.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare module "human-id" { - export default function humanId(options: { separator: string; capitalize: boolean }): string; -} diff --git a/package.json b/package.json index 14c4dd9..9c47aac 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@types/markdown-table": "^2.0.0", "@types/micromatch": "^4.0.1", "@types/node": "^25.5.0", - "human-id": "^1.0.2", + "human-id": "^4.1.3", "js-yaml": "^3.14.0", "markdown-table": "^2.0.0", "micromatch": "^4.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7f49fe2..c7d6aaa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -46,8 +46,8 @@ importers: specifier: ^25.5.0 version: 25.6.2 human-id: - specifier: ^1.0.2 - version: 1.0.2 + specifier: ^4.1.3 + version: 4.1.3 js-yaml: specifier: ^3.14.0 version: 3.14.2 @@ -1579,8 +1579,9 @@ packages: resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} engines: {node: '>= 6'} - human-id@1.0.2: - resolution: {integrity: sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==} + human-id@4.1.3: + resolution: {integrity: sha512-tsYlhAYpjCKa//8rXZ9DqKEawhPoSytweBC2eNvcaDK+57RZLHGqNs3PZTQO6yekLFSuvA6AlnAfrw1uBvtb+Q==} + hasBin: true iconv-lite@0.4.24: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} @@ -3909,7 +3910,7 @@ snapshots: transitivePeerDependencies: - supports-color - human-id@1.0.2: {} + human-id@4.1.3: {} iconv-lite@0.4.24: dependencies: