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

fix: deserialize v3 straight #34

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

dsherret
Copy link
Member

v4 is a somewhat lossy format and so we can't actually work with v3 by upgrading to v4 and then downgrading.

Ref: denoland/deno_graph#513 (comment)

@@ -385,7 +405,10 @@ impl LockfileContent {
let Some(maybe_specifier) =
to_resolved_specifiers.get(dep.as_str())
else {
todo!();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved this todo as well.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dsherret dsherret merged commit c9b7350 into denoland:main Aug 20, 2024
1 check passed
@dsherret dsherret deleted the fix_deserialize_v3_straight branch August 20, 2024 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants