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

sync-request-curl

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sync-request-curl - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

dist/cjs/types.d.ts
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import { IncomingHttpHeaders, OutgoingHttpHeaders } from 'http';
import { IncomingHttpHeaders } from 'http';
export type HttpVerb = 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH';

@@ -19,5 +19,5 @@ export type BufferEncoding = 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'base64url' | 'latin1' | 'binary' | 'hex';

statusCode: number;
headers: OutgoingHttpHeaders;
headers: IncomingHttpHeaders;
body: string | Buffer;
getBody: GetBody;
}
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import { IncomingHttpHeaders, OutgoingHttpHeaders } from 'http';
import { IncomingHttpHeaders } from 'http';
export type HttpVerb = 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH';

@@ -19,5 +19,5 @@ export type BufferEncoding = 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'base64url' | 'latin1' | 'binary' | 'hex';

statusCode: number;
headers: OutgoingHttpHeaders;
headers: IncomingHttpHeaders;
body: string | Buffer;
getBody: GetBody;
}

@@ -7,3 +7,3 @@ {

},
"version": "1.2.0",
"version": "1.2.1",
"files": [

@@ -10,0 +10,0 @@ "dist"

@@ -98,5 +98,5 @@ # sync-request-curl

statusCode: number;
headers: OutgoingHttpHeaders;
headers: IncomingHttpHeaders;
body: string | Buffer;
getBody: (encoding?: BufferEncoding) => string | Buffer;
getBody: (encoding?: BufferEncoding) => string | Buffer; // simplified
}

@@ -103,0 +103,0 @@ ```

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