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