Closed mankittens closed 2 years ago
It will be fixed in https://github.com/gilbarbara/react-floater/pull/78
Hi @gilbarbara nested-property@1.0.1
via tree-changes@^0.5.1
dependency is reported to have a security vulnerability as well
https://snyk.io/test/npm/react-floater/0.7.2
it would be great if we can get #78 merged. Thank you!
Any progress on this @gilbarbara? We'd love to see #78 merged as well.
@gilbarbara Would be great if you can merge #78 and release 0.8.0 to fix the above issue. Thank you very much!
In addition to the reported bug, there is a prototype pollution vulnerability in this package from tree-changes@0.5.1:
✗ Prototype Pollution [Medium Severity][https://snyk.io/vuln/SNYK-JS-NESTEDPROPERTY-1022154] in nested-property@1.0.1
introduced by react-floater@0.7.3 > tree-changes@0.5.1 > nested-property@1.0.1
This issue was fixed in versions: 3.0.0
Looks like the latest version of tree-changes no longer depends on nested-property.
It would be good to get #78 merged so other packages using react-floater can update and get this vulnerability fixed.
Can you please try react-floater@next
and report?
The #78 has a release date?
@l1000074 Did you try the next
package?
Hi, i have a problem with vulnerabilities in this package, i use react-joyride wich use react-floater ^0.7.3 wich use nested-property 1.0.1. I have install this next version however veracode alerts this vulnerability. Maybe i need react-joyride with this new version
Hi @l1000074, if you are using yarn, maybe you can set yarn resolution to next version
Fixed in 0.8.0
🐛 Bug Report
This package currently uses
tree-changes@^0.5.1
which usesnested-property@1.0.1
which contains aconst
declaration in the dist js file. This produces syntax errors when deploying code to any browser that does not support theconst
syntax.To Reproduce
Add
react-floater@^0.7.2
to a project and try to run in IE10.Expected behavior
No syntax errors.
Suggest updating to tree-changes@^0.6.1.