Actualizacion de seguridad
This commit is contained in:
9
node_modules/ejs/lib/utils.js
generated
vendored
9
node_modules/ejs/lib/utils.js
generated
vendored
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user