Skip to content

Commit c1917be

Browse files
authored
chore(redux-devtools-instrument): consolidate rxjs (#542)
1 parent f189949 commit c1917be

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

packages/redux-devtools-instrument/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"jest": "^24.1.0",
4242
"redux": "^4.0.0",
4343
"rimraf": "^2.3.4",
44-
"rxjs": "^5.0.0-beta.6"
44+
"rxjs": "^6.4.0"
4545
},
4646
"dependencies": {
4747
"lodash": "^4.2.0",

packages/redux-devtools-instrument/test/instrument.spec.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import { createStore, compose } from 'redux';
22
import instrument, { ActionCreators } from '../src/instrument';
3-
import { Observable } from 'rxjs';
3+
import { from } from 'rxjs';
44
import _ from 'lodash';
55

6-
import 'rxjs/add/observable/from';
7-
86
function counter(state = 0, action) {
97
switch (action.type) {
108
case 'INCREMENT':
@@ -87,7 +85,7 @@ describe('instrument', () => {
8785
let lastValue;
8886
// let calls = 0;
8987

90-
Observable.from(store).subscribe(state => {
88+
from(store).subscribe(state => {
9189
lastValue = state;
9290
// calls++;
9391
});

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15160,7 +15160,7 @@ run-queue@^1.0.0, run-queue@^1.0.3:
1516015160
dependencies:
1516115161
aproba "^1.1.1"
1516215162

15163-
rxjs@^5.0.0-beta.6, rxjs@^5.5.2:
15163+
rxjs@^5.5.2:
1516415164
version "5.5.12"
1516515165
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.12.tgz#6fa61b8a77c3d793dbaf270bee2f43f652d741cc"
1516615166
integrity sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw==

0 commit comments

Comments
 (0)