Skip to content

fix(diff): set option "where" for pacote - #2822

Merged
ruyadorno merged 1 commit into
npm:release/v7.6.1from
ruyadorno:diff-set-where-pacote-option
Mar 4, 2021
Merged

ruyadorno merged 1 commit into
npm:release/v7.6.1from
ruyadorno:diff-set-where-pacote-option

Conversation

@ruyadorno

Copy link
Copy Markdown
Contributor

pacote expects a where option that sets the cwd for all its
operations, ref: https://github.com/npm/pacote#options

This change properly sets that option in libnpmdiff options that will
then properly forward it to pacote, this is specially important for when
reading local file system specs.

@ruyadorno
ruyadorno requested a review from a team as a code owner March 4, 2021 20:19
@ruyadorno ruyadorno added Release 7.x work is associated with a specific npm 7 release Release-Next semver:patch semver patch level for changes labels Mar 4, 2021
@ruyadorno ruyadorno changed the title fix(diff): set option where for pacote fix(diff): set option "where" for pacote Mar 4, 2021
pacote expects a **where** option that sets the cwd for all its
operations, ref: https://github.com/npm/pacote#options

This change properly sets that option in libnpmdiff options that will
then properly forward it to pacote, this is specially important for when
reading local file system specs.

PR-URL: npm#2822
Credit: @ruyadorno
Close: npm#2822
Reviewed-by: @wraithgar
@ruyadorno
ruyadorno changed the base branch from latest to release/v7.6.1 March 4, 2021 21:24
@ruyadorno
ruyadorno force-pushed the diff-set-where-pacote-option branch from b674c71 to b3e7dd1 Compare March 4, 2021 21:25
@ruyadorno
ruyadorno merged commit b3e7dd1 into npm:release/v7.6.1 Mar 4, 2021
This was referenced Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Release 7.x work is associated with a specific npm 7 release semver:patch semver patch level for changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants