Socket
Socket
Sign inDemoInstall

@types/needle

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/needle - npm Package Compare versions

Comparing version 0.7.33 to 0.7.34

14

needle v0.7/index.d.ts

@@ -10,4 +10,4 @@ // Type definitions for needle 0.7

declare module "needle" {
import * as http from 'http';
import * as Buffer from 'buffer';
import * as http from "http";
import * as Buffer from "buffer";
namespace Needle {

@@ -37,3 +37,3 @@ interface NeedleResponse extends http.IncomingMessage {

compressed?: boolean | undefined;
cookies?: { [name: string]: any; } | undefined;
cookies?: { [name: string]: any } | undefined;
// Overwritten if present in the URI

@@ -80,3 +80,9 @@ username?: string | undefined;

request(method: string, url: string, data: any, callback?: NeedleCallback): ReadableStream;
request(method: string, url: string, data: any, options?: RequestOptions, callback?: NeedleCallback): ReadableStream;
request(
method: string,
url: string,
data: any,
options?: RequestOptions,
callback?: NeedleCallback,
): ReadableStream;
}

@@ -83,0 +89,0 @@ }

{
"name": "@types/needle",
"version": "0.7.33",
"version": "0.7.34",
"description": "TypeScript definitions for needle",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/needle",

},
"typesPublisherContentHash": "fc07a5161ff851c7effa7cddc972dbb2307f60c35f8793ce874c4f913699e013",
"typeScriptVersion": "4.3"
"typesPublisherContentHash": "77c08a9883a64d33cf2747c958351c2998df0c0c11d382849b626141dfc96dd9",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 11 Sep 2023 15:33:20 GMT
* Last updated: Sat, 23 Sep 2023 20:38:33 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,0 @@ * Global values: none

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