Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-07feat: drop node 10, 11, and programmatic apiGar
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
2021-10-07chore: replace npm support with GitHub communityMyles Borins
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
2021-10-047.24.2v7.24.2v7release/v7.24.2release/v7Luke Karrys
2021-10-04update AUTHORSLuke Karrys
2021-10-04docs: changelog for v7.24.2Luke Karrys
2021-10-04chore: fix bundleDependencies in package-lockGar
2021-10-04chore: fix bundleDependenciesGar
2021-10-01Revert "deps: arborist@2.10.0"Luke Karrys
This reverts commit 8349c3c1557ac52973ad08c10db492e3a5a30204. PR-URL: https://github.com/npm/cli/pull/3817 Credit: @lukekarrys Close: #3817 Reviewed-by: @wraithgar
2021-09-30Revert "feat(workspaces): --include-workspace-root"Luke Karrys
This reverts commit f17dfa0ced7d8df9bb7baf378bb20d33175c8e8b.
2021-09-30feat(workspaces): --include-workspace-rootGar
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
2021-09-30deps: arborist@2.10.0Gar
* includeWorkspaceRoot support * workspacesEnabled=false support PR-URL: https://github.com/npm/cli/pull/3815 Credit: @wraithgar Close: #3815 Reviewed-by: @isaacs
2021-09-30fix(docs): add note about workspace script orderBehnam Mohammadi
PR-URL: https://github.com/npm/cli/pull/3699 Credit: @behnammodi Close: #3699 Reviewed-by: @wraithgar
2021-09-30docs: remove npm Enterprise from documentationEdward Thomson
PR-URL: https://github.com/npm/cli/pull/3805 Credit: @ethomson Close: #3805 Reviewed-by: @lukekarrys
2021-09-28fix: use Intl.Collator for string sorting when availableisaacs/string-locale-compareisaacs
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
2021-09-28deps: @npmcli/arborist@2.9.0Gar
* fix: avoid infinite loops in peer dep replacements * fix: use Intl.Collator for string sorting when available * feat(vuln): expose isDirect
2021-09-28fix: restore exit code on "npm outdated"gfyoung
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
2021-09-27fix: encode url before openingGar
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
2021-09-27deps: is-core-module@2.7.0Gar
2021-09-237.24.1v7.24.1release/v7.24.1Gar
2021-09-23update AUTHORSGar
2021-09-23docs: changelog for v7.24.1Gar
2021-09-23deps: socks-proxy-agent@6.1.0Gar
* feat: allow passing tls connection options
2021-09-23docs: document special meaning of registry.npmjs.comCaleb ツ Everett
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
2021-09-23chore: correct a typo in lib/deprecate.jsFelix Yan
PR-URL: https://github.com/npm/cli/pull/3766 Credit: @felixonmars Close: #3766 Reviewed-by: @wraithgar
2021-09-23deps: glob@7.2.0Gar
2021-09-177.24.0v7.24.0release/v7.24.0Nathan Fritz
2021-09-17update AUTHORSNathan Fritz
2021-09-17docs: changelog for v7.24.0Nathan Fritz
2021-09-16fix(logs): clean args for failed commandsGar
PR-URL: https://github.com/npm/cli/pull/3761 Credit: @wraithgar Close: #3761 Reviewed-by: @lukekarrys
2021-09-16deps: minipass@3.1.5Gar
* fix: re-emit 'error' event if missed and new listener added * fix: do not blow up if process is missing
2021-09-15fix(install): use configured registry when checking manifestJacob Yacovelli
PR-URL: https://github.com/npm/cli/pull/3760 Credit: @yacoman89 Close: #3760 Reviewed-by: @wraithgar
2021-09-15fix(docs): use correct hyperlink to package-jsonNate Green
See npm/documentation#36 PR-URL: https://github.com/npm/cli/pull/3759 Credit: @nategreen Close: #3759 Reviewed-by: @wraithgar
2021-09-15fix(search): return valid json for no resultsAyush Rawal
PR-URL: https://github.com/npm/cli/pull/3738 Credit: @AyushRawal Close: #3738 Reviewed-by: @wraithgar
2021-09-14fix(config): user-agent properly shows ciGar
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
2021-09-14chore: Fix typos in CONTRIBUTINGJohn Gee
PR-URL: https://github.com/npm/cli/pull/3753 Credit: @shadowspawn Close: #3753 Reviewed-by: @wraithgar
2021-09-13fix(install.sh): don't remove old npm firstGar
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
2021-09-13fix(view): Show the correct publish date for versions selected by rangeAnders Kaseorg
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
2021-09-13fix(did-you-mean): succeed if cwd is not a packageGar
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
2021-09-10deps: init-package-json@2.0.5Gar
* fix: bin script path
2021-09-09chore: bundled npm-install-checks in lockfile tooGar
2021-09-09chore: bundle npm-install-checksGar
This is already part of the published npm, just not in git
2021-09-097.23.0v7.23.0release/v7.23.0Gar
2021-09-09update AUTHORSGar
2021-09-09docs: changelog for v7.23.0Gar
2021-09-09feat(install): very strict global npm enginesGar
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
2021-09-09fix(error-message): clean urls from 404 errorGar
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
2021-09-08docs: Add --if-present flag documentation to workspacesMatsuuu
PR-URL: https://github.com/npm/cli/pull/3715 Credit: @Matsuuu Close: #3715 Reviewed-by: @wraithgar
2021-09-08docs(contributing): add note on changes to toolingDarcy Clarke
PR-URL: https://github.com/npm/cli/pull/3727 Credit: @darcyclarke Close: #3727 Reviewed-by: @wraithgar
2021-09-027.22.0v7.22.0release/v7.22.0Luke Karrys
2021-09-02update AUTHORSLuke Karrys