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

wappsto-redux

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wappsto-redux - npm Package Compare versions

Comparing version 3.4.0 to 3.5.0

events.js

8

actions/request.js

@@ -167,2 +167,4 @@ import querystring from 'query-string';

}
options.controller = new AbortController();
options.signal = options.controller.signal;
const response = await fetch(options.url, options);

@@ -270,1 +272,7 @@ try{

}
export function cancelAllRequests(){
for(let key in pendingRequestsCache){
pendingRequestsCache[key].options.controller.abort();
}
}

4

configureStore.js
import './reducers';
import { REMOVE_SESSION } from './actions/session';
import { applyMiddleware, combineReducers, createStore } from 'redux';
import { cancelAllRequests } from './actions/request';
import { trigger } from './events';

@@ -21,2 +23,4 @@ import thunk from 'redux-thunk';

state = undefined;
cancelAllRequests();
trigger('logout');
}

@@ -23,0 +27,0 @@ return appReducer(state, action);

8

index.js
import config from './config';
import configureStore from './configureStore';
import { overrideRequest } from './actions/request';
export { default as configureStore } from './configureStore';
export { overrideRequest } from './actions/request';
export { configureStore };
export { overrideRequest };
export function use(newConfig){
Object.assign(config, newConfig);
}
{
"name": "wappsto-redux",
"version": "3.4.0",
"version": "3.5.0",
"description": "",

@@ -11,3 +11,3 @@ "main": "index.js",

"type": "git",
"url": "git+https://github.com/Samislx/wappsto-redux.git"
"url": "git+https://github.com/Wappsto/wappsto-redux.git"
},

@@ -21,5 +21,5 @@ "author": {

"bugs": {
"url": "https://github.com/Samislx/wappsto-redux/issues"
"url": "https://github.com/Wappsto/wappsto-redux/issues"
},
"homepage": "https://github.com/Samislx/wappsto-redux#readme",
"homepage": "https://github.com/Wappsto/wappsto-redux#readme",
"dependencies": {

@@ -26,0 +26,0 @@ "deep-equal": "^2.0.3",

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