diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-08-29 20:19:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-29 20:19:54 +0200 |
commit | b62ef4d37bc1207abb2daed5e2568eb581f07aa2 (patch) | |
tree | 0e2e188a199d1ef2b7fdced66154021eb7eca6e5 /cli/deno_std.rs | |
parent | a938aaf36fde1ecf25fdbff323690c98c99a1ecc (diff) |
refactor(cli): Remove cli/node dependency on cli/compat (#15654)
Diffstat (limited to 'cli/deno_std.rs')
-rw-r--r-- | cli/deno_std.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/deno_std.rs b/cli/deno_std.rs new file mode 100644 index 000000000..6ba9f2244 --- /dev/null +++ b/cli/deno_std.rs @@ -0,0 +1,11 @@ +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. + +use deno_core::url::Url; +use once_cell::sync::Lazy; + +// WARNING: Ensure this is the only deno_std version reference as this +// is automatically updated by the version bump workflow. +static CURRENT_STD_URL_STR: &str = "https://deno.land/std@0.153.0/"; + +pub static CURRENT_STD_URL: Lazy<Url> = + Lazy::new(|| Url::parse(CURRENT_STD_URL_STR).unwrap()); |