mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 10:10:12 +00:00
Revert to jQuery 2.x and apply workaround
- Apply workaround for <https://github.com/advisories/GHSA-gxr4-xjj5-5px2>
This commit is contained in:
parent
4e21f2f13d
commit
0c4eebd510
@ -23,7 +23,7 @@
|
||||
"grunt-mocha-phantomjs": "^3.0.0",
|
||||
"jasmine-core": "^2.99.1",
|
||||
"jasmine-jquery": "2.1.1",
|
||||
"jquery": "^3.5.1",
|
||||
"jquery": "^2.2.4",
|
||||
"karma": "^2.0.5",
|
||||
"karma-chrome-launcher": "^2.2.0",
|
||||
"karma-jasmine": "^1.0.2",
|
||||
|
@ -45,8 +45,12 @@ angular.module('vinyldns', [
|
||||
};
|
||||
});
|
||||
|
||||
var regexIso8601 = /(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/;
|
||||
// Workaround for jQuery SECVULN (https://github.com/advisories/GHSA-gxr4-xjj5-5px2)
|
||||
jQuery.htmlPrefilter = function( html ) {
|
||||
return html;
|
||||
};
|
||||
|
||||
var regexIso8601 = /(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/;
|
||||
function convertDateStringsToDates(input) {
|
||||
if (typeof input !== "object") return input;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user