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
|
|
This reverts commit 8349c3c1557ac52973ad08c10db492e3a5a30204.
PR-URL: https://github.com/npm/cli/pull/3817
Credit: @lukekarrys
Close: #3817
Reviewed-by: @wraithgar
|
|
* includeWorkspaceRoot support
* workspacesEnabled=false support
PR-URL: https://github.com/npm/cli/pull/3815
Credit: @wraithgar
Close: #3815
Reviewed-by: @isaacs
|
|
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
|
|
|
|
* feat: allow passing tls connection options
|
|
|
|
* fix: re-emit 'error' event if missed and new listener added
* fix: do not blow up if process is missing
|
|
* fix: bin script path
|
|
* fix: do not fail adding unresolvable optional dep
|
|
|
|
|
|
* feat: add types lookup
* fix(man): don't lose relative man path
|
|
|
|
* Made rejectUnauthorized depend on NODE_TLS_REJECT_UNAUTHORIZED
|
|
* feat: export npm_config_local_prefix and npm_config_global_prefix
to the environment
|
|
* feat: introduce @npmcli/fs for tmp dir methods
|
|
* fix: perf regression on hot string munging path
|
|
* fix: Add gitHead in subdirectories too
* fix(man): don't resolve paths to man files
|
|
* fix: use the same strictSSL default as tls.connect
|
|
Not sure why this only happened during publish
|
|
* update license list to v3.14
|
|
|
|
|
|
|
|
* fix: prune dirCache properly for unicode, windows
* fix: reserve paths properly for unicode, windows
* fix: prevent path escape using drive-relative paths
* fix: drop dirCache for symlink on all platforms
|
|
* fix: treat top-level global packages as "top" nodes
* fix: load global symlinks implicitly as file: deps
* fix(reify): debug crash when extracting into symlink
* fix: node_modules must be a directory
* fix: make Node.children() a case-insensitive Map
* fix(reify): verify existing deps in nm are dirs
|
|
|
|
|
|
* fix: account for "licence" as spelling variant
|
|
|
|
`leven` dropped support for node10 and we still currently have to support
it. Moved to https://github.com/ka-weihe/fastest-levenshtein
Originally discussed in https://github.com/npm/cli/pull/2403, but the
did-you-mean lib moved quite a bit since then and there were conflicts
so I made a new PR
PR-URL: https://github.com/npm/cli/pull/3640
Credit: @wraithgar
Close: #3640
Reviewed-by: @nlf
|
|
* [#3632] Fix "cannot read property path of null" error in 'npm
dedupe'
* fix(shrinkwrap): always set name on the root node
|
|
|
|
* fix: better error message for duplicate workspace names
|
|
In its latest release, byte-size dropped support for node versions lower
than 14. The cli currently supports node 10 and up.
The actual functionality we needed and was using was extremely limited
in scope, and didn't warrant an external module. It's just pretty
printing a file size, and the files we are dealing with are limited in
size so we don't need to support so many suffixes.
PR-URL: https://github.com/npm/cli/pull/3569
Credit: @wraithgar
Close: #3569
Reviewed-by: @isaacs
|
|
* fix: normalize paths on Windows systems
|
|
|
|
* fix: start retrying immediately, stop after 10 attempts
|
|
* Clear progress bar which overlays confirm prompt
|
|
* fix: properly handle top-level files when using strip
* Avoid an unlikely but theoretically possible redos
* WriteEntry backpressure
* fix(unpack): always resume parsing after an entry error
* fix(unpack): fix hang on large file on open() fail
* fix: properly prefix hard links
|
|
|
|
This moves a handful of the smaller tests to using the new npm mock that
uses the real actual npm object. It also extends the testing surface
area of a few tests back down into the actual `process.spawn` that
results, instead of anything internal to the code.
Some dead code in `lib/test.js` was found during this, as well as an
instance of a module throwing a string instead of an error object.
PR-URL: https://github.com/npm/cli/pull/3463
Credit: @wraithgar
Close: #3463
Reviewed-by: @nlf
|
|
|
|
* Refactor ideal tree building to handle more complicated
peerDependencies use cases.
* Do not modify ideal tree while checking if a peerSet can be placed.
Fix: #3377
|
|
PR-URL: https://github.com/npm/cli/pull/3591
Credit: @wraithgar
Close: #3591
Reviewed-by: @isaacs
|
|
|
|
|
|
|