Socket
Socket
Sign inDemoInstall

bson

Package Overview
Dependencies
3
Maintainers
6
Versions
161
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.5.0 to 4.5.1

2

bower.json

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

],
"version": "4.5.0"
"version": "4.5.1"
}

@@ -96,8 +96,2 @@ "use strict";

function deprecate(fn, message) {
if (typeof require === 'function' &&
typeof window === 'undefined' &&
typeof self === 'undefined') {
// eslint-disable-next-line @typescript-eslint/no-var-requires
return require('util').deprecate(fn, message);
}
var warned = false;

@@ -104,0 +98,0 @@ function deprecated() {

@@ -18,3 +18,3 @@ {

"types": "bson.d.ts",
"version": "4.5.0",
"version": "4.5.1",
"author": {

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

@@ -114,10 +114,2 @@ import { Buffer } from 'buffer';

export function deprecate<T extends Function>(fn: T, message: string): T {
if (
typeof require === 'function' &&
typeof window === 'undefined' &&
typeof self === 'undefined'
) {
// eslint-disable-next-line @typescript-eslint/no-var-requires
return require('util').deprecate(fn, message);
}
let warned = false;

@@ -124,0 +116,0 @@ function deprecated(this: unknown, ...args: unknown[]) {

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc