mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
feat(unstable/npm): module graph derived npm specifier resolution order (#16602)
This commit is contained in:
parent
06bd9e9e16
commit
d81065cff9
7 changed files with 926 additions and 268 deletions
|
@ -25,7 +25,7 @@ use super::tarball::verify_and_extract_tarball;
|
|||
/// For some of the tests, we want downloading of packages
|
||||
/// to be deterministic so that the output is always the same
|
||||
pub fn should_sync_download() -> bool {
|
||||
std::env::var("DENO_UNSTABLE_NPM_SYNC_DOWNLOAD") == Ok("1".to_string())
|
||||
std::env::var("DENO_UNSTABLE_NPM_SYNC_DOWNLOAD").is_ok()
|
||||
}
|
||||
|
||||
const NPM_PACKAGE_SYNC_LOCK_FILENAME: &str = ".deno_sync_lock";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue