New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rods

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rods - npm Package Compare versions

Comparing version 1.2.1-beta to 1.2.2-beta

3

lib/index.js

@@ -130,2 +130,5 @@ var async = require('async');

} else {
if (data == null) {
return callback(null, null);
}
if (Array.isArray(data)) {

@@ -132,0 +135,0 @@ var objs = []

2

package.json
{
"name": "rods",
"version": "1.2.1-beta",
"version": "1.2.2-beta",
"description": "a micro ORM using knex",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -123,2 +123,16 @@ var assert = require('assert');

});
describe('.first()', function() {
it('should not fail if nothing is returned', function(done) {
db.user
.first()
.where({'users.id': 'thereisnotthisid'})
.join('user_groups', 'users.id', '=', 'user_groups.user_id')
.join('groups', 'user_groups.group_id', '=', 'groups.id')
.exec(function(err, u) {
assert.equal(null, err);
assert.equal(null, u);
done();
});
});
})
describe('hooks', function() {

@@ -125,0 +139,0 @@ it('should add hooks', function(done) {

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