Skip to content

Commit

Permalink
@npmcli/arborist@0.0.17
Browse files Browse the repository at this point in the history
- Load root project `package.json` when running loadVirtual.
  Fix: #1690
  Fix: #1693

- Fetch metadata from registry when loading tree from outdated
  package-lock.json file.  This avoids a situation where a lockfile or
  shrinkwrap from npm v5 would result in deleting dependencies on
  install.

- Preserve `package.json` and `package-lock.json` formatting in all
  places where these files are written.
  Fix: #1662
  • Loading branch information
isaacs committed Aug 20, 2020
1 parent 281da6f commit b44768a
Show file tree
Hide file tree
Showing 8 changed files with 130 additions and 48 deletions.
1 change: 1 addition & 0 deletions node_modules/.gitignore

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

61 changes: 58 additions & 3 deletions node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js

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

35 changes: 19 additions & 16 deletions node_modules/@npmcli/arborist/lib/arborist/load-virtual.js

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

25 changes: 18 additions & 7 deletions node_modules/@npmcli/arborist/lib/arborist/reify.js

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

26 changes: 19 additions & 7 deletions node_modules/@npmcli/arborist/lib/shrinkwrap.js

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

6 changes: 3 additions & 3 deletions node_modules/@npmcli/arborist/package.json

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

22 changes: 11 additions & 11 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
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"./package.json": "./package.json"
},
"dependencies": {
"@npmcli/arborist": "^0.0.16",
"@npmcli/arborist": "^0.0.17",
"@npmcli/ci-detect": "^1.2.0",
"@npmcli/run-script": "^1.5.0",
"abbrev": "~1.1.1",
Expand Down

0 comments on commit b44768a

Please sign in to comment.