@types/bson
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -61,3 +61,3 @@ // Type definitions for bson 4.0 | ||
* Serialize a Javascript object. | ||
* | ||
* | ||
* @param object The Javascript object to serialize. | ||
@@ -71,3 +71,3 @@ * @param options Serialize options. | ||
* Serialize a Javascript object using a predefined Buffer and index into the buffer, useful when pre-allocating the space for serialization. | ||
* | ||
* | ||
* @param object The Javascript object to serialize. | ||
@@ -82,3 +82,3 @@ * @param buffer The Buffer you pre-allocated to store the serialized BSON object. | ||
* Deserialize data as BSON. | ||
* | ||
* | ||
* @param buffer The buffer containing the serialized set of BSON documents. | ||
@@ -101,3 +101,3 @@ * @param options Deserialize options. | ||
* Deserialize stream data as BSON documents. | ||
* | ||
* | ||
* @param data The buffer containing the serialized set of BSON documents. | ||
@@ -119,3 +119,3 @@ * @param startIndex The start index in the data Buffer where the deserialization is to start. | ||
): number; | ||
/** A class representation of the BSON Binary type. */ | ||
@@ -416,3 +416,3 @@ export class Binary { | ||
/** | ||
* ObjectID (with capital "D") is deprecated. Use ObjectId (lowercase "d") instead. | ||
* ObjectID (with capital "D") is deprecated. Use ObjectId (lowercase "d") instead. | ||
* @deprecated | ||
@@ -544,3 +544,3 @@ */ | ||
export function stringify( | ||
value: {}, | ||
value: {}, | ||
options?: {relaxed?: boolean;} | ||
@@ -574,4 +574,4 @@ ): string; | ||
export function stringify( | ||
value: {}, | ||
replacer: ((key: string, value: any) => any) | Array<string|number>, | ||
value: {}, | ||
replacer: ((key: string, value: any) => any) | Array<string|number> | null | undefined, | ||
options?: {relaxed?: boolean;} | ||
@@ -603,7 +603,7 @@ ): string; | ||
export function stringify( | ||
value: {}, | ||
replacer: ((key: string, value: any) => any) | Array<string | number>, | ||
indents?: string | number, | ||
value: {}, | ||
replacer: ((key: string, value: any) => any) | Array<string | number> | null | undefined, | ||
indents?: string | number, | ||
options?: {relaxed?: boolean;} | ||
): string; | ||
): string; | ||
} |
{ | ||
"name": "@types/bson", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "TypeScript definitions for bson", | ||
@@ -39,4 +39,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "d61a900842864fcf1b8c3871809078456a3e9da436e0512dc2b3b88e6c3e2009", | ||
"typeScriptVersion": "2.8" | ||
"typesPublisherContentHash": "de339c6ae3194d7c34d771d4580048f1007707bafc646731b539c3a79638ebe9", | ||
"typeScriptVersion": "3.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 19 Mar 2020 22:19:57 GMT | ||
* Last updated: Tue, 20 Oct 2020 02:03:19 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
Sorry, the diff of this file is not supported yet
25876