Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mongodb-js-errors

Package Overview
Dependencies
Maintainers
20
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-js-errors - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

index.js

@@ -64,2 +64,4 @@ /* eslint camelcase:0, complexity: 0 */

return new Mapping(boom.badImplementation, 'Response from server was too large to process');
} else if (/no such cmd: top/.test(msg)) {
return new Mapping(boom.badRequest, 'Top command is not available in mongos');
}

@@ -66,0 +68,0 @@ return null;

2

package.json
{
"name": "mongodb-js-errors",
"description": "Helpers for handling errors from the MongoDB driver.",
"version": "0.3.1",
"version": "0.3.2",
"scripts": {

@@ -6,0 +6,0 @@ "fmt": "mongodb-js-fmt ./*.js test/*.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