New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/bson

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/bson - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

30

bson/index.d.ts

@@ -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 @@

4

bson/package.json
{
"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

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