Socket
Socket
Sign inDemoInstall

bson

Package Overview
Dependencies
Maintainers
2
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bson - npm Package Compare versions

Comparing version 0.2.19 to 0.2.20

2

lib/bson/binary.js

@@ -20,3 +20,3 @@ /**

*
* @class Represents a BSON Binary type.
* @class
* @param {Buffer} buffer a buffer object containing the binary data.

@@ -23,0 +23,0 @@ * @param {Number} [subType] the option binary type.

/**
* A class representation of the BSON Code type.
*
* @class Represents a BSON Code and Code with scope type.
* @class
* @param {(string|function)} code a string or function.

@@ -6,0 +6,0 @@ * @param {Object} [scope] an optional scope for the function.

/**
* A class representation of the BSON DBRef type.
*
* @class Represents a BSON DbRef type.
* @class
* @param {string} namespace the collection name.

@@ -6,0 +6,0 @@ * @param {ObjectID} oid the reference ObjectID.

/**
* A class representation of the BSON Double type.
*
* @class Represents a BSON Double type.
* @class
* @param {number} value the number we want to represent as a double.

@@ -6,0 +6,0 @@ * @return {Double}

@@ -38,3 +38,3 @@ // Licensed under the Apache License, Version 2.0 (the "License");

*
* @class Represents the BSON Long type.
* @class
* @param {number} low the low (signed) 32 bits of the Long.

@@ -41,0 +41,0 @@ * @param {number} high the high (signed) 32 bits of the Long.

/**
* A class representation of the BSON MaxKey type.
*
* @class Represents a BSON MaxKey type.
* @class
* @return {MaxKey} A MaxKey instance

@@ -6,0 +6,0 @@ */

/**
* A class representation of the BSON MinKey type.
*
* @class Represents a BSON MinKey type.
* @class
* @return {MinKey} A MinKey instance

@@ -6,0 +6,0 @@ */

@@ -23,3 +23,3 @@ /**

*
* @class Represents a BSON ObjectId type.
* @class
* @param {(string|number)} id Can be a 24 byte hex string, 12 byte binary string or a Number.

@@ -26,0 +26,0 @@ * @property {number} generationTime The generation time of this ObjectId instance

/**
* A class representation of the BSON Symbol type.
*
* @class Represents a BSON Symbol type.
* @class
* @deprecated

@@ -6,0 +6,0 @@ * @param {string} value the string representing the symbol.

@@ -41,3 +41,3 @@ // Licensed under the Apache License, Version 2.0 (the "License");

*
* @class Represents the BSON Timestamp type.
* @class
* @param {number} low the low (signed) 32 bits of the Timestamp.

@@ -44,0 +44,0 @@ * @param {number} high the high (signed) 32 bits of the Timestamp.

{ "name" : "bson"
, "description" : "A bson parser for node.js and the browser"
, "keywords" : ["mongodb", "bson", "parser"]
, "version" : "0.2.19"
, "version" : "0.2.20"
, "author" : "Christian Amor Kvalheim <christkv@gmail.com>"

@@ -6,0 +6,0 @@ , "contributors" : []

Sorry, the diff of this file is too big to display

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