Skip to content

Commit

Permalink
chore: deno_core -> 0.201.0 (#20135)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmastrac authored and littledivy committed Aug 21, 2023
1 parent 4e08665 commit 3abe95b
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 23 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion cli/tests/testdata/node/test.out
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions cli/tests/testdata/run/heapstats.js.out
@@ -1,2 +1,2 @@
Allocated: 8MB
Freed: -8MB
Allocated: 4MB
Freed: -4MB
12 changes: 4 additions & 8 deletions ext/io/fs.rs
Expand Up @@ -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>,
Expand Down
8 changes: 6 additions & 2 deletions tools/wpt/expectation.json
Expand Up @@ -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"
Expand Down

0 comments on commit 3abe95b

Please sign in to comment.