From d54ef02dfe4455c043c3ccb3d1d15e5fcc302756 Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Tue, 6 Jun 2023 04:57:01 +0900 Subject: chore: update deno_lint to 0.46.0 (#19372) --- ext/web/06_streams.js | 1 + ext/web/09_file.js | 1 + 2 files changed, 2 insertions(+) (limited to 'ext/web') diff --git a/ext/web/06_streams.js b/ext/web/06_streams.js index c0cbb3049..21207c372 100644 --- a/ext/web/06_streams.js +++ b/ext/web/06_streams.js @@ -1261,6 +1261,7 @@ function readableByteStreamControllerEnqueueClonedChunkToQueue( ); } else { // TODO(lucacasonato): add SharedArrayBuffer to primordials + // deno-lint-ignore prefer-primordials cloneResult = buffer.slice(byteOffset, byteOffset + byteLength); } } catch (e) { diff --git a/ext/web/09_file.js b/ext/web/09_file.js index d65a512f9..79a9c41b2 100644 --- a/ext/web/09_file.js +++ b/ext/web/09_file.js @@ -326,6 +326,7 @@ class Blob { relativeStart -= size; relativeEnd -= size; } else { + // deno-lint-ignore prefer-primordials const chunk = part.slice( relativeStart, MathMin(part.size, relativeEnd), -- cgit v1.2.3