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

18
node_modules/ejs/README.md generated vendored
View File

@@ -1,9 +1,23 @@
Embedded JavaScript templates<br/>
[![Build Status](https://img.shields.io/travis/mde/ejs/master.svg?style=flat)](https://travis-ci.org/mde/ejs)
[![Developing Dependencies](https://img.shields.io/david/dev/mde/ejs.svg?style=flat)](https://david-dm.org/mde/ejs?type=dev)
[![Known Vulnerabilities](https://snyk.io/test/npm/ejs/badge.svg?style=flat)](https://snyk.io/test/npm/ejs)
=============================
## Security
Security professionals, before reporting any security issues, please reference the
<a href="https://github.com/mde/ejs/blob/main/SECURITY.md">SECURITY.md</a>
in this project, in particular, the following: "EJS is effectively a JavaScript runtime.
Its entire job is to execute JavaScript. If you run the EJS render method without
checking the inputs yourself, you are responsible for the results."
In short, DO NOT submit 'vulnerabilities' that include this snippet of code:
```javascript
app.get('/', (req, res) => {
res.render('index', req.query);
});
```
## Installation
```bash

18
node_modules/ejs/ejs.js generated vendored
View File

@@ -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"
}
}

2
node_modules/ejs/ejs.min.js generated vendored

File diff suppressed because one or more lines are too long

2
node_modules/ejs/jakefile.js generated vendored
View File

@@ -64,7 +64,7 @@ task('docPublish', ['doc'], function () {
desc('Runs the EJS test suite');
task('test', ['lint'], function () {
exec(path.join('./node_modules/.bin/mocha'));
exec(path.join('./node_modules/.bin/mocha --u tdd'));
});
publishTask('ejs', ['build'], function () {

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;
};

4
node_modules/ejs/package.json generated vendored
View File

@@ -6,7 +6,7 @@
"engine",
"ejs"
],
"version": "3.1.9",
"version": "3.1.10",
"author": "Matthew Eernisse <mde@fleegix.org> (http://fleegix.org)",
"license": "Apache-2.0",
"bin": {
@@ -37,6 +37,6 @@
"node": ">=0.10.0"
},
"scripts": {
"test": "mocha -u tdd"
"test": "npx jake test"
}
}