Actualizacion de seguridad
This commit is contained in:
18
node_modules/ejs/ejs.js
generated
vendored
18
node_modules/ejs/ejs.js
generated
vendored
@@ -507,8 +507,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} */
|
||||
@@ -951,6 +951,7 @@ if (typeof window != 'undefined') {
|
||||
window.ejs = exports;
|
||||
}
|
||||
|
||||
|
||||
},{"../package.json":6,"./utils":2,"fs":3,"path":4}],2:[function(require,module,exports){
|
||||
/*
|
||||
* EJS Embedded JavaScript templates
|
||||
@@ -1192,6 +1193,15 @@ 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;
|
||||
};
|
||||
|
||||
|
||||
},{}],3:[function(require,module,exports){
|
||||
@@ -1697,7 +1707,7 @@ module.exports={
|
||||
"engine",
|
||||
"ejs"
|
||||
],
|
||||
"version": "3.1.8",
|
||||
"version": "3.1.9",
|
||||
"author": "Matthew Eernisse <mde@fleegix.org> (http://fleegix.org)",
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
@@ -1728,7 +1738,7 @@ module.exports={
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha -u tdd"
|
||||
"test": "npx jake test"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user