From c217917d227d23e6b2ff7aca756ef8aab373136d Mon Sep 17 00:00:00 2001 From: jojozhuang Date: Mon, 20 Oct 2025 22:38:08 -0700 Subject: [PATCH 1/5] clean up hawk --- package-lock.json | 139 ---------------------------------------------- package.json | 1 - 2 files changed, 140 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6852a93c..352b82bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,6 @@ "bootstrap": "^4.6.1", "core-js": "^2.6.12", "express": "^4.17.2", - "hawk": "^7.1.2", "ngx-monaco-editor-v2": "^20.3.0", "rimraf": "^2.6.3", "rxjs": "^6.6.7", @@ -4839,66 +4838,6 @@ "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@hapi/b64": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@hapi/b64/-/b64-4.2.1.tgz", - "integrity": "sha512-zqHpQuH5CBMw6hADzKfU/IGNrxq1Q+/wTYV+OiZRQN9F3tMyk+9BUMeBvFRMamduuqL8iSp62QAnJ+7ATiYLWA==", - "deprecated": "This version has been deprecated and is no longer supported or maintained", - "dependencies": { - "@hapi/hoek": "8.x.x" - } - }, - "node_modules/@hapi/boom": { - "version": "7.4.11", - "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", - "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", - "deprecated": "This version has been deprecated and is no longer supported or maintained", - "dependencies": { - "@hapi/hoek": "8.x.x" - } - }, - "node_modules/@hapi/bounce": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@hapi/bounce/-/bounce-1.3.2.tgz", - "integrity": "sha512-3bnb1AlcEByFZnpDIidxQyw1Gds81z/1rSqlx4bIEE+wUN0ATj0D49B5cE1wGocy90Rp/de4tv7GjsKd5RQeew==", - "deprecated": "This version has been deprecated and is no longer supported or maintained", - "dependencies": { - "@hapi/boom": "7.x.x", - "@hapi/hoek": "^8.3.1" - } - }, - "node_modules/@hapi/cryptiles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@hapi/cryptiles/-/cryptiles-4.2.1.tgz", - "integrity": "sha512-XoqgKsHK0l/VpqPs+tr6j6vE+VQ3+2bkF2stvttmc7xAOf1oSAwHcJ0tlp/6MxMysktt1IEY0Csy3khKaP9/uQ==", - "deprecated": "This version has been deprecated and is no longer supported or maintained", - "dependencies": { - "@hapi/boom": "7.x.x" - } - }, - "node_modules/@hapi/hoek": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-8.5.1.tgz", - "integrity": "sha512-yN7kbciD87WzLGc5539Tn0sApjyiGHAJgKvG9W8C7O+6c7qmoQMfVs0W4bX17eqz6C78QJqqFrtgdK5EWf6Qow==", - "deprecated": "This version has been deprecated and is no longer supported or maintained" - }, - "node_modules/@hapi/sntp": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@hapi/sntp/-/sntp-3.1.2.tgz", - "integrity": "sha512-i2UehKbFPKtKVXhp4v7wV3qJxkGV2TAPlZ5YSpmsqv/2eygXYYI+etBJ5r4T8kbyslhxgqQyHNS6xstL92Vmrg==", - "dependencies": { - "@hapi/boom": "7.x.x", - "@hapi/bounce": "1.x.x", - "@hapi/hoek": "8.x.x", - "@hapi/teamwork": "3.x.x" - } - }, - "node_modules/@hapi/teamwork": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/@hapi/teamwork/-/teamwork-3.3.1.tgz", - "integrity": "sha512-61tiqWCYvMKP7fCTXy0M4VE6uNIwA0qvgFoiDubgfj7uqJ0fdHJFQNnVPGrxhLWlwz0uBPWrQlBH7r8y9vFITQ==", - "deprecated": "This version has been deprecated and is no longer supported or maintained" - }, "node_modules/@humanfs/core": { "version": "0.19.1", "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", @@ -12435,18 +12374,6 @@ "node": ">= 0.4" } }, - "node_modules/hawk": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/hawk/-/hawk-7.1.2.tgz", - "integrity": "sha512-Pa8cMp2f/pFUF9B7cJuBHrF8PYPQmVXe2CfxyrgUmmfRNHMHuQOBpIFHk/eCFrHLVqLlAf2kU7BRxks7814TmA==", - "dependencies": { - "@hapi/b64": "4.x.x", - "@hapi/boom": "7.x.x", - "@hapi/cryptiles": "4.x.x", - "@hapi/hoek": "8.x.x", - "@hapi/sntp": "3.x.x" - } - }, "node_modules/homedir-polyfill": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", @@ -22469,60 +22396,6 @@ "levn": "^0.4.1" } }, - "@hapi/b64": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@hapi/b64/-/b64-4.2.1.tgz", - "integrity": "sha512-zqHpQuH5CBMw6hADzKfU/IGNrxq1Q+/wTYV+OiZRQN9F3tMyk+9BUMeBvFRMamduuqL8iSp62QAnJ+7ATiYLWA==", - "requires": { - "@hapi/hoek": "8.x.x" - } - }, - "@hapi/boom": { - "version": "7.4.11", - "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", - "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", - "requires": { - "@hapi/hoek": "8.x.x" - } - }, - "@hapi/bounce": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@hapi/bounce/-/bounce-1.3.2.tgz", - "integrity": "sha512-3bnb1AlcEByFZnpDIidxQyw1Gds81z/1rSqlx4bIEE+wUN0ATj0D49B5cE1wGocy90Rp/de4tv7GjsKd5RQeew==", - "requires": { - "@hapi/boom": "7.x.x", - "@hapi/hoek": "^8.3.1" - } - }, - "@hapi/cryptiles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@hapi/cryptiles/-/cryptiles-4.2.1.tgz", - "integrity": "sha512-XoqgKsHK0l/VpqPs+tr6j6vE+VQ3+2bkF2stvttmc7xAOf1oSAwHcJ0tlp/6MxMysktt1IEY0Csy3khKaP9/uQ==", - "requires": { - "@hapi/boom": "7.x.x" - } - }, - "@hapi/hoek": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-8.5.1.tgz", - "integrity": "sha512-yN7kbciD87WzLGc5539Tn0sApjyiGHAJgKvG9W8C7O+6c7qmoQMfVs0W4bX17eqz6C78QJqqFrtgdK5EWf6Qow==" - }, - "@hapi/sntp": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@hapi/sntp/-/sntp-3.1.2.tgz", - "integrity": "sha512-i2UehKbFPKtKVXhp4v7wV3qJxkGV2TAPlZ5YSpmsqv/2eygXYYI+etBJ5r4T8kbyslhxgqQyHNS6xstL92Vmrg==", - "requires": { - "@hapi/boom": "7.x.x", - "@hapi/bounce": "1.x.x", - "@hapi/hoek": "8.x.x", - "@hapi/teamwork": "3.x.x" - } - }, - "@hapi/teamwork": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/@hapi/teamwork/-/teamwork-3.3.1.tgz", - "integrity": "sha512-61tiqWCYvMKP7fCTXy0M4VE6uNIwA0qvgFoiDubgfj7uqJ0fdHJFQNnVPGrxhLWlwz0uBPWrQlBH7r8y9vFITQ==" - }, "@humanfs/core": { "version": "0.19.1", "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", @@ -27326,18 +27199,6 @@ "function-bind": "^1.1.2" } }, - "hawk": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/hawk/-/hawk-7.1.2.tgz", - "integrity": "sha512-Pa8cMp2f/pFUF9B7cJuBHrF8PYPQmVXe2CfxyrgUmmfRNHMHuQOBpIFHk/eCFrHLVqLlAf2kU7BRxks7814TmA==", - "requires": { - "@hapi/b64": "4.x.x", - "@hapi/boom": "7.x.x", - "@hapi/cryptiles": "4.x.x", - "@hapi/hoek": "8.x.x", - "@hapi/sntp": "3.x.x" - } - }, "homedir-polyfill": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", diff --git a/package.json b/package.json index 2b5cd182..580bd082 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,6 @@ "bootstrap": "^4.6.1", "core-js": "^2.6.12", "express": "^4.17.2", - "hawk": "^7.1.2", "ngx-monaco-editor-v2": "^20.3.0", "rimraf": "^2.6.3", "rxjs": "^6.6.7", From 3274f445ba15aef0fdf7de79ff9963b141a6c9cb Mon Sep 17 00:00:00 2001 From: jojozhuang Date: Mon, 20 Oct 2025 22:42:38 -0700 Subject: [PATCH 2/5] remove serialize-javascript --- package-lock.json | 19 ++----------------- package.json | 1 - 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 352b82bd..3b216f24 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,6 @@ "rimraf": "^2.6.3", "rxjs": "^6.6.7", "rxjs-compat": "^6.6.7", - "serialize-javascript": "^5.0.1", "tslib": "^2.3.1", "zone.js": "~0.15.1" }, @@ -16333,6 +16332,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, "dependencies": { "safe-buffer": "^5.1.0" } @@ -17066,14 +17066,6 @@ "node": ">= 0.8" } }, - "node_modules/serialize-javascript": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", - "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", - "dependencies": { - "randombytes": "^2.1.0" - } - }, "node_modules/serve-index": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", @@ -29904,6 +29896,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, "requires": { "safe-buffer": "^5.1.0" } @@ -30426,14 +30419,6 @@ } } }, - "serialize-javascript": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", - "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", - "requires": { - "randombytes": "^2.1.0" - } - }, "serve-index": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", diff --git a/package.json b/package.json index 580bd082..b5fdfe2d 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,6 @@ "rimraf": "^2.6.3", "rxjs": "^6.6.7", "rxjs-compat": "^6.6.7", - "serialize-javascript": "^5.0.1", "tslib": "^2.3.1", "zone.js": "~0.15.1" }, From 1dde39debe8565cdbb47f193255e359a211f2677 Mon Sep 17 00:00:00 2001 From: jojozhuang Date: Mon, 20 Oct 2025 22:47:37 -0700 Subject: [PATCH 3/5] move express to dev --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3b216f24..406a37c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,6 @@ "@angular/router": "^20.3.6", "bootstrap": "^4.6.1", "core-js": "^2.6.12", - "express": "^4.17.2", "ngx-monaco-editor-v2": "^20.3.0", "rimraf": "^2.6.3", "rxjs": "^6.6.7", @@ -42,6 +41,7 @@ "eslint": "^9.37.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", + "express": "^4.17.2", "jasmine-core": "~5.1.1", "jasmine-spec-reporter": "~7.0.0", "karma": "~6.4.2", diff --git a/package.json b/package.json index b5fdfe2d..71910377 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "@angular/router": "^20.3.6", "bootstrap": "^4.6.1", "core-js": "^2.6.12", - "express": "^4.17.2", "ngx-monaco-editor-v2": "^20.3.0", "rimraf": "^2.6.3", "rxjs": "^6.6.7", @@ -54,6 +53,7 @@ "eslint": "^9.37.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", + "express": "^4.17.2", "jasmine-core": "~5.1.1", "jasmine-spec-reporter": "~7.0.0", "karma": "~6.4.2", From cbe8c2c0b3ea774650c1d808835fea71c256a9df Mon Sep 17 00:00:00 2001 From: jojozhuang Date: Mon, 20 Oct 2025 22:53:45 -0700 Subject: [PATCH 4/5] remove core.js --- package-lock.json | 13 ------------- package.json | 1 - 2 files changed, 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 406a37c8..8f7786e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,6 @@ "@angular/platform-browser-dynamic": "^20.3.6", "@angular/router": "^20.3.6", "bootstrap": "^4.6.1", - "core-js": "^2.6.12", "ngx-monaco-editor-v2": "^20.3.0", "rimraf": "^2.6.3", "rxjs": "^6.6.7", @@ -10293,13 +10292,6 @@ "randombytes": "^2.1.0" } }, - "node_modules/core-js": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", - "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", - "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", - "hasInstallScript": true - }, "node_modules/core-js-compat": { "version": "3.46.0", "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.46.0.tgz", @@ -25788,11 +25780,6 @@ } } }, - "core-js": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", - "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==" - }, "core-js-compat": { "version": "3.46.0", "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.46.0.tgz", diff --git a/package.json b/package.json index 71910377..05e3975d 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,6 @@ "@angular/platform-browser-dynamic": "^20.3.6", "@angular/router": "^20.3.6", "bootstrap": "^4.6.1", - "core-js": "^2.6.12", "ngx-monaco-editor-v2": "^20.3.0", "rimraf": "^2.6.3", "rxjs": "^6.6.7", From b92cca5ee7807ba2be4a25366646bfacf2fb2cf0 Mon Sep 17 00:00:00 2001 From: jojozhuang Date: Mon, 20 Oct 2025 23:00:48 -0700 Subject: [PATCH 5/5] remove lodash --- package-lock.json | 1 - package.json | 1 - 2 files changed, 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f7786e9..61413a54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -48,7 +48,6 @@ "karma-coverage": "~2.2.1", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", - "lodash": "^4.17.21", "prettier": "^3.6.2", "protractor": "~7.0.0", "ts-node": "~4.1.0", diff --git a/package.json b/package.json index 05e3975d..903db219 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,6 @@ "karma-coverage": "~2.2.1", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", - "lodash": "^4.17.21", "prettier": "^3.6.2", "protractor": "~7.0.0", "ts-node": "~4.1.0",