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.17 to 0.5.18

16

lib/Table.js

@@ -346,7 +346,7 @@ /* eslint no-shadow: 0, no-param-reassign: 0 */

var joinedQuery = _lodash2['default'].reduce(relations, function (query, relations, key) {
if (_lodash2['default'].startsWith(key, '_')) return query;
var joinedQuery = query['do'](function (row) {
return row.merge(_lodash2['default'].reduce(relations, function (joinObject, relations, key) {
if (_lodash2['default'].startsWith(key, '_')) return joinObject;
var relation = _this5.getRelation(key);
query = query.merge(function (row) {
var relation = _this5.getRelation(key);
var relatedQuery = relation.query(row, relations);

@@ -365,8 +365,6 @@ relatedQuery = relation.coerceType(relatedQuery);

return _defineProperty({}, key, relatedQuery);
});
return _extends({}, joinObject, _defineProperty({}, key, relatedQuery));
}, {}));
});
return query;
}, query);
return _rethinkdb2['default'].branch(query.typeOf().eq('NULL').not(), joinedQuery, query);

@@ -373,0 +371,0 @@ }

{
"name": "nothinkdb",
"version": "0.5.17",
"version": "0.5.18",
"description": "Functional toolkit for rethinkdb",

@@ -5,0 +5,0 @@ "main": "lib/nothinkdb.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