Socket
Socket
Sign inDemoInstall

cosa

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosa - npm Package Compare versions

Comparing version 3.0.13 to 3.0.14

2

lib/db.js

@@ -83,3 +83,3 @@ const debug = require('debug')('cosa:db');

useNewUrlParser: true,
useUnifiedTopology: false // https://jira.mongodb.org/projects/NODE/issues/NODE-2231
useUnifiedTopology: true
});

@@ -86,0 +86,0 @@ this._db = await this._client.db(dbName);

{
"name": "cosa",
"version": "3.0.13",
"version": "3.0.14",
"description": "Cosa Models for MongoDB",

@@ -44,3 +44,3 @@ "main": "lib/index.js",

"@hapi/joi": "^15.1.1",
"mongodb": "~3.3.2",
"mongodb": "~3.5.2",
"mongodb-extended-json": "~1.10.1",

@@ -47,0 +47,0 @@ "object-assign": "^4.1.1",

@@ -11,3 +11,5 @@ # Cosa

$ yarn add cosa
```bash
yarn add cosa
```

@@ -18,3 +20,3 @@ ## Usage

``` javascript
```javascript
const { Model } = require('cosa');

@@ -35,3 +37,3 @@

```javascript
const newUser = UserModel.create({
const newUser = UserModel.create({
name: 'John Smith',

@@ -56,6 +58,6 @@ email: 'jsmith@example.com'

- [Cosa API Documentation](API.md)
- [MongoDB API Documentation](http://mongodb.github.io/node-mongodb-native/3.1/api/)
- [MongoDB API Documentation](http://mongodb.github.io/node-mongodb-native/3.5/api/)
## License
The module is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
The module is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Sorry, the diff of this file is not supported yet

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