Skip to content

Commit

Permalink
fix(package): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath committed Aug 21, 2019
1 parent d2708cc commit 4717454
Show file tree
Hide file tree
Showing 4 changed files with 1,380 additions and 557 deletions.
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,27 @@
"license": "ISC",
"devDependencies": {
"@types/benchmark": "^1.0.30",
"@types/mocha": "^5.2.0",
"@types/node": "^10.0.0",
"@types/mocha": "^5.2.7",
"@types/node": "^12.7.2",
"benchmark": "^2.1.2",
"cli-table2": "^0.2.0",
"coveralls": "^3.0.1",
"cz-conventional-changelog": "^2.0.0",
"coveralls": "^3.0.6",
"cz-conventional-changelog": "^3.0.2",
"ghooks": "^2.0.4",
"mocha": "^5.1.1",
"nyc": "^13.1.0",
"prettier": "^1.12.1",
"mocha": "^6.2.0",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"prettify": "^0.1.7",
"request-promise": "^4.1.1",
"rollup": "^0.68.2",
"request-promise": "^4.2.4",
"rollup": "^1.19.4",
"rollup-plugin-babili": "^3.0.0",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-uglify": "^6.0.0",
"semantic-release": "^15.13.1",
"rollup-plugin-commonjs": "^10.0.2",
"rollup-plugin-uglify": "^6.0.2",
"semantic-release": "^15.13.21",
"travis-deploy-once": "^5.0.0",
"ts-node": "^7.0.0",
"tslint": "^5.10.0",
"typescript": "^3.2.2",
"ts-node": "^8.3.0",
"tslint": "^5.19.0",
"typescript": "^3.5.3",
"uglify": "^0.1.5",
"validate-commit-msg": "^2.8.2"
},
Expand All @@ -61,6 +61,6 @@
},
"version": "0.0.0-development",
"dependencies": {
"dbl-linked-list-ds": "^1.0.2"
"dbl-linked-list-ds": "^2.0.0"
}
}
16 changes: 9 additions & 7 deletions src/internal/HotTestObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ export function dispatchEvents<T>(
observers: Array<IObserver<T>>,
closed: Array<boolean>
) {
observers.filter((x, i) => !closed[i]).forEach(ob => {
if (event.type === EventType.next)
return ob.next((event as EventNext<T>).value)
if (event.type === EventType.complete) return ob.complete()
if (event.type === EventType.error)
return ob.error((event as EventError).value)
})
observers
.filter((x, i) => !closed[i])
.forEach(ob => {
if (event.type === EventType.next)
return ob.next((event as EventNext<T>).value)
if (event.type === EventType.complete) return ob.complete()
if (event.type === EventType.error)
return ob.error((event as EventError).value)
})
}

export function HotTestObservable<T>(
Expand Down
2 changes: 1 addition & 1 deletion src/internal/Marble.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function toMarble<T>(
while (count-- > 1) message += '-'
switch (ev.type) {
case EventType.next:
const s = (ev as EventNext<T>).value.toString()
const s = String((ev as EventNext<T>).value)
message += s.length > 1 ? `(${s})` : s
break
case EventType.error:
Expand Down
Loading

0 comments on commit 4717454

Please sign in to comment.