@types/bson
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -134,2 +134,4 @@ // Type definitions for bson 1.0.6 | ||
readonly buffer: Buffer; | ||
/** Binary data subtype */ | ||
readonly sub_type?: number; | ||
@@ -150,2 +152,3 @@ /** The length of the binary. */ | ||
export class Code { | ||
/** | ||
@@ -156,2 +159,6 @@ * @param code A string or function. | ||
constructor(code: string | Function, scope?: any); | ||
readonly code: string | Function; | ||
readonly scope?: any; | ||
} | ||
@@ -186,2 +193,12 @@ | ||
/** A class representation of the BSON Int32 type. */ | ||
export class Int32 { | ||
/** | ||
* @param value The number we want to represent as an int32. | ||
*/ | ||
constructor(value: number); | ||
valueOf(): number; | ||
} | ||
/** | ||
@@ -322,2 +339,5 @@ * Base class for Long and Timestamp. | ||
/** A buffer containing the raw Decimal128 bytes. */ | ||
readonly bytes: Buffer; | ||
toJSON(): string; | ||
@@ -394,3 +414,8 @@ toString(): string; | ||
export class BSONRegExp { | ||
constructor(pattern: string, options: string); | ||
readonly pattern: string; | ||
readonly options: string; | ||
} | ||
@@ -403,3 +428,8 @@ | ||
export class Symbol { | ||
constructor(value: string); | ||
/** Access the wrapped string value. */ | ||
valueOf(): string; | ||
} | ||
@@ -406,0 +436,0 @@ |
{ | ||
"name": "@types/bson", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "TypeScript definitions for bson", | ||
@@ -27,4 +27,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "05f0493b3f68d64a42e2536b3489084092f91d1909321aa0cefd3d49f96ac4ff", | ||
"typesPublisherContentHash": "f43b22279b4fe329d12923ebab77319321df31976bb693b3c465101d92772ffa", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 06 Jul 2018 21:56:16 GMT | ||
* Last updated: Sat, 21 Jul 2018 02:05:50 GMT | ||
* Dependencies: node | ||
@@ -14,0 +14,0 @@ * Global values: none |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
18731
398
0