From 13d4a95ce65e50389f308b1b8d2ea8483294916f Mon Sep 17 00:00:00 2001 From: Francisco Javier Ribo Labrador Date: Tue, 13 Aug 2024 13:57:20 +0200 Subject: [PATCH] fix: upgrade dependencies --- package-lock.json | 154 +++++++++++++++------------------------------- package.json | 4 +- 2 files changed, 52 insertions(+), 106 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4854a4e67..ba4a4b10d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,10 +22,10 @@ "@stablelib/x25519": "^1.0.3", "antlr4ts": "^0.5.0-alpha.4", "assert": "^2.0.0", - "axios": "^1.6.1", + "axios": "^1.3.1", "bn.js": "^5.2.1", "buffer": "^6.0.3", - "did-jwt": "^6.11.5", + "did-jwt": "^8.0.4", "did-resolver": "^4.1.0", "elliptic": "^6.5.4", "google-protobuf": "^3.21.2", @@ -2229,7 +2229,9 @@ "license": "BSD-3-Clause" }, "node_modules/@hyperledger/identus-apollo": { - "version": "1.3.6", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@hyperledger/identus-apollo/-/identus-apollo-1.4.2.tgz", + "integrity": "sha512-iFp9n6iHkfoMOFARymD9NREKCifh97e5ZNJarj0+JQND9bJkndrcrapIqnEmqwhnmjp0/w8OruQdw25c847UPw==", "dependencies": { "@noble/curves": "1.2.0", "@noble/hashes": "1.3.1", @@ -3048,6 +3050,11 @@ "sparse-bitfield": "^3.0.3" } }, + "node_modules/@multiformats/base-x": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@multiformats/base-x/-/base-x-4.0.1.tgz", + "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==" + }, "node_modules/@nicolo-ribaudo/eslint-scope-5-internals": { "version": "5.1.1-v1", "dev": true, @@ -4279,10 +4286,6 @@ "version": "3.1.2", "license": "MIT" }, - "node_modules/@stablelib/aead": { - "version": "1.0.1", - "license": "MIT" - }, "node_modules/@stablelib/base64": { "version": "1.0.1", "license": "MIT" @@ -4298,39 +4301,6 @@ "version": "1.0.1", "license": "MIT" }, - "node_modules/@stablelib/chacha": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@stablelib/binary": "^1.0.1", - "@stablelib/wipe": "^1.0.1" - } - }, - "node_modules/@stablelib/chacha20poly1305": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@stablelib/aead": "^1.0.1", - "@stablelib/binary": "^1.0.1", - "@stablelib/chacha": "^1.0.1", - "@stablelib/constant-time": "^1.0.1", - "@stablelib/poly1305": "^1.0.1", - "@stablelib/wipe": "^1.0.1" - } - }, - "node_modules/@stablelib/constant-time": { - "version": "1.0.1", - "license": "MIT" - }, - "node_modules/@stablelib/ed25519": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "@stablelib/random": "^1.0.2", - "@stablelib/sha512": "^1.0.1", - "@stablelib/wipe": "^1.0.1" - } - }, "node_modules/@stablelib/hash": { "version": "1.0.1", "license": "MIT" @@ -4350,14 +4320,6 @@ "@stablelib/bytes": "^1.0.1" } }, - "node_modules/@stablelib/poly1305": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@stablelib/constant-time": "^1.0.1", - "@stablelib/wipe": "^1.0.1" - } - }, "node_modules/@stablelib/random": { "version": "1.0.2", "license": "MIT", @@ -4375,15 +4337,6 @@ "@stablelib/wipe": "^1.0.1" } }, - "node_modules/@stablelib/sha512": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@stablelib/binary": "^1.0.1", - "@stablelib/hash": "^1.0.1", - "@stablelib/wipe": "^1.0.1" - } - }, "node_modules/@stablelib/uuid": { "version": "1.0.2", "license": "MIT", @@ -4406,26 +4359,6 @@ "@stablelib/wipe": "^1.0.1" } }, - "node_modules/@stablelib/xchacha20": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@stablelib/binary": "^1.0.1", - "@stablelib/chacha": "^1.0.1", - "@stablelib/wipe": "^1.0.1" - } - }, - "node_modules/@stablelib/xchacha20poly1305": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@stablelib/aead": "^1.0.1", - "@stablelib/chacha20poly1305": "^1.0.1", - "@stablelib/constant-time": "^1.0.1", - "@stablelib/wipe": "^1.0.1", - "@stablelib/xchacha20": "^1.0.1" - } - }, "node_modules/@types/babel__core": { "version": "7.20.5", "dev": true, @@ -5656,10 +5589,11 @@ } }, "node_modules/axios": { - "version": "1.7.2", - "license": "MIT", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.1.tgz", + "integrity": "sha512-78pWJsQTceInlyaeBQeYZ/QgZeWS8hGeKiIJiDKQe3hEyBb7sEMq0K4gjx+Va6WHTYO4zI/RRl8qGRzn0YMadA==", "dependencies": { - "follow-redirects": "^1.15.6", + "follow-redirects": "^1.15.0", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -5973,10 +5907,6 @@ "node": ">=6.0.0" } }, - "node_modules/bech32": { - "version": "2.0.0", - "license": "MIT" - }, "node_modules/before-after-hook": { "version": "3.0.2", "dev": true, @@ -7237,21 +7167,27 @@ } }, "node_modules/did-jwt": { - "version": "6.11.6", - "license": "Apache-2.0", - "dependencies": { - "@stablelib/ed25519": "^1.0.2", - "@stablelib/random": "^1.0.1", - "@stablelib/sha256": "^1.0.1", - "@stablelib/x25519": "^1.0.2", - "@stablelib/xchacha20poly1305": "^1.0.1", - "bech32": "^2.0.0", + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/did-jwt/-/did-jwt-8.0.4.tgz", + "integrity": "sha512-KPtG7H+8GgKGMiDqFvOdNy5BBN3hpA+8xV7VygEnpst5oPIqjvcH3rTtnPF55a8bOxIzE2PudKGIXIQhekv7WA==", + "dependencies": { + "@noble/ciphers": "^0.5.0", + "@noble/curves": "^1.0.0", + "@noble/hashes": "^1.3.0", + "@scure/base": "^1.1.3", "canonicalize": "^2.0.0", - "did-resolver": "^4.0.0", - "elliptic": "^6.5.4", - "js-sha3": "^0.8.0", - "multiformats": "^9.6.5", - "uint8arrays": "^3.0.0" + "did-resolver": "^4.1.0", + "multibase": "^4.0.6", + "multiformats": "^9.6.2", + "uint8arrays": "3.1.1" + } + }, + "node_modules/did-jwt/node_modules/@noble/ciphers": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-0.5.3.tgz", + "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==", + "funding": { + "url": "https://paulmillr.com/funding/" } }, "node_modules/did-resolver": { @@ -7336,8 +7272,9 @@ "license": "ISC" }, "node_modules/elliptic": { - "version": "6.5.5", - "license": "MIT", + "version": "6.5.6", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.6.tgz", + "integrity": "sha512-mpzdtpeCLuS3BmE3pO3Cpp5bbjlOPY2Q0PgoF+Od1XZrHLYI28Xe3ossCmYCQt11FQKEYd9+PF8jymTvtWJSHQ==", "dependencies": { "bn.js": "^4.11.9", "brorand": "^1.1.0", @@ -11828,10 +11765,6 @@ "sourcemap-codec": "^1.4.8" } }, - "node_modules/js-sha3": { - "version": "0.8.0", - "license": "MIT" - }, "node_modules/js-tokens": { "version": "4.0.0", "dev": true, @@ -12980,6 +12913,19 @@ "version": "2.1.2", "license": "MIT" }, + "node_modules/multibase": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.6.tgz", + "integrity": "sha512-x23pDe5+svdLz/k5JPGCVdfn7Q5mZVMBETiC+ORfO+sor9Sgs0smJzAjfTbM5tckeCqnaUuMYoz+k3RXMmJClQ==", + "deprecated": "This module has been superseded by the multiformats module", + "dependencies": { + "@multiformats/base-x": "^4.0.1" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=6.0.0" + } + }, "node_modules/multiformats": { "version": "9.9.0", "license": "(Apache-2.0 AND MIT)" diff --git a/package.json b/package.json index 2bb1e74c2..c39a8dc3b 100644 --- a/package.json +++ b/package.json @@ -204,10 +204,10 @@ "@stablelib/x25519": "^1.0.3", "antlr4ts": "^0.5.0-alpha.4", "assert": "^2.0.0", - "axios": "^1.6.1", + "axios": "^1.3.1", "bn.js": "^5.2.1", "buffer": "^6.0.3", - "did-jwt": "^6.11.5", + "did-jwt": "^8.0.4", "did-resolver": "^4.1.0", "elliptic": "^6.5.4", "google-protobuf": "^3.21.2",