Age | Commit message (Collapse) | Author |
|
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
|
|
Before, `npm view npm@^6` would incorrectly report “published over a
year from now” for every entry. Now it reports the correct dates.
PR-URL: https://github.com/npm/cli/pull/3739
Credit: @andersk
Close: #3739
Reviewed-by: @wraithgar
|
|
The did-you-mean code was trying to parse a local package.json to
suggest scripts and bins, which was causing an exception if you ran npm
outside of a directory with a valid package.json.
This fixes that.
PR-URL: https://github.com/npm/cli/pull/3747
Credit: @wraithgar
Close: #3747
Reviewed-by: @nlf
|
|
* fix: bin script path
|
|
|
|
This is already part of the published npm, just not in git
|
|
|
|
|
|
|
|
This will do an engines check when installing npm globally and fail if
the new npm is known not to work in the current node version.
It will not work for older npm versions because they don't have an
engines field (it wasn't added till npm@6.14.0). It will at least
prevent npm@7 from being installed in node@8.
PR-URL: https://github.com/npm/cli/pull/3731
Credit: @wraithgar
Close: #3731
Reviewed-by: @nlf
|
|
If the package being installed is a url it needs to be cleaned before
logging so passwords aren't potentially logged.
PR-URL: https://github.com/npm/cli/pull/3732
Credit: @wraithgar
Close: #3732
Reviewed-by: @nlf
|
|
PR-URL: https://github.com/npm/cli/pull/3715
Credit: @Matsuuu
Close: #3715
Reviewed-by: @wraithgar
|
|
PR-URL: https://github.com/npm/cli/pull/3727
Credit: @darcyclarke
Close: #3727
Reviewed-by: @wraithgar
|
|
|
|
|