I noticed that web-ext lint shows warnings even though I haven’t changed my code. I found out that the warnings appear after running the npm update command. Here are the original and updated package-lock.json files. Should I be concerned about this?
Steps to reproduce:
git clone https://github.com/veto-firewall/veto
npm install
npm run web-ext:lint
Result: no warnings
npm update
npm run web-ext:lint
Result:
npm run web-ext:lint
> veto@2.2.6 web-ext:lint
> npm run build && cd dist && web-ext lint
> veto@2.2.6 prebuild
> npm run clean
> veto@2.2.6 clean
> rimraf dist
> veto@2.2.6 build
> webpack --mode production --config webpack.config.cjs
Validation Summary:
errors 0
notices 0
warnings 2
WARNINGS:
Code Message File Line Column
DANGEROUS_EVAL The Function background.js 2 103648
constructor
is eval.
DANGEROUS_EVAL The Function popup.js 2 129273
constructor
is eval.