🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

jsona

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsona - npm Package Compare versions

Comparing version

to
0.1.7

4

lib/models/BaseJsonaModel.js

@@ -16,7 +16,7 @@ 'use strict';

if (relationships) {
excludeProps.concat(Object.getOwnPropertyNames(relationships));
excludeProps = excludeProps.concat(Object.getOwnPropertyNames(relationships));
}
var properties = Object.getOwnPropertyNames(this);
var propertiesLength = properties.length;
for (var i = 0; i <= propertiesLength; i++) {
for (var i = 0; i < propertiesLength; i++) {
var attr = properties[i];

@@ -23,0 +23,0 @@ if (this.hasOwnProperty(attr) && excludeProps.indexOf(attr) === -1) {

{
"name": "jsona",
"description": "Two-way transformer from JSON API formatted object into instances of predefined constructor objects. If you use TypeScript, it possible to create custom model classes (describe inside) beforehand and inject it into Deserializer via custom ModelsGateway, using special Deserializer's set-method.",
"version": "0.1.6",
"version": "0.1.7",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "typings": "lib/index",

Sorry, the diff of this file is not supported yet