diff options
Diffstat (limited to 'ext/web')
-rw-r--r-- | ext/web/06_streams.js | 1 | ||||
-rw-r--r-- | ext/web/09_file.js | 1 |
2 files changed, 2 insertions, 0 deletions
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), |