Skip to content

Commit

Permalink
Upgrade pacote
Browse files Browse the repository at this point in the history
  • Loading branch information
raineorshine committed Nov 29, 2019
1 parent 348030a commit cbb18ba
Show file tree
Hide file tree
Showing 3 changed files with 212 additions and 330 deletions.
2 changes: 1 addition & 1 deletion lib/package-managers/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function viewMany(packageName, fields, currentVersion) {
return Promise.resolve({});
}

npmConfig['full-metadata'] = _.includes(fields, 'time');
npmConfig.fullMetadata = _.includes(fields, 'time');

return pacote.packument(packageName, npmConfig).then(result =>
fields.reduce((accum, field) => Object.assign(
Expand Down
Loading

0 comments on commit cbb18ba

Please sign in to comment.