Skip to content

Commit

Permalink
pacote@9.5.5
Browse files Browse the repository at this point in the history
Infer the ownership of all unpacked files in node_modules, so that we
never have user-owned files in root-owned folders, or root-owned files
in user-owned folders.

This prevents one of the last remaining issues that bites users who use
`sudo` unnecessarily.  The only remaining issue is to no longer drop
perms when running scripts as root, but that is a breaking change which
will come in v7.
  • Loading branch information
isaacs committed Aug 12, 2019
1 parent 238f8c3 commit e7e9895
Show file tree
Hide file tree
Showing 7 changed files with 82 additions and 43 deletions.
12 changes: 12 additions & 0 deletions node_modules/pacote/CHANGELOG.md

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

2 changes: 1 addition & 1 deletion node_modules/pacote/LICENSE

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

75 changes: 51 additions & 24 deletions node_modules/pacote/extract.js

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

2 changes: 0 additions & 2 deletions node_modules/pacote/lib/fetchers/file.js

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

23 changes: 12 additions & 11 deletions node_modules/pacote/package.json

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

9 changes: 5 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -110,7 +110,7 @@
"once": "~1.4.0",
"opener": "^1.5.1",
"osenv": "^0.1.5",
"pacote": "^9.5.4",
"pacote": "^9.5.5",
"path-is-inside": "~1.0.2",
"promise-inflight": "~1.0.1",
"qrcode-terminal": "^0.12.0",
Expand Down

0 comments on commit e7e9895

Please sign in to comment.