
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
redux-action-enhancer-middleware
Advanced tools
Middleware that provides an enhancing function to dispatched actions, with optional filtering to target only certain actions.
Middleware that provides an enhancing function to dispatched actions, with optional filtering to target only certain actions.
npm i -S redux-action-enhancer-middleware
import actionEnhancerMiddleware from 'redux-action-enhancer-middleware';
const options = {
filter: (action) => true,
enhancer: (dispatch, getState, action) => {...action}
};
const store = createStore(
reducer,
applyMiddleware(
actionEnhancerMiddleware(options)
)
);
redux-action-enhancer-middleware takes an options object with an optional filter and a required enhancer.
(action) => true
Function that receive an action and returns a boolean that determines if the enhancer should be invoked.
(dispatch, getState, action) => nextAction
Function that receives a dispatch, getState, and action. The enhancer returns an action.
FAQs
Middleware that provides an enhancing function to dispatched actions, with optional filtering to target only certain actions.
The npm package redux-action-enhancer-middleware receives a total of 7 weekly downloads. As such, redux-action-enhancer-middleware popularity was classified as not popular.
We found that redux-action-enhancer-middleware demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.