Commit 5e49a4a
authored
Resolved npm vulnerabilities (#153)
The only way I found for resolving npm audit warnings was by forcing the usage of the latest version of the `gulp-parent` dependency.
For that I've used a new `override` support in Node v8: https://docs.npmjs.com/cli/v8/configuring-npm/package-json#overrides
Here is the output from `npm audit` after the change:

I've also updated the license header of the jquery-validation-unobtrusive.js file so that it is aligned with our current (MIT) license as well as is written in JSDoc style, as that's what the new gulp-uglify dependency requires. Otherwise, the license comments will be stripped out from the generated `.min.js` file.
Keeping this as `draft` for now to validate the fix before actually proceeding with merging, given that I've updated the dependencies to their latest versions.
** Validation **
Did some basic validation and it works:
<img width="617" alt="image" src="https://user-images.githubusercontent.com/34246760/176960882-76a24951-c619-45c8-ba91-8b7c8ca32b87.png">1 parent 19f88bf commit 5e49a4a
File tree
5 files changed
+5430
-884
lines changed- src
5 files changed
+5430
-884
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | | - | |
16 | | - | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
0 commit comments