Socket
Socket
Sign inDemoInstall

bson

Package Overview
Dependencies
Maintainers
6
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 4.6.3 to 4.6.4

2

bower.json

@@ -25,3 +25,3 @@ {

],
"version": "4.6.3"
"version": "4.6.4"
}

@@ -50,3 +50,4 @@ "use strict";

else if (ArrayBuffer.isView(workingId) && workingId.byteLength === 12) {
this[kId] = ensure_buffer_1.ensureBuffer(workingId);
// If intstanceof matches we can escape calling ensure buffer in Node.js environments
this[kId] = workingId instanceof buffer_1.Buffer ? workingId : ensure_buffer_1.ensureBuffer(workingId);
}

@@ -53,0 +54,0 @@ else if (typeof workingId === 'string') {

@@ -26,3 +26,3 @@ {

},
"version": "4.6.3",
"version": "4.6.4",
"author": {

@@ -29,0 +29,0 @@ "name": "The MongoDB NodeJS Team",

@@ -75,3 +75,4 @@ import { Buffer } from 'buffer';

} else if (ArrayBuffer.isView(workingId) && workingId.byteLength === 12) {
this[kId] = ensureBuffer(workingId);
// If intstanceof matches we can escape calling ensure buffer in Node.js environments
this[kId] = workingId instanceof Buffer ? workingId : ensureBuffer(workingId);
} else if (typeof workingId === 'string') {

@@ -78,0 +79,0 @@ if (workingId.length === 12) {

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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