From eb218c0f3344eabfa8abf4c7ecac148f14fc6294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 5 Jun 2024 00:09:29 +0100 Subject: chore: upgrade dlint to 0.60.0 (#24041) Factoring out `dlint` upgrade from https://github.com/denoland/deno/pull/24034 as it requires us to change the lint step on mac to use ARM runners. --------- Co-authored-by: Luca Casonato Co-authored-by: David Sherret --- tests/unit_node/_fs/_fs_fstat_test.ts | 3 +++ tests/unit_node/crypto/crypto_cipher_gcm_test.ts | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/unit_node') diff --git a/tests/unit_node/_fs/_fs_fstat_test.ts b/tests/unit_node/_fs/_fs_fstat_test.ts index 37f79f475..1464b05c5 100644 --- a/tests/unit_node/_fs/_fs_fstat_test.ts +++ b/tests/unit_node/_fs/_fs_fstat_test.ts @@ -1,4 +1,7 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. + +// deno-lint-ignore-file no-deprecated-deno-api + import { fstat, fstatSync } from "node:fs"; import { fail } from "@std/assert/mod.ts"; import { assertStats, assertStatsBigInt } from "./_fs_stat_test.ts"; diff --git a/tests/unit_node/crypto/crypto_cipher_gcm_test.ts b/tests/unit_node/crypto/crypto_cipher_gcm_test.ts index 57e40d2ac..f25c81036 100644 --- a/tests/unit_node/crypto/crypto_cipher_gcm_test.ts +++ b/tests/unit_node/crypto/crypto_cipher_gcm_test.ts @@ -2,8 +2,8 @@ import crypto from "node:crypto"; import { Buffer } from "node:buffer"; -import testVectors128 from "./gcmEncryptExtIV128.json" assert { type: "json" }; -import testVectors256 from "./gcmEncryptExtIV256.json" assert { type: "json" }; +import testVectors128 from "./gcmEncryptExtIV128.json" with { type: "json" }; +import testVectors256 from "./gcmEncryptExtIV256.json" with { type: "json" }; import { assertEquals } from "@std/assert/mod.ts"; const aesGcm = (bits: string, key: Uint8Array) => { -- cgit v1.2.3