Remove dependency on jquery-2.1.0.min.js
CalvinWu4 opened this issue · 1 comments
CalvinWu4 commented
I want to publish a Firefox extension using this library but I got this:
This add-on uses arrive.min.js library which contains jQuery version 2.1.0. jQuery versions older than 3.0 are no longer allowed in extensions. These versions are not supported by the jQuery team and may contain security vulnerabilities
parasharrajat commented
You don't need to use the jQuery at all. It's optional. Use vanila javascript to refer to dom nodes.
If the error due to that library install jquery with original package. Then you can use the arrive.min.js directly into your scripts.
no need to do npm install.