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.23.12 to 1.23.13

8

lib/AbstractDispatchingAction.js

@@ -26,2 +26,6 @@ "use strict";

function isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
function _construct(Parent, args, Class) { if (isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -97,3 +101,3 @@

promise.then(function (result) {
return _this4.dispatchAction_(new actionClass(_this4.stateNamespace, result, args));
return _this4.dispatchAction_(_construct(actionClass, [_this4.stateNamespace, result].concat(args)));
});

@@ -103,3 +107,3 @@ }

promise.then(function (result) {
return _this4.dispatchAction_(new actionClass(result, args));
return _this4.dispatchAction_(_construct(actionClass, [result].concat(args)));
});

@@ -106,0 +110,0 @@ }

{
"name": "oo-redux-utils",
"version": "1.23.12",
"version": "1.23.13",
"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

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