got-scraping
Advanced tools
Comparing version 3.2.10 to 3.2.11-beta.0
@@ -113,3 +113,3 @@ "use strict"; | ||
socket.destroy(); | ||
const error = new Error(`The proxy responded with ${response.statusCode}: ${head.toString()}`); | ||
const error = new Error(`The proxy responded with ${response.statusCode} ${response.statusMessage}: ${head.toString()}`); | ||
callback(error); | ||
@@ -116,0 +116,0 @@ return; |
@@ -37,3 +37,3 @@ "use strict"; | ||
if (response.statusCode !== 200 || head.length > 0) { | ||
reject(new Error(`Proxy responded with ${response.statusCode}: ${head.length} bytes`)); | ||
reject(new Error(`Proxy responded with ${response.statusCode} ${response.statusMessage}: ${head.length} bytes`)); | ||
socket.destroy(); | ||
@@ -40,0 +40,0 @@ return; |
126
package.json
{ | ||
"name": "got-scraping", | ||
"version": "3.2.10", | ||
"description": "HTTP client made for scraping based on got.", | ||
"main": "dist/index.js", | ||
"engines": { | ||
"node": ">=15.10.0" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"dependencies": { | ||
"got-cjs": "12.3.1", | ||
"header-generator": "2.0.6", | ||
"http2-wrapper": "^2.1.11", | ||
"mimic-response": "^3.1.0", | ||
"ow": "^0.28.1", | ||
"quick-lru": "^5.1.1", | ||
"tslib": "^2.4.0" | ||
}, | ||
"devDependencies": { | ||
"@apify/eslint-config-ts": "^0.1.4", | ||
"@apify/tsconfig": "^0.1.0", | ||
"@types/body-parser": "^1.19.1", | ||
"@types/express": "^4.17.13", | ||
"@types/jest": "^27.0.0", | ||
"@types/node": "^16.4.13", | ||
"@typescript-eslint/eslint-plugin": "^4.29.1", | ||
"@typescript-eslint/parser": "^4.29.1", | ||
"body-parser": "^1.19.0", | ||
"eslint": "^7.0.0", | ||
"express": "^4.17.1", | ||
"fs-extra": "^9.1.0", | ||
"get-stream": "^5.2.0", | ||
"jest": "^27.0.6", | ||
"jest-circus": "^27.0.6", | ||
"jest-extended": "^0.11.5", | ||
"jsdoc-to-markdown": "^7.0.0", | ||
"markdown-toc": "^1.2.0", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^27.0.4", | ||
"ts-node": "^10.2.0", | ||
"typescript": "^4.3.5" | ||
}, | ||
"scripts": { | ||
"build": "rimraf dist && tsc", | ||
"prepublishOnly": "npm run build", | ||
"lint": "eslint src test", | ||
"lint:fix": "eslint src test --fix", | ||
"test": "jest --coverage" | ||
}, | ||
"author": { | ||
"name": "Apify", | ||
"email": "support@apify.com", | ||
"url": "https://apify.com" | ||
}, | ||
"license": "Apache-2.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/apify/got-scraping" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/apify/got-scraping/issues" | ||
} | ||
"name": "got-scraping", | ||
"version": "3.2.11-beta.0", | ||
"description": "HTTP client made for scraping based on got.", | ||
"main": "dist/index.js", | ||
"engines": { | ||
"node": ">=15.10.0" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"dependencies": { | ||
"got-cjs": "12.3.1", | ||
"header-generator": "2.0.6", | ||
"http2-wrapper": "^2.1.11", | ||
"mimic-response": "^3.1.0", | ||
"ow": "^0.28.1", | ||
"quick-lru": "^5.1.1", | ||
"tslib": "^2.4.0" | ||
}, | ||
"devDependencies": { | ||
"@apify/eslint-config-ts": "^0.1.4", | ||
"@apify/tsconfig": "^0.1.0", | ||
"@types/body-parser": "^1.19.1", | ||
"@types/express": "^4.17.13", | ||
"@types/jest": "^27.0.0", | ||
"@types/node": "^16.4.13", | ||
"@typescript-eslint/eslint-plugin": "^4.29.1", | ||
"@typescript-eslint/parser": "^4.29.1", | ||
"body-parser": "^1.19.0", | ||
"eslint": "^7.0.0", | ||
"express": "^4.17.1", | ||
"fs-extra": "^9.1.0", | ||
"get-stream": "^5.2.0", | ||
"jest": "^27.0.6", | ||
"jest-circus": "^27.0.6", | ||
"jest-extended": "^0.11.5", | ||
"jsdoc-to-markdown": "^7.0.0", | ||
"markdown-toc": "^1.2.0", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^27.0.4", | ||
"ts-node": "^10.2.0", | ||
"typescript": "^4.3.5" | ||
}, | ||
"scripts": { | ||
"build": "rimraf dist && tsc", | ||
"prepublishOnly": "npm run build", | ||
"lint": "eslint src test", | ||
"lint:fix": "eslint src test --fix", | ||
"test": "jest --coverage" | ||
}, | ||
"author": { | ||
"name": "Apify", | ||
"email": "support@apify.com", | ||
"url": "https://apify.com" | ||
}, | ||
"license": "Apache-2.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/apify/got-scraping" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/apify/got-scraping/issues" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
127574
2