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 1.4.3 to 1.4.4

16

needle v1.4/index.d.ts

@@ -10,5 +10,5 @@ // Type definitions for needle 1.4

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

@@ -112,6 +112,12 @@ interface NeedleResponse extends http.IncomingMessage {

delete(url: string, data: BodyData, callback?: NeedleCallback): ReadableStream;
delete(url: string, data: BodyData, options?: NeedleOptions, callback ?: NeedleCallback): ReadableStream;
delete(url: string, data: BodyData, options?: NeedleOptions, callback?: NeedleCallback): ReadableStream;
request(method: string, url: string, data: BodyData, callback?: NeedleCallback): ReadableStream;
request(method: string, url: string, data: BodyData, options?: NeedleOptions, callback?: NeedleCallback): ReadableStream;
request(
method: string,
url: string,
data: BodyData,
options?: NeedleOptions,
callback?: NeedleCallback,
): ReadableStream;
}

@@ -118,0 +124,0 @@ }

{
"name": "@types/needle",
"version": "1.4.3",
"version": "1.4.4",
"description": "TypeScript definitions for needle",

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

},
"typesPublisherContentHash": "ab8ec25e52ffac584d8f68606b0d017c5ee3540eb482248bdebe7813f4f1cc92",
"typeScriptVersion": "4.3"
"typesPublisherContentHash": "f20374aa7f292c6b597c263cbe121c476e3b9267219183be72a60c50be83d330",
"typeScriptVersion": "4.5"
}

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

### Additional Details
* Last updated: Fri, 01 Sep 2023 20:03:15 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