Age | Commit message (Collapse) | Author |
|
|
|
PR-URL: https://github.com/npm/cli/pull/3878
Credit: @XhmikosR
Close: #3878
Reviewed-by: @wraithgar
|
|
Depends on @npmcli/arborist@4.0.0
Re: https://github.com/npm/rfcs/pull/434
PR-URL: https://github.com/npm/cli/pull/3880
Credit: @isaacs
Close: #3880
Reviewed-by: @wraithgar
|
|
Bumped patch versions of libnpmexec and libnpmfund to dedupe
|
|
This repairs the ability to `node .` from the installed package.
`require('npm')` will still not work, as this was disabled in v8.0.0
PR-URL: https://github.com/npm/cli/pull/3874
Credit: @wraithgar
Close: #3874
Reviewed-by: @lukekarrys
|
|
PR-URL: https://github.com/npm/cli/pull/3857
Credit: @darcyclarke
Close: #3857
Reviewed-by: @wraithgar
|
|
PR-URL: https://github.com/npm/cli/pull/3858
Credit: @darcyclarke
Close: #3858
Reviewed-by: @wraithgar
|
|
xref: https://github.com/npm/cli/pull/3762
PR-URL: https://github.com/npm/cli/pull/3861
Credit: @gfyoung
Close: #3861
Reviewed-by: @wraithgar
|
|
This came up after publish, looks like node_modules didn't get cleaned
out properly after the last dep updates and bundle/gitignores
|
|
|
|
|
|
PR-URL: https://github.com/npm/cli/pull/3854
Credit: @wraithgar
Close: #3854
Reviewed-by: @fritzy
|
|
When the tests are run but the code is not inside a git repo, the
results are different. This removes the `gitHead` altogether from the
publish results so it works in all environments
PR-URL: https://github.com/npm/cli/pull/3845
Credit: @wraithgar
Close: #3845
Reviewed-by: @fritzy
|
|
PR-URL: https://github.com/npm/cli/pull/3813
Credit: @lukekarrys
Close: #3813
Reviewed-by: @wraithgar
|
|
BREAKING CHANGE:
- Drop official support for node versions less than v12.
- Drop support for `require('npm')`
- Update a few subdependencies that dropped node10 support, and brought
in the latest node-gyp
PR-URL: https://github.com/npm/cli/pull/3762
Credit: @wraithgar
Close: #3762
Reviewed-by: @fritzy
|
|
for general support we are now direct folks to github.community not general
npm support
PR-URL: https://github.com/npm/cli/pull/3850
Credit: @MylesBorins
Close: #3850
Reviewed-by: @wraithgar
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit 8349c3c1557ac52973ad08c10db492e3a5a30204.
PR-URL: https://github.com/npm/cli/pull/3817
Credit: @lukekarrys
Close: #3817
Reviewed-by: @wraithgar
|
|
This reverts commit f17dfa0ced7d8df9bb7baf378bb20d33175c8e8b.
|
|
Adds a new config item that includes the workspace root when running
non-arborist commands (i.e. repo, version, publish). Arborist will need
to be udpated to look for this flag to change its behavior to include
the workspace root for its functions.
This also changes --workspaces to a trinary, so that setting it to false
will explicitly exclude workspaces altogether. This is also going to
require an arborist change so that it ignores workspaces altogether.
Co-author: @fritzy
PR-URL: https://github.com/npm/cli/pull/3816
Credit: @isaacs
Close: #3816
Reviewed-by: @wraithgar
|
|
* includeWorkspaceRoot support
* workspacesEnabled=false support
PR-URL: https://github.com/npm/cli/pull/3815
Credit: @wraithgar
Close: #3815
Reviewed-by: @isaacs
|
|
PR-URL: https://github.com/npm/cli/pull/3699
Credit: @behnammodi
Close: #3699
Reviewed-by: @wraithgar
|
|
PR-URL: https://github.com/npm/cli/pull/3805
Credit: @ethomson
Close: #3805
Reviewed-by: @lukekarrys
|
|
The npm/cli form of https://github.com/npm/arborist/pull/324
Required adding options support to package used for this.
PR-URL: https://github.com/npm/cli/pull/3809
Credit: @isaacs
Close: #3809
Reviewed-by: @wraithgar
|
|
* fix: avoid infinite loops in peer dep replacements
* fix: use Intl.Collator for string sorting when available
* feat(vuln): expose isDirect
|
|
closes: https://github.com/npm/cli/issues/2556
xref: https://github.com/npm/cli/pull/1750
The xref'ed PR apparently dropped this behavior
without any explanation.
PR-URL: https://github.com/npm/cli/pull/3799
Credit: @gfyoung
Close: #3799
Reviewed-by: @wraithgar
|
|
will filter out a small subset of non-URL-safe characters that still
parse properly with `new URL`
PR-URL: https://github.com/npm/cli/pull/3804
Credit: @isaacs
Close: #3804
Reviewed-by: @wraithgar
|
|
|
|
|
|
|
|
|
|
* feat: allow passing tls connection options
|
|
This behavior has been present in npm for a while, but I haven't found
where it's documented. This is my attempt at documenting the behavior
based on my understanding of it. I think a SME should contribute to this
so the documentation is correct.
npm/feedback#544
npm/cli#3783
https://github.com/npm/arborist/blob/478871bf0a44a8ec516b9057585b8707e60b0349/lib/arborist/reify.js#L687-L693
PR-URL: https://github.com/npm/cli/pull/3784
Credit: @everett1992
Close: #3784
Reviewed-by: @wraithgar
|
|
PR-URL: https://github.com/npm/cli/pull/3766
Credit: @felixonmars
Close: #3766
Reviewed-by: @wraithgar
|
|
|
|
|
|
|
|
|
|
PR-URL: https://github.com/npm/cli/pull/3761
Credit: @wraithgar
Close: #3761
Reviewed-by: @lukekarrys
|
|
* fix: re-emit 'error' event if missed and new listener added
* fix: do not blow up if process is missing
|
|
PR-URL: https://github.com/npm/cli/pull/3760
Credit: @yacoman89
Close: #3760
Reviewed-by: @wraithgar
|
|
See npm/documentation#36
PR-URL: https://github.com/npm/cli/pull/3759
Credit: @nategreen
Close: #3759
Reviewed-by: @wraithgar
|
|
PR-URL: https://github.com/npm/cli/pull/3738
Credit: @AyushRawal
Close: #3738
Reviewed-by: @wraithgar
|
|
The way we were flattening user-agent back into itself meant that any
values that were dependent on other config items would never be seen,
since we have to re-flatten the item for each one it depends on.
We also weren't re-flattening the user-agent when setting workspaces or
workspace, which were things that affected the final result.
This does change the main config value of `user-agent` but not the
flattened one. We are not using the main config value anywhere (which
is correct).
PR-URL: https://github.com/npm/cli/pull/3754
Credit: @wraithgar
Close: #3754
Reviewed-by: @nlf
|
|
PR-URL: https://github.com/npm/cli/pull/3753
Credit: @shadowspawn
Close: #3753
Reviewed-by: @wraithgar
|
|
The install script will gracefully fail if things don't work. This is
especially important for versions of npm that won't work in your current
node version.
PR-URL: https://github.com/npm/cli/pull/3748
Credit: @wraithgar
Close: #3748
Reviewed-by: @isaacs
|