🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

mongodb-schema

Package Overview
Dependencies
Maintainers
34
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-schema - npm Package Compare versions

Comparing version

to
8.2.3

4

lib/stream.js

@@ -15,3 +15,3 @@ var es = require('event-stream');

var extractStringValueFromBSON = function(value) {
if (_.has(value, '_bsontype')) {
if (value && value._bsontype) {
if (_.includes([ 'Decimal128', 'Long' ], value._bsontype)) {

@@ -196,3 +196,3 @@ return value.toString();

var T;
if (_.has(value, '_bsontype')) {
if (value && value._bsontype) {
T = value._bsontype;

@@ -199,0 +199,0 @@ } else {

{
"name": "mongodb-schema",
"description": "Infer the probabilistic schema for a MongoDB collection.",
"version": "8.2.2",
"version": "8.2.3",
"author": "Thomas Rueckstiess <thomas@rueckstiess.net>",

@@ -6,0 +6,0 @@ "license": "Apache-2.0",