David Sherret
b3e88e0681
refactor: deno_graph 0.43 upgrade ( #17692 )
2023-02-09 22:00:23 -05:00
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
David Sherret
f5840bdcd3
chore: upgrade to Rust 1.67 ( #17548 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-01-27 10:43:16 -05:00
Bartek Iwańczuk
fc2e00152b
feat: support node built-in module imports ( #17264 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2023-01-24 09:05:54 -05:00
David Sherret
654e177c91
refactor(deno_graph): remove unused Resolved::Ok#kind usage ( #17504 )
...
See https://github.com/denoland/deno_graph/pull/205 for more details.
2023-01-24 08:23:19 -05:00
Yiyu Lin
896dd56b7a
refactor(cli,core,ext,rt): remove some unnecessary clone
or malloc
( #17274 )
2023-01-05 14:29:50 -05:00
David Sherret
10e4b2e140
chore: update copyright year to 2023 ( #17247 )
...
Yearly tradition of creating extra noise in git.
2023-01-02 21:00:42 +00:00
David Sherret
a06f59981b
fix(npm): resolve npm specifiers when root redirected ( #17144 )
...
Closes #17136
2022-12-20 11:40:26 -05:00
David Sherret
c03e0f3853
refactor: remove deno_graph::Locker
usage ( #16877 )
...
This is just a straight refactor and doesn't make any improvements to
the code that could now be made.
Closes #16493
2022-12-06 14:12:51 -05:00
Bartek Iwańczuk
b70f520ebc
fix: Make npm packages works with import maps ( #16754 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-11-22 20:09:30 +01:00
Aaron O'Mullan
238590aa9f
chore: use Rust 1.65.0 ( #16688 )
2022-11-18 02:59:10 +01:00
David Sherret
2063ed7385
feat(npm): require --unstable for npm specifiers in remote modules ( #16612 )
2022-11-13 10:42:15 -05:00
David Sherret
88643aa478
fix(npm): specifier resolution - handle data urls and modules at a directory ( #16611 )
2022-11-12 12:53:41 -05:00
David Sherret
d81065cff9
feat(unstable/npm): module graph derived npm specifier resolution order ( #16602 )
2022-11-11 21:26:14 -05:00