arrive icon indicating copy to clipboard operation
arrive copied to clipboard

Remove dependency on jquery-2.1.0.min.js

Open CalvinWu4 opened this issue 3 years ago • 1 comments

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

CalvinWu4 avatar Oct 13 '20 16:10 CalvinWu4

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.

parasharrajat avatar Oct 21 '20 19:10 parasharrajat