Actualizacion de seguridad

This commit is contained in:
Pablinux
2024-07-13 00:27:32 -05:00
parent 90f05f7ad0
commit fa92efc258
186 changed files with 75113 additions and 17648 deletions

5
node_modules/ejs/lib/ejs.js generated vendored
View File

@@ -506,8 +506,8 @@ exports.clearCache = function () {
exports.cache.reset();
};
function Template(text, opts) {
opts = opts || utils.createNullProtoObjWherePossible();
function Template(text, optsParam) {
var opts = utils.hasOwnOnlyObject(optsParam);
var options = utils.createNullProtoObjWherePossible();
this.templateText = text;
/** @type {string | null} */
@@ -949,3 +949,4 @@ exports.name = _NAME;
if (typeof window != 'undefined') {
window.ejs = exports;
}

9
node_modules/ejs/lib/utils.js generated vendored
View File

@@ -238,4 +238,13 @@ exports.createNullProtoObjWherePossible = (function () {
};
})();
exports.hasOwnOnlyObject = function (obj) {
var o = exports.createNullProtoObjWherePossible();
for (var p in obj) {
if (hasOwn(obj, p)) {
o[p] = obj[p];
}
}
return o;
};