mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
upgrade: deno_lint 0.10.0 (#11374)
This commit is contained in:
parent
2c7c130f0a
commit
9c020d8c27
3 changed files with 6 additions and 3 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -725,9 +725,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "deno_lint"
|
||||
version = "0.9.0"
|
||||
version = "0.10.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f7235a13309ce240108ed293cf667013bd8b74437be1618921fb5f7dab93c7f3"
|
||||
checksum = "1f0c42c810399f611cfb7fa0a9c25b70351e4724806313bfca98720dd0509650"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"derive_more",
|
||||
|
|
|
@ -44,7 +44,7 @@ winres = "0.1.11"
|
|||
[dependencies]
|
||||
deno_core = { version = "0.92.0", path = "../core" }
|
||||
deno_doc = "0.8.0"
|
||||
deno_lint = "0.9.0"
|
||||
deno_lint = "0.10.0"
|
||||
deno_runtime = { version = "0.18.1", path = "../runtime" }
|
||||
|
||||
atty = "0.2.14"
|
||||
|
|
|
@ -35,6 +35,7 @@ unitTest(async function copyWithDefaultBufferSize() {
|
|||
|
||||
const readSpy = spyRead(reader);
|
||||
|
||||
// deno-lint-ignore no-deprecated-deno-api
|
||||
const n = await Deno.copy(reader, write);
|
||||
|
||||
assertEquals(n, xBytes.length);
|
||||
|
@ -50,6 +51,7 @@ unitTest(async function copyWithCustomBufferSize() {
|
|||
|
||||
const readSpy = spyRead(reader);
|
||||
|
||||
// deno-lint-ignore no-deprecated-deno-api
|
||||
const n = await Deno.copy(reader, write, { bufSize });
|
||||
|
||||
assertEquals(n, xBytes.length);
|
||||
|
@ -65,6 +67,7 @@ unitTest({ perms: { write: true } }, async function copyBufferToFile() {
|
|||
const reader = new Buffer(xBytes.buffer as ArrayBuffer);
|
||||
const write = await Deno.open(filePath, { write: true, create: true });
|
||||
|
||||
// deno-lint-ignore no-deprecated-deno-api
|
||||
const n = await Deno.copy(reader, write, { bufSize });
|
||||
|
||||
assertEquals(n, xBytes.length);
|
||||
|
|
Loading…
Reference in a new issue