From aa55b59865b2ca7eeb79f6bc3b7323c19754dcca Mon Sep 17 00:00:00 2001 From: zyoshoka Date: Fri, 28 Jun 2024 17:36:25 +0900 Subject: [PATCH] chore(deps): bump ip-cidr from 4.0.0 to 4.0.1 in /packages/backend --- packages/backend/package.json | 2 +- packages/backend/src/misc/get-ip-hash.ts | 2 +- pnpm-lock.yaml | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/backend/package.json b/packages/backend/package.json index d4a90f5aff..0f95ab89f0 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -124,7 +124,7 @@ "htmlescape": "1.1.1", "http-link-header": "1.1.3", "ioredis": "5.4.1", - "ip-cidr": "4.0.0", + "ip-cidr": "4.0.1", "ipaddr.js": "2.2.0", "is-svg": "5.0.1", "js-yaml": "4.1.0", diff --git a/packages/backend/src/misc/get-ip-hash.ts b/packages/backend/src/misc/get-ip-hash.ts index 562d463690..e132fa8f31 100644 --- a/packages/backend/src/misc/get-ip-hash.ts +++ b/packages/backend/src/misc/get-ip-hash.ts @@ -3,7 +3,7 @@ * SPDX-License-Identifier: AGPL-3.0-only */ -import * as IPCIDR from 'ip-cidr'; +import IPCIDR from 'ip-cidr'; export function getIpHash(ip: string): string { try { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 142cde6c88..affb1b7fd5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -255,8 +255,8 @@ importers: specifier: 5.4.1 version: 5.4.1 ip-cidr: - specifier: 4.0.0 - version: 4.0.0 + specifier: 4.0.1 + version: 4.0.1 ipaddr.js: specifier: 2.2.0 version: 2.2.0 @@ -8083,8 +8083,8 @@ packages: resolution: {integrity: sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==} engines: {node: '>= 12'} - ip-cidr@4.0.0: - resolution: {integrity: sha512-i1Jhb9sqm2+PuOHTfya3ekAUi+dadhgcEz+4FKKY1hXemocP4Xf7io8Xflc74/i2ejxe/5fp4z8z3BAsfAZ8sw==} + ip-cidr@4.0.1: + resolution: {integrity: sha512-V5Nce94SVJ7NtyT/UKUeTM7sY3V7TEk48hURhtBgTiGduOa5t6p9Hd+zBOGvr4Gu7iWPxFVYNl017p0akQA84w==} engines: {node: '>=16.14.0'} ip-regex@4.3.0: @@ -21193,7 +21193,7 @@ snapshots: jsbn: 1.1.0 sprintf-js: 1.1.3 - ip-cidr@4.0.0: + ip-cidr@4.0.1: dependencies: ip-address: 9.0.5