New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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 0.1.6 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

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