From cd2425668d31f0f797bfea594dacea0fca50241d Mon Sep 17 00:00:00 2001 From: LiranCohen Date: Thu, 28 Sep 2023 16:55:55 -0400 Subject: [PATCH] update chai to the latest version after CVE-2023-43646 (#230) --- package-lock.json | 71 ++++++++++++++------------ packages/agent/package.json | 4 +- packages/api/package.json | 4 +- packages/common/package.json | 4 +- packages/credentials/package.json | 4 +- packages/crypto/package.json | 4 +- packages/dids/package.json | 4 +- packages/identity-agent/package.json | 4 +- packages/old/pre-polyrepo/package.json | 2 +- packages/proxy-agent/package.json | 4 +- packages/user-agent/package.json | 4 +- 11 files changed, 58 insertions(+), 51 deletions(-) diff --git a/package-lock.json b/package-lock.json index 640b0f2a0..51a9ac96b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -810,9 +810,10 @@ } }, "node_modules/@types/chai": { - "version": "4.3.5", - "dev": true, - "license": "MIT" + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-VOVRLM1mBxIRxydiViqPcKn6MIxZytrbMpd6RJLIWKxUNr3zux8no0Oc7kJx0WAPIitgZ0gkrDS+btlqQpubpw==", + "dev": true }, "node_modules/@types/chai-as-promised": { "version": "7.1.5", @@ -2046,17 +2047,18 @@ } }, "node_modules/chai": { - "version": "4.3.7", + "version": "4.3.10", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.10.tgz", + "integrity": "sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==", "dev": true, - "license": "MIT", "dependencies": { "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^4.1.2", - "get-func-name": "^2.0.0", - "loupe": "^2.3.1", + "check-error": "^1.0.3", + "deep-eql": "^4.1.3", + "get-func-name": "^2.0.2", + "loupe": "^2.3.6", "pathval": "^1.1.1", - "type-detect": "^4.0.5" + "type-detect": "^4.0.8" }, "engines": { "node": ">=4" @@ -2103,9 +2105,13 @@ } }, "node_modules/check-error": { - "version": "1.0.2", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.3.tgz", + "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==", "dev": true, - "license": "MIT", + "dependencies": { + "get-func-name": "^2.0.2" + }, "engines": { "node": "*" } @@ -3572,9 +3578,10 @@ } }, "node_modules/get-func-name": { - "version": "2.0.0", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", "dev": true, - "license": "MIT", "engines": { "node": "*" } @@ -8345,7 +8352,7 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", @@ -8353,7 +8360,7 @@ "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", @@ -8393,7 +8400,7 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", @@ -8403,7 +8410,7 @@ "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", @@ -8438,14 +8445,14 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", @@ -8478,7 +8485,7 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", "@typescript-eslint/eslint-plugin": "6.4.0", @@ -8487,7 +8494,7 @@ "@web5/crypto": "0.1.6", "@web5/dids": "0.1.9", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "esbuild": "0.16.17", "eslint": "8.47.0", "eslint-plugin-mocha": "10.1.0", @@ -8572,7 +8579,7 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/ed2curve": "0.2.2", "@types/eslint": "8.44.2", @@ -8582,7 +8589,7 @@ "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", @@ -8622,7 +8629,7 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", @@ -8630,7 +8637,7 @@ "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", @@ -8664,14 +8671,14 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", @@ -8706,14 +8713,14 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", @@ -8748,14 +8755,14 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", diff --git a/packages/agent/package.json b/packages/agent/package.json index ca82c4157..f5ce9b741 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -77,7 +77,7 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", @@ -85,7 +85,7 @@ "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", diff --git a/packages/api/package.json b/packages/api/package.json index a10de3fc6..71adba928 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -87,7 +87,7 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", @@ -97,7 +97,7 @@ "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", diff --git a/packages/common/package.json b/packages/common/package.json index 9f93dff3d..0c7237fe9 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -72,14 +72,14 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", diff --git a/packages/credentials/package.json b/packages/credentials/package.json index 3bd2a6bdc..16edb5164 100644 --- a/packages/credentials/package.json +++ b/packages/credentials/package.json @@ -79,7 +79,7 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", "@typescript-eslint/eslint-plugin": "6.4.0", @@ -88,7 +88,7 @@ "@web5/crypto": "0.1.6", "@web5/dids": "0.1.9", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "esbuild": "0.16.17", "eslint": "8.47.0", "eslint-plugin-mocha": "10.1.0", diff --git a/packages/crypto/package.json b/packages/crypto/package.json index 6c3b65963..777eea106 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -80,7 +80,7 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/ed2curve": "0.2.2", "@types/eslint": "8.44.2", @@ -90,7 +90,7 @@ "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", diff --git a/packages/dids/package.json b/packages/dids/package.json index d53bb101c..a2fa3cd6e 100644 --- a/packages/dids/package.json +++ b/packages/dids/package.json @@ -85,7 +85,7 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", @@ -93,7 +93,7 @@ "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", diff --git a/packages/identity-agent/package.json b/packages/identity-agent/package.json index c4b83be76..032b0e2ad 100644 --- a/packages/identity-agent/package.json +++ b/packages/identity-agent/package.json @@ -72,14 +72,14 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", diff --git a/packages/old/pre-polyrepo/package.json b/packages/old/pre-polyrepo/package.json index 5d7d28a03..9241ee887 100644 --- a/packages/old/pre-polyrepo/package.json +++ b/packages/old/pre-polyrepo/package.json @@ -52,7 +52,7 @@ ], "license": "Apache-2.0", "devDependencies": { - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.36.0", diff --git a/packages/proxy-agent/package.json b/packages/proxy-agent/package.json index 7285ef7e7..e7f161753 100644 --- a/packages/proxy-agent/package.json +++ b/packages/proxy-agent/package.json @@ -74,14 +74,14 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0", diff --git a/packages/user-agent/package.json b/packages/user-agent/package.json index 8c44460e2..2350c6823 100644 --- a/packages/user-agent/package.json +++ b/packages/user-agent/package.json @@ -74,14 +74,14 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@types/chai": "4.3.5", + "@types/chai": "4.3.6", "@types/chai-as-promised": "7.1.5", "@types/eslint": "8.44.2", "@types/mocha": "10.0.1", "@typescript-eslint/eslint-plugin": "6.4.0", "@typescript-eslint/parser": "6.4.0", "c8": "8.0.1", - "chai": "4.3.7", + "chai": "4.3.10", "chai-as-promised": "7.1.1", "esbuild": "0.16.17", "eslint": "8.47.0",