mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-07 15:10:45 +03:00
chore(redux-devtools-instrument): consolidate rxjs (#542)
This commit is contained in:
parent
f189949d60
commit
c1917be76e
|
@ -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",
|
||||
|
|
|
@ -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++;
|
||||
});
|
||||
|
|
|
@ -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==
|
||||
|
|
Loading…
Reference in New Issue
Block a user