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

@zakodium/lucid-mongo

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zakodium/lucid-mongo - npm Package Compare versions

Comparing version 4.0.0-2 to 4.0.0

16

package.json

@@ -5,3 +5,3 @@ {

"main": "index.js",
"version": "4.0.0-2",
"version": "4.0.0",
"scripts": {

@@ -39,11 +39,11 @@ "pretest": "npm run test:cleanup && npm run lint",

"@adonisjs/generic-exceptions": "^3.0.1",
"chance": "^1.0.18",
"chance": "^1.1.0",
"debug": "^4.1.1",
"geo-point": "^1.2.0",
"lodash": "^4.17.11",
"geo-point": "^1.2.1",
"lodash": "^4.17.15",
"moment": "^2.24.0",
"mongo-uri-builder": "^2.0.0",
"mongodb": "^3.2.6",
"mongodb": "^3.3.2",
"mongodb-url": "^3.0.2",
"mquery": "^3.2.0",
"mquery": "^3.2.2",
"pluralize": "^8.0.0",

@@ -57,5 +57,5 @@ "pretty-hrtime": "^1.0.3",

"@adonisjs/sink": "^1.0.17",
"conventional-changelog-cli": "^2.0.21",
"conventional-changelog-cli": "^2.0.23",
"cz-conventional-changelog": "^2.1.0",
"fs-extra": "^8.0.1",
"fs-extra": "^8.1.0",
"japa": "^2.0.10",

@@ -62,0 +62,0 @@ "japa-cli": "^1.0.1"

@@ -129,3 +129,4 @@ 'use strict';

{
useNewUrlParser: true
useNewUrlParser: true,
useUnifiedTopology: true,
},

@@ -487,3 +488,3 @@ config.connectionOptions || {}

const collection = connection.collection(this.collectionName);
return collection.insert(row);
return collection.insertOne(row);
}

@@ -490,0 +491,0 @@

@@ -460,3 +460,3 @@ 'use strict';

const collection = await this.db.getCollection(this.collection);
return collection.insert(attributes);
return collection.insertOne(attributes);
}

@@ -463,0 +463,0 @@

@@ -81,3 +81,3 @@ 'use strict'

_addLock () {
return this.db.collection(this._lockCollection).insert({ is_locked: true })
return this.db.collection(this._lockCollection).insertOne({ is_locked: true })
}

@@ -154,3 +154,3 @@

_addForBatch (name, batch) {
return this.db.collection(this._migrationsCollection).insert({ name, batch })
return this.db.collection(this._migrationsCollection).insertOne({ name, batch })
}

@@ -172,3 +172,3 @@

_remove (name) {
return this.db.collection(this._migrationsCollection).delete({ name })
return this.db.collection(this._migrationsCollection).deleteOne({ name })
}

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