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

mongolass

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongolass - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

4

changelog.md

@@ -0,1 +1,5 @@

## 2.3.1/2016-10-23
- print error when connect mongodb failed
## 2.3.0/2016-10-11

@@ -2,0 +6,0 @@

@@ -52,2 +52,6 @@ 'use strict';

return this._db;
})
.catch(e => {
console.error(e);
throw e;
});

@@ -54,0 +58,0 @@ return this._conn;

@@ -43,2 +43,6 @@ 'use strict';

return this._coll;
})
.catch(e => {
console.error(e);
throw e;
});

@@ -45,0 +49,0 @@ return this._conn;

2

package.json
{
"name": "mongolass",
"version": "2.3.0",
"version": "2.3.1",
"description": "Elegant MongoDB driver for Node.js.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -67,3 +67,6 @@ ## Mongolass

.then(console.log)
.catch(console.error);
.catch(function (e) {
console.error(e);
console.error(e.stack);
});
/*

@@ -80,2 +83,12 @@ { [Error: ($.age: "wrong age") ✖ (type: number)]

args: [] }
Error
at Model.insertOne (/Users/nswbmw/Desktop/mongolass-demo/node_modules/mongolass/lib/query.js:107:16)
at Object.<anonymous> (/Users/nswbmw/Desktop/mongolass-demo/app.js:23:4)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:974:3
*/

@@ -82,0 +95,0 @@ ```

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