kibana/tasks
Spencer 8a7ed713fd
[6.x] [npm] upgrade to RxJS 6 (#18885) (#20006)
* [npm] upgrade to RxJS 6 (#18885)

This PR upgrades RxJS to version 6 and switches to a fork of `stream-to-observable` which includes an updated version of `any-observable` that supports RxJS 6 until https://github.com/jamestalmage/stream-to-observable/pull/10 is merged. The primary change in this version of RxJS is the movement of stream operators from `Obersable.prototype` to the `rxjs/operators` module. Some of the operators, like `catch` and `do`, have been renamed (`catchError`, and `tap`). The Obsevable factories have also been moved from static methods on the `Observable` class to named exports of the root `rxjs` module. Some of those factories have also changed slightly, like `fromEvent` which now emits arrays if the event handler is called with multiple arguments.

```js
// import the Rx namespace to get the Observable factories
import * as Rx from 'rxjs';
// import the operators as named imports
import { map, tap, switchMap } from 'rxjs/operators';
```

* [rxjs/dev-utils] fix old operator usage

* [rxjs/dev-utils] remove one more old operator
2018-06-18 12:47:51 -07:00
..
config Backport/19383/6.x (#19487) 2018-05-28 20:24:23 -07:00
docker_docs Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00
utils Backport/19383/6.x (#19487) 2018-05-28 20:24:23 -07:00
check_plugins.js Backport/19383/6.x (#19487) 2018-05-28 20:24:23 -07:00
docker_docs.js Backport/19383/6.x (#19487) 2018-05-28 20:24:23 -07:00
functional_test_runner.js Backport/19383/6.x (#19487) 2018-05-28 20:24:23 -07:00
jenkins.js Backport/19383/6.x (#19487) 2018-05-28 20:24:23 -07:00
licenses.js chore(19502): change license checker and generator behaviour to only add dev dependencies with --dev flag. (#19626) (#19825) 2018-06-12 09:15:44 -07:00
licenses_csv_report.js chore(19502): change license checker and generator behaviour to only add dev dependencies with --dev flag. (#19626) (#19825) 2018-06-12 09:15:44 -07:00
sterilize.js Backport/19383/6.x (#19487) 2018-05-28 20:24:23 -07:00
test.js Backport/19383/6.x (#19487) 2018-05-28 20:24:23 -07:00
test_jest.js Backport/19383/6.x (#19487) 2018-05-28 20:24:23 -07:00
verify_dependency_versions.js Backport/19383/6.x (#19487) 2018-05-28 20:24:23 -07:00
verify_translations.js [6.x] [npm] upgrade to RxJS 6 (#18885) (#20006) 2018-06-18 12:47:51 -07:00