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

10
node_modules/touch/index.js generated vendored
View File

@@ -41,7 +41,7 @@ const validOpts = (options, path, fd) => {
// {mtime: true}, {ctime: true}
// If set to something else, then treat as epoch ms value
const now = parseInt(new Date(options.time || Date.now()).getTime() / 1000)
const now = new Date(options.time || Date.now()).getTime() / 1000
if (!options.atime && !options.mtime)
options.atime = options.mtime = now
else {
@@ -129,8 +129,8 @@ class Touch extends EE {
}
onstatref (st) {
this.atime = this.atime && parseInt(st.atime.getTime()/1000, 10)
this.mtime = this.mtime && parseInt(st.mtime.getTime()/1000, 10)
this.atime = this.atime && st.atime.getTime()/1000
this.mtime = this.mtime && st.mtime.getTime()/1000
if (!this.atime || !this.mtime)
this.fstat()
else
@@ -150,10 +150,10 @@ class Touch extends EE {
onfstat (st) {
if (typeof this.atime !== 'number')
this.atime = parseInt(st.atime.getTime()/1000, 10)
this.atime = st.atime.getTime()/1000
if (typeof this.mtime !== 'number')
this.mtime = parseInt(st.mtime.getTime()/1000, 10)
this.mtime = st.mtime.getTime()/1000
this.futimes()
}

95
node_modules/touch/package.json generated vendored
View File

@@ -1,92 +1,25 @@
{
"_args": [
[
"touch@^3.1.0",
"/home/pablinux/Projects/Node/app_sigma/node_modules/nodemon"
]
],
"_from": "touch@>=3.1.0 <4.0.0",
"_id": "touch@3.1.0",
"_inCache": true,
"_installable": true,
"_location": "/touch",
"_nodeVersion": "8.0.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/touch-3.1.0.tgz_1498866039484_0.26272376789711416"
},
"_npmUser": {
"email": "i@izs.me",
"name": "isaacs"
},
"_npmVersion": "5.0.4",
"_phantomChildren": {},
"_requested": {
"name": "touch",
"raw": "touch@^3.1.0",
"rawSpec": "^3.1.0",
"scope": null,
"spec": ">=3.1.0 <4.0.0",
"type": "range"
},
"_requiredBy": [
"/nodemon"
],
"_resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz",
"_shasum": "fe365f5f75ec9ed4e56825e0bb76d24ab74af83b",
"_shrinkwrap": null,
"_spec": "touch@^3.1.0",
"_where": "/home/pablinux/Projects/Node/app_sigma/node_modules/nodemon",
"author": {
"email": "i@izs.me",
"name": "Isaac Z. Schlueter",
"url": "http://blog.izs.me/"
},
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
"name": "touch",
"description": "like touch(1) in node",
"version": "3.1.1",
"repository": "git://github.com/isaacs/node-touch.git",
"bin": {
"nodetouch": "./bin/nodetouch.js"
},
"bugs": {
"url": "https://github.com/isaacs/node-touch/issues"
"license": "ISC",
"scripts": {
"test": "tap test/*.js --100 -J",
"preversion": "npm test",
"postversion": "npm publish",
"postpublish": "git push origin --all; git push origin --tags"
},
"dependencies": {
"nopt": "~1.0.10"
},
"description": "like touch(1) in node",
"devDependencies": {
"mutate-fs": "^1.1.0",
"tap": "^10.7.0"
},
"directories": {},
"dist": {
"integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==",
"shasum": "fe365f5f75ec9ed4e56825e0bb76d24ab74af83b",
"tarball": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz"
},
"files": [
"bin/nodetouch.js",
"index.js"
],
"gitHead": "7706a0d249c72edd90adbeb37ec8d4ca2b9a9a7f",
"homepage": "https://github.com/isaacs/node-touch#readme",
"license": "ISC",
"maintainers": [
{
"name": "isaacs",
"email": "i@izs.me"
}
],
"name": "touch",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/node-touch.git"
},
"scripts": {
"postpublish": "git push origin --all; git push origin --tags",
"postversion": "npm publish",
"preversion": "npm test",
"test": "tap test/*.js --100 -J"
},
"version": "3.1.0"
"index.js",
"bin/nodetouch.js"
]
}