diff --git a/packages/redux-devtools-instrument/package.json b/packages/redux-devtools-instrument/package.json index d56380f5..83385aa8 100644 --- a/packages/redux-devtools-instrument/package.json +++ b/packages/redux-devtools-instrument/package.json @@ -41,7 +41,7 @@ "jest": "^24.1.0", "redux": "^4.0.0", "rimraf": "^2.3.4", - "rxjs": "^5.0.0-beta.6" + "rxjs": "^6.4.0" }, "dependencies": { "lodash": "^4.2.0", diff --git a/packages/redux-devtools-instrument/test/instrument.spec.js b/packages/redux-devtools-instrument/test/instrument.spec.js index 90773530..b5537e99 100644 --- a/packages/redux-devtools-instrument/test/instrument.spec.js +++ b/packages/redux-devtools-instrument/test/instrument.spec.js @@ -1,10 +1,8 @@ import { createStore, compose } from 'redux'; import instrument, { ActionCreators } from '../src/instrument'; -import { Observable } from 'rxjs'; +import { from } from 'rxjs'; import _ from 'lodash'; -import 'rxjs/add/observable/from'; - function counter(state = 0, action) { switch (action.type) { case 'INCREMENT': @@ -87,7 +85,7 @@ describe('instrument', () => { let lastValue; // let calls = 0; - Observable.from(store).subscribe(state => { + from(store).subscribe(state => { lastValue = state; // calls++; }); diff --git a/yarn.lock b/yarn.lock index 3885a43c..3f849123 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15160,7 +15160,7 @@ run-queue@^1.0.0, run-queue@^1.0.3: dependencies: aproba "^1.1.1" -rxjs@^5.0.0-beta.6, rxjs@^5.5.2: +rxjs@^5.5.2: version "5.5.12" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.12.tgz#6fa61b8a77c3d793dbaf270bee2f43f652d741cc" integrity sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw==