From 6da958d7ec31f2ffd21bb2beb8cc193a62afc55c Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Tue, 17 Jan 2023 01:17:18 +0900 Subject: chore: update dlint to v0.37.0 for GitHub Actions (#17295) Updated third_party dlint to v0.37.0 for GitHub Actions. This PR includes following changes: * fix(prefer-primordials): Stop using array pattern assignments * fix(prefer-primordials): Stop using global intrinsics except for `SharedArrayBuffer` * feat(guard-for-in): Apply new guard-for-in rule --- ext/web/06_streams.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/web/06_streams.js') diff --git a/ext/web/06_streams.js b/ext/web/06_streams.js index 5b1c0141d..1bad4f314 100644 --- a/ext/web/06_streams.js +++ b/ext/web/06_streams.js @@ -23,6 +23,7 @@ BigInt64ArrayPrototype, BigUint64ArrayPrototype, DataView, + FinalizationRegistry, Int8ArrayPrototype, Int16ArrayPrototype, Int32ArrayPrototype, @@ -45,7 +46,8 @@ RangeError, ReflectHas, SafePromiseAll, - SharedArrayBuffer, + // TODO(lucacasonato): add SharedArrayBuffer to primordials + // SharedArrayBufferPrototype Symbol, SymbolAsyncIterator, SymbolFor, @@ -205,6 +207,7 @@ assert(typeof O === "object"); assert( ObjectPrototypeIsPrototypeOf(ArrayBufferPrototype, O) || + // deno-lint-ignore prefer-primordials ObjectPrototypeIsPrototypeOf(SharedArrayBuffer.prototype, O), ); if (isDetachedBuffer(O)) { -- cgit v1.2.3