From e98735ca9f969097db1a6ec6bd891b264f097087 Mon Sep 17 00:00:00 2001 From: Moe Jangda Date: Wed, 6 Dec 2023 20:14:27 -0600 Subject: [PATCH] remove `did-jwt` dependency --- package-lock.json | 52 ++++++------------------------- packages/credentials/package.json | 3 +- 2 files changed, 10 insertions(+), 45 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7ac350677..0fd9da0c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1236,14 +1236,6 @@ "win32" ] }, - "node_modules/@scure/base": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.3.tgz", - "integrity": "sha512-/+SgoRjLq7Xlf0CWuLHq2LUZeL/w65kfzAPG5NH9pcmBhs+nunQTn4gvdwgMTIXnt9b2C/1SeL2XiysZEyIC9Q==", - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, "node_modules/@sinonjs/commons": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", @@ -4448,27 +4440,6 @@ "integrity": "sha512-hyWmRrexdhbZ1tcJUGpO95ivbRhWXz++F4Ko+n21AY5PNln2ovoJw+8ZMNDTtip+CNFQfrtLVh/w4009dXO/eQ==", "dev": true }, - "node_modules/did-jwt": { - "version": "7.4.5", - "resolved": "https://registry.npmjs.org/did-jwt/-/did-jwt-7.4.5.tgz", - "integrity": "sha512-PjUFy/yhYeivNrQI5EaqYvF+cRL0itARQlXPfAnUUcj4tm40fzCU/0yWkhAoAPfM41e8O+QVRqOXwg0cZjlVeg==", - "dependencies": { - "@noble/ciphers": "^0.4.0", - "@noble/curves": "^1.0.0", - "@noble/hashes": "^1.3.0", - "@scure/base": "^1.1.3", - "canonicalize": "^2.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/multiformats": { - "version": "9.9.0", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", - "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" - }, "node_modules/did-resolver": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/did-resolver/-/did-resolver-4.1.0.tgz", @@ -11117,18 +11088,6 @@ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, - "node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/v8-to-istanbul": { "version": "9.2.0", "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz", @@ -12617,9 +12576,8 @@ "license": "Apache-2.0", "dependencies": { "@sphereon/pex": "2.1.0", - "did-jwt": "^7.2.6", "jwt-decode": "4.0.0", - "uuid": "^9.0.0" + "uuid": "9.0.0" }, "devDependencies": { "@playwright/test": "1.40.1", @@ -12884,6 +12842,14 @@ "node": ">=14.17" } }, + "packages/credentials/node_modules/uuid": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "packages/crypto": { "name": "@web5/crypto", "version": "0.2.3", diff --git a/packages/credentials/package.json b/packages/credentials/package.json index 13f740f0d..d3c2bba4d 100644 --- a/packages/credentials/package.json +++ b/packages/credentials/package.json @@ -75,9 +75,8 @@ }, "dependencies": { "@sphereon/pex": "2.1.0", - "did-jwt": "^7.2.6", "jwt-decode": "4.0.0", - "uuid": "^9.0.0" + "uuid": "9.0.0" }, "devDependencies": { "@playwright/test": "1.40.1",