Socket
Socket
Sign inDemoInstall

@types/nano

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/nano - npm Package Compare versions

Comparing version 6.4.1 to 6.4.2

20

nano/index.d.ts

@@ -266,7 +266,13 @@ // Type definitions for nano 6.4

interface AttachmentData {
name: string;
data: any;
content_type: any;
}
interface Multipart<D> {
// http://docs.couchdb.org/en/latest/api/document/common.html#creating-multiple-attachments
insert(doc: D, attachments: any[], callback?: Callback<DocumentInsertResponse>): Request;
insert(doc: D, attachments: AttachmentData[], callback?: Callback<DocumentInsertResponse>): Request;
// http://docs.couchdb.org/en/latest/api/document/common.html#creating-multiple-attachments
insert(doc: D, attachments: any[], params: any, callback?: Callback<DocumentInsertResponse>): Request;
insert(doc: D, attachments: AttachmentData[], params: any, callback?: Callback<DocumentInsertResponse>): Request;
get(docname: string, callback?: Callback<any>): Request;

@@ -278,3 +284,2 @@ get(docname: string, params: any, callback?: Callback<any>): Request;

insert(docname: string, attname: string, att: null, contenttype: string, params?: any): NodeJS.WritableStream;
insert(docname: string, attname: string, att: any, contenttype: string, callback?: Callback<any>): Request;
insert(

@@ -285,4 +290,11 @@ docname: string,

contenttype: string,
callback?: Callback<DocumentInsertResponse>
): Request;
insert(
docname: string,
attname: string,
att: any,
contenttype: string,
params: any,
callback?: Callback<any>
callback?: Callback<DocumentInsertResponse>
): Request;

@@ -289,0 +301,0 @@ get(docname: string, attname: string): NodeJS.ReadableStream;

4

nano/package.json
{
"name": "@types/nano",
"version": "6.4.1",
"version": "6.4.2",
"description": "TypeScript definitions for nano",

@@ -28,4 +28,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "98b3cc87b6890a4253ddf0bea57b3c6da2d42930a9dffc9d907175facd008ce3",
"typesPublisherContentHash": "fc87308df8abb26fd3baabd4af4db8824149d98ed179c474cfe3162e52c8d43c",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Tue, 03 Oct 2017 13:52:13 GMT
* Last updated: Tue, 10 Oct 2017 20:09:09 GMT
* Dependencies: events, request, 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