Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2021-07-22 17:49:40 +0300
committerGar <gar+gh@danger.computer>2021-08-11 19:36:43 +0300
commita1bdbea974ebfc6694b4c8ad5da86215c2924dde (patch)
tree3b1ab9b288ee9ed84afdcec2cb8ca7ee1f55ca46 /package.json
parentd1812f1a627d6a4d4cb6d07d7735d2d2cc2cf264 (diff)
deps: remove byte-size
In its latest release, byte-size dropped support for node versions lower than 14. The cli currently supports node 10 and up. The actual functionality we needed and was using was extremely limited in scope, and didn't warrant an external module. It's just pretty printing a file size, and the files we are dealing with are limited in size so we don't need to support so many suffixes. PR-URL: https://github.com/npm/cli/pull/3569 Credit: @wraithgar Close: #3569 Reviewed-by: @isaacs
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 0 insertions, 2 deletions
diff --git a/package.json b/package.json
index 635a27582..8ae29c538 100644
--- a/package.json
+++ b/package.json
@@ -62,7 +62,6 @@
"ansicolors": "~0.3.2",
"ansistyles": "~0.1.3",
"archy": "~1.0.0",
- "byte-size": "^7.0.1",
"cacache": "^15.2.0",
"chalk": "^4.1.2",
"chownr": "^2.0.0",
@@ -132,7 +131,6 @@
"ansicolors",
"ansistyles",
"archy",
- "byte-size",
"cacache",
"chalk",
"chownr",