Skip to content

Commit

Permalink
fix(deps): Add explicit dependency on safe-buffer
Browse files Browse the repository at this point in the history
This removes an implicit transitive dependency that itself relies on node_modules being flattened by package managers.

Without this explicit dependency, stricter package managers like pnpm fail to install a usable copy of this library.

Refs npm/libnpmaccess#2
Fixes #3
  • Loading branch information
evocateur authored and ruyadorno committed Sep 13, 2019
1 parent 5dbd1d7 commit 8eae5f0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 13 deletions.
32 changes: 20 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"figgy-pudding": "^3.4.1",
"lru-cache": "^5.1.1",
"make-fetch-happen": "^5.0.0",
"npm-package-arg": "^6.1.0"
"npm-package-arg": "^6.1.0",
"safe-buffer": "^5.2.0"
},
"devDependencies": {
"cacache": "^12.0.0",
Expand Down

0 comments on commit 8eae5f0

Please sign in to comment.