mirror of
https://github.com/denoland/deno.git
synced 2025-09-30 22:21:15 +00:00
fix: FastString v8_string() should error when cannot allocated (#27375)
Upgrades deno_core to 0.326.0
This commit is contained in:
parent
7949f53cab
commit
50871b2aa3
5 changed files with 18 additions and 17 deletions
|
@ -4496,6 +4496,7 @@ impl<'a> ToV8<'a> for TscRequestArray {
|
|||
|
||||
let method_name = deno_core::FastString::from_static(method_name)
|
||||
.v8_string(scope)
|
||||
.unwrap()
|
||||
.into();
|
||||
let args = args.unwrap_or_else(|| v8::Array::new(scope, 0).into());
|
||||
let scope_url = serde_v8::to_v8(scope, self.scope)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue