From 1c6246fc860a4030a96fb1ddb424708e1d45ad2a Mon Sep 17 00:00:00 2001 From: Liran Cohen Date: Wed, 14 Aug 2024 14:35:48 -0400 Subject: [PATCH] Upgrade `dwn-sdk-js` to `v0.4.5` (#160) --- package-lock.json | 116 +++++++++++++++++++++++++++++++++++----------- package.json | 8 ++-- 2 files changed, 94 insertions(+), 30 deletions(-) diff --git a/package-lock.json b/package-lock.json index a914c28..0a47ee9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@web5/dwn-server", - "version": "0.4.5", + "version": "0.4.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@web5/dwn-server", - "version": "0.4.5", + "version": "0.4.6", "dependencies": { - "@tbd54566975/dwn-sdk-js": "0.4.4", - "@tbd54566975/dwn-sql-store": "0.6.4", + "@tbd54566975/dwn-sdk-js": "0.4.5", + "@tbd54566975/dwn-sql-store": "0.6.5", "better-sqlite3": "^8.5.0", "body-parser": "^1.20.2", "bytes": "3.1.2", @@ -45,7 +45,7 @@ "@types/ws": "8.5.10", "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.8.0", - "@web5/dids": "1.1.0", + "@web5/dids": "^1.1.3", "c8": "8.0.1", "chai": "4.3.6", "chai-as-promised": "7.1.1", @@ -605,9 +605,9 @@ "dev": true }, "node_modules/@tbd54566975/dwn-sdk-js": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.4.4.tgz", - "integrity": "sha512-i4jBrKOn6ypaFQJLNG8Kc9AvR1nmZrq3A+9M4O9xiDbH60+QMPf2HsNuVOTu6Ve9V7IU8NorI/GoSryD0TknpQ==", + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.4.5.tgz", + "integrity": "sha512-UGcq9PX32oQ3sB9LfQms82Ce5secNJXUUe+W163Am2vOAAjJ8AyFG9CaIrXO8HMyEO1yZ7l3bBv57tYM9Zf70A==", "dependencies": { "@ipld/dag-cbor": "9.0.3", "@js-temporal/polyfill": "0.4.4", @@ -615,7 +615,7 @@ "@noble/curves": "1.4.2", "@noble/ed25519": "2.0.0", "@noble/secp256k1": "2.0.0", - "@web5/dids": "1.1.0", + "@web5/dids": "^1.1.3", "abstract-level": "1.0.3", "ajv": "8.12.0", "blockstore-core": "4.2.0", @@ -708,12 +708,12 @@ } }, "node_modules/@tbd54566975/dwn-sql-store": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sql-store/-/dwn-sql-store-0.6.4.tgz", - "integrity": "sha512-ivQt83MMMYsXC4qSD61lKINuJ5KnGIz4p0H61oh/zqd4ivg7ofrTnnVZBdKopvchREZ1ozxI5hcRRuBLkuLbkw==", + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sql-store/-/dwn-sql-store-0.6.5.tgz", + "integrity": "sha512-ZPdz7Ck7NMNCIOuZv+oxfxrw5lZJI/SukcLVd7PMseWZvT28D/gRcHgt0MfizeE9jLv9+ONI+0k8uc/O2NILyw==", "dependencies": { "@ipld/dag-cbor": "9.0.5", - "@tbd54566975/dwn-sdk-js": "0.4.4", + "@tbd54566975/dwn-sdk-js": "0.4.5", "kysely": "0.26.3", "multiformats": "12.0.1", "readable-stream": "4.4.2" @@ -1222,36 +1222,100 @@ } }, "node_modules/@web5/crypto": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.0.tgz", - "integrity": "sha512-z1CsgycTqiXEsS6pPlJDDLGAeGsgzfdBeWvyxLXTgh08Q8ACULmEGRXjSsgWHFn6DO6MpWFn55h/hF4wZZRxvA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.3.tgz", + "integrity": "sha512-gZJKo0scX+L53E2K/5cgEiFYxejzHP2RSg64ncF6TitOnCNxUyWjofovgufb+u3ZpGC4iuliD7V0o1C+V73Law==", "dependencies": { - "@noble/ciphers": "0.4.1", + "@noble/ciphers": "0.5.3", "@noble/curves": "1.3.0", - "@noble/hashes": "1.3.3", - "@web5/common": "1.0.0" + "@noble/hashes": "1.4.0", + "@web5/common": "1.0.1" }, "engines": { "node": ">=18.0.0" } }, "node_modules/@web5/crypto/node_modules/@noble/ciphers": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-0.4.1.tgz", - "integrity": "sha512-QCOA9cgf3Rc33owG0AYBB9wszz+Ul2kramWN8tXG44Gyciud/tbkEqvxRF/IpqQaBpRBNi9f4jdNxqB2CQCIXg==", + "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/@web5/crypto/node_modules/@noble/hashes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz", + "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@web5/crypto/node_modules/@web5/common": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@web5/common/-/common-1.0.1.tgz", + "integrity": "sha512-dxczXqzWt6HCwuNyOVBeakg6GgOpP74tVEVxBeKkb+D3XcSP96mYaDtky5ZnjY4iBYb16SaCgwje+sgevOL51A==", + "dependencies": { + "@isaacs/ttlcache": "1.4.1", + "level": "8.0.1", + "multiformats": "13.1.0", + "readable-stream": "4.4.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@web5/crypto/node_modules/abstract-level": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/abstract-level/-/abstract-level-1.0.4.tgz", + "integrity": "sha512-eUP/6pbXBkMbXFdx4IH2fVgvB7M0JvR7/lIL33zcs0IBcwjdzSSl31TOJsaCzmKSSDF9h8QYSOJux4Nd4YJqFg==", + "dependencies": { + "buffer": "^6.0.3", + "catering": "^2.1.0", + "is-buffer": "^2.0.5", + "level-supports": "^4.0.0", + "level-transcoder": "^1.0.1", + "module-error": "^1.0.1", + "queue-microtask": "^1.2.3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@web5/crypto/node_modules/level": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/level/-/level-8.0.1.tgz", + "integrity": "sha512-oPBGkheysuw7DmzFQYyFe8NAia5jFLAgEnkgWnK3OXAuJr8qFT+xBQIwokAZPME2bhPFzS8hlYcL16m8UZrtwQ==", + "dependencies": { + "abstract-level": "^1.0.4", + "browser-level": "^1.0.1", + "classic-level": "^1.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/level" + } + }, + "node_modules/@web5/crypto/node_modules/multiformats": { + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.1.0.tgz", + "integrity": "sha512-HzdtdBwxsIkzpeXzhQ5mAhhuxcHbjEHH+JQoxt7hG/2HGFjjwyolLo7hbaexcnhoEuV4e0TNJ8kkpMjiEYY4VQ==" + }, "node_modules/@web5/dids": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@web5/dids/-/dids-1.1.0.tgz", - "integrity": "sha512-d9pKf/DW+ziUiV5g3McC71utyAhQyT1tYGPbQSYWt2ji6FHGNC6tffHMfLXXK/W+vbwV3eNTn06JqTXRaYhxBA==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@web5/dids/-/dids-1.1.3.tgz", + "integrity": "sha512-M9EfsEYcOtYuEvUQjow4vpxXbD0Sz5H8EuDXMtwuvP4UdYL0ATl+60F8+8HDmwPFeUy6M2wxuoixrLDwSRFwZA==", "dependencies": { "@decentralized-identity/ion-sdk": "1.0.4", "@dnsquery/dns-packet": "6.1.1", "@web5/common": "1.0.0", - "@web5/crypto": "1.0.0", + "@web5/crypto": "1.0.3", "abstract-level": "1.0.4", "bencode": "4.0.0", "buffer": "6.0.3", diff --git a/package.json b/package.json index daf17c8..bd0ca56 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@web5/dwn-server", "type": "module", - "version": "0.4.5", + "version": "0.4.6", "files": [ "dist", "src" @@ -26,8 +26,8 @@ "url": "https://github.com/TBD54566975/dwn-server/issues" }, "dependencies": { - "@tbd54566975/dwn-sdk-js": "0.4.4", - "@tbd54566975/dwn-sql-store": "0.6.4", + "@tbd54566975/dwn-sdk-js": "0.4.5", + "@tbd54566975/dwn-sql-store": "0.6.5", "better-sqlite3": "^8.5.0", "body-parser": "^1.20.2", "bytes": "3.1.2", @@ -60,7 +60,7 @@ "@types/ws": "8.5.10", "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.8.0", - "@web5/dids": "1.1.0", + "@web5/dids": "^1.1.3", "c8": "8.0.1", "chai": "4.3.6", "chai-as-promised": "7.1.1",