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
2
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.5.2 to 2.5.3

9

lib/entities.js

@@ -14,2 +14,6 @@ 'use strict';

var _get = require('lodash/get');
var _get2 = _interopRequireDefault(_get);
var _map = require('lodash/map');

@@ -81,7 +85,8 @@

var createReducerHandlers = exports.createReducerHandlers = function createReducerHandlers(type, field, actionTypes) {
var createReducerHandlers = exports.createReducerHandlers = function createReducerHandlers(type, actionTypes) {
var _ref3;
var handlerOptions = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
var handlerOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
var field = (0, _get2.default)(handlerOptions, 'mapToKey');
var addKey = !field || field === type ? '' : (0, _helpers.capitalizeFirstLetter)(field);

@@ -88,0 +93,0 @@

{
"name": "redux-json-api-handlers",
"version": "2.5.2",
"version": "2.5.3",
"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