Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

got-scraping

Package Overview
Dependencies
Maintainers
9
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

got-scraping - npm Package Compare versions

Comparing version 3.2.10 to 3.2.11-beta.0

2

dist/agent/h1-proxy-agent.js

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

{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc