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

jsonapi-mapper

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonapi-mapper - npm Package Compare versions

Comparing version

to
1.0.0-beta.16

@@ -65,4 +65,3 @@ "use strict";

// Override type because we will overwrite relations
var sampled = lodash_1.omit(lodash_1.clone(data), ['relations', 'attributes']);
sampled.attributes = lodash_1.cloneDeep(data.attributes);
var sampled = lodash_1.cloneDeep(lodash_1.omit(data, 'relations'));
sampled.relations = lodash_1.mapValues(data.relations, sample);

@@ -69,0 +68,0 @@ return sampled;

{
"name": "jsonapi-mapper",
"version": "1.0.0-beta.15",
"version": "1.0.0-beta.16",
"description": "JSON API-Compliant Serialization for your ORM",

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

Sorry, the diff of this file is not supported yet