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

nothinkdb

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nothinkdb - npm Package Compare versions

Comparing version 0.5.34 to 0.5.35

9

lib/relations/belongsToMany.js

@@ -104,3 +104,10 @@ 'use strict';

return _rethinkdb2.default.branch(queryRelation(onePk, otherPk).count().gt(0).not(), relationTable.insert(relationTable.create((_relationTable$create = {}, (0, _defineProperty3.default)(_relationTable$create, link1.left.field, onePk), (0, _defineProperty3.default)(_relationTable$create, link2.left.field, otherPk), _relationTable$create))), null);
return _rethinkdb2.default.branch(queryRelation(onePk, otherPk).count().gt(0).not(), relationTable.insert(relationTable.create((_relationTable$create = {}, (0, _defineProperty3.default)(_relationTable$create, link1.left.field, onePk), (0, _defineProperty3.default)(_relationTable$create, link2.left.field, otherPk), _relationTable$create))), _rethinkdb2.default.expr({
deleted: 0,
errors: 0,
inserted: 0,
replaced: 0,
skipped: 0,
unchanged: 0
}));
}

@@ -107,0 +114,0 @@

2

package.json
{
"name": "nothinkdb",
"version": "0.5.34",
"version": "0.5.35",
"description": "Functional toolkit for rethinkdb",

@@ -5,0 +5,0 @@ "main": "lib",

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