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 2.0.2 to 2.0.3

15

needle/index.d.ts
// Type definitions for needle 2.0
// Project: https://github.com/tomas/needle
// Definitions by: San Chen <https://github.com/bigsan>, Niklas Mollenhauer <https://github.com/nikeee>, Matanel Sindilevich <https://github.com/sindilevich>
// Definitions by: San Chen <https://github.com/bigsan>,
// Niklas Mollenhauer <https://github.com/nikeee>,
// Matanel Sindilevich <https://github.com/sindilevich>,
// Bryan Spears <https://github.com/bryanspears>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -23,3 +26,3 @@ // TypeScript Version: 2.2

type NeedleCallback = (error: Error, response: NeedleResponse, body: any) => void;
type NeedleCallback = (error: Error | null, response: NeedleResponse, body: any) => void;

@@ -244,7 +247,7 @@ interface Cookies {

declare namespace needle {
type BodyData = core.BodyData;
type NeedleCallback = core.NeedleCallback;
type NeedleHttpVerbs = core.NeedleHttpVerbs;
export type BodyData = core.BodyData;
export type NeedleCallback = core.NeedleCallback;
export type NeedleHttpVerbs = core.NeedleHttpVerbs;
export type NeedleOptions = core.NeedleOptions;
type ReadableStream = core.ReadableStream;
export type ReadableStream = core.ReadableStream;

@@ -251,0 +254,0 @@ /**

12

needle/package.json
{
"name": "@types/needle",
"version": "2.0.2",
"version": "2.0.3",
"description": "TypeScript definitions for needle",

@@ -21,8 +21,14 @@ "license": "MIT",

"githubUsername": "sindilevich"
},
{
"name": "Bryan Spears",
"url": "https://github.com/bryanspears",
"githubUsername": "bryanspears"
}
],
"main": "",
"types": "index",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
},

@@ -33,4 +39,4 @@ "scripts": {},

},
"typesPublisherContentHash": "3672521710873f1c3b23e57145cbf795df23a7aa24c08e0f5b60532d8c41b711",
"typesPublisherContentHash": "ff69ad70eb6d185077ed6925dfa503a2a5350b13436fd88b9e2f940eb96c4de0",
"typeScriptVersion": "2.2"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/needle
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/needle
Additional Details
* Last updated: Fri, 22 Sep 2017 13:56:12 GMT
* Dependencies: http, buffer, https, node
* Last updated: Thu, 03 Jan 2019 17:14:56 GMT
* Dependencies: @types/node
* Global values: none
# Credits
These definitions were written by San Chen <https://github.com/bigsan>, Niklas Mollenhauer <https://github.com/nikeee>, Matanel Sindilevich <https://github.com/sindilevich>.
These definitions were written by San Chen <https://github.com/bigsan>, Niklas Mollenhauer <https://github.com/nikeee>, Matanel Sindilevich <https://github.com/sindilevich>, Bryan Spears <https://github.com/bryanspears>.
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