From 78486b87e863bbd197c1d7470b86bcd46d55fd47 Mon Sep 17 00:00:00 2001 From: Justin Johansson Date: Thu, 2 Sep 2021 13:44:04 +0930 Subject: [PATCH] build: remove some unused dependencies (#2402) * build: remove unused dep core-js from node-api package * build: remove unused dep pretty-ms from logger-prettify package --- package.json | 1 - packages/logger-prettify/package.json | 3 +-- packages/node-api/package.json | 1 - pnpm-lock.yaml | 18 +----------------- 4 files changed, 2 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index 14d9077299c4..e9345b92381f 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,6 @@ "babel-plugin-emotion": "10.0.33", "codecov": "3.8.3", "concurrently": "6.2.1", - "core-js": "3.16.4", "cross-env": "7.0.3", "debug": "4.3.2", "detect-secrets": "1.0.6", diff --git a/packages/logger-prettify/package.json b/packages/logger-prettify/package.json index 43a97a0f8476..418bf8f1c3d7 100644 --- a/packages/logger-prettify/package.json +++ b/packages/logger-prettify/package.json @@ -43,8 +43,7 @@ "fast-safe-stringify": "2.0.8", "kleur": "3.0.3", "lodash": "4.17.21", - "prettier-bytes": "1.0.4", - "pretty-ms": "5.1.0" + "prettier-bytes": "1.0.4" }, "devDependencies": { "@types/pino": "6.3.11", diff --git a/packages/node-api/package.json b/packages/node-api/package.json index d40af3de9149..d8aa525bc5d4 100644 --- a/packages/node-api/package.json +++ b/packages/node-api/package.json @@ -43,7 +43,6 @@ "@verdaccio/config": "workspace:6.0.0-6-next.7", "@verdaccio/logger": "workspace:6.0.0-6-next.4", "@verdaccio/server": "workspace:6.0.0-6-next.16", - "core-js": "3.16.4", "debug": "4.3.2", "lodash": "4.17.21" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c7c44dc092f4..9d3f351e0c33 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -72,7 +72,6 @@ importers: babel-plugin-emotion: 10.0.33 codecov: 3.8.3 concurrently: 6.2.1 - core-js: 3.16.4 cross-env: 7.0.3 debug: 4.3.2 detect-secrets: 1.0.6 @@ -184,7 +183,6 @@ importers: babel-plugin-emotion: 10.0.33 codecov: 3.8.3 concurrently: 6.2.1 - core-js: 3.16.4 cross-env: 7.0.3 debug: 4.3.2 detect-secrets: 1.0.6 @@ -569,14 +567,12 @@ importers: lodash: 4.17.21 pino: 6.13.1 prettier-bytes: 1.0.4 - pretty-ms: 5.1.0 dependencies: dayjs: 1.10.6 fast-safe-stringify: 2.0.8 kleur: 3.0.3 lodash: 4.17.21 prettier-bytes: 1.0.4 - pretty-ms: 5.1.0 devDependencies: '@types/pino': 6.3.11 pino: 6.13.1 @@ -628,7 +624,6 @@ importers: '@verdaccio/mock': workspace:6.0.0-6-next.7 '@verdaccio/server': workspace:6.0.0-6-next.16 '@verdaccio/types': workspace:11.0.0-6-next.7 - core-js: 3.16.4 debug: 4.3.2 jest-mock-process: 1.4.1 lodash: 4.17.21 @@ -639,7 +634,6 @@ importers: '@verdaccio/config': link:../config '@verdaccio/logger': link:../logger '@verdaccio/server': link:../server - core-js: 3.16.4 debug: 4.3.2 lodash: 4.17.21 devDependencies: @@ -9378,10 +9372,6 @@ packages: requiresBuild: true dev: true - /core-js/3.16.4: - resolution: {integrity: sha512-Tq4GVE6XCjE+hcyW6hPy0ofN3hwtLudz5ZRdrlCnsnD/xkm/PWQRudzYHiKgZKUcefV6Q57fhDHjZHJP5dpfSg==} - requiresBuild: true - /core-util-is/1.0.2: resolution: {integrity: sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=} @@ -16491,6 +16481,7 @@ packages: /parse-ms/2.1.0: resolution: {integrity: sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA==} engines: {node: '>=6'} + dev: true /parse-numeric-range/1.2.0: resolution: {integrity: sha512-1q2tXpAOplPxcl8vrIGPWz1dJxxfmdRkCFcpxxMBerDnGuuHalOWF/xj9L8Nn5XoTUoB/6F0CeQBp2fMgkOYFg==} @@ -17660,13 +17651,6 @@ packages: react-is: 17.0.2 dev: true - /pretty-ms/5.1.0: - resolution: {integrity: sha512-4gaK1skD2gwscCfkswYQRmddUb2GJZtzDGRjHWadVHtK/DIKFufa12MvES6/xu1tVbUYeia5bmLcwJtZJQUqnw==} - engines: {node: '>=8'} - dependencies: - parse-ms: 2.1.0 - dev: false - /pretty-ms/7.0.1: resolution: {integrity: sha512-973driJZvxiGOQ5ONsFhOF/DtzPMOMtgC11kCpUrPGMTgqp2q/1gwzCquocrN33is0VZ5GFHXZYMM9l6h67v2Q==} engines: {node: '>=10'}