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

api-orm

Package Overview
Dependencies
Maintainers
5
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-orm - npm Package Compare versions

Comparing version 0.0.35 to 0.0.36

2

lib/model.js

@@ -492,3 +492,3 @@ var util = require('util'),

var key = keys[i];
retVal[translation[key]] = obj[key] || key;
retVal[translation[key] || key] = obj[key];
}

@@ -495,0 +495,0 @@ return retVal;

{
"name": "api-orm",
"version": "0.0.35",
"version": "0.0.36",
"description": "API Builder ORM",

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

@@ -1303,4 +1303,4 @@ var should = require('should'),

should(serializedPayload).equal(JSON.stringify({ thename: 'Jeff' }));
var serializedWhere = JSON.stringify(User.translateKeysForPayload({ name: 1 }));
should(serializedWhere).equal(JSON.stringify({ thename: 1 }));
var serializedWhere = JSON.stringify(User.translateKeysForPayload({ name: 1, id: 1, foo: 'bar' }));
should(serializedWhere).equal(JSON.stringify({ thename: 1, id: 1, foo: 'bar' }));
callback();

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