summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-10-20 21:01:49 +0200
committerGitHub <noreply@github.com>2022-10-20 21:01:49 +0200
commit869acee8fb801191e87c39641e883fa455811f02 (patch)
treef14d1c90a81fba151b5dae382272a334956a5743 /core
parentda906de18437318527ae368932c2c8663db44f76 (diff)
chore: upgrade rusty_v8 to 0.54.0 (#16368)
<!-- Before submitting a PR, please read http://deno.land/manual/contributing 1. Give the PR a descriptive title. Examples of good title: - fix(std/http): Fix race condition in server - docs(console): Update docstrings - feat(doc): Handle nested reexports Examples of bad title: - fix #7123 - update docs - fix bugs 2. Ensure there is a related issue and it is referenced in the PR text. 3. Ensure there are tests that cover the changes. 4. Ensure `cargo test` passes. 5. Ensure `./tools/format.js` passes without changing files. 6. Ensure `./tools/lint.js` passes. -->
Diffstat (limited to 'core')
-rw-r--r--core/Cargo.toml2
-rw-r--r--core/bindings.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 0a1b1208a..9540157ac 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -34,7 +34,7 @@ serde_json = { version = "1.0.79", features = ["preserve_order"] }
serde_v8 = { version = "0.66.0", path = "../serde_v8" }
sourcemap = "6.1"
url = { version = "2.3.1", features = ["serde", "expose_internals"] }
-v8 = { version = "0.53.1", default-features = false }
+v8 = { version = "0.54.0", default-features = false }
[[example]]
name = "http_bench_json_ops"
diff --git a/core/bindings.rs b/core/bindings.rs
index fdd8abf1a..a28a3a132 100644
--- a/core/bindings.rs
+++ b/core/bindings.rs
@@ -343,7 +343,7 @@ fn import_meta_resolve(
}
let specifier = maybe_arg_str.unwrap();
let referrer = {
- let url_prop = args.data().unwrap();
+ let url_prop = args.data();
url_prop.to_rust_string_lossy(scope)
};
let module_map_rc = JsRuntime::module_map(scope);