Skip to content

feat: ability to store npm snapshot #132

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

Merged
merged 7 commits into from
Jun 6, 2023
Merged

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented May 31, 2023

Closes #99

@dsherret dsherret marked this pull request as ready for review June 1, 2023 16:19
@dsherret dsherret requested a review from lucacasonato June 1, 2023 16:19
Copy link
Member

@lucacasonato lucacasonato 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 e42f379 into denoland:main Jun 6, 2023
@dsherret dsherret deleted the npm_specifiers branch June 6, 2023 15:30
let actual_hash = hasher.finalize();
let expected_hash = &header_and_hash[header_bytes.len()..];
if &*actual_hash != expected_hash {
let is_v3 = magic == *ESZIP_V2_1_MAGIC;
Copy link

Choose a reason for hiding this comment

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

you might want to change this to say is_v21

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.

Support for npm specifiers
3 participants