ljharb / qs

A querystring parser with nesting support
BSD 3-Clause "New" or "Revised" License
8.5k stars 729 forks source link

[Fix] `parse`: ignore `__proto__` keys #428

Closed ljharb closed 2 years ago

codecov[bot] commented 2 years ago

Codecov Report

Merging #428 (8b4cc14) into main (ad63d36) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #428   +/-   ##
=======================================
  Coverage   99.85%   99.85%           
=======================================
  Files           8        8           
  Lines        1408     1423   +15     
  Branches      172      173    +1     
=======================================
+ Hits         1406     1421   +15     
  Misses          2        2           
Impacted Files Coverage Δ
lib/parse.js 100.00% <100.00%> (ø)
test/parse.js 99.79% <100.00%> (+<0.01%) :arrow_up:

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 ad63d36...8b4cc14. Read the comment docs.

ljharb commented 2 years ago

v6.10.3 has been released with this change. This has also been backported to v6.9.7, v6.8.3, v6.7.3, v6.6.1, v6.5.3, v6.4.1, v6.3.3, and v6.2.4.