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/url/00_url.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'ext/url/00_url.js') diff --git a/ext/url/00_url.js b/ext/url/00_url.js index 5fa0c52bd..1191565ee 100644 --- a/ext/url/00_url.js +++ b/ext/url/00_url.js @@ -367,16 +367,16 @@ } #updateComponents() { - [ - this.#schemeEnd, - this.#usernameEnd, - this.#hostStart, - this.#hostEnd, - this.#port, - this.#pathStart, - this.#queryStart, - this.#fragmentStart, - ] = componentsBuf; + ({ + 0: this.#schemeEnd, + 1: this.#usernameEnd, + 2: this.#hostStart, + 3: this.#hostEnd, + 4: this.#port, + 5: this.#pathStart, + 6: this.#queryStart, + 7: this.#fragmentStart, + } = componentsBuf); } [SymbolFor("Deno.privateCustomInspect")](inspect, inspectOptions) { -- cgit v1.2.3