From 60b334c8b087791b9bae7d29d92c550d3b9058ac Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 27 Oct 2025 08:11:46 +0000 Subject: [PATCH] fix: upgrade bip174 from 3.0.0-rc.0 to 3.0.0 Snyk has created this PR to upgrade bip174 from 3.0.0-rc.0 to 3.0.0. See this package in npm: bip174 See this project in Snyk: https://app.snyk.io/org/rayston92/project/7a901759-fee5-4340-b7e0-a39fd8b1bfcf?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 23 +++++++++++++++++------ package.json | 2 +- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4d81dded8..195a89800 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,18 @@ { - "name": "bitcoinjs-lib", + "name": "@onekeyfe/bitcoinforksjs-lib", "version": "7.0.0-rc.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "bitcoinjs-lib", + "name": "@onekeyfe/bitcoinforksjs-lib", "version": "7.0.0-rc.0", "license": "MIT", "dependencies": { "@noble/hashes": "^1.2.0", "bech32": "^2.0.0", - "bip174": "^3.0.0-rc.0", + "big-integer": "1.6.51", + "bip174": "^3.0.0", "bs58check": "^4.0.0", "uint8array-tools": "^0.0.9", "valibot": "^0.38.0", @@ -1202,6 +1203,15 @@ "node": ">= 8.12" } }, + "node_modules/big-integer": { + "version": "1.6.51", + "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", + "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==", + "license": "Unlicense", + "engines": { + "node": ">=0.6" + } + }, "node_modules/binary-extensions": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", @@ -1215,9 +1225,10 @@ } }, "node_modules/bip174": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/bip174/-/bip174-3.0.0-rc.0.tgz", - "integrity": "sha512-EmIEluP6pp1gIYxFFPgNP/mUudaI9UVwPpbuHHLeRh+DHeM7OpxyQPTOk5BiVHjnc2HjDJmF+AO+Huw3G6AxmA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bip174/-/bip174-3.0.0.tgz", + "integrity": "sha512-N3vz3rqikLEu0d6yQL8GTrSkpYb35NQKWMR7Hlza0lOj6ZOlvQ3Xr7N9Y+JPebaCVoEUHdBeBSuLxcHr71r+Lw==", + "license": "MIT", "dependencies": { "uint8array-tools": "^0.0.9", "varuint-bitcoin": "^2.0.0" diff --git a/package.json b/package.json index 501317031..8364d3b48 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "big-integer": "1.6.51", "@noble/hashes": "^1.2.0", "bech32": "^2.0.0", - "bip174": "^3.0.0-rc.0", + "bip174": "^3.0.0", "bs58check": "^4.0.0", "uint8array-tools": "^0.0.9", "valibot": "^0.38.0",