From 1e8ddf1a3440908bf94f4de330f9b0a4d2dcd1f1 Mon Sep 17 00:00:00 2001 From: Dmytro Stebaiev Date: Mon, 15 Apr 2024 15:54:41 +0300 Subject: [PATCH] Update PEP440 library --- typescript/base/package.json | 2 +- typescript/base/src/instance.ts | 5 +---- typescript/base/yarn.lock | 10 +++++----- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/typescript/base/package.json b/typescript/base/package.json index 812f9fa..b11dc37 100644 --- a/typescript/base/package.json +++ b/typescript/base/package.json @@ -25,7 +25,7 @@ "types": "lib/index.d.ts", "version": "1.0.1", "dependencies": { - "@renovatebot/pep440": "^3.0.19", + "@renovatebot/pep440": "^3.0.20", "axios": "^1.4.0" } } diff --git a/typescript/base/src/instance.ts b/typescript/base/src/instance.ts index 8b95402..58a55c7 100644 --- a/typescript/base/src/instance.ts +++ b/typescript/base/src/instance.ts @@ -58,10 +58,7 @@ const processPep440 = (pyVersion: Pep440Version) => { } return value; }); - // TODO: remove any after the fix in the @renovatebot/pep440 library - // https://github.com/renovatebot/pep440/pull/555 - // eslint-disable-next-line @typescript-eslint/no-explicit-any - return stringify(pyVersion as any)!; + return stringify(pyVersion)!; }; export abstract class Instance { diff --git a/typescript/base/yarn.lock b/typescript/base/yarn.lock index 946abac..d0f25db 100644 --- a/typescript/base/yarn.lock +++ b/typescript/base/yarn.lock @@ -106,10 +106,10 @@ __metadata: languageName: node linkType: hard -"@renovatebot/pep440@npm:^3.0.19": - version: 3.0.19 - resolution: "@renovatebot/pep440@npm:3.0.19" - checksum: d4465f4bec8fe231ac5428c6ed1b9844508b0e0357eeb69818ce24a373faf41dbc2d2b60b2af474bf997aea918aaadb4d75ea005bfa6358deef9a5652f53d141 +"@renovatebot/pep440@npm:^3.0.20": + version: 3.0.20 + resolution: "@renovatebot/pep440@npm:3.0.20" + checksum: f7014e1774bd7df0db8d08ea9aa8432a668f829f5f6233aee28dc598dc43a4011e5a65962a8d5f295b39b1bb550fd172b85ecb5bb47b8e9cd8ab5db69dabb8e0 languageName: node linkType: hard @@ -117,7 +117,7 @@ __metadata: version: 0.0.0-use.local resolution: "@skalenetwork/skale-contracts@workspace:." dependencies: - "@renovatebot/pep440": ^3.0.19 + "@renovatebot/pep440": ^3.0.20 "@tsconfig/recommended": ^1.0.2 "@types/node": ^20.2.5 "@typescript-eslint/eslint-plugin": ^6.0.0