From a2e04edf943479e3360f4a424283170dfca02a6e Mon Sep 17 00:00:00 2001 From: Fernando Pelliccioni Date: Sat, 7 Sep 2024 15:55:03 +0200 Subject: [PATCH] feat: BCH 2024 network upgrade --- package-lock.json | 34 +++++++++++++++++----------------- package.json | 2 +- test/node.test.js | 4 ++-- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index 91a2adb..fef1742 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@knuth/bch", - "version": "2.3.0", + "version": "2.4.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@knuth/bch", - "version": "2.3.0", + "version": "2.4.0", "license": "MIT", "dependencies": { - "@knuth/bch-native": "^1.3.0", + "@knuth/bch-native": "^1.4.0", "bluebird": "^3.7.2", "memoizee": "^0.4.14" }, @@ -1056,13 +1056,13 @@ } }, "node_modules/@knuth/bch-native": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@knuth/bch-native/-/bch-native-1.3.0.tgz", - "integrity": "sha512-MMxQWREuG8b7V4nKGXau6HZ9K/BlwwrrCXPBemPsl4iRJMnJGBuX4F8mZpfL7Ycn2UzxIo6ZJNvJvIW/+to9yA==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@knuth/bch-native/-/bch-native-1.4.0.tgz", + "integrity": "sha512-xfAbv7rQZHi7hJzjLcnxVgKt5d4mgEQQKXv1N2bsE/e8GNNgGkraI8DoQPUXaehJw+kBL1U/xXRcT2zAGpiRzw==", "hasInstallScript": true, "dependencies": { "@mapbox/node-pre-gyp": "^1.0.11", - "nan": "^2.17.0" + "nan": "^2.20.0" }, "engines": { "node": ">=12.0.0", @@ -4838,9 +4838,9 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/nan": { - "version": "2.17.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz", - "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==" + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.20.0.tgz", + "integrity": "sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==" }, "node_modules/natural-compare": { "version": "1.4.0", @@ -7289,12 +7289,12 @@ } }, "@knuth/bch-native": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@knuth/bch-native/-/bch-native-1.3.0.tgz", - "integrity": "sha512-MMxQWREuG8b7V4nKGXau6HZ9K/BlwwrrCXPBemPsl4iRJMnJGBuX4F8mZpfL7Ycn2UzxIo6ZJNvJvIW/+to9yA==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@knuth/bch-native/-/bch-native-1.4.0.tgz", + "integrity": "sha512-xfAbv7rQZHi7hJzjLcnxVgKt5d4mgEQQKXv1N2bsE/e8GNNgGkraI8DoQPUXaehJw+kBL1U/xXRcT2zAGpiRzw==", "requires": { "@mapbox/node-pre-gyp": "^1.0.11", - "nan": "^2.17.0" + "nan": "^2.20.0" } }, "@mapbox/node-pre-gyp": { @@ -10128,9 +10128,9 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "nan": { - "version": "2.17.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz", - "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==" + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.20.0.tgz", + "integrity": "sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==" }, "natural-compare": { "version": "1.4.0", diff --git a/package.json b/package.json index 898d807..294260d 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "homepage": "https://github.com/k-nuth/js-api#readme", "dependencies": { "bluebird": "^3.7.2", - "@knuth/bch-native": "^1.3.0", + "@knuth/bch-native": "^1.4.0", "memoizee": "^0.4.14" }, "devDependencies": { diff --git a/test/node.test.js b/test/node.test.js index 3e4e9cb..973d85d 100644 --- a/test/node.test.js +++ b/test/node.test.js @@ -122,8 +122,8 @@ describe('full indexed node tests', () => { it('node information', async () => { - expect(node_.capi_version).toEqual("0.47.0"); - expect(node_.cppapi_version).toEqual("0.44.0"); + expect(node_.capi_version).toEqual("0.48.0"); + expect(node_.cppapi_version).toEqual("0.45.0"); // expect(node_.version).toEqual("2.2.0"); expect(node_.microarchitecture).toEqual("ZLm9Pjh"); expect(node_.march_names).toEqual("64 bits, CMOV, CX8, FPU, FXSR, MMX, SCE, SSE, SSE2, CX16, LAHF-SAHF, POPCNT, SSE3, SSE4.1, SSE4.2, SSSE3, AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT ABM, MOVBE, XSAVE");