You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

redux-observable-es6-compat

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-observable-es6-compat

This is build from redux-observable (https://github.com/redux-observable/redux-observable) but fix errors in es2015


Version published
Weekly downloads
822
increased by5.12%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Package last updated on 30 Aug 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc