From abf56b91da745f4c89a469dd1a1550521239e306 Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Wed, 3 Jan 2024 14:19:53 +0000 Subject: [PATCH] Remove unused dependencies (#5102) --- frontend/openchat-agent/package.json | 9 ++------ frontend/openchat-client/package.json | 3 --- frontend/openchat-service-worker/package.json | 2 -- frontend/openchat-shared/package.json | 9 +------- frontend/openchat-worker/package.json | 1 - frontend/package-lock.json | 21 +------------------ 6 files changed, 4 insertions(+), 41 deletions(-) diff --git a/frontend/openchat-agent/package.json b/frontend/openchat-agent/package.json index b09d5b8497..5f9847f81f 100644 --- a/frontend/openchat-agent/package.json +++ b/frontend/openchat-agent/package.json @@ -26,8 +26,7 @@ "js-sha3": "^0.8.0", "md5": "^2.3.0", "uuid": "^9.0.0", - "openchat-shared": "*", - "core-js": "^3.32.0" + "openchat-shared": "*" }, "devDependencies": { "@babel/core": "^7.22.10", @@ -45,11 +44,7 @@ "eslint-plugin-prettier": "^5.0.0", "jest": "^29.6.2", "jest-environment-jsdom": "^29.6.2", - "process": "^0.11.10", "ts-jest": "^29.1.1", - "ts-loader": "^9.4.4", - "wait-on": "^7.0.1", - "webpack": "^5.88.2", - "webpack-cli": "^5.1.4" + "wait-on": "^7.0.1" } } diff --git a/frontend/openchat-client/package.json b/frontend/openchat-client/package.json index 078698c78f..ea0c2a7fa9 100644 --- a/frontend/openchat-client/package.json +++ b/frontend/openchat-client/package.json @@ -20,7 +20,6 @@ "@dfinity/candid": "^0.20.2", "@dfinity/identity": "^0.20.2", "@dfinity/principal": "^0.20.2", - "@fingerprintjs/botd": "^1.6.2", "drange": "^2.0.1", "identicon.js": "^2.3.3", "md5": "^2.3.0", @@ -47,10 +46,8 @@ "eslint-plugin-prettier": "^5.0.0", "jest": "^29.6.2", "jest-environment-jsdom": "^29.6.2", - "process": "^0.11.10", "ts-jest": "^29.1.1", "typescript": "^5.1.6", - "url": "^0.11.1", "wait-on": "^7.0.1" } } diff --git a/frontend/openchat-service-worker/package.json b/frontend/openchat-service-worker/package.json index 610e1eca5e..4e5291492d 100644 --- a/frontend/openchat-service-worker/package.json +++ b/frontend/openchat-service-worker/package.json @@ -22,8 +22,6 @@ "@typescript-eslint/parser": "^6.4.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", - "process": "^0.11.10", - "ts-loader": "^9.4.4", "wait-on": "^7.0.1" } } diff --git a/frontend/openchat-shared/package.json b/frontend/openchat-shared/package.json index 0fc6a59b55..948fe116c0 100644 --- a/frontend/openchat-shared/package.json +++ b/frontend/openchat-shared/package.json @@ -16,15 +16,11 @@ "author": "julian.jelfs@gmail.com", "dependencies": { "@dfinity/agent": "^0.20.2", - "@dfinity/auth-client": "^0.20.2", "@dfinity/candid": "^0.20.2", "@dfinity/identity": "^0.20.2", "@dfinity/principal": "^0.20.2", "drange": "^2.0.1", - "idb": "^7.1.1", - "identicon.js": "^2.3.3", - "md5": "^2.3.0", - "uuid": "^9.0.0" + "rollbar": "^2.26.2" }, "devDependencies": { "@babel/core": "^7.22.10", @@ -32,8 +28,6 @@ "@testing-library/jest-dom": "^6.0.0", "@types/identicon.js": "^2.3.1", "@types/jest": "^29.5.3", - "@types/md5": "^2.3.2", - "@types/uuid": "^9.0.2", "@typescript-eslint/eslint-plugin": "^6.4.0", "@typescript-eslint/parser": "^6.4.0", "babel-jest": "^29.6.2", @@ -42,7 +36,6 @@ "eslint-plugin-prettier": "^5.0.0", "jest": "^29.6.2", "jest-environment-jsdom": "^29.6.2", - "process": "^0.11.10", "ts-jest": "^29.1.1", "wait-on": "^7.0.1" } diff --git a/frontend/openchat-worker/package.json b/frontend/openchat-worker/package.json index bf7037b49c..4d97f610a2 100644 --- a/frontend/openchat-worker/package.json +++ b/frontend/openchat-worker/package.json @@ -23,7 +23,6 @@ "@typescript-eslint/parser": "^6.4.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", - "process": "^0.11.10", "ts-loader": "^9.4.4", "typescript": "^5.1.6", "wait-on": "^7.0.1" diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 1028ff504b..bb5cb195ba 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -20932,15 +20932,11 @@ "version": "1.0.0", "dependencies": { "@dfinity/agent": "^0.20.2", - "@dfinity/auth-client": "^0.20.2", "@dfinity/candid": "^0.20.2", "@dfinity/identity": "^0.20.2", "@dfinity/principal": "^0.20.2", "drange": "^2.0.1", - "idb": "^7.1.1", - "identicon.js": "^2.3.3", - "md5": "^2.3.0", - "uuid": "^9.0.0" + "rollbar": "^2.26.2" }, "devDependencies": { "@babel/core": "^7.22.10", @@ -20948,8 +20944,6 @@ "@testing-library/jest-dom": "^6.0.0", "@types/identicon.js": "^2.3.1", "@types/jest": "^29.5.3", - "@types/md5": "^2.3.2", - "@types/uuid": "^9.0.2", "@typescript-eslint/eslint-plugin": "^6.4.0", "@typescript-eslint/parser": "^6.4.0", "babel-jest": "^29.6.2", @@ -20980,19 +20974,6 @@ "@dfinity/principal": "^0.20.2" } }, - "openchat-shared/node_modules/@dfinity/auth-client": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@dfinity/auth-client/-/auth-client-0.20.2.tgz", - "integrity": "sha512-HP1vTktFldkuQtv5JBQ3/IsnzV5UK3ma405jpCGYNq95kqgFEx746Ja3FrPw4x9dbAulOtu/Zc4zK9lcLv87mw==", - "dependencies": { - "idb": "^7.0.2" - }, - "peerDependencies": { - "@dfinity/agent": "^0.20.2", - "@dfinity/identity": "^0.20.2", - "@dfinity/principal": "^0.20.2" - } - }, "openchat-shared/node_modules/@dfinity/candid": { "version": "0.20.2", "resolved": "https://registry.npmjs.org/@dfinity/candid/-/candid-0.20.2.tgz",