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

bsonview

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bsonview - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

9

index.js

@@ -233,9 +233,2 @@ const {

module.exports = (BSON) => {
ObjectIdView.BSON = BSON.ObjectId;
BinaryView.BSON = BSON.Binary;
CodeView.BSON = BSON.Code;
LongView.BSON = BSON.Long;
TimestampView.BSON = BSON.Timestamp;
return BSONView;
};
module.exports = BSONView;

2

lib/binary-view.js

@@ -10,4 +10,4 @@ const { ArrayViewMixin } = require('structurae');

BinaryView.BSON = undefined;
BinaryView.BSON = globalThis.BSON && globalThis.BSON.Binary;
module.exports = BinaryView;

@@ -10,4 +10,4 @@ const { StringView } = require('structurae');

CodeView.BSON = undefined;
CodeView.BSON = globalThis.BSON && globalThis.BSON.Code;
module.exports = CodeView;

@@ -10,4 +10,4 @@ const { TypeViewMixin } = require('structurae');

LongView.BSON = undefined;
LongView.BSON = globalThis.BSON && globalThis.BSON.Long;
module.exports = LongView;

@@ -68,4 +68,4 @@

ObjectIdView.BSON = undefined;
ObjectIdView.BSON = globalThis.BSON && globalThis.BSON.ObjectId;
module.exports = ObjectIdView;

@@ -10,4 +10,4 @@ const { TypeViewMixin } = require('structurae');

TimestampView.BSON = undefined;
TimestampView.BSON = globalThis.BSON && globalThis.BSON.Timestamp;
module.exports = TimestampView;
{
"name": "bsonview",
"version": "0.2.1",
"version": "0.3.0",
"description": "Schema-based BSON using structurae's ObjectView binary protocol.",

@@ -5,0 +5,0 @@ "main": "index.js",

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