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

yayson

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yayson - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

lib/yayson/adapters/sequelize.js

@@ -5,3 +5,5 @@ var SequelizeAdapter;

get: function(model, key) {
return model.get(key);
if (model != null) {
return model.get(key);
}
}

@@ -8,0 +10,0 @@ };

@@ -32,2 +32,5 @@ module.exports = function(_, Q) {

values: _.values || function(obj) {
if (obj == null) {
obj = {};
}
return Object.keys(obj).map(function(key) {

@@ -39,2 +42,5 @@ return obj[key];

var clone, key, val;
if (obj == null) {
obj = {};
}
clone = {};

@@ -41,0 +47,0 @@ for (key in obj) {

{
"name": "yayson",
"version": "1.0.2",
"version": "1.0.3",
"description": "A library for serializing and reading JSON API standardized data in JavaScript.",

@@ -5,0 +5,0 @@ "main": "lib/yayson.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