mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 15:14:33 +00:00
v1.17.0
This commit is contained in:
parent
e0cba6b19b
commit
5f11f87495
7 changed files with 61 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
[package]
|
||||
name = "deno"
|
||||
version = "1.16.4"
|
||||
version = "1.17.0"
|
||||
authors = ["the Deno authors"]
|
||||
default-run = "deno"
|
||||
edition = "2021"
|
||||
|
|
|
@ -1193,7 +1193,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.117.0/node/http.ts").unwrap();
|
||||
Url::parse("https://deno.land/std@0.118.0/node/http.ts").unwrap();
|
||||
|
||||
let actual = node_resolve("http", main.as_str(), &cwd).unwrap();
|
||||
println!("actual {}", actual);
|
||||
|
|
|
@ -15,7 +15,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.117.0/";
|
||||
static STD_URL_STR: &str = "https://deno.land/std@0.118.0/";
|
||||
|
||||
static SUPPORTED_MODULES: &[&str] = &[
|
||||
"assert",
|
||||
|
|
2
cli/tests/testdata/compat/import_map.json
vendored
2
cli/tests/testdata/compat/import_map.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"imports": {
|
||||
"std/": "https://deno.land/std@0.117.0/"
|
||||
"std/": "https://deno.land/std@0.118.0/"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { sortBy } from "std/collections/sort_by.ts";
|
||||
import { findSingle } from "https://deno.land/std@0.117.0/collections/find_single.ts";
|
||||
import { findSingle } from "https://deno.land/std@0.118.0/collections/find_single.ts";
|
||||
import os from "node:os";
|
||||
|
||||
console.log(sortBy([2, 3, 1], (it) => it));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue