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/url/01_urlpattern.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/url/01_urlpattern.js')
-rw-r--r-- | ext/url/01_urlpattern.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/url/01_urlpattern.js b/ext/url/01_urlpattern.js index ef7df60e5..14f052551 100644 --- a/ext/url/01_urlpattern.js +++ b/ext/url/01_urlpattern.js @@ -155,7 +155,7 @@ return false; } - const [values] = res; + const values = res[0]; const keys = ObjectKeys(values); for (let i = 0; i < keys.length; ++i) { @@ -196,7 +196,7 @@ return null; } - const [values, inputs] = res; + const { 0: values, 1: inputs } = res; if (inputs[1] === null) { inputs.pop(); } |