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

oo-redux-utils

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oo-redux-utils - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

9

lib/AbstractComponent.js

@@ -57,2 +57,11 @@ "use strict";

}, {
key: "dispatchActions",
value: function dispatchActions(actions) {
var _this = this;
actions.forEach(function (action) {
return _this.dispatchAction(action);
});
}
}, {
key: "dispatchActionToComponentType",

@@ -59,0 +68,0 @@ value: function dispatchActionToComponentType(action, componentType) {

12

lib/DispatchUtils.js

@@ -8,2 +8,4 @@ "use strict";

var React = _interopRequireWildcard(require("react"));
var _AbstractAction = _interopRequireDefault(require("./AbstractAction"));

@@ -13,2 +15,6 @@

function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; if (obj != null) { var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -27,3 +33,3 @@

_createClass(DispatchUtils, [{
_createClass(DispatchUtils, null, [{
key: "createActionDispatcher",

@@ -39,4 +45,4 @@ value: function createActionDispatcher(dispatch) {

key: "createActionDispatcherToComponentType",
value: function createActionDispatcherToComponentType(dispatch, componentType) {
return function (action) {
value: function createActionDispatcherToComponentType(dispatch) {
return function (action, componentType) {
dispatch({

@@ -43,0 +49,0 @@ type: action,

{
"name": "oo-redux-utils",
"version": "1.5.0",
"version": "1.5.1",
"description": "Utility functions for Object-oriented Redux",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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