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.26 to 0.5.27

11

lib/Table.js

@@ -93,2 +93,3 @@ 'use strict';

this.relations = relations;
this._relations = null;
this.index = index;

@@ -98,2 +99,10 @@ }

(0, _createClass3.default)(Table, [{
key: 'getRelations',
value: function getRelations() {
if (!this._relations) {
this._relations = this.relations();
}
return this._relations;
}
}, {
key: 'metaFields',

@@ -394,3 +403,3 @@ value: function metaFields(metaKey) {

value: function getRelation(relation) {
var relationObj = this.relations()[relation];
var relationObj = this.getRelations()[relation];
_assert2.default.ok(relationObj, 'Relation \'' + this.tableName + '.' + relation + '\' is not exist.');

@@ -397,0 +406,0 @@ return relationObj;

2

package.json
{
"name": "nothinkdb",
"version": "0.5.26",
"version": "0.5.27",
"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