theKashey / focus-lock

Gotcha! A11y util for scoping a focus.
MIT License
172 stars 17 forks source link

Replace Array.from with built-in helper #35

Closed just-boris closed 2 years ago

just-boris commented 2 years ago

Hello!

The latest release 0.11.0 introduced dependency on Array.from. Unfortunately, we still do not have this available in all our environments ¯_(ツ)_/¯

Fortunately, this is easily fixable, because you already have a util in place

codecov[bot] commented 2 years ago

Codecov Report

Merging #35 (592c009) into master (800796b) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #35   +/-   ##
=======================================
  Coverage   84.57%   84.57%           
=======================================
  Files          21       21           
  Lines         376      376           
  Branches       76       76           
=======================================
  Hits          318      318           
  Misses         54       54           
  Partials        4        4           
Impacted Files Coverage Δ
src/utils/DOMutils.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 800796b...592c009. Read the comment docs.

theKashey commented 2 years ago

😵‍💫, I probably should lower compilation target

theKashey commented 2 years ago

Released as 0.11.1