Hello I have a html5 theme with mega-menu, google lighthouse detect a vulnerability for Lo-Dash@4.17.20
I no have experience with compiling e6. I tried to use babel compiler but dist file compiled is completly different from original file.
This is package.json
{
"name": "hs-mega-menu",
"version": "1.0.1",
"description": "Mega Menu Plugin",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "HS",
"dependencies": {
"babel-loader": "^8.2.3",
"core-js": "^3.20.0",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^7.0.1",
"gulp-cssnano": "^2.1.3",
"gulp-plumber": "^1.2.1",
"gulp-rename": "^2.0.0",
"gulp-sass": "^4.1.1",
"jquery": "^3.6.0",
"webpack": "^4.46.0",
"webpack-stream": "^5.2.1"
},
"devDependencies": {
"@babel/core": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"babel-preset-es2015-ie": "^6.7.0",
"gulp-babel": "^8.0.0",
"lodash": "^4.17.20"
}
}
What tools should i use to compile with lodash updated version?