fix: validate status and some security

This commit is contained in:
Wathanyu Phromma
2022-03-20 14:01:35 +07:00
parent 31d4a5f24b
commit a2c408c63d
387 changed files with 33710 additions and 4612 deletions

View File

@@ -1,73 +1,28 @@
{
"_args": [
[
"follow-redirects@1.5.10",
"/Users/wphromma/workspace/actions-curl"
]
],
"_from": "follow-redirects@1.5.10",
"_id": "follow-redirects@1.5.10",
"_inBundle": false,
"_integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==",
"_location": "/follow-redirects",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "follow-redirects@1.5.10",
"name": "follow-redirects",
"escapedName": "follow-redirects",
"rawSpec": "1.5.10",
"saveSpec": null,
"fetchSpec": "1.5.10"
},
"_requiredBy": [
"/axios"
],
"_resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz",
"_spec": "1.5.10",
"_where": "/Users/wphromma/workspace/actions-curl",
"author": {
"name": "Ruben Verborgh",
"email": "ruben@verborgh.org",
"url": "https://ruben.verborgh.org/"
},
"bugs": {
"url": "https://github.com/follow-redirects/follow-redirects/issues"
},
"contributors": [
{
"name": "Olivier Lalonde",
"email": "olalonde@gmail.com",
"url": "http://www.syskall.com"
},
{
"name": "James Talmage",
"email": "james@talmage.io"
}
],
"dependencies": {
"debug": "=3.1.0"
},
"name": "follow-redirects",
"version": "1.14.9",
"description": "HTTP and HTTPS modules that follow redirects.",
"devDependencies": {
"concat-stream": "^1.6.0",
"coveralls": "^3.0.2",
"eslint": "^4.19.1",
"express": "^4.16.2",
"mocha": "^5.0.0",
"nyc": "^11.8.0"
},
"license": "MIT",
"main": "index.js",
"files": [
"*.js"
],
"engines": {
"node": ">=4.0"
},
"files": [
"index.js",
"create.js",
"http.js",
"https.js"
],
"scripts": {
"test": "npm run lint && npm run mocha",
"lint": "eslint *.js test",
"mocha": "nyc mocha"
},
"repository": {
"type": "git",
"url": "git@github.com:follow-redirects/follow-redirects.git"
},
"homepage": "https://github.com/follow-redirects/follow-redirects",
"bugs": {
"url": "https://github.com/follow-redirects/follow-redirects/issues"
},
"keywords": [
"http",
"https",
@@ -77,23 +32,28 @@
"location",
"utility"
],
"license": "MIT",
"main": "index.js",
"name": "follow-redirects",
"nyc": {
"reporter": [
"lcov",
"text"
]
"author": "Ruben Verborgh <ruben@verborgh.org> (https://ruben.verborgh.org/)",
"contributors": [
"Olivier Lalonde <olalonde@gmail.com> (http://www.syskall.com)",
"James Talmage <james@talmage.io>"
],
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/RubenVerborgh"
}
],
"peerDependenciesMeta": {
"debug": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/follow-redirects/follow-redirects.git"
},
"scripts": {
"lint": "eslint *.js test",
"mocha": "nyc mocha",
"test": "npm run lint && npm run mocha"
},
"version": "1.5.10"
"devDependencies": {
"concat-stream": "^2.0.0",
"eslint": "^5.16.0",
"express": "^4.16.4",
"lolex": "^3.1.0",
"mocha": "^6.0.2",
"nyc": "^14.1.1"
}
}