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

redux-form-reducer

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-form-reducer - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

20

lib/index.js

@@ -44,6 +44,12 @@ 'use strict';

return _extends({}, state, {
values: _extends({}, state.values, _defineProperty({}, action.payload.field, action.payload.value)),
errors: _extends({}, state.errors, _defineProperty({}, action.payload.field, validationFunction()))
});
if (validationFunction) {
return _extends({}, state, {
values: _extends({}, state.values, _defineProperty({}, action.payload.field, action.payload.value)),
errors: _extends({}, state.errors, _defineProperty({}, action.payload.field, validationFunction(action.payload.value)))
});
} else {
return _extends({}, state, {
values: _extends({}, state.values, _defineProperty({}, action.payload.field, action.payload.value))
});
}
}

@@ -61,5 +67,9 @@

return state;
if (extendReducer) {
return extendReducer(state, action);
} else {
return state;
}
};
}
module.exports = exports['default'];
{
"name": "redux-form-reducer",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -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