-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] latest from npm:latest #11
base: latest
Are you sure you want to change the base?
Commits on May 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4cbc2d4 - Browse repository at this point
Copy the full SHA 4cbc2d4View commit details -
fix: run input.start around help and openining urls
This also refactors auth and prompt related files to use promises and new npm-profile behavior
Configuration menu - View commit details
-
Copy full SHA for 261ea19 - Browse repository at this point
Copy the full SHA 261ea19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63ef498 - Browse repository at this point
Copy the full SHA 63ef498View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ded848 - Browse repository at this point
Copy the full SHA 8ded848View commit details
Commits on May 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2b7ec54 - Browse repository at this point
Copy the full SHA 2b7ec54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c4d3c4 - Browse repository at this point
Copy the full SHA 9c4d3c4View commit details
Commits on May 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e39d422 - Browse repository at this point
Copy the full SHA e39d422View commit details
Commits on May 6, 2024
-
fix: log if
npm deprecate
does not match any version (#7474)Configuration menu - View commit details
-
Copy full SHA for ca1a68d - Browse repository at this point
Copy the full SHA ca1a68dView commit details -
feat: create exit handler class (#7442)
This PR refactors `exit-handler.js` to be a class so that it can more easily track its internal state. It uses this state to now fully distinguish between 3 states: npm never being set, npm not loaded, and exit handler never called. There are some new error messages shown via console.error if we know we are in an unexpected state. This also continues the refactoring started in #7415 to separate concerns between `npm` and `CLI`. Identifying the error message and logging it have been move to `npm` but catching that error and setting the `process.exitCode` are still handled in `exit-handler.js` and `cli/entry.js`. It also moves `command.cmdExec` to `npm` since it never called from within any `command` instance. This lets `npm` only ever call `command.exec` or `command.workspaceExec` now.
Configuration menu - View commit details
-
Copy full SHA for 1e375c1 - Browse repository at this point
Copy the full SHA 1e375c1View commit details -
fix: dont omit license from stored manifests (#7475)
This has the effect of adding licenses back into the lockfiles. Based on code in shrinkwrap.js and inventory.js, it appears that lockfiles are supposed to store the license. It's likely that in practice this behavior has not been consistent due to fetching of minifed manifests and packuments. I also attempted to remove the license code from shrinkwrap but that caused many more tests to break. Plus I believe this is the intended behavior, to have licenses in lockfiles based on bug reports like #7384
Configuration menu - View commit details
-
Copy full SHA for effe910 - Browse repository at this point
Copy the full SHA effe910View commit details
Commits on May 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6dfaebb - Browse repository at this point
Copy the full SHA 6dfaebbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8234412 - Browse repository at this point
Copy the full SHA 8234412View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43331e4 - Browse repository at this point
Copy the full SHA 43331e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f94d672 - Browse repository at this point
Copy the full SHA f94d672View commit details -
Configuration menu - View commit details
-
Copy full SHA for 714e3e1 - Browse repository at this point
Copy the full SHA 714e3e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c5bf77 - Browse repository at this point
Copy the full SHA 4c5bf77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18c3b40 - Browse repository at this point
Copy the full SHA 18c3b40View commit details -
Configuration menu - View commit details
-
Copy full SHA for e71f541 - Browse repository at this point
Copy the full SHA e71f541View commit details -
Configuration menu - View commit details
-
Copy full SHA for 310a7a5 - Browse repository at this point
Copy the full SHA 310a7a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2fdb65 - Browse repository at this point
Copy the full SHA e2fdb65View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9a6dcd - Browse repository at this point
Copy the full SHA a9a6dcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b20f8c - Browse repository at this point
Copy the full SHA 8b20f8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e15b6d - Browse repository at this point
Copy the full SHA 7e15b6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 552113e - Browse repository at this point
Copy the full SHA 552113eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d440011 - Browse repository at this point
Copy the full SHA d440011View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18e5312 - Browse repository at this point
Copy the full SHA 18e5312View commit details -
Configuration menu - View commit details
-
Copy full SHA for dade2c8 - Browse repository at this point
Copy the full SHA dade2c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 419f9b9 - Browse repository at this point
Copy the full SHA 419f9b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff6c5d1 - Browse repository at this point
Copy the full SHA ff6c5d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2146e1f - Browse repository at this point
Copy the full SHA 2146e1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26fefb8 - Browse repository at this point
Copy the full SHA 26fefb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b2317b - Browse repository at this point
Copy the full SHA 5b2317bView commit details -
fix: limit packument cache size based on heap size
This adds a new packument cache that is an instance of `lru-cache`. It uses that package's ability to limit content based on size, and has some multipliers based on research to mostly correctly approximate the correlation between packument size and its memory usage. It also limits the total size of the cache based on the actual heap available. Closes: #7276 Related: npm/pacote#369
Configuration menu - View commit details
-
Copy full SHA for 722c0fa - Browse repository at this point
Copy the full SHA 722c0faView commit details -
docs: add npm version to every local help output (#7479)
Every page of npm help <x> display the local npm version. This pull request helps the local reader of the documentation to know which version of the documentation they are reading. ## References Closes: #7110
Configuration menu - View commit details
-
Copy full SHA for 268303c - Browse repository at this point
Copy the full SHA 268303cView commit details
Commits on May 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8d161a4 - Browse repository at this point
Copy the full SHA 8d161a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea0b07d - Browse repository at this point
Copy the full SHA ea0b07dView commit details -
chore: remove extra quotes from benchmark event_type (#7484)
This will make them actually run again
Configuration menu - View commit details
-
Copy full SHA for 1524cfd - Browse repository at this point
Copy the full SHA 1524cfdView commit details
Commits on May 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e9fdc9a - Browse repository at this point
Copy the full SHA e9fdc9aView commit details -
chore: disable progress on shellout exit tests
These tests assert what happens if a shellout command like exec throws unexpected errors by checking what is written to stderr. Progress also gets written to stderr but is not always deterministic due to the nature of calling it via setInterval. So this disables progress for these tests so the stderr assertions can be relied on to be the same.
Configuration menu - View commit details
-
Copy full SHA for 2ec2e75 - Browse repository at this point
Copy the full SHA 2ec2e75View commit details -
chore: disable color in config tests
The logging output was making bare string assertions fail
Configuration menu - View commit details
-
Copy full SHA for 67ebb66 - Browse repository at this point
Copy the full SHA 67ebb66View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3b9587 - Browse repository at this point
Copy the full SHA d3b9587View commit details -
fix: avoid caching manifests as promises
Originally this was in #7468: We backed off of it while we were rebuilding pacote's packument cache. Now that that's done we can assess this in isolation. I think it makes sense. The packument is cached here, all this is awaiting is normalization and ssri calculation. The only place this potentially does anything is in the premature loading of manifests in `#buildDepStep` when looking at problem edges. We can just wait till we need them and not throw a ton of requests in parallel before we actually need them. Removing the premature loading in problem edges will have to be a separate effort, as it is somehow load bearing
Configuration menu - View commit details
-
Copy full SHA for 56a27fa - Browse repository at this point
Copy the full SHA 56a27faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58f773c - Browse repository at this point
Copy the full SHA 58f773cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f078c82 - Browse repository at this point
Copy the full SHA f078c82View commit details -
fix: dont write log file for completion commands (#7497)
Since npm completion is implemented by calling npm completion -- arg1 this will write a logfile for that command. I noticed this as I was trying to look through my logs for a recent command and found that it had been removed since I used enough tab completions to fill logs-max.
Configuration menu - View commit details
-
Copy full SHA for 6d456bb - Browse repository at this point
Copy the full SHA 6d456bbView commit details -
docs: npm help json/global command on windows (#7496)
On Windows, `npm help json` and `npm help global` attempt to display `npm-json.html` and `npm-global.html` files which leads to an error because these files have not been generated. This pull request duplicates the `package-json.md` and `folders.md` files in order to generate these files and make the above-mentioned commands functional. Closes: #7374 Co-authored-by: Luke Karrys <luke@lukekarrys.com>
Configuration menu - View commit details
-
Copy full SHA for c3d2819 - Browse repository at this point
Copy the full SHA c3d2819View commit details
Commits on May 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e290352 - Browse repository at this point
Copy the full SHA e290352View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c7fba4 - Browse repository at this point
Copy the full SHA 7c7fba4View commit details -
docs: remove obsolete removal using make uninstall (#7502)
- make uninstall is no longer possible using current source code - Fixes #7488 Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com> ## References - Refer https://docs.npmjs.com/cli/v7/using-npm/removal#synopsis Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bdd2aae - Browse repository at this point
Copy the full SHA bdd2aaeView commit details -
fix(config): be more aggressive about hiding protected values (#7504)
Err on the side of not displaying things even if they're not valid config
Configuration menu - View commit details
-
Copy full SHA for db62910 - Browse repository at this point
Copy the full SHA db62910View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e53e33 - Browse repository at this point
Copy the full SHA 4e53e33View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd42986 - Browse repository at this point
Copy the full SHA fd42986View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9064ffc - Browse repository at this point
Copy the full SHA 9064ffcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2b28f9 - Browse repository at this point
Copy the full SHA c2b28f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e189873 - Browse repository at this point
Copy the full SHA e189873View commit details -
chore: create single bug report issue template (#7505)
This removes the v9 bug report template and changes the v10 template to specifically mention that it is for bugs for the latest release line. Previously we would bump these issue templates whenever we did a major release. I think it makes more sense to have only a single bug template most of the time and to add templates for old versions when we are offering bug fix support for them. Currently we don't offer bug fixes for the v9 release line. It also removes the `Release 10.x` label which I find to mostly add noise. I think it would be better to have no default release line label, and and instead manually add this label when we identify a bug that only affects a specific release line that we intend to fix. Or if we are supporting multiple versions then we can add the label to the bug template for old versions.
Configuration menu - View commit details
-
Copy full SHA for 8add914 - Browse repository at this point
Copy the full SHA 8add914View commit details
Commits on May 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6f64148 - Browse repository at this point
Copy the full SHA 6f64148View commit details -
Configuration menu - View commit details
-
Copy full SHA for e40454c - Browse repository at this point
Copy the full SHA e40454cView commit details
Commits on May 13, 2024
-
fix(refactor): create new error output primitives (#7515)
These will be used to generate normal and json error messages in the same format from both commands and the exit handler. This also does a few others things: - makes `did-you-mean` take a package so it can be sync and called more easily from the error handlers - standardize all error messages with 2 space indentation to match the rest of npm
Configuration menu - View commit details
-
Copy full SHA for b54cdb8 - Browse repository at this point
Copy the full SHA b54cdb8View commit details
Commits on May 14, 2024
-
docs: suggest correct bin entry (#7518)
Our existing example present in npm doc was giving warning, so just modified that so that we will not get any warning . Closes: #7302
Configuration menu - View commit details
-
Copy full SHA for b2ce025 - Browse repository at this point
Copy the full SHA b2ce025View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76aef74 - Browse repository at this point
Copy the full SHA 76aef74View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcfc3de - Browse repository at this point
Copy the full SHA dcfc3deView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb85973 - Browse repository at this point
Copy the full SHA cb85973View commit details -
Configuration menu - View commit details
-
Copy full SHA for fec3c94 - Browse repository at this point
Copy the full SHA fec3c94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 898bcfd - Browse repository at this point
Copy the full SHA 898bcfdView commit details -
Dev dep but it fixed the hoisting of @tufjs/models
Configuration menu - View commit details
-
Copy full SHA for 1cdc662 - Browse repository at this point
Copy the full SHA 1cdc662View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10256e8 - Browse repository at this point
Copy the full SHA 10256e8View commit details -
docs : suggest correct entry to bin (#7524)
Our existing example present in npm doc was giving warning. issue: #7302
Configuration menu - View commit details
-
Copy full SHA for aa5d7b1 - Browse repository at this point
Copy the full SHA aa5d7b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for badeac2 - Browse repository at this point
Copy the full SHA badeac2View commit details
Commits on May 15, 2024
-
fix: add first param titles to logs where missing (#7533)
The first argument to all `log.method()` calls gets formatted differently with a color. So calls to these should always be a short descriptive title or an empty string.
Configuration menu - View commit details
-
Copy full SHA for 12f103c - Browse repository at this point
Copy the full SHA 12f103cView commit details -
fix(refactor): use output buffer and error for more commands (#7513)
This changes a bunch of commands to use the new `output.buffer` capabilities from `proc-log` as well as the `outputError` helper from `utils/output-error.js`. This also adds a few comments about future display related breaking changes that npm should make. There is some new behavior around `run-script` and how it outputs errors. It now displays the error for each workspace similar to how that error would get displayed when the process exits.
Configuration menu - View commit details
-
Copy full SHA for d5c3289 - Browse repository at this point
Copy the full SHA d5c3289View commit details -
Configuration menu - View commit details
-
Copy full SHA for 328f63c - Browse repository at this point
Copy the full SHA 328f63cView commit details
Commits on May 16, 2024
-
fix(view): dont immediately exit on first workspace 404 (#7508)
Fixes: #5444 This PR will continue running through all workspaces for `npm view` even when a workspace encounters an `E404` error. This usually happens when you run `npm view -ws` but have private workspaces. A future iteration could log a different message if an `E404` is encountered on a private workspace, but for this PR I wanted to keep it generic since there are a number of reasons a request for a package manifest could 404.
Configuration menu - View commit details
-
Copy full SHA for ef4c975 - Browse repository at this point
Copy the full SHA ef4c975View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cefdf6 - Browse repository at this point
Copy the full SHA 3cefdf6View commit details
Commits on May 17, 2024
-
fix: pass strings to JSON.stringify in --json mode (#7540)
In refactoring this behavior previously plain strings were no longer being passed through JSON.stringify even in json mode. This commit changes that to the previous behavior which fixes the bug in `npm view`. This also required changing the behavior of `npm pkg` which relied on this. Fixes #7537
Configuration menu - View commit details
-
Copy full SHA for 4dfc7d2 - Browse repository at this point
Copy the full SHA 4dfc7d2View commit details -
fix: remove json.stringify from all commands (#7541)
This converts all remaining commands/utils to use the display layer for formatting their json output
Configuration menu - View commit details
-
Copy full SHA for 61d5771 - Browse repository at this point
Copy the full SHA 61d5771View commit details -
fix: refactor ls to use output.buffer for json (#7542)
This has no functional difference but matches where we landed for the rest of the commands.
Configuration menu - View commit details
-
Copy full SHA for 53cda32 - Browse repository at this point
Copy the full SHA 53cda32View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1db070 - Browse repository at this point
Copy the full SHA b1db070View commit details
Commits on May 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9e6686b - Browse repository at this point
Copy the full SHA 9e6686bView commit details
Commits on May 22, 2024
-
fix(cache): add both full and minified packument to cache (#7516)
This will fix the `npm cache add` to cache package with same header as it's used in `npm install` by adding extra manifest call with `fullMetadata: true` while caching to match behaviour with install command which internally request manifest with fullMetadata. ## References Closes #7465
Configuration menu - View commit details
-
Copy full SHA for 9122fb6 - Browse repository at this point
Copy the full SHA 9122fb6View commit details
Commits on May 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7d89b55 - Browse repository at this point
Copy the full SHA 7d89b55View commit details
Commits on May 28, 2024
-
docs: update publish docs: dist-tag + publish case (#7560)
<!-- What / Why --> <!-- Describe the request in detail. What it does and why it's being changed. --> Updates `publish` command docs: - Refers to `npm tag` which is now `npm dist-tag` - Add docs specific for `npm publish --tag` ## References <!-- Examples: Related to #0 Depends on #0 Blocked by #0 Fixes #0 Closes #0 -->
Configuration menu - View commit details
-
Copy full SHA for fd6479f - Browse repository at this point
Copy the full SHA fd6479fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d1d8d0 - Browse repository at this point
Copy the full SHA 2d1d8d0View commit details
Commits on May 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8f94ae8 - Browse repository at this point
Copy the full SHA 8f94ae8View commit details -
fix(publish): skip workspace packages marked private on publish (#7564)
`npm publish --workspaces` will skip workspace packages marked as private in package.json. Currently it's skipping those packages only when you have configured auth for those packages, it would error out with `ENEEDAUTH` if it doesn't find the valid auth information. this fix checks for the private property before checking for auth for the packages that will essentially not going to get published. Fixes #7199
Configuration menu - View commit details
-
Copy full SHA for e4c7a41 - Browse repository at this point
Copy the full SHA e4c7a41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6278fe4 - Browse repository at this point
Copy the full SHA 6278fe4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2508a83 - Browse repository at this point
Copy the full SHA 2508a83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c6759d - Browse repository at this point
Copy the full SHA 5c6759dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18b42a4 - Browse repository at this point
Copy the full SHA 18b42a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41291ba - Browse repository at this point
Copy the full SHA 41291baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83fed2e - Browse repository at this point
Copy the full SHA 83fed2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 447a8d7 - Browse repository at this point
Copy the full SHA 447a8d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6574dc9 - Browse repository at this point
Copy the full SHA 6574dc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b57b95 - Browse repository at this point
Copy the full SHA 4b57b95View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3f0fd4 - Browse repository at this point
Copy the full SHA e3f0fd4View commit details -
chore: fix snapshots for updated @npmcli/package-json
Invalid scripts warnings are gone that should not be there
Configuration menu - View commit details
-
Copy full SHA for 2d84091 - Browse repository at this point
Copy the full SHA 2d84091View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a36d78 - Browse repository at this point
Copy the full SHA 4a36d78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b55646 - Browse repository at this point
Copy the full SHA 6b55646View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6109960 - Browse repository at this point
Copy the full SHA 6109960View commit details
Commits on May 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4ef4830 - Browse repository at this point
Copy the full SHA 4ef4830View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04d6910 - Browse repository at this point
Copy the full SHA 04d6910View commit details -
Configuration menu - View commit details
-
Copy full SHA for d185c9b - Browse repository at this point
Copy the full SHA d185c9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15be6dd - Browse repository at this point
Copy the full SHA 15be6ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92e71e6 - Browse repository at this point
Copy the full SHA 92e71e6View commit details
Commits on Jun 3, 2024
-
docs: Improve manpage section for
package.json
funding
properties (……#7582) Small doc fix. Reviewing the section on `funding` on docs.npmjs.com, I noticed some odd code-block formatting, as well as some opportunities to clarify. The current weirdness: ![2024-06-02-214100_3840x2160_scrot](https://github.com/npm/cli/assets/205760/5f0a436f-5812-4a97-b4b9-b4183219d4dd) Glad to see string-or-object worked out.
Configuration menu - View commit details
-
Copy full SHA for 93883bb - Browse repository at this point
Copy the full SHA 93883bbView commit details
Commits on Jun 14, 2024
-
fix(exec): npx to run specified version if multiple version exist glo…
…bally (#7587) When multiple version of the same package is exist globally either at top level or at any level as a sub dependency, even though the version specified does not exist at top level it was running top level bin since it matches the bin name. This fixes checks for depth of the found node along with already existing specs checks. Fixes: #7486
Configuration menu - View commit details
-
Copy full SHA for 71c6848 - Browse repository at this point
Copy the full SHA 71c6848View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2273183 - Browse repository at this point
Copy the full SHA 2273183View commit details
Commits on Jun 27, 2024
-
docs: use git+https in package.com url examples (#7615)
- closes #7614 ## Issue Examples in the [repository](https://docs.npmjs.com/cli/v10/configuring-npm/package-json#repository) section of the [npm CI > Configuring npm > package.json](https://docs.npmjs.com/cli/v10/configuring-npm/package-json) reference page use the protocol `https`. The examples are: ```json "url": "https://github.com/npm/cli.git" ``` ```json "url": "https://github.com/facebook/react.git" ``` Executing `npm pkg fix` in a repo with a `url` definition and `protocol` using `https` normalizes the protocol to `git+https`. Examples should be aligned with what `npm pkg fix` considers correct and should also be aligned to the list of valid protocols in the [Git URLs as Dependencies](https://docs.npmjs.com/cli/v10/configuring-npm/package-json#git-urls-as-dependencies) section, which states: > `<protocol>` is one of `git`, `git+ssh`, `git+http`, `git+https`, or `git+file`. ## Change 1. `npm/cli.git` Change to ```json "url": "git+https://github.com/npm/cli.git" ``` 2. `facebook/react.git` Since the source example of https://github.com/facebook/react/blob/main/packages/react-dom/package.json does not use the correct `git+https` protocol, use instead ```json "url": "git+https://github.com/npm/cli.git", "directory": "workspaces/libnpmpublish" ```
Configuration menu - View commit details
-
Copy full SHA for 55639ef - Browse repository at this point
Copy the full SHA 55639efView commit details -
fix(arborist): condition to include name field in package-lock fixed (#…
…7602) When metadata is committed for the first time when there is no package-lock, when target node has the same name field value as target package name and link node also share the same name field, name field is omitted from lock file, in subsequent times when there is already a lock file, it reads target node with name field derived from realpath value of the node and included in lock file. this creates mismatch of lock file between installs. This PR adds additional condition to check if name derived from realpath is the same name as package and adds the name property. Fixes: #7166
Configuration menu - View commit details
-
Copy full SHA for a8e666e - Browse repository at this point
Copy the full SHA a8e666eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac937d4 - Browse repository at this point
Copy the full SHA ac937d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29204c8 - Browse repository at this point
Copy the full SHA 29204c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f0d7ce - Browse repository at this point
Copy the full SHA 6f0d7ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4646768 - Browse repository at this point
Copy the full SHA 4646768View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b8ce7a - Browse repository at this point
Copy the full SHA 8b8ce7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 941d0d7 - Browse repository at this point
Copy the full SHA 941d0d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b584d3 - Browse repository at this point
Copy the full SHA 7b584d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5451e1 - Browse repository at this point
Copy the full SHA e5451e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b8b111 - Browse repository at this point
Copy the full SHA 3b8b111View commit details
Commits on Jul 1, 2024
-
chore: remove .github/workflows/benchmark.yml (#7621)
It has historically not worked very consistently and we don't have the bandwidth to keep fixing it.
Configuration menu - View commit details
-
Copy full SHA for 2490b49 - Browse repository at this point
Copy the full SHA 2490b49View commit details -
fix(arborist): safeguard against null node.target in flag calculation (…
…#7579) <!-- What / Why --> If a node represents a symbolic link or a file dep (node.isLink is true), its target is expected to reference another node in the dependency tree. If the linking is not done correctly or is incomplete, node.target might be null. <!-- Describe the request in detail. What it does and why it's being changed. --> in this PR, a null check is added to ensure node.target is not null or before proceeding, which will prevent causing errors like: `npm error Cannot set properties of null (setting 'peer')` ## References Related to #7065, Fixes #6622, #5007, Closes #6622, #5007
Configuration menu - View commit details
-
Copy full SHA for 6f33d74 - Browse repository at this point
Copy the full SHA 6f33d74View commit details
Commits on Jul 9, 2024
-
fix: limit concurrent open files during 'npm cache verify' (#7631)
This change solves #4783 <!-- What / Why --> <!-- Describe the request in detail. What it does and why it's being changed. --> During 'npm cache verify', currently all the cache files are open at the same time, which will bring EMFILE error in an environment that limit max open files. This change limits the concurrent open files in garbageCollect() with p-map module to avoid this problem. ## References Fixes #4783
Configuration menu - View commit details
-
Copy full SHA for 3101a40 - Browse repository at this point
Copy the full SHA 3101a40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c8d41d - Browse repository at this point
Copy the full SHA 1c8d41dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 094c4ea - Browse repository at this point
Copy the full SHA 094c4eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76dab91 - Browse repository at this point
Copy the full SHA 76dab91View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8fa116 - Browse repository at this point
Copy the full SHA d8fa116View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e4fa18 - Browse repository at this point
Copy the full SHA 5e4fa18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c1adae - Browse repository at this point
Copy the full SHA 1c1adaeView commit details
Commits on Jul 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dbe7d98 - Browse repository at this point
Copy the full SHA dbe7d98View commit details
Commits on Jul 11, 2024
-
fix: gracefully handle nonexistent global installation directory (#7640)
Handle arborist error when loading and checking package in global tree.
Configuration menu - View commit details
-
Copy full SHA for 9214be9 - Browse repository at this point
Copy the full SHA 9214be9View commit details
Commits on Jul 24, 2024
-
fix: update lifecycle script list in run-script (#7679)
This change updates the list of lifecycle scripts in the RunScript class to include important npm scripts that were previously missing. - add `prepare`, `prepublishOnly` scripts - add `dependencies` scripts - add `prepack` and `postpack` scripts - todo comments removed due to changes reflected <!-- What / Why --> <!-- Describe the request in detail. What it does and why it's being changed. --> ## References The documents I referenced are as follows: - https://docs.npmjs.com/cli/v10/using-npm/scripts <!-- Examples: Related to #0 Depends on #0 Blocked by #0 Fixes #0 Closes #0 -->
Configuration menu - View commit details
-
Copy full SHA for a947f25 - Browse repository at this point
Copy the full SHA a947f25View commit details -
chore: allow for longer timer values (#7683)
Sometimes computers are slow
Configuration menu - View commit details
-
Copy full SHA for 86b05fc - Browse repository at this point
Copy the full SHA 86b05fcView commit details
Commits on Jul 29, 2024
-
fix: always set exit code if exiting uncleanly (#7674)
An erroneous assumption was that if this was explicitly set, then the exit was still intentional. This is not the case. Closes: #7672 --------- Co-authored-by: Chris Sidi <hashtagchris@github.com>
Configuration menu - View commit details
-
Copy full SHA for 4e81a6a - Browse repository at this point
Copy the full SHA 4e81a6aView commit details
Commits on Aug 13, 2024
-
fix(init): use locally installed version of given package (#7721)
`npm init` calls `libnpmexec` with path and runPath, for most cases it would not matter but when we have a package installed locally on root and we want to run `npm init that-package -w workspace` it should identify that-package is installed and use that to init new workspace package. here the `path` is where node_modules are and `runPath` is cwd to run the command. Fixes: #7700
Configuration menu - View commit details
-
Copy full SHA for 91e46a3 - Browse repository at this point
Copy the full SHA 91e46a3View commit details
Commits on Aug 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a303ddd - Browse repository at this point
Copy the full SHA a303dddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a9ac86 - Browse repository at this point
Copy the full SHA 1a9ac86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12587fa - Browse repository at this point
Copy the full SHA 12587faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e965ad - Browse repository at this point
Copy the full SHA 4e965adView commit details -
Configuration menu - View commit details
-
Copy full SHA for a44ab26 - Browse repository at this point
Copy the full SHA a44ab26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2986f4e - Browse repository at this point
Copy the full SHA 2986f4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7342c24 - Browse repository at this point
Copy the full SHA 7342c24View commit details -
Configuration menu - View commit details
-
Copy full SHA for df58b0c - Browse repository at this point
Copy the full SHA df58b0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7e462b - Browse repository at this point
Copy the full SHA d7e462bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fd7a48 - Browse repository at this point
Copy the full SHA 3fd7a48View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed4add1 - Browse repository at this point
Copy the full SHA ed4add1View commit details -
docs: fix and update scoped configuration example (#7742)
The [Auth related configuration](https://docs.npmjs.com/cli/v10/configuring-npm/npmrc#auth-related-configuration) docs contains a mistakenly commented configuration line. This PR makes the scope examples more clear by adding newlines and uncomment the valid configuration line.
Configuration menu - View commit details
-
Copy full SHA for 24d5350 - Browse repository at this point
Copy the full SHA 24d5350View commit details -
fix(publish): consider package-spec when inside workspace dir (#7738)
This PR fixes an issue where the `npm publish` command would fail when run from within a workspace directory with package-spec fixes: #7726
Configuration menu - View commit details
-
Copy full SHA for 2404c7e - Browse repository at this point
Copy the full SHA 2404c7eView commit details -
docs: update docs for npmrc and package-json (#7743)
Updating Docs for `npmrc` - Updated example config, instead of `prefix` which can not be changed for project, instead added `cache` which can be used for all three config types project, user and global `package-json` - added alias example in package-json docs, which can be used to define alias for a package closes: #6839 closes: #7188
Configuration menu - View commit details
-
Copy full SHA for e674987 - Browse repository at this point
Copy the full SHA e674987View commit details
Commits on Aug 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8035725 - Browse repository at this point
Copy the full SHA 8035725View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1772276 - Browse repository at this point
Copy the full SHA 1772276View commit details
Commits on Aug 28, 2024
-
fix(docs): init usage description corrected (#7759)
Updated `npm init <pkg-spec>` command usage documentation for npx equivalent command format `npx create-<pkg-spec>` Fixes: #7011
Configuration menu - View commit details
-
Copy full SHA for 7e61151 - Browse repository at this point
Copy the full SHA 7e61151View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec105f4 - Browse repository at this point
Copy the full SHA ec105f4View commit details
Commits on Sep 5, 2024
-
chore(deps): bump actions/download-artifact from 3 to 4 in /.github/w…
…orkflows (#7764) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to . <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/download-artifact/releases">actions/download-artifact's releases</a>.</em></p> <blockquote> <h2>v4.1.7</h2> <h2>What's Changed</h2> <ul> <li>Update <code>@actions/artifact</code> dependency by <a href="https://github.com/bethanyj28"><code>@bethanyj28</code></a> in <a href="https://github.com/actions/download-artifact/pull/325">actions/download-artifact#325</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/download-artifact/compare/v4.1.6...v4.1.7">https://github.com/actions/download-artifact/compare/v4.1.6...v4.1.7</a></p> <h2>v4.1.6</h2> <h2>What's Changed</h2> <ul> <li>updating <code>@actions/artifact</code> dependency to v2.1.6 by <a href="https://github.com/eggyhead"><code>@eggyhead</code></a> in <a href="https://github.com/actions/download-artifact/pull/324">actions/download-artifact#324</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/download-artifact/compare/v4.1.5...v4.1.6">https://github.com/actions/download-artifact/compare/v4.1.5...v4.1.6</a></p> <h2>v4.1.5</h2> <h2>What's Changed</h2> <ul> <li>Update readme with v3/v2/v1 deprecation notice by <a href="https://github.com/robherley"><code>@robherley</code></a> in <a href="https://github.com/actions/download-artifact/pull/322">actions/download-artifact#322</a></li> <li>Update dependencies <code>@actions/core</code> to v1.10.1 and <code>@actions/artifact</code> to v2.1.5</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/download-artifact/compare/v4.1.4...v4.1.5">https://github.com/actions/download-artifact/compare/v4.1.4...v4.1.5</a></p> <h2>v4.1.4</h2> <h2>What's Changed</h2> <ul> <li>Update <code>@actions/artifact</code> by <a href="https://github.com/bethanyj28"><code>@bethanyj28</code></a> in <a href="https://github.com/actions/download-artifact/pull/307">actions/download-artifact#307</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/download-artifact/compare/v4...v4.1.4">https://github.com/actions/download-artifact/compare/v4...v4.1.4</a></p> <h2>v4.1.3</h2> <h2>What's Changed</h2> <ul> <li>Update release-new-action-version.yml by <a href="https://github.com/konradpabjan"><code>@konradpabjan</code></a> in <a href="https://github.com/actions/download-artifact/pull/292">actions/download-artifact#292</a></li> <li>Update toolkit dependency with updated unzip logic by <a href="https://github.com/bethanyj28"><code>@bethanyj28</code></a> in <a href="https://github.com/actions/download-artifact/pull/299">actions/download-artifact#299</a></li> <li>Update <code>@actions/artifact</code> by <a href="https://github.com/bethanyj28"><code>@bethanyj28</code></a> in <a href="https://github.com/actions/download-artifact/pull/303">actions/download-artifact#303</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/bethanyj28"><code>@bethanyj28</code></a> made their first contribution in <a href="https://github.com/actions/download-artifact/pull/299">actions/download-artifact#299</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/download-artifact/compare/v4...v4.1.3">https://github.com/actions/download-artifact/compare/v4...v4.1.3</a></p> <h2>v4.1.2</h2> <ul> <li>Bump <code>@actions/artifacts</code> to latest version to include <a href="https://github.com/actions/toolkit/pull/1648">updated GHES host check</a></li> </ul> <h2>v4.1.1</h2> <ul> <li>Fix transient request timeouts <a href="https://github.com/actions/download-artifact/issues/249">actions/download-artifact#249</a></li> <li>Bump <code>@actions/artifacts</code> to latest version</li> </ul> <h2>v4.1.0</h2> <h2>What's Changed</h2> <ul> <li>Some cleanup by <a href="https://github.com/robherley"><code>@robherley</code></a> in <a href="https://github.com/actions/download-artifact/pull/247">actions/download-artifact#247</a></li> <li>Fix default for run-id by <a href="https://github.com/stchr"><code>@stchr</code></a> in <a href="https://github.com/actions/download-artifact/pull/252">actions/download-artifact#252</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/download-artifact/commit/65a9edc5881444af0b9093a5e628f2fe47ea3b2e"><code>65a9edc</code></a> Merge pull request <a href="https://github.com/actions/download-artifact/issues/325">#325</a> from bethanyj28/main</li> <li><a href="https://github.com/actions/download-artifact/commit/fdd1595981c1a29187d3de99c28c28a166bc38f7"><code>fdd1595</code></a> licensed</li> <li><a href="https://github.com/actions/download-artifact/commit/c13dba102f4bb92b3f679fa086db9e2973960ca7"><code>c13dba1</code></a> update <code>@actions/artifact</code> dependency</li> <li><a href="https://github.com/actions/download-artifact/commit/0daa75ebeac4617faeb127496dbd716b8bcce26e"><code>0daa75e</code></a> Merge pull request <a href="https://github.com/actions/download-artifact/issues/324">#324</a> from actions/eggyhead/use-artifact-v2.1.6</li> <li><a href="https://github.com/actions/download-artifact/commit/9c19ed7fe5d278cd354c7dfd5d3b88589c7e2395"><code>9c19ed7</code></a> Merge branch 'main' into eggyhead/use-artifact-v2.1.6</li> <li><a href="https://github.com/actions/download-artifact/commit/3d3ea8741ef44e86f7392b41e391bde3c36219bd"><code>3d3ea87</code></a> updating license</li> <li><a href="https://github.com/actions/download-artifact/commit/89af5db8211998d3ca691103a86b0b9362a94286"><code>89af5db</code></a> updating artifact package v2.1.6</li> <li><a href="https://github.com/actions/download-artifact/commit/b4aefff88e83a2676a730654e1ce3dce61880379"><code>b4aefff</code></a> Merge pull request <a href="https://github.com/actions/download-artifact/issues/323">#323</a> from actions/eggyhead/update-artifact-v215</li> <li><a href="https://github.com/actions/download-artifact/commit/8caf195ad4b1dee92908e23f56eeb0696f1dd42d"><code>8caf195</code></a> package lock update</li> <li><a href="https://github.com/actions/download-artifact/commit/d7a2ec411d177e8ca679ac5969b70be59c322700"><code>d7a2ec4</code></a> updating package version</li> <li>Additional commits viewable in <a href="https://github.com/actions/download-artifact/compare/v3...v4.1.7">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/download-artifact&package-manager=github_actions&previous-version=3&new-version=4.1.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/npm/cli/network/alerts). </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gar <gar+gh@danger.computer>
Configuration menu - View commit details
-
Copy full SHA for fefd509 - Browse repository at this point
Copy the full SHA fefd509View commit details
Commits on Sep 11, 2024
-
docs: remove incorrect note about npm install (#7776)
npm has not interpreted valid package names as local directories in a long time
Configuration menu - View commit details
-
Copy full SHA for 366c07e - Browse repository at this point
Copy the full SHA 366c07eView commit details
Commits on Sep 17, 2024
-
docs(package.json): add brief section on exports, link to Node.js docs (
#7783) The package.json docs make no reference to the `exports` property, which seems like a huge omission This PR copies a little text from the node.js docs and links to them - not sure if it's a good solution, but it's a start
Configuration menu - View commit details
-
Copy full SHA for 63d6a73 - Browse repository at this point
Copy the full SHA 63d6a73View commit details
Commits on Sep 30, 2024
-
fix: ping and doctor commands fix for checking if registry is online (#…
…7789) Ping: Don't use cache so ping does not report ping sucess incorrectly if it's offline or no internet Doctor: Don't use cache for pinging the registry. Fixes: #5870 Fixes: #3576 Fixes: #4112 <details> <summary>Testing of ping and doctor </summary> ```sh # -- current npm last ping resuts in cached request replying PONG ~/workarea/npm-cli $ npm ping --registry=http://localhost:4873 -ddd npm verbose cli /Users/milaninfy/.nvm/versions/node/v22.9.0/bin/node /Users/milaninfy/.nvm/versions/node/v22.9.0/bin/npm npm info using npm@10.8.3 npm info using node@v22.9.0 npm silly config load:file:/Users/milaninfy/.nvm/versions/node/v22.9.0/lib/node_modules/npm/npmrc npm silly config load:file:/Users/milaninfy/workarea/npm-cli/.npmrc npm silly config load:file:/Users/milaninfy/.npmrc npm silly config load:file:/Users/milaninfy/.nvm/versions/node/v22.9.0/etc/npmrc npm verbose title npm ping npm verbose argv "ping" "--registry" "http://localhost:4873" "--loglevel" "silly" npm verbose logfile logs-max:10 dir:/Users/milaninfy/.npm/_logs/2024-09-26T20_37_04_583Z- npm verbose logfile /Users/milaninfy/.npm/_logs/2024-09-26T20_37_04_583Z-debug-0.log npm notice PING http://localhost:4873/ npm silly logfile start cleaning logs, removing 1 files npm silly logfile done cleaning log files npm http fetch GET http://localhost:4873/-/ping?write=true attempt 1 failed with ECONNREFUSED npm http fetch GET http://localhost:4873/-/ping?write=true attempt 2 failed with ECONNREFUSED npm http fetch GET http://localhost:4873/-/ping?write=true attempt 3 failed with ECONNREFUSED npm http fetch GET 200 http://localhost:4873/-/ping?write=true 70045ms (cache stale) npm notice PONG 70046ms npm verbose cwd /Users/milaninfy/workarea/npm-cli npm verbose os Darwin 23.6.0 npm verbose node v22.9.0 npm verbose npm v10.8.3 npm verbose exit 0 npm info ok # -- After the change npm last ping resuts in failure after retries ~/workarea/npm-cli $ lnpm ping --registry=http://localhost:4873 -ddd npm verbose cli /Users/milaninfy/.nvm/versions/node/v22.9.0/bin/node /Users/milaninfy/workarea/npm-cli/index.js npm info using npm@10.8.3 npm info using node@v22.9.0 npm silly config load:file:/Users/milaninfy/workarea/npm-cli/npmrc npm silly config load:file:/Users/milaninfy/workarea/npm-cli/.npmrc npm silly config load:file:/Users/milaninfy/.npmrc npm silly config load:file:/Users/milaninfy/.nvm/versions/node/v22.9.0/etc/npmrc npm verbose title npm ping npm verbose argv "ping" "--registry" "http://localhost:4873" "--loglevel" "silly" npm verbose logfile logs-max:10 dir:/Users/milaninfy/.npm/_logs/2024-09-26T20_38_51_059Z- npm verbose logfile /Users/milaninfy/.npm/_logs/2024-09-26T20_38_51_059Z-debug-0.log npm notice PING http://localhost:4873/ npm silly logfile start cleaning logs, removing 1 files npm http fetch GET http://localhost:4873/-/ping?write=true attempt 1 failed with ECONNREFUSED npm silly logfile done cleaning log files npm http fetch GET http://localhost:4873/-/ping?write=true attempt 2 failed with ECONNREFUSED npm http fetch GET http://localhost:4873/-/ping?write=true attempt 3 failed with ECONNREFUSED npm verbose type system npm verbose stack FetchError: request to http://localhost:4873/-/ping?write=true failed, reason: npm verbose stack at ClientRequest.<anonymous> (/Users/milaninfy/workarea/npm-cli/node_modules/minipass-fetch/lib/index.js:130:14) npm verbose stack at ClientRequest.emit (node:events:519:28) npm verbose stack at emitErrorEvent (node:_http_client:103:11) npm verbose stack at _destroy (node:_http_client:886:9) npm verbose stack at onSocketNT (node:_http_client:906:5) npm verbose stack at process.processTicksAndRejections (node:internal/process/task_queues:91:21) npm error code ECONNREFUSED npm error errno ECONNREFUSED npm error FetchError: request to http://localhost:4873/-/ping?write=true failed, reason: npm error at ClientRequest.<anonymous> (/Users/milaninfy/workarea/npm-cli/node_modules/minipass-fetch/lib/index.js:130:14) npm error at ClientRequest.emit (node:events:519:28) npm error at emitErrorEvent (node:_http_client:103:11) npm error at _destroy (node:_http_client:886:9) npm error at onSocketNT (node:_http_client:906:5) npm error at process.processTicksAndRejections (node:internal/process/task_queues:91:21) { npm error code: 'ECONNREFUSED', npm error errno: 'ECONNREFUSED', npm error type: 'system' npm error } npm error npm error If you are behind a proxy, please make sure that the npm error 'proxy' config is set properly. See: 'npm help config' npm verbose cwd /Users/milaninfy/workarea/npm-cli npm verbose os Darwin 23.6.0 npm verbose node v22.9.0 npm verbose npm v10.8.3 npm verbose exit 1 npm verbose code 1 npm error A complete log of this run can be found in: /Users/milaninfy/.npm/_logs/2024-09-26T20_38_51_059Z-debug-0.log # -- npm doctor ping resuts in success due to cache hit ~/workarea/npm-cli $ npm doctor --registry=http://localhost:4873 -ddd npm verbose cli /Users/milaninfy/.nvm/versions/node/v22.9.0/bin/node /Users/milaninfy/.nvm/versions/node/v22.9.0/bin/npm npm info using npm@10.8.3 npm info using node@v22.9.0 npm silly config load:file:/Users/milaninfy/.nvm/versions/node/v22.9.0/lib/node_modules/npm/npmrc npm silly config load:file:/Users/milaninfy/workarea/npm-cli/.npmrc npm silly config load:file:/Users/milaninfy/.npmrc npm silly config load:file:/Users/milaninfy/.nvm/versions/node/v22.9.0/etc/npmrc npm verbose title npm doctor npm verbose argv "doctor" "--registry" "http://localhost:4873" "--loglevel" "silly" npm verbose logfile logs-max:10 dir:/Users/milaninfy/.npm/_logs/2024-09-26T20_40_30_672Z- npm verbose logfile /Users/milaninfy/.npm/_logs/2024-09-26T20_40_30_672Z-debug-0.log npm info doctor Running checkup Connecting to the registry npm info doctor Pinging registry npm silly logfile start cleaning logs, removing 1 files npm silly logfile done cleaning log files npm http fetch GET http://localhost:4873/-/ping?write=true attempt 1 failed with ECONNREFUSED npm http fetch GET 200 http://localhost:4873/-/ping?write=true 48ms (cache stale) Ok # -- after the changes npm doctor ping correctly resuts in failure after retires ~/workarea/npm-cli $ lnpm doctor --registry=http://localhost:4873 -ddd npm verbose cli /Users/milaninfy/.nvm/versions/node/v22.9.0/bin/node /Users/milaninfy/workarea/npm-cli/index.js npm info using npm@10.8.3 npm info using node@v22.9.0 npm silly config load:file:/Users/milaninfy/workarea/npm-cli/npmrc npm silly config load:file:/Users/milaninfy/workarea/npm-cli/.npmrc npm silly config load:file:/Users/milaninfy/.npmrc npm silly config load:file:/Users/milaninfy/.nvm/versions/node/v22.9.0/etc/npmrc npm verbose title npm doctor npm verbose argv "doctor" "--registry" "http://localhost:4873" "--loglevel" "silly" npm verbose logfile logs-max:10 dir:/Users/milaninfy/.npm/_logs/2024-09-26T20_41_05_904Z- npm verbose logfile /Users/milaninfy/.npm/_logs/2024-09-26T20_41_05_904Z-debug-0.log npm info doctor Running checkup Connecting to the registry npm info doctor Pinging registry npm silly logfile start cleaning logs, removing 1 files npm http fetch GET http://localhost:4873/-/ping?write=true attempt 1 failed with ECONNREFUSED npm silly logfile done cleaning log files npm http fetch GET http://localhost:4873/-/ping?write=true attempt 2 failed with ECONNREFUSED npm http fetch GET http://localhost:4873/-/ping?write=true attempt 3 failed with ECONNREFUSED Not ok request to http://localhost:4873/-/ping?write=true failed, reason: ``` </detail>
Configuration menu - View commit details
-
Copy full SHA for 6ca609e - Browse repository at this point
Copy the full SHA 6ca609eView commit details
Commits on Oct 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 949d8f8 - Browse repository at this point
Copy the full SHA 949d8f8View commit details -
fix!: align libnpmversion to npm 10 node engine range
BREAKING CHANGE: `libnpmversion` now supports node `^18.17.0 || >=20.5.0`
Configuration menu - View commit details
-
Copy full SHA for d3c0b1e - Browse repository at this point
Copy the full SHA d3c0b1eView commit details -
fix!: align libnpmteam to npm 10 node engine range
BREAKING CHANGE: `libnpmteam` now supports node `^18.17.0 || >=20.5.0`
Configuration menu - View commit details
-
Copy full SHA for 61d9a90 - Browse repository at this point
Copy the full SHA 61d9a90View commit details -
fix!: align libnpmsearch to npm 10 node engine range
BREAKING CHANGE: `libnpmsearch` now supports node `^18.17.0 || >=20.5.0`
Configuration menu - View commit details
-
Copy full SHA for ecfa213 - Browse repository at this point
Copy the full SHA ecfa213View commit details -
fix!: align libnpmpublish to npm 10 node engine range
BREAKING CHANGE: `libnpmpublish` now supports node `^18.17.0 || >=20.5.0`
Configuration menu - View commit details
-
Copy full SHA for 96f4e4e - Browse repository at this point
Copy the full SHA 96f4e4eView commit details -
fix!: align libnpmpack to npm 10 node engine range
BREAKING CHANGE: `libnpmpack` now supports node `^18.17.0 || >=20.5.0`
Configuration menu - View commit details
-
Copy full SHA for 1b61379 - Browse repository at this point
Copy the full SHA 1b61379View commit details -
fix!: align libnpmorg to npm 10 node engine range
BREAKING CHANGE: `libnpmorg` now supports node `^18.17.0 || >=20.5.0`
Configuration menu - View commit details
-
Copy full SHA for 47f6f76 - Browse repository at this point
Copy the full SHA 47f6f76View commit details -
fix!: align libnpmhook to npm 10 node engine range
BREAKING CHANGE: `libnpmhook` now supports node `^18.17.0 || >=20.5.0`
Configuration menu - View commit details
-
Copy full SHA for 0e69c92 - Browse repository at this point
Copy the full SHA 0e69c92View commit details -
fix!: align libnpmfund to npm 10 node engine range
BREAKING CHANGE: `libnpmfund` now supports node `^18.17.0 || >=20.5.0`
Configuration menu - View commit details
-
Copy full SHA for e7298de - Browse repository at this point
Copy the full SHA e7298deView commit details -
fix!: align libnpmexec to npm 10 node engine range
BREAKING CHANGE: `libnpmexec` now supports node `^18.17.0 || >=20.5.0`
Configuration menu - View commit details
-
Copy full SHA for a2c8016 - Browse repository at this point
Copy the full SHA a2c8016View commit details -
fix!: align libnpmdiff to npm 10 node engine range
BREAKING CHANGE: `libnpmdiff` now supports node `^18.17.0 || >=20.5.0`
Configuration menu - View commit details
-
Copy full SHA for 340a330 - Browse repository at this point
Copy the full SHA 340a330View commit details -
fix!: align libnpmaccess to npm 10 node engine range
BREAKING CHANGE: `libnpmaccess` now supports node `^18.17.0 || >=20.5.0`
Configuration menu - View commit details
-
Copy full SHA for 73068d6 - Browse repository at this point
Copy the full SHA 73068d6View commit details -
fix!: align @npmcli/config to npm 10 node engine range
BREAKING CHANGE: `@npmcli/config` now supports node `^18.17.0 || >=20.5.0`
Configuration menu - View commit details
-
Copy full SHA for f846ad3 - Browse repository at this point
Copy the full SHA f846ad3View commit details -
fix!: align @npmcli/arborist to npm 10 node engine range
BREAKING CHANGE: `@npmcli/arborist` now supports node `^18.17.0 || >=20.5.0`
Configuration menu - View commit details
-
Copy full SHA for 365580a - Browse repository at this point
Copy the full SHA 365580aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd90f9e - Browse repository at this point
Copy the full SHA dd90f9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for feac87c - Browse repository at this point
Copy the full SHA feac87cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2076368 - Browse repository at this point
Copy the full SHA 2076368View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81137fc - Browse repository at this point
Copy the full SHA 81137fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for b80d048 - Browse repository at this point
Copy the full SHA b80d048View commit details -
Configuration menu - View commit details
-
Copy full SHA for 538a4cc - Browse repository at this point
Copy the full SHA 538a4ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddb8be0 - Browse repository at this point
Copy the full SHA ddb8be0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 034c729 - Browse repository at this point
Copy the full SHA 034c729View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6deae9e - Browse repository at this point
Copy the full SHA 6deae9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f54b155 - Browse repository at this point
Copy the full SHA f54b155View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4bed31 - Browse repository at this point
Copy the full SHA c4bed31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7214149 - Browse repository at this point
Copy the full SHA 7214149View commit details -
Configuration menu - View commit details
-
Copy full SHA for eae4f57 - Browse repository at this point
Copy the full SHA eae4f57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 105fa2b - Browse repository at this point
Copy the full SHA 105fa2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d4060a - Browse repository at this point
Copy the full SHA 8d4060aView commit details -
Configuration menu - View commit details
-
Copy full SHA for be6ae96 - Browse repository at this point
Copy the full SHA be6ae96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 591130d - Browse repository at this point
Copy the full SHA 591130dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50a7bc8 - Browse repository at this point
Copy the full SHA 50a7bc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 092f41f - Browse repository at this point
Copy the full SHA 092f41fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5208f74 - Browse repository at this point
Copy the full SHA 5208f74View commit details -
Configuration menu - View commit details
-
Copy full SHA for d13a20b - Browse repository at this point
Copy the full SHA d13a20bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b28dbb1 - Browse repository at this point
Copy the full SHA b28dbb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7ab206 - Browse repository at this point
Copy the full SHA e7ab206View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9b2e18 - Browse repository at this point
Copy the full SHA f9b2e18View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6909a0 - Browse repository at this point
Copy the full SHA f6909a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b7dbc8 - Browse repository at this point
Copy the full SHA 8b7dbc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8206c4f - Browse repository at this point
Copy the full SHA 8206c4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1c4770 - Browse repository at this point
Copy the full SHA b1c4770View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab40dab - Browse repository at this point
Copy the full SHA ab40dabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53ed632 - Browse repository at this point
Copy the full SHA 53ed632View commit details -
Configuration menu - View commit details
-
Copy full SHA for b84d907 - Browse repository at this point
Copy the full SHA b84d907View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cd6603 - Browse repository at this point
Copy the full SHA 9cd6603View commit details -
Configuration menu - View commit details
-
Copy full SHA for 820e983 - Browse repository at this point
Copy the full SHA 820e983View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e09334 - Browse repository at this point
Copy the full SHA 1e09334View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d7fc3d - Browse repository at this point
Copy the full SHA 2d7fc3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c25a1d - Browse repository at this point
Copy the full SHA 1c25a1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75786ad - Browse repository at this point
Copy the full SHA 75786adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99ccae3 - Browse repository at this point
Copy the full SHA 99ccae3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5795987 - Browse repository at this point
Copy the full SHA 5795987View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2072705 - Browse repository at this point
Copy the full SHA 2072705View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb03036 - Browse repository at this point
Copy the full SHA bb03036View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43f2374 - Browse repository at this point
Copy the full SHA 43f2374View commit details -
Configuration menu - View commit details
-
Copy full SHA for be1e6da - Browse repository at this point
Copy the full SHA be1e6daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20dd44f - Browse repository at this point
Copy the full SHA 20dd44fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60a7ee5 - Browse repository at this point
Copy the full SHA 60a7ee5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95e2cb1 - Browse repository at this point
Copy the full SHA 95e2cb1View commit details
Commits on Oct 3, 2024
-
This PR adds a check for `devEngines` in the current projects `package.json` as defined in the spec here: openjs-foundation/package-metadata-interoperability-collab-space#15 This PR utilizes a `checkDevEngines` function defined within `npm-install-checks` open here: npm/npm-install-checks#116 The goal of this pr is to have a check for specific npm commands `install`, and `run` consult the `devEngines` property before execution and check if the current system / environment. For `npm ` the runtime will always be `node` and the `packageManager` will always be `npm`, if a project is defined as not those two envs and it's required we'll throw. > Note the current `engines` property is checked when you install your dependencies. Each packages `engines` are checked with your environment. However, `devEngines` operates on commands for maintainers of a package, service, project when install and run commands are executed and is meant to enforce / guide maintainers to all be using the same engine / env and or versions.
Configuration menu - View commit details
-
Copy full SHA for 4d57928 - Browse repository at this point
Copy the full SHA 4d57928View commit details -
Configuration menu - View commit details
-
Copy full SHA for 977fd57 - Browse repository at this point
Copy the full SHA 977fd57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 534ad77 - Browse repository at this point
Copy the full SHA 534ad77View commit details
Commits on Oct 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for feb54f7 - Browse repository at this point
Copy the full SHA feb54f7View commit details
Commits on Oct 11, 2024
-
fix(view): sort and truncate dist-tags (#7808)
This sorts dist-tags by publish date so that newer tags show first, giving top priority to the `latest` tag. It also truncates the list in a similar manner to how dependencies are truncated. Needs tests. Before: ![dist-tags list in npm view showing every tag shorted by version](https://github.com/user-attachments/assets/9a8b094f-f466-439c-927b-21dbeb896322) After: ![dist-tags list in npm view showing a truncated list sorted by publish date](https://github.com/user-attachments/assets/8727c387-21ed-4fe3-8f09-dc8b93bfe75f)
Configuration menu - View commit details
-
Copy full SHA for 70cd88d - Browse repository at this point
Copy the full SHA 70cd88dView commit details
Commits on Oct 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5a74478 - Browse repository at this point
Copy the full SHA 5a74478View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95d009e - Browse repository at this point
Copy the full SHA 95d009eView commit details -
fix!: for @npmcli/docs sets node engine range to
^20.17.0 || >=22.9.0
BREAKING CHANGE: @npmcli/docs now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for 4c8ba0a - Browse repository at this point
Copy the full SHA 4c8ba0aView commit details -
fix!: for @npmcli/smoke-tests sets node engine range to `^20.17.0 || …
…>=22.9.0` BREAKING CHANGE: @npmcli/smoke-tests now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for e6a8a17 - Browse repository at this point
Copy the full SHA e6a8a17View commit details -
fix!: for @npmcli/mock-globals sets node engine range to `^20.17.0 ||…
… >=22.9.0` BREAKING CHANGE: @npmcli/mock-globals now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for 874c0eb - Browse repository at this point
Copy the full SHA 874c0ebView commit details -
fix!: for @npmcli/mock-registry sets node engine range to `^20.17.0 |…
…| >=22.9.0` BREAKING CHANGE: @npmcli/mock-registry now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for 802ea73 - Browse repository at this point
Copy the full SHA 802ea73View commit details -
fix!: for libnpmversion sets node engine range to
^20.17.0 || >=22.9.0
BREAKING CHANGE: libnpmversion now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for 57eef8d - Browse repository at this point
Copy the full SHA 57eef8dView commit details -
fix!: for libnpmteam sets node engine range to
^20.17.0 || >=22.9.0
BREAKING CHANGE: libnpmteam now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for 9561fa7 - Browse repository at this point
Copy the full SHA 9561fa7View commit details -
fix!: for libnpmsearch sets node engine range to
^20.17.0 || >=22.9.0
BREAKING CHANGE: libnpmsearch now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for 2f2ee15 - Browse repository at this point
Copy the full SHA 2f2ee15View commit details -
fix!: for libnpmpublish sets node engine range to
^20.17.0 || >=22.9.0
BREAKING CHANGE: libnpmpublish now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for a2f8af0 - Browse repository at this point
Copy the full SHA a2f8af0View commit details -
fix!: for libnpmpack sets node engine range to
^20.17.0 || >=22.9.0
BREAKING CHANGE: libnpmpack now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for f7b41a3 - Browse repository at this point
Copy the full SHA f7b41a3View commit details -
fix!: for libnpmorg sets node engine range to
^20.17.0 || >=22.9.0
BREAKING CHANGE: libnpmorg now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for 62c4604 - Browse repository at this point
Copy the full SHA 62c4604View commit details -
fix!: for libnpmhook sets node engine range to
^20.17.0 || >=22.9.0
BREAKING CHANGE: libnpmhook now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for 10458ff - Browse repository at this point
Copy the full SHA 10458ffView commit details -
fix!: for libnpmfund sets node engine range to
^20.17.0 || >=22.9.0
BREAKING CHANGE: libnpmfund now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for 44be07c - Browse repository at this point
Copy the full SHA 44be07cView commit details -
fix!: for libnpmexec sets node engine range to
^20.17.0 || >=22.9.0
BREAKING CHANGE: libnpmexec now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for 2902d4c - Browse repository at this point
Copy the full SHA 2902d4cView commit details -
fix!: for libnpmdiff sets node engine range to
^20.17.0 || >=22.9.0
BREAKING CHANGE: libnpmdiff now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for dab3042 - Browse repository at this point
Copy the full SHA dab3042View commit details -
fix!: for libnpmaccess sets node engine range to
^20.17.0 || >=22.9.0
BREAKING CHANGE: libnpmaccess now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for 687cfaf - Browse repository at this point
Copy the full SHA 687cfafView commit details -
fix!: for @npmcli/config sets node engine range to `^20.17.0 || >=22.…
…9.0` BREAKING CHANGE: @npmcli/config now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for 6e11eb2 - Browse repository at this point
Copy the full SHA 6e11eb2View commit details -
fix!: for @npmcli/arborist sets node engine range to `^20.17.0 || >=2…
…2.9.0` BREAKING CHANGE: @npmcli/arborist now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for 3ffc08b - Browse repository at this point
Copy the full SHA 3ffc08bView commit details -
fix!: sets node engine range to
^20.17.0 || >=22.9.0
BREAKING CHANGE: npm now supports node `^20.17.0 || >=22.9.0`
Configuration menu - View commit details
-
Copy full SHA for 3162620 - Browse repository at this point
Copy the full SHA 3162620View commit details -
Configuration menu - View commit details
-
Copy full SHA for 852dd8b - Browse repository at this point
Copy the full SHA 852dd8bView commit details -
fix: make pack and exec work with git hash refs (#7815)
Passing arborist constructor to pacote.manifest call because internally when fetching git deps DirFetcher requires Arborist constructor from GitFetcher https://github.com/npm/pacote/blob/main/CHANGELOG.md#1400-pre3-2022-09-28 - [x] Trying to add some tests Fixes: #6723
Configuration menu - View commit details
-
Copy full SHA for 7f541e8 - Browse repository at this point
Copy the full SHA 7f541e8View commit details -
chore: add creation of a DEPENDENCIES.json file (#7824)
adds a DEPENDENCIES.json for programatic use
Configuration menu - View commit details
-
Copy full SHA for 286739c - Browse repository at this point
Copy the full SHA 286739cView commit details
Commits on Oct 15, 2024
-
deps!: bump sigstore from 2.x to 3.0.0
BREAKING CHANGE: Attestations made by this package will no longer validate in npm versions prior to 10.6.0 Signed-off-by: Brian DeHamer <bdehamer@github.com>
Configuration menu - View commit details
-
Copy full SHA for 7ee15bb - Browse repository at this point
Copy the full SHA 7ee15bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f36dc59 - Browse repository at this point
Copy the full SHA f36dc59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 720b4d8 - Browse repository at this point
Copy the full SHA 720b4d8View commit details -
fix: update libnpmpublish tests for sigstore 3.0.0
Signed-off-by: Brian DeHamer <bdehamer@github.com>
Configuration menu - View commit details
-
Copy full SHA for f75da94 - Browse repository at this point
Copy the full SHA f75da94View commit details
Commits on Oct 16, 2024
-
fix!: removes
npm hook
commandBREAKING CHANGE: The `npm hook` command has been removed
Configuration menu - View commit details
-
Copy full SHA for 62c71e5 - Browse repository at this point
Copy the full SHA 62c71e5View commit details
Commits on Oct 17, 2024
-
fix: don't go into global mode if aliased to npmg (#7842)
BREAKING CHANGE: npm will no longer switch to global mode if aliased to "npmg" or "npm-g" etc. [This code](03bd669) is a remnant from when npm defined `bin` entries for itself that included `npm_g` and `npm-g`. npm no longer defines these, and this code should have been removed when those entries were removed. To utilize this today one would have to manually alias npm themselves. What this code does today in practice is make local development very tricky, because if you (like me) use git worktrees, and have a worktree directory that ends in "g", npm will be in global mode when you invoke it as `node .`. This is very "magical" behavior and not at all intuitive. It's best if this just goes away. `npm -g` is explicit and does not require npm trying to guess if you really wanted to be in global mode or not.
Configuration menu - View commit details
-
Copy full SHA for ecd2d23 - Browse repository at this point
Copy the full SHA ecd2d23View commit details
Commits on Oct 18, 2024
-
fix(pkg): display if any of multiple attributes exist (#7855)
<!-- What / Why --> <!-- Describe the request in detail. What it does and why it's being changed. --> See #7854 for the why and more details. I changed the unwrap logic so that it only runs when the result contains one entry and the amount of arguments is one. Otherwise, when multiple arguments are provided the unwrap results in an undefined. Additionally, I think it makes sense to skip the unwrap logic when the result contains one entry and pkg has multiple arguments because you would expect an object. In the existing comment above the if-statement, it is mentioned the CLI should not unwrap at all. I chose not to do this because it is not clear to me if this is a final decision and has a large impact. However, if it is the desired direction, I am happy to do the work. ## References Fixes #7854
Configuration menu - View commit details
-
Copy full SHA for 780afc5 - Browse repository at this point
Copy the full SHA 780afc5View commit details