1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00

chore: deno_core -> 0.201.0 (#20135)

This commit is contained in:
Matt Mastracci 2023-08-12 13:04:45 -06:00 committed by GitHub
parent 050ca39409
commit babfba14ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 22 additions and 23 deletions

16
Cargo.lock generated
View file

@ -997,9 +997,9 @@ dependencies = [
[[package]]
name = "deno_core"
version = "0.200.0"
version = "0.202.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8ba264b90ceb6e95b39d82e674d8ecae86ca012f900338ea50d1a077d9d75fd"
checksum = "e9d4f3ad9c2861e0bb8745e1f228aaee04782a9ab6a3c3bbb887e60d7faf087a"
dependencies = [
"anyhow",
"bytes",
@ -1370,9 +1370,9 @@ dependencies = [
[[package]]
name = "deno_ops"
version = "0.78.0"
version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ffd1c83b1fd465ee0156f2917c9af9ca09fe2bf54052a2cae1a8dcbc7b89aefc"
checksum = "abb6a1ceabfbab1c29b32872e68ec994d393b58ccdf12a835d150199555496f3"
dependencies = [
"deno-proc-macro-rules",
"lazy-regex",
@ -4474,9 +4474,9 @@ dependencies = [
[[package]]
name = "serde_v8"
version = "0.111.0"
version = "0.113.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "309b3060a9627882514f3a3ce3cc08ceb347a76aeeadc58f138c3f189cf88b71"
checksum = "3fa7b3ecd650d790ff8781402d0704d35a2f51c3bec87fe92d43eea6d371f05d"
dependencies = [
"bytes",
"derive_more",
@ -5903,9 +5903,9 @@ dependencies = [
[[package]]
name = "v8"
version = "0.74.3"
version = "0.75.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2eedac634b8dd39b889c5b62349cbc55913780226239166435c5cf66771792ea"
checksum = "f9be435abe79a8427b0969f1ac0a3c0e91644235f68a3de5da4a27ec69666985"
dependencies = [
"bitflags 1.3.2",
"fslock",

View file

@ -38,10 +38,9 @@ license = "MIT"
repository = "https://github.com/denoland/deno"
[workspace.dependencies]
v8 = { version = "0.74.1", default-features = false }
deno_ast = { version = "0.27.0", features = ["transpiling"] }
deno_core = "0.200.0"
deno_core = "0.202.0"
deno_runtime = { version = "0.123.0", path = "./runtime" }
napi_sym = { version = "0.45.0", path = "./cli/napi/sym" }

View file

@ -147,7 +147,7 @@ error: Error: rejected from reject fail
at [WILDCARD]
./node/test.js (uncaught error)
error: Error: rejected from unhandled rejection fail
error: (in promise) Error: rejected from unhandled rejection fail
Promise.reject(new Error("rejected from unhandled rejection fail"));
^
at [WILDCARD]

View file

@ -1,2 +1,2 @@
Allocated: 8MB
Freed: -8MB
Allocated: 4MB
Freed: -4MB

View file

@ -170,14 +170,10 @@ impl FsStat {
pub trait File {
fn read_sync(self: Rc<Self>, buf: &mut [u8]) -> FsResult<usize>;
async fn read(self: Rc<Self>, limit: usize) -> FsResult<BufView> {
let vec = vec![0; limit];
let buf = BufMutView::from(vec);
let (nread, buf) = self.read_byob(buf).await?;
let mut vec = buf.unwrap_vec();
if vec.len() != nread {
vec.truncate(nread);
}
Ok(BufView::from(vec))
let buf = BufMutView::new(limit);
let (nread, mut buf) = self.read_byob(buf).await?;
buf.truncate(nread);
Ok(buf.into_view())
}
async fn read_byob(
self: Rc<Self>,

View file

@ -2807,8 +2807,12 @@
},
"class-string-interface.any.html": true,
"class-string-interface.any.worker.html": true,
"class-string-iterator-prototype-object.any.html": true,
"class-string-iterator-prototype-object.any.worker.html": true,
"class-string-iterator-prototype-object.any.html": [
"Object.prototype.toString applied after deleting @@toStringTag"
],
"class-string-iterator-prototype-object.any.worker.html": [
"Object.prototype.toString applied after deleting @@toStringTag"
],
"class-string-named-properties-object.window.html": false,
"global-immutable-prototype.any.html": [
"Setting to a different prototype"