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

redux-json-api-handlers

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-json-api-handlers - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

3

lib/relationsHandlers.js

@@ -51,2 +51,3 @@ 'use strict';

var createRelationAddHandler = exports.createRelationAddHandler = function createRelationAddHandler(type, relationName) {
var externalRelationId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
return function (state, _ref) {

@@ -68,3 +69,3 @@ var payload = _ref.payload;

createdRelations.forEach(function (current) {
var currentRelationId = getRelationId(relationName, current);
var currentRelationId = externalRelationId || getRelationId(relationName, current);
if (!currentRelationId) return;

@@ -71,0 +72,0 @@ var relative = updatedRelativesMap.get(currentRelationId);

{
"name": "redux-json-api-handlers",
"version": "2.0.3",
"version": "2.0.4",
"description": "JSON-API entities and relationships handlers",

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