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

redux-dynamic-modules-saga

Package Overview
Dependencies
Maintainers
3
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-dynamic-modules-saga - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

dist/redux-dynamic-modules-saga.js

@@ -157,3 +157,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

*/
function getSagaExtension(sagaContext) {
function getSagaExtension(sagaContext, onError) {
var sagaMonitor = undefined;

@@ -167,3 +167,4 @@ //@ts-ignore

context: sagaContext,
sagaMonitor: sagaMonitor
sagaMonitor: sagaMonitor,
onError: onError
});

@@ -170,0 +171,0 @@ var _sagaManager = redux_dynamic_modules_1.getRefCountedManager(SagaManager_1.getSagaManager(sagaMiddleware), SagaComparer_1.sagaEquals);

2

dist/redux-dynamic-modules-saga.min.js

@@ -1,2 +0,2 @@

!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("redux-dynamic-modules"),require("redux-saga")):"function"==typeof define&&define.amd?define(["redux-dynamic-modules","redux-saga"],n):"object"==typeof exports?exports["redux-dynamic-modules-saga"]=n(require("redux-dynamic-modules"),require("redux-saga")):e["redux-dynamic-modules-saga"]=n(e["redux-dynamic-modules"],e["redux-saga"])}(window,function(e,n){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=2)}([function(n,t){n.exports=e},function(e,n,t){"use strict";n.__esModule=!0,n.sagaEquals=function(e,n){if("function"==typeof e&&"function"==typeof n)return e===n;if(!e||!n)return e===n;if("function"==typeof e)return(r=e)===(t=n).saga&&!t.argument;if("function"==typeof n){var t=n;return(r=e).saga===t&&!r.argument}var r;return t=n,(r=e).saga===t.saga&&r.argument===t.argument}},function(e,n,t){"use strict";n.__esModule=!0,function(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}(t(3))},function(e,n,t){"use strict";n.__esModule=!0;var r=t(4),o=t(0),u=t(5),a=t(1);n.getSagaExtension=function(e){var n=r.default({context:e,sagaMonitor:void 0}),t=o.getRefCountedManager(u.getSagaManager(n),a.sagaEquals);return{middleware:[n],onModuleManagerCreated:function(n){e&&(e.moduleManager=n)},onModuleAdded:function(e){e.sagas&&t.add(e.sagas)},onModuleRemoved:function(e){e.sagas&&t.remove(e.sagas)},dispose:function(){t.dispose()}}}},function(e,t){e.exports=n},function(e,n,t){"use strict";n.__esModule=!0;var r=t(1),o=t(0);n.getSagaManager=function(e){var n=o.getMap(r.sagaEquals);return{getItems:function(){return n.keys.slice()},add:function(t){t&&t.forEach(function(t){t&&!n.get(t)&&n.add(t,function(e,n){if("function"==typeof n){var t=n;return e.run(t)}var r=n.saga,o=n.argument;return e.run(r,o)}(e,t))})},remove:function(e){e&&e.forEach(function(e){n.get(e)&&n.remove(e).cancel()})},dispose:function(){n.keys.forEach(function(e){return n.get(e).cancel()})}}}}])});
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("redux-dynamic-modules"),require("redux-saga")):"function"==typeof define&&define.amd?define(["redux-dynamic-modules","redux-saga"],n):"object"==typeof exports?exports["redux-dynamic-modules-saga"]=n(require("redux-dynamic-modules"),require("redux-saga")):e["redux-dynamic-modules-saga"]=n(e["redux-dynamic-modules"],e["redux-saga"])}(window,function(e,n){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=2)}([function(n,t){n.exports=e},function(e,n,t){"use strict";n.__esModule=!0,n.sagaEquals=function(e,n){if("function"==typeof e&&"function"==typeof n)return e===n;if(!e||!n)return e===n;if("function"==typeof e)return(r=e)===(t=n).saga&&!t.argument;if("function"==typeof n){var t=n;return(r=e).saga===t&&!r.argument}var r;return t=n,(r=e).saga===t.saga&&r.argument===t.argument}},function(e,n,t){"use strict";n.__esModule=!0,function(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}(t(3))},function(e,n,t){"use strict";n.__esModule=!0;var r=t(4),o=t(0),u=t(5),a=t(1);n.getSagaExtension=function(e,n){var t=r.default({context:e,sagaMonitor:void 0,onError:n}),i=o.getRefCountedManager(u.getSagaManager(t),a.sagaEquals);return{middleware:[t],onModuleManagerCreated:function(n){e&&(e.moduleManager=n)},onModuleAdded:function(e){e.sagas&&i.add(e.sagas)},onModuleRemoved:function(e){e.sagas&&i.remove(e.sagas)},dispose:function(){i.dispose()}}}},function(e,t){e.exports=n},function(e,n,t){"use strict";n.__esModule=!0;var r=t(1),o=t(0);n.getSagaManager=function(e){var n=o.getMap(r.sagaEquals);return{getItems:function(){return n.keys.slice()},add:function(t){t&&t.forEach(function(t){t&&!n.get(t)&&n.add(t,function(e,n){if("function"==typeof n){var t=n;return e.run(t)}var r=n.saga,o=n.argument;return e.run(r,o)}(e,t))})},remove:function(e){e&&e.forEach(function(e){n.get(e)&&n.remove(e).cancel()})},dispose:function(){n.keys.forEach(function(e){return n.get(e).cancel()})}}}}])});
//# sourceMappingURL=redux-dynamic-modules-saga.min.js.map

@@ -6,2 +6,2 @@ import { IExtension } from "redux-dynamic-modules";

*/
export declare function getSagaExtension<C>(sagaContext?: C): IExtension;
export declare function getSagaExtension<C>(sagaContext?: C, onError?: (error: Error) => void): IExtension;

@@ -11,3 +11,3 @@ "use strict";

*/
function getSagaExtension(sagaContext) {
function getSagaExtension(sagaContext, onError) {
var sagaMonitor = undefined;

@@ -21,3 +21,4 @@ //@ts-ignore

context: sagaContext,
sagaMonitor: sagaMonitor
sagaMonitor: sagaMonitor,
onError: onError
});

@@ -24,0 +25,0 @@ var _sagaManager = redux_dynamic_modules_1.getRefCountedManager(SagaManager_1.getSagaManager(sagaMiddleware), SagaComparer_1.sagaEquals);

{
"name": "redux-dynamic-modules-saga",
"version": "1.0.0",
"version": "1.0.1",
"description": "Saga Extension for redux-dynamic-modules",

@@ -65,3 +65,3 @@ "repository": {

},
"gitHead": "7c91b07daa4a39b4e8e2768eb6e4bb7140e1a7f8"
"gitHead": "97a0bee1ada8312f6c913686084e73c2e62de5b4"
}

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