Socket
Socket
Sign inDemoInstall

bson

Package Overview
Dependencies
Maintainers
4
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 1.0.7 to 1.0.8

5

lib/bson/parser/utils.js

@@ -8,7 +8,8 @@ 'use strict';

function normalizedFunctionString(fn) {
return fn.toString().replace('function(', 'function (');
return fn.toString().replace(/function *\(/, 'function (');
}
module.exports = {
normalizedFunctionString
normalizedFunctionString: normalizedFunctionString
};

2

package.json

@@ -15,3 +15,3 @@ {

],
"version": "1.0.7",
"version": "1.0.8",
"author": "Christian Amor Kvalheim <christkv@gmail.com>",

@@ -18,0 +18,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