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.10 to 1.23.11

44

lib/NamespacedControllerFactory.js

@@ -10,20 +10,50 @@ "use strict";

var _AbstractAction = _interopRequireDefault(require("./AbstractAction"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
var NamespacedControllerFactory = function NamespacedControllerFactory(dispatch, stateNamespace) {
_classCallCheck(this, NamespacedControllerFactory);
var NamespacedControllerFactory =
/*#__PURE__*/
function () {
function NamespacedControllerFactory(dispatch, stateNamespace) {
_classCallCheck(this, NamespacedControllerFactory);
_defineProperty(this, "dispatchAction", void 0);
_defineProperty(this, "dispatchAction", void 0);
_defineProperty(this, "stateNamespace", void 0);
_defineProperty(this, "stateNamespace", void 0);
this.dispatchAction = _DispatchUtils.default.createActionDispatcher(dispatch);
this.stateNamespace = stateNamespace;
};
this.dispatchAction = _DispatchUtils.default.createActionDispatcher(dispatch);
this.stateNamespace = stateNamespace;
}
_createClass(NamespacedControllerFactory, [{
key: "dispatchActionWithDi",
value: function dispatchActionWithDi(diContainer, actionClass, otherArgs) {
var _this = this;
diContainer.create(actionClass, _objectSpread({
stateNamespace: this.stateNamespace,
dispatchAction: this.dispatchAction
}, otherArgs)).then(function (action) {
return _this.dispatchAction(action);
});
}
}]);
return NamespacedControllerFactory;
}();
exports.default = NamespacedControllerFactory;
//# sourceMappingURL=NamespacedControllerFactory.js.map

2

package.json
{
"name": "oo-redux-utils",
"version": "1.23.10",
"version": "1.23.11",
"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