kibana/x-pack/gulp_helpers
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
..
build_version.js Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00
get_flags.js Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00
get_plugins.js [6.x] [npm] upgrade to RxJS 6 (#18885) (#20006) 2018-06-18 12:47:51 -07:00
git_info.js Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00
globs.js Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00
logger.js Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00