feat: add allowRemote, allowFile, allowDirectory#443
Merged
Conversation
owlstronaut
approved these changes
Feb 5, 2026
| Defaults to `false`, | ||
| For `npm` itself this means a package that is defined in the local project or workspace package.json, or a package that is being fetched for another command like `npm view`. This informs the `allowX` options to let them know the context of the current request. | ||
|
|
||
| For more info on spec types (i.e. git, remote) see [npm-package-arg](npm.im/npm-package-arg) |
Contributor
There was a problem hiding this comment.
Will the link work without the protocol prefix here, or will it interpret as a relative path?
Member
Author
There was a problem hiding this comment.
I copied it verbatim from another link to the same repo in the readme which already works
Merged
wraithgar
pushed a commit
that referenced
this pull request
Feb 6, 2026
🤖 I have created a release *beep* *boop* --- ## [21.2.0](v21.1.0...v21.2.0) (2026-02-06) ### Features * [`db21624`](db21624) [#442](#442) implement gitSubdir according to npa spec (#442) (@Kakadus) * [`c2a4217`](c2a4217) [#443](#443) add allowRemote, allowFile, allowDirectory (#443) (@wraithgar) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.