Skip to content
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

Replace pacote with npm-registry-fetch #1329

Merged
merged 20 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
d9d01a3
Replace pacote with npm-registry-fetch and use dist-tags endpoint.
raineorshine Nov 21, 2023
d7727ff
npm/fetchPackageInfo: Pass tag to fetch.
raineorshine Nov 23, 2023
eb65a75
Remove viewOne.
raineorshine Nov 24, 2023
4e88e41
npm: Rename fetchPackageInfo -> fetchPartialPackument.
raineorshine Nov 24, 2023
fc99315
npm: Rename viewMany -> fetchUpgradedPackument.
raineorshine Nov 24, 2023
423b416
npm: Type fields to keyof Packument.
raineorshine Nov 24, 2023
0633f59
npm/fetchPackageInfo: Use json.stream for better performance.
raineorshine Nov 23, 2023
e6e0da6
npm: Fix fetchUpgradedPackument return type.
raineorshine Nov 24, 2023
b0b9c7d
npm: Remove unneeded dist-tags.${tag} type.
raineorshine Nov 24, 2023
e2c15d4
npm: Fix format --time.
raineorshine Nov 25, 2023
f99f3bb
Rename stubNpmView -> stubVersions.
raineorshine Nov 25, 2023
0bdc595
npm/fetchUpgradedPackument: Return only requested fields.
raineorshine Nov 25, 2023
d254d98
Make --deprecated true by default.
raineorshine Nov 25, 2023
c6b5863
npm/fetchUpgradedPackument: Conditionally return dist-tags and engines.
raineorshine Nov 25, 2023
377a47f
Merge branch 'main' into npm-registry-fetch
raineorshine Mar 27, 2024
6c8cea3
Remove unused node-gyp from externals now that pacote is gone.
raineorshine Mar 27, 2024
ad3f3df
Remove @types/pacote now that pacote is gone.
raineorshine Mar 27, 2024
ec1290a
Add @types/npm-registry-fetch.
raineorshine Mar 27, 2024
b512176
Reference npm-registry-fetch instead of pacote.
raineorshine Mar 27, 2024
a37d193
Update --deprecated description.
raineorshine Mar 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,8 @@ ncu "/^(?!react-).*$/" # windows
- `1.0.0 < 2.0.0` → `^3.0.0`
- "Any version" is preserved:
- `*` → `*`
- Prerelease and deprecated versions are ignored by default.
- Prerelease versions are ignored by default.
- Use `--pre` to include prerelease versions (e.g. `alpha`, `beta`, `build1235`)
- Use `--deprecated` to include deprecated versions
- With `--target minor`, only update patch and minor:
- `0.1.0` → `0.2.1`
- With `--target patch`, only update patch:
Expand Down Expand Up @@ -204,7 +203,7 @@ Options that take no arguments can be negated by prefixing them with `--no-`, e.
</tr>
<tr>
<td>--deprecated</td>
<td>Include deprecated packages.</td>
<td>Include deprecated packages. Use <code>--no-deprecated</code> to exclude deprecated packages (uses more bandwidth). (default: true)</td>
</tr>
<tr>
<td><a href="#doctor">-d, --doctor</a></td>
Expand Down
Loading
Loading