summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-02-17 01:54:07 +0100
committerGitHub <noreply@github.com>2022-02-17 01:54:07 +0100
commit551ace40cc513403a6a0cfd21304a2f9a1db7ece (patch)
tree0bf32efb7d25e59674b3dc2e0636d1add0b1ab59 /cli
parente17ab6322e94de9a1a01e58a00c604e00cfc2c50 (diff)
v1.19.0
Diffstat (limited to 'cli')
-rw-r--r--cli/Cargo.toml2
-rw-r--r--cli/compat/esm_resolver.rs2
-rw-r--r--cli/compat/mod.rs2
-rw-r--r--cli/tests/testdata/compat/import_map.json2
-rw-r--r--cli/tests/testdata/compat/import_map_https_imports.mjs2
5 files changed, 5 insertions, 5 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index c356d0f46..1523abc7a 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno"
-version = "1.18.2"
+version = "1.19.0"
authors = ["the Deno authors"]
default-run = "deno"
edition = "2021"
diff --git a/cli/compat/esm_resolver.rs b/cli/compat/esm_resolver.rs
index 357a95de8..d2b45ba0f 100644
--- a/cli/compat/esm_resolver.rs
+++ b/cli/compat/esm_resolver.rs
@@ -1234,7 +1234,7 @@ mod tests {
let cwd = testdir("basic");
let main = Url::from_file_path(cwd.join("main.js")).unwrap();
let expected =
- Url::parse("https://deno.land/std@0.125.0/node/http.ts").unwrap();
+ Url::parse("https://deno.land/std@0.126.0/node/http.ts").unwrap();
let actual = node_resolve("http", main.as_str(), &cwd).unwrap();
assert!(matches!(actual, ResolveResponse::Esm(_)));
diff --git a/cli/compat/mod.rs b/cli/compat/mod.rs
index d53092ee7..375edc9a7 100644
--- a/cli/compat/mod.rs
+++ b/cli/compat/mod.rs
@@ -16,7 +16,7 @@ pub(crate) use esm_resolver::NodeEsmResolver;
// each release, a better mechanism is preferable, but it's a quick and dirty
// solution to avoid printing `X-Deno-Warning` headers when the compat layer is
// downloaded
-static STD_URL_STR: &str = "https://deno.land/std@0.125.0/";
+static STD_URL_STR: &str = "https://deno.land/std@0.126.0/";
static SUPPORTED_MODULES: &[&str] = &[
"assert",
diff --git a/cli/tests/testdata/compat/import_map.json b/cli/tests/testdata/compat/import_map.json
index de910979c..8488f0140 100644
--- a/cli/tests/testdata/compat/import_map.json
+++ b/cli/tests/testdata/compat/import_map.json
@@ -1,5 +1,5 @@
{
"imports": {
- "std/": "https://deno.land/std@0.125.0/"
+ "std/": "https://deno.land/std@0.126.0/"
}
}
diff --git a/cli/tests/testdata/compat/import_map_https_imports.mjs b/cli/tests/testdata/compat/import_map_https_imports.mjs
index 596cc3f4c..d8c2a89c2 100644
--- a/cli/tests/testdata/compat/import_map_https_imports.mjs
+++ b/cli/tests/testdata/compat/import_map_https_imports.mjs
@@ -1,5 +1,5 @@
import { sortBy } from "std/collections/sort_by.ts";
-import { findSingle } from "https://deno.land/std@0.125.0/collections/find_single.ts";
+import { findSingle } from "https://deno.land/std@0.126.0/collections/find_single.ts";
import os from "node:os";
console.log(sortBy([2, 3, 1], (it) => it));