Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
redux-observable-es6-compat
Advanced tools
This is build from redux-observable (https://github.com/redux-observable/redux-observable) but fix errors in es2015
Weekly downloads
Readme
this is fix for package redux-observable in es2015 target build related to: https://www.npmjs.com/package/redux-observable
issue createStore redux with redux-observable middleware in angular project target to ES6
Error
ActionsObservable.js:30 Uncaught TypeError: Class constructor Observable cannot be invoked without 'new'
at new ActionsObservable (ActionsObservable.js:30)
at epicMiddleware (createEpicMiddleware.js:24)
at redux.js:615
That error fixed in package redux-observable-es6-compat only for redux-observable version 1.0.0
instead of
import { createEpicMiddleware } from 'redux-observable';
use this
import { createEpicMiddleware } from 'redux-observable-es6-compat';
and it works for es5 and es2015 target build
FAQs
This is build from redux-observable (https://github.com/redux-observable/redux-observable) but fix errors in es2015
The npm package redux-observable-es6-compat receives a total of 761 weekly downloads. As such, redux-observable-es6-compat popularity was classified as not popular.
We found that redux-observable-es6-compat 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.
Security News
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.