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

mongodb-js-errors

Package Overview
Dependencies
Maintainers
1
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.0.1 to 0.1.0

2

index.js

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

err = boom.serverTimeout('Too many connections to MongoDB');
} else if (/operation exceeded time limit/.test(msg)) {
err = boom.serverTimeout('Operation exceeded the specified time limit');
} else if (/connect ECONNREFUSED/.test(msg)) {

@@ -109,0 +111,0 @@ err = boom.notFound('MongoDB not running');

2

package.json
{
"name": "mongodb-js-errors",
"description": "Helpers for handling errors from the MongoDB driver.",
"version": "0.0.1",
"version": "0.1.0",
"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