1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/cli/npm
David Sherret 600fff79cd
refactor(semver): generalize semver related structs (#17605)
- Generalizes the npm version code (ex. `NpmVersion` -> `Version`,
`NpmVersionReq` -> `VersionReq`). This is a slow refactor towards
extracting out this code for deno specifiers and better usage in
deno_graph.
- Removes `SpecifierVersionReq`. Consolidates `NpmVersionReq` and
`SpecifierVersionReq` to just `VersionReq`
- Removes `NpmVersionMatcher`. This now just looks at `VersionReq`.
- Paves the way to allow us to create `NpmPackageReference`'s from a
package.json's dependencies/dev dependencies
(`VersionReq::parse_from_npm`).
2023-01-31 21:27:40 -05:00
..
resolution refactor(semver): generalize semver related structs (#17605) 2023-01-31 21:27:40 -05:00
resolvers chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
cache.rs refactor(semver): generalize semver related structs (#17605) 2023-01-31 21:27:40 -05:00
mod.rs refactor(semver): generalize semver related structs (#17605) 2023-01-31 21:27:40 -05:00
registry.rs refactor(semver): generalize semver related structs (#17605) 2023-01-31 21:27:40 -05:00
tarball.rs refactor(semver): generalize semver related structs (#17605) 2023-01-31 21:27:40 -05:00