mirror of
				https://github.com/reduxjs/redux-devtools.git
				synced 2025-10-31 16:07: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", |     "jest": "^24.1.0", | ||||||
|     "redux": "^4.0.0", |     "redux": "^4.0.0", | ||||||
|     "rimraf": "^2.3.4", |     "rimraf": "^2.3.4", | ||||||
|     "rxjs": "^5.0.0-beta.6" |     "rxjs": "^6.4.0" | ||||||
|   }, |   }, | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "lodash": "^4.2.0", |     "lodash": "^4.2.0", | ||||||
|  |  | ||||||
|  | @ -1,10 +1,8 @@ | ||||||
| import { createStore, compose } from 'redux'; | import { createStore, compose } from 'redux'; | ||||||
| import instrument, { ActionCreators } from '../src/instrument'; | import instrument, { ActionCreators } from '../src/instrument'; | ||||||
| import { Observable } from 'rxjs'; | import { from } from 'rxjs'; | ||||||
| import _ from 'lodash'; | import _ from 'lodash'; | ||||||
| 
 | 
 | ||||||
| import 'rxjs/add/observable/from'; |  | ||||||
| 
 |  | ||||||
| function counter(state = 0, action) { | function counter(state = 0, action) { | ||||||
|   switch (action.type) { |   switch (action.type) { | ||||||
|     case 'INCREMENT': |     case 'INCREMENT': | ||||||
|  | @ -87,7 +85,7 @@ describe('instrument', () => { | ||||||
|     let lastValue; |     let lastValue; | ||||||
|     // let calls = 0;
 |     // let calls = 0;
 | ||||||
| 
 | 
 | ||||||
|     Observable.from(store).subscribe(state => { |     from(store).subscribe(state => { | ||||||
|       lastValue = state; |       lastValue = state; | ||||||
|       // calls++;
 |       // calls++;
 | ||||||
|     }); |     }); | ||||||
|  |  | ||||||
|  | @ -15160,7 +15160,7 @@ run-queue@^1.0.0, run-queue@^1.0.3: | ||||||
|   dependencies: |   dependencies: | ||||||
|     aproba "^1.1.1" |     aproba "^1.1.1" | ||||||
| 
 | 
 | ||||||
| rxjs@^5.0.0-beta.6, rxjs@^5.5.2: | rxjs@^5.5.2: | ||||||
|   version "5.5.12" |   version "5.5.12" | ||||||
|   resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.12.tgz#6fa61b8a77c3d793dbaf270bee2f43f652d741cc" |   resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.12.tgz#6fa61b8a77c3d793dbaf270bee2f43f652d741cc" | ||||||
|   integrity sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw== |   integrity sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw== | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user