diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2023-01-17 01:17:18 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-16 17:17:18 +0100 |
commit | 6da958d7ec31f2ffd21bb2beb8cc193a62afc55c (patch) | |
tree | 348fb3669348653b3907068b9ddc00f2652bdbfa /ext/web/08_text_encoding.js | |
parent | 40134ffc99848c89e0ab88c03ca85b9122e2384b (diff) |
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
Diffstat (limited to 'ext/web/08_text_encoding.js')
-rw-r--r-- | ext/web/08_text_encoding.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/web/08_text_encoding.js b/ext/web/08_text_encoding.js index b1dc6d411..8de7b949f 100644 --- a/ext/web/08_text_encoding.js +++ b/ext/web/08_text_encoding.js @@ -18,6 +18,8 @@ const { PromiseReject, PromiseResolve, + // TODO(lucacasonato): add SharedArrayBuffer to primordials + // SharedArrayBufferPrototype StringPrototypeCharCodeAt, StringPrototypeSlice, TypedArrayPrototypeSubarray, @@ -108,6 +110,7 @@ // When doing so they will have to make sure that changes to input do not affect future calls to decode(). if ( ObjectPrototypeIsPrototypeOf( + // deno-lint-ignore prefer-primordials SharedArrayBuffer.prototype, input || input.buffer, ) |