Socket
Socket
Sign inDemoInstall

got

Package Overview
Dependencies
29
Maintainers
2
Versions
175
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 11.8.3 to 11.8.5

2

dist/source/as-promise/index.js

@@ -116,2 +116,3 @@ "use strict";

}
globalResponse = response;
if (!is_response_ok_1.isResponseOk(response)) {

@@ -121,3 +122,2 @@ request._beforeError(new types_1.HTTPError(response));

}
globalResponse = response;
resolve(request.options.resolveBodyOnly ? response.body : response);

@@ -124,0 +124,0 @@ });

@@ -94,2 +94,10 @@ /// <reference types="node" />

/**
Same as `GotPaginate.each`.
*/
<T, R = unknown>(url: string | URL, options?: OptionsWithPagination<T, R>): AsyncIterableIterator<T>;
/**
Same as `GotPaginate.each`.
*/
<T, R = unknown>(options?: OptionsWithPagination<T, R>): AsyncIterableIterator<T>;
/**
Returns an async iterator.

@@ -137,10 +145,2 @@

all: (<T, R = unknown>(url: string | URL, options?: OptionsWithPagination<T, R>) => Promise<T[]>) & (<T, R = unknown>(options?: OptionsWithPagination<T, R>) => Promise<T[]>);
/**
Same as `GotPaginate.each`.
*/
<T, R = unknown>(url: string | URL, options?: OptionsWithPagination<T, R>): AsyncIterableIterator<T>;
/**
Same as `GotPaginate.each`.
*/
<T, R = unknown>(options?: OptionsWithPagination<T, R>): AsyncIterableIterator<T>;
}

@@ -147,0 +147,0 @@ export interface GotRequestFunction {

{
"name": "got",
"version": "11.8.3",
"version": "11.8.5",
"description": "Human-friendly and powerful HTTP request library for Node.js",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc