Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@process-street/normalizr

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@process-street/normalizr - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

3

dist/normalizr.amd.js

@@ -539,3 +539,4 @@ define(['exports'], function (exports) { 'use strict';

if (object[referenceKey]) {
var referencedValue = unvisit(object[referenceKey], schema[referenceKey]);
var id = typeof object[referenceKey] === 'string' ? object[referenceKey] : object[referenceKey].id ? object[referenceKey].id : object[referenceKey];
var referencedValue = unvisit(id, schema[referenceKey]);
object[referenceKey] = referencedValue || object[referenceKey];

@@ -542,0 +543,0 @@ }

@@ -539,3 +539,4 @@ define(['exports'], function (exports) { 'use strict';

if (object[referenceKey]) {
var referencedValue = unvisit(object[referenceKey], schema[referenceKey]);
var id = typeof object[referenceKey] === 'string' ? object[referenceKey] : object[referenceKey].id ? object[referenceKey].id : object[referenceKey];
var referencedValue = unvisit(id, schema[referenceKey]);
object[referenceKey] = referencedValue || object[referenceKey];

@@ -542,0 +543,0 @@ }

@@ -540,3 +540,4 @@ (function (exports) {

if (object[referenceKey]) {
var referencedValue = unvisit(object[referenceKey], schema[referenceKey]);
var id = typeof object[referenceKey] === 'string' ? object[referenceKey] : object[referenceKey].id ? object[referenceKey].id : object[referenceKey];
var referencedValue = unvisit(id, schema[referenceKey]);
object[referenceKey] = referencedValue || object[referenceKey];

@@ -543,0 +544,0 @@ }

@@ -540,3 +540,4 @@ (function (exports) {

if (object[referenceKey]) {
var referencedValue = unvisit(object[referenceKey], schema[referenceKey]);
var id = typeof object[referenceKey] === 'string' ? object[referenceKey] : object[referenceKey].id ? object[referenceKey].id : object[referenceKey];
var referencedValue = unvisit(id, schema[referenceKey]);
object[referenceKey] = referencedValue || object[referenceKey];

@@ -543,0 +544,0 @@ }

@@ -537,3 +537,4 @@ function _typeof(obj) {

if (object[referenceKey]) {
var referencedValue = unvisit(object[referenceKey], schema[referenceKey]);
var id = typeof object[referenceKey] === 'string' ? object[referenceKey] : object[referenceKey].id ? object[referenceKey].id : object[referenceKey];
var referencedValue = unvisit(id, schema[referenceKey]);
object[referenceKey] = referencedValue || object[referenceKey];

@@ -540,0 +541,0 @@ }

@@ -537,3 +537,4 @@ function _typeof(obj) {

if (object[referenceKey]) {
var referencedValue = unvisit(object[referenceKey], schema[referenceKey]);
var id = typeof object[referenceKey] === 'string' ? object[referenceKey] : object[referenceKey].id ? object[referenceKey].id : object[referenceKey];
var referencedValue = unvisit(id, schema[referenceKey]);
object[referenceKey] = referencedValue || object[referenceKey];

@@ -540,0 +541,0 @@ }

@@ -541,3 +541,4 @@ 'use strict';

if (object[referenceKey]) {
var referencedValue = unvisit(object[referenceKey], schema[referenceKey]);
var id = typeof object[referenceKey] === 'string' ? object[referenceKey] : object[referenceKey].id ? object[referenceKey].id : object[referenceKey];
var referencedValue = unvisit(id, schema[referenceKey]);
object[referenceKey] = referencedValue || object[referenceKey];

@@ -544,0 +545,0 @@ }

@@ -541,3 +541,4 @@ 'use strict';

if (object[referenceKey]) {
var referencedValue = unvisit(object[referenceKey], schema[referenceKey]);
var id = typeof object[referenceKey] === 'string' ? object[referenceKey] : object[referenceKey].id ? object[referenceKey].id : object[referenceKey];
var referencedValue = unvisit(id, schema[referenceKey]);
object[referenceKey] = referencedValue || object[referenceKey];

@@ -544,0 +545,0 @@ }

@@ -543,3 +543,4 @@ (function (global, factory) {

if (object[referenceKey]) {
var referencedValue = unvisit(object[referenceKey], schema[referenceKey]);
var id = typeof object[referenceKey] === 'string' ? object[referenceKey] : object[referenceKey].id ? object[referenceKey].id : object[referenceKey];
var referencedValue = unvisit(id, schema[referenceKey]);
object[referenceKey] = referencedValue || object[referenceKey];

@@ -546,0 +547,0 @@ }

@@ -543,3 +543,4 @@ (function (global, factory) {

if (object[referenceKey]) {
var referencedValue = unvisit(object[referenceKey], schema[referenceKey]);
var id = typeof object[referenceKey] === 'string' ? object[referenceKey] : object[referenceKey].id ? object[referenceKey].id : object[referenceKey];
var referencedValue = unvisit(id, schema[referenceKey]);
object[referenceKey] = referencedValue || object[referenceKey];

@@ -546,0 +547,0 @@ }

{
"name": "@process-street/normalizr",
"version": "1.0.3",
"version": "1.0.4",
"description": "Normalizes and denormalizes JSON according to schema for Redux and Flux applications",

@@ -5,0 +5,0 @@ "bugs": {

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