Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

[Docs] Add API Docs (#279)

Shan He34dd31de87fd
diff --git a/.babelrc b/.babelrc
index 24418c918..fef20d535 100644
--- a/.babelrc
+++ b/.babelrc
@@ -29,6 +29,10 @@
"plugins": [
"istanbul"
]
+ },
+ "debug": {
+ "sourceMaps": "inline",
+ "retainLines": true
}
}
}
diff --git a/README.md b/README.md
index 22cc64a77..557526b31 100644
--- a/README.md
+++ b/README.md
@@ -21,34 +21,34 @@
</h1>
<h3></h3>
-[Kepler.gl][web] is a data-agnostic, high-performance web-based application for visual exploration of large-scale geolocation data sets. Built on top of [deck.gl](http://uber.github.io/deck.gl/#/), kepler.gl can render millions of points representing thousands of trips and perform spatial aggregations on the fly.
+[<img width="120" alt="Kepler.gl" src="https://d1a3f4spazzrp4.cloudfront.net/kepler.gl/website/icons/kepler.gl-logo.png">](http://www.kepler.gl/)
-For what it is capable of, take a look at [kepler.gl demo app][demo-app].
+[<img width="600" alt="Kepler.gl Demo" src="https://eng.uber.com/wp-content/uploads/2018/05/image4-3-768x493.png">](https://uber.github.io/kepler.gl/#/demo)
-Kepler.gl is a redux component that uses redux reducer to store and manage state transitions.
-This package consists of a reducer and the UI components to render and customize the map.
+[Kepler.gl][web] is a data-agnostic, high-performance web-based application for visual exploration of large-scale geolocation data sets. Built on top of [Mapbox GL](https://www.mapbox.com) and [deck.gl](http://uber.github.io/deck.gl/#/), kepler.gl can render millions of points representing thousands of trips and perform spatial aggregations on the fly.
-For information on how to embed kepler.gl in your app take a look at [this tutorial][vis-academy] on vis.academy.
+Kepler.gl is also a React component that uses [Redux](https://redux.js.org/) to manage its state and data flow. It can be embedded into other React-Redux applications and is highly customizable. For information on how to embed kepler.gl in your app take a look at this step-by-step [tutorial][vis-academy] on vis.academy.
## Links
- [Website][web]
- [Demo][demo-app]
- [Examples][examples]
-- [App User guide][user-guide]
+- [Get Started][get-started]
+- [App User Guide][user-guide]
- [Tutorial][vis-academy]
- [Stack Overflow][stack]
- [Contribution Guidelines][contributing]
-- API Docs - Coming Soon
+- [Api Reference][api-reference]
+- [Roadmap][roadmap]
## Env
-Use Node v6 and above, older node versions have not been tested
-
+Use Node v6 and above, older node versions have not been tested.
For best results, use [nvm](https://github.com/creationix/nvm) `nvm install`.
## Install kepler.gl
Install node (`> 6`), yarn, and project dependencies
-```
+```sh
npm install --save kepler.gl
// or
yarn add kepler.gl
@@ -74,17 +74,19 @@ Take a look at the [development guide][developers] to develop kepler.gl locally.
Here are the basic steps to import kepler.gl into your app. You also take a look at the examples folder. Each example in the folder can be installed and run locally.
-#### 1. Mount kepler.gl reducer in your app reducer.
+### 1. Mount reducer
+
Kepler.gl uses Redux to manage its internal state, along with [react-palm][react-palm] middleware to handle side effects.
-You need to add `taskMiddleware` to your store too. We are actively working on a solution where
-`react-palm` will not be required, however it is still a very nice side effects management tool that works easier for testing than react-thunk.
+You need to add `taskMiddleware` of `react-palm` to your store too. We are actively working on a solution where
+`react-palm` will not be required, however it is still a very lightweight side effects management tool that is easier to test than react-thunk.
```js
import keplerGlReducer from 'kepler.gl/reducers';
import {createStore, combineReducers, applyMiddleware, compose} from 'redux';
import {taskMiddleware} from 'react-palm/tasks';
+const initialState = {};
const reducers = combineReducers({
// <-- mount kepler.gl reducer in your app
keplerGl: keplerGlReducer,
@@ -94,23 +96,30 @@ const reducers = combineReducers({
});
// using createStore
-const store = createStore(reducer, applyMiddleware(taskMiddleware))
+export default createStore(reducer, initialState, applyMiddleware(taskMiddleware));
+
+```
+Or if use enhancer:
+```js
// using enhancers
-const initialState = {}
-const middlewares = [taskMiddleware]
+const initialState = {};
+const middlewares = [taskMiddleware];
const enhancers = [
applyMiddleware(...middlewares)
-]
+];
+
+export default createStore(reducer, initialState, compose(...enhancers));
-const store = createStore(reducer, initialState, compose(...enhancers))
```
If you mount kepler.gl reducer in another address instead of `keplerGl`, or the kepler.gl reducer is not
mounted at root of your state, you will need to specify the path to it when you mount the component
with the `getState` prop.
-#### 2. Mount kepler.gl Component
+Read more about [Reducers][reducers].
+
+### 2. Mount Component
```js
import KeplerGl from 'kepler.gl';
@@ -124,7 +133,7 @@ const Map = props => (
);
```
-##### Component Props
+#### Props
##### `id` (String, required)
@@ -183,7 +192,7 @@ Action called when click Save Map Url in side panel header.
- Default: `{}`
-Actions payload creator to replace default kepler.gl action. Only use custom action when you want to modify action payload.
+Actions creators to replace default kepler.gl action creator. Only use custom action when you want to modify action payload.
##### `mint` (Boolean, optional)
@@ -192,7 +201,9 @@ Actions payload creator to replace default kepler.gl action. Only use custom act
Whether to load a fresh empty state when component is mounted. when parse `mint: true` kepler.gl component will always load a fresh state when re-mount the same component, state inside this component will be destroyed once its unmounted.
By Parsing `mint: false` kepler.gl will keep the component state in the store even when it is unmounted, and use it as initial state when re-mounted again. This is useful when mounting kepler.gl in a modal, and keep the same map when re-open.
-#### 3. Dispatch custom actions to `keplerGl` reducer.
+Read more about [Components][components].
+
+### 3. Dispatch custom actions to `keplerGl` reducer.
One advantage of using the reducer over React component state to handle keplerGl state is the flexibility
to customize its behavior. If you only have one `KeplerGl` instance in your app or never intend to dispatch actions to KeplerGl from outside the component itself,
@@ -205,6 +216,7 @@ There are multiple ways to dispatch actions to a specific `KeplerGl` instance.
Each action is mapped to a reducer updater in kepler.gl. You can import the reducer updater corresponding to a specific action, and call it with the previous state and action payload to get the updated state.
e.g. `updateVisDataUpdater` is the updater for `ActionTypes.UPDATE_VIS_DATA` (take a look at each reducer `reducers/vis-state.js` for action to updater mapping).
Here is an example how you can listen to an app action `QUERY_SUCCESS` and call `updateVisDataUpdater` to load data into Kepler.Gl.
+
```js
import keplerGlReducer, {visStateUpdaters} from 'kepler.gl/reducers';
@@ -237,6 +249,7 @@ const composedReducer = (state, action) => {
export default composedReducer;
```
+Read more about [using updaters to modify kepler.gl state][using-updaters]
- Using redux `connect`
@@ -295,9 +308,11 @@ const MapContainer = ({dispatch}) => (
);
```
+Read more about [forward dispatching actions][forward-actions]
-#### 4. Replace default components.
-Everyone wants the flexibility to render custom kepler.gl componenents. Kepler.gl has a dependency injection system that allow you to inject
+
+### 4. Render Custom UI components.
+Everyone wants the flexibility to render custom kepler.gl components. Kepler.gl has a dependency injection system that allow you to inject
components to KeplerGl replacing existing ones. All you need to do is to create a component factory for the one you want to replace, import the original component factory
and call `injectComponents` at the root component of your app where `KeplerGl` is mounted.
Take a look at `examples/demo-app/src/app.js` and see how it renders a custom side panel header in kepler.gl
@@ -351,39 +366,83 @@ const myCustomHeaderFactory = () => withState(
// actions
{addTodo}
)(CustomHeader);
-
```
+Read more about [replacing UI component][replace-ui-component]
+
+### 5. How to add data to map
+To interact with a kepler.gl instance and add new data to it, you can dispatch __`addDataToMap`__ action from anywhere inside your app. It adds a dataset or multiple datasets to kepler.gl instance and update the full configuration (mapState, mapStyle, visState).
+
+#### Parameters
+- `datasets` **([Array][41]&lt;[Object][40]> | [Object][40])** **\*required** datasets can be a dataset or an array of datasets
+ Each dataset object needs to have `info` and `data` property.
+ - `datasets.info` **[Object][40]** \-info of a dataset
+ - `datasets.info.id` **[string][42]** id of this dataset. If config is defined, `id` should matches the `dataId` in config.
+ - `datasets.info.label` **[string][42]** A display name of this dataset
+ - `datasets.data` **[Object][40]** **\*required** The data object, in a tabular format with 2 properties `fields` and `rows`
+ - `datasets.data.fields` **[Array][41]&lt;[Object][40]>** **\*required** Array of fields,
+ - `datasets.data.fields.name` **[string][42]** **\*required** Name of the field,
+ - `datasets.data.rows` **[Array][41]&lt;[Array][41]>** **\*required** Array of rows, in a tabular format with `fields` and `rows`
+- `options` **[Object][40]**
+ - `options.centerMap` **[boolean][43]** `default: true` if `centerMap` is set to `true` kepler.gl will
+ place the map view within the data points boundaries
+ - `options.readOnly` **[boolean][43]** `default: false` if `readOnly` is set to `true`
+ the left setting panel will be hidden
+- `config` **[Object][40]** this object will contain the full kepler.gl instance configuration {mapState, mapStyle, visState}
+
+Kepler.gl provides an easy API `KeplerGlSchema.getConfigToSave` to generate a json blob of the current kepler instance configuration.
+
+#### Examples
+
+```javascript
+// app.js
+import {addDataToMap} from 'kepler.gl/actions';
+
+const sampleTripData = {
+ fields: [
+ {name: 'tpep_pickup_datetime', format: 'YYYY-M-D H:m:s', type: 'timestamp'},
+ {name: 'pickup_longitude', format: '', type: 'real'},
+ {name: 'pickup_latitude', format: '', type: 'real'}
+ ],
+ rows: [
+ ['2015-01-15 19:05:39 +00:00', -73.99389648, 40.75011063],
+ ['2015-01-15 19:05:39 +00:00', -73.97642517, 40.73981094],
+ ['2015-01-15 19:05:40 +00:00', -73.96870422, 40.75424576],
+ ]
+};
-#### 5. How to add data to map
-In order to interact with a kepler.gl instance and add new data to it the following methods are available:
-- updateVisData
-- addDataToMap
-It is also important to remember that Kepler.gl provides an easy API (```KeplerGlSchema.getConfigToSave```) to generate a dump of the current kepler instance configuration.
-
-##### addDataToMap
-This method is similar to UpdateVisData but it is able to update the full kepler.gl configuration (mapState, mapStyle, visState).
-This action takes an object as input with the following properties:
-```js
-{
- datasets | object: same as UpdateVisData
- options | object: same as UpdateVisData
- config | object: this object will contain the full kepler.gl instance configuration {mapState, mapStyle, visState}.
-}
-```
-
-<p id="config-notice"> It is important to notice that the config object value will always have higher precedence than the options properties.
-For instance, if you provide <code>{centerMap: true}</code> as part of the options object and in your config object you pass
-the mapState configuration with latitude and longitude define as it follows:</p>
-
-```js
-config: {
- mapState: {
- latitude: 33.88608913680742,
- longitude: -84.43459130456425
+const sampleConfig = {
+ visState: {
+ filters: [
+ {
+ id: 'me',
+ dataId: 'test_trip_data',
+ name: 'tpep_pickup_datetime',
+ type: 'timeRange',
+ enlarged: true
+ }
+ ]
}
}
+
+this.props.dispatch(
+ addDataToMap({
+ datasets: {
+ info: {
+ label: 'Sample Taxi Trips in New York City',
+ id: 'test_trip_data'
+ },
+ data: sampleTripData
+ },
+ option: {
+ centerMap: true,
+ readOnly: false
+ },
+ config: sampleConfig
+ })
+);
```
-the latter will be applied and the map view will be moved the defined coordinates.
+
+Read more about [addDataToMap](./docs/api-reference/actions/actions.md#adddatatomap) and [Saving and loading maps with schema manager][saving-loading-w-schema].
[contributing]: contributing/CONTRIBUTING.md
[demo-app]: https://uber.github.io/kepler.gl/#/demo
@@ -393,10 +452,35 @@ the latter will be applied and the map view will be moved the defined coordinate
[mapbox-token]: https://www.mapbox.com/help/define-access-token/
[developers]: contributing/DEVELOPERS.md
[examples]: https://github.com/uber/kepler.gl/tree/master/examples
-[user-guide]: docs/a-introduction.md
-[react-palm]: (https://github.com/btford/react-palm)
+[react-palm]: https://github.com/btford/react-palm
+[roadmap]: https://github.com/uber/kepler.gl/wiki/Kepler.gl-2019-Roadmap
[stack]: https://stackoverflow.com/questions/tagged/kepler.gl
[web]: http://www.kepler.gl/
[vis-academy]: http://vis.academy/#/kepler.gl/
+[user-guide]: ./docs/user-guides/a-introduction.md
+[api-reference]: ./docs/api-reference/overview.md
+[get-started]: ./docs/api-reference/get-started.md
+
+[reducers]: ./docs/api-reference/reducers/overview.md
+[components]: ./docs/api-reference/components/overview.md
+[reducers]: ./docs/api-reference/reducers/overview.md
+[actions-updaters]: ./docs/api-reference/actions/overview.md
+[processors]: ./docs/api-reference/processors/overview.md
+[schemas]: ./docs/api-reference/schemas/overview.md
+[using-updaters]: ./docs/api-reference/advanced-usages/using-updaters.md
+[forward-actions]: ./docs/api-reference/advanced-usages/forward-actions.md
+[replace-ui-component]: ./docs/api-reference/advanced-usages/replace-ui-component.md
+[saving-loading-w-schema]: ./docs/api-reference/advanced-usages/saving-loading-w-schema.md
+
+[40]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
+
+[41]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
+
+[42]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
+
+[43]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
+
+[44]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
+[45]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function
diff --git a/contributing/DEVELOPERS.md b/contributing/DEVELOPERS.md
index 3e067bdae..8140fcdb8 100644
--- a/contributing/DEVELOPERS.md
+++ b/contributing/DEVELOPERS.md
@@ -76,7 +76,7 @@ We write unit and browser tests with [Tape][tape] and [Enzyme][enzyme], and lint
yarn test
```
-To run seperately
+To run separately
```shell
# lint
yarn lint
@@ -139,12 +139,12 @@ being reverted.
A commit with this format is automatically created by the [`git revert`][git-revert] command.
### Type
-Must be one of the following, capitalizd.
+Must be one of the following, capitalized.
-* **[Feat]]**: A new feature
-* **[Enhancement]]**: An update of a existing feature
-* **[Bug]]**: A bug fix
-* **[Docs]]**: Documentation only changes
+* **[Feat]**: A new feature
+* **[Enhancement]**: An update of a existing feature
+* **[Bug]**: A bug fix
+* **[Docs]**: Documentation only changes
* **[Style]**: Changes that do not affect the meaning of the code (white-space, formatting, missing
semi-colons, typos, etc)
* **[Refactor]**: A code change that neither fixes a bug nor adds a feature
@@ -231,7 +231,7 @@ Publish on github pages __Authorized User Only__.
```
### <a name="gh-pages"></a> Testing environment using GH Pages
-We currently host the demo-app on Github pages. We have provided a way to test github pages before pushing the branch to
+We currently host the demo-app on Github pages. We have provided a way to test github pages before pushing the branch to
the actual repo.
In order to test github pages with your changes, you need to satisfy the following requirements first:
- Make sure you have your own github pages (username.github.io) repo, [click here](https://pages.github.com/)
@@ -247,7 +247,7 @@ When everything is set up, run the following command:
```bash
yarn deploy:test
-```
+```
The above command will build the website and push to your gh-pages branch.
diff --git a/docs/api-reference/actions/actions.md b/docs/api-reference/actions/actions.md
new file mode 100644
index 000000000..1c89726d4
--- /dev/null
+++ b/docs/api-reference/actions/actions.md
@@ -0,0 +1,472 @@
+<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
+
+### Table of Contents
+
+- [ActionTypes](#actiontypes)
+- [addCustomMapStyle](#addcustommapstyle)
+- [addDataToMap](#adddatatomap)
+- [deleteEntry](#deleteentry)
+- [fitBounds](#fitbounds)
+- [forwardTo](#forwardto)
+- [inputMapStyle](#inputmapstyle)
+- [isForwardAction](#isforwardaction)
+- [keplerGlInit](#keplerglinit)
+- [receiveMapConfig](#receivemapconfig)
+- [registerEntry](#registerentry)
+- [renameEntry](#renameentry)
+- [resetMapConfig](#resetmapconfig)
+- [togglePerspective](#toggleperspective)
+- [toggleSplitMap](#togglesplitmap)
+- [unwrap](#unwrap)
+- [updateMap](#updatemap)
+- [wrapTo](#wrapto)
+
+## ActionTypes
+
+Kepler.gl action types, can be listened by reducers to perform additional tasks whenever an action is called in kepler.gl
+
+Type: [Object][40]
+
+### Examples
+
+```javascript
+// store.js
+import {handleActions} from 'redux-actions';
+import {createStore, combineReducers, applyMiddleware} from 'redux';
+import {taskMiddleware} from 'react-palm/tasks';
+
+import keplerGlReducer from 'kepler.gl/reducers';
+import {ActionTypes} from 'kepler.gl/actions';
+
+const appReducer = handleActions({
+ // listen on kepler.gl map update action to store a copy of viewport in app state
+ [ActionTypes.UPDATE_MAP]: (state, action) => ({
+ ...state,
+ viewport: action.payload
+ }),
+}, {});
+
+const reducers = combineReducers({
+ app: appReducer,
+ keplerGl: keplerGlReducer
+});
+
+export default createStore(reducers, {}, applyMiddleware(taskMiddleware))
+```
+
+## addCustomMapStyle
+
+Add map style from user input to reducer and set it to current style
+This action is called when user click confirm after putting in a valid style url in the custom map style dialog.
+It should not be called from outside kepler.gl without a valid `inputStyle` in the `mapStyle` reducer.
+param {void}
+
+## addDataToMap
+
+Add data to kepler.gl reducer, prepare map with preset configuration if config is passed.
+Kepler.gl provides a handy set of utils to parse data from different format to the `data` object required in dataset. You rarely need to manually format the data obejct.
+
+Use `KeplerGlSchema.getConfigToSave` to generate a json blob of the currents instance config.
+The config object value will always have higher precedence than the options properties.
+
+Kepler.gl uses `dataId` in the config to match with loaded dataset. If you pass a config object, you need
+to match the `info.id` of your dataset to the `dataId` in eath `layer`, `filter` and `interactionConfig.tooltips.fieldsToShow`
+
+### Parameters
+
+- `datasets` **([Array][41]&lt;[Object][40]> | [Object][40])** **\*required** datasets can be a dataset or an array of datasets
+ Each dataset object needs to have `info` and `data` property.
+ - `datasets.info` **[Object][40]** \-info of a dataset
+ - `datasets.info.id` **[string][42]** id of this dataset. If config is defined, `id` should matches the `dataId` in config.
+ - `datasets.info.label` **[string][42]** A display name of this dataset
+ - `datasets.data` **[Object][40]** **\*required** The data object, in a tabular format with 2 properties `fields` and `rows`
+ - `datasets.data.fields` **[Array][41]&lt;[Object][40]>** **\*required** Array of fields,
+ - `datasets.data.fields.name` **[string][42]** **\*required** Name of the field,
+ - `datasets.data.rows` **[Array][41]&lt;[Array][41]>** **\*required** Array of rows, in a tabular format with `fields` and `rows`
+- `options` **[Object][40]**
+ - `options.centerMap` **[boolean][43]** `default: true` if `centerMap` is set to `true` kepler.gl will
+ place the map view within the data points boundaries
+ - `options.readOnly` **[boolean][43]** `default: false` if `readOnly` is set to `true`
+ the left setting panel will be hidden
+- `config` **[Object][40]** this object will contain the full kepler.gl instance configuration {mapState, mapStyle, visState}
+
+### Examples
+
+```javascript
+// app.js
+import {addDataToMap} from 'kepler.gl/actions';
+
+const sampleTripData = {
+ fields: [
+ {name: 'tpep_pickup_datetime', format: 'YYYY-M-D H:m:s', type: 'timestamp'},
+ {name: 'pickup_longitude', format: '', type: 'real'},
+ {name: 'pickup_latitude', format: '', type: 'real'}
+ ],
+ rows: [
+ ['2015-01-15 19:05:39 +00:00', -73.99389648, 40.75011063],
+ ['2015-01-15 19:05:39 +00:00', -73.97642517, 40.73981094],
+ ['2015-01-15 19:05:40 +00:00', -73.96870422, 40.75424576],
+ ]
+};
+
+const sampleConfig = {
+ visState: {
+ filters: [
+ {
+ id: 'me',
+ dataId: 'test_trip_data',
+ name: 'tpep_pickup_datetime',
+ type: 'timeRange',
+ enlarged: true
+ }
+ ]
+ }
+}
+
+this.props.dispatch(
+ addDataToMap({
+ datasets: {
+ info: {
+ label: 'Sample Taxi Trips in New York City',
+ id: 'test_trip_data'
+ },
+ data: sampleTripData
+ },
+ option: {
+ centerMap: true,
+ readOnly: false
+ },
+ config: sampleConfig
+ })
+);
+```
+
+## deleteEntry
+
+Delete an instance from `keplerGlReducer`. This action is called under-the-hood when a `KeplerGl` component is **un-mounted** to the dom.
+If `mint` is set to be `true` in the component prop, the instance state will be deleted from the root reducer. Otherwise, the root reducer will keep
+the instance state and later transfer it to a newly mounted component with the same `id`
+
+### Parameters
+
+- `id` **[string][42]** the id of the instance to be deleted
+
+## fitBounds
+
+Fit map viewport to bounds
+
+### Parameters
+
+- `null-null` **[Array][41]&lt;[number][44]>** bounds as `[lngMin, latMin, lngMax, latMax]`
+
+### Examples
+
+```javascript
+import {fitBounds} from 'kepler.gl/actions';
+this.props.dispatch(fitBounds([-122.23, 37.127, -122.11, 37.456]));
+```
+
+## forwardTo
+
+Returns an action dispatcher that wraps and forwards the actions to a specific instance
+
+### Parameters
+
+- `id` **[string][42]** instance id
+- `dispatch` **[Function][45]** action dispatcher
+
+### Examples
+
+```javascript
+// action and forward dispatcher
+import {toggleSplitMap, forwardTo} from 'kepler.gl/actions';
+import {connect} from 'react-redux';
+
+const MapContainer = props => (
+ <div>
+ <button onClick={() => props.keplerGlDispatch(toggleSplitMap())}/>
+ </div>
+)
+
+const mapDispatchToProps = (dispatch, props) => ({
+ dispatch,
+ keplerGlDispatch: forwardTo(‘foo’, dispatch)
+});
+
+export default connect(
+ state => state,
+ mapDispatchToProps
+)(MapContainer);
+```
+
+## inputMapStyle
+
+Add map style from user input to reducer and set it to current style
+This action is called when user click confirm after putting in a valid style url in the custom map style dialog.
+It should not be called from outside kepler.gl without a valid `inputStyle` in the `mapStyle` reducer.
+param {void}
+
+## isForwardAction
+
+Whether an action is a forward action
+
+### Parameters
+
+- `action` **[Object][40]** the action object
+
+Returns **[boolean][43]** boolean - whether the action is a forward action
+
+## keplerGlInit
+
+Initialize kepler.gl reducer. It is used to pass in `mapboxApiAccessToken` to `mapStyle` reducer.
+
+### Parameters
+
+- `payload` **[Object][40]**
+ - `payload.mapboxApiAccessToken` **[string][42]** mapboxApiAccessToken to be saved to mapStyle reducer
+
+## receiveMapConfig
+
+Pass config to kepler.gl instance, prepare the state with preset configs.
+Calling `KeplerGlSchema.parseSavedConfig` to convert saved config before passing it in is required.
+
+You can call `receiveMapConfig` before passing in any data. The reducer will store layer and filter config, waiting for
+data to come in. When data arrives, you can call `addDataToMap` without passing any config, and the reducer will try to match
+preloaded configs. This behavior is designed to allow asynchronic data loading.
+
+It is also useful when you want to prepare the kepler.gl instance with some preset layer and filter settings.
+**Note** Sequence is important, `receiveMapConfig` needs to be called **before** data is loaded. Currently kepler.gl doesn't allow callling `receiveMapConfig` after data is loaded.
+It will reset current configuration first then apply config to it.
+
+### Parameters
+
+- `config` **[Object][40]** **\*required** The Config Object
+
+### Examples
+
+```javascript
+import {receiveMapConfig} from 'kepler.gl/actions';
+import KeplerGlSchema from 'kepler.gl/schemas';
+
+const parsedConfig = KeplerGlSchema.parseSavedConfig(config);
+this.props.dispatch(receiveMapConfig(parsedConfig));
+```
+
+## registerEntry
+
+Add a new kepler.gl instance in `keplerGlReducer`. This action is called under-the-hood when a `KeplerGl` component is **mounted** to the dom.
+Note that if you dispatch actions such as adding data to a kepler.gl instance before the React component is mounted, the action will not be
+performed. Instance reducer can only handle actions when it is instantiated.
+
+### Parameters
+
+- `payload` **[Object][40]**
+ - `payload.id` **[string][42]** **\*required** The id of the instance
+ - `payload.mint` **[boolean][43]** Whether to use a fresh empty state, when `mint: true` it will _always_ load a fresh state when the component is re-mounted.
+ When `mint: false` it will register with existing instance state under the same `id`, when the component is unmounted then mounted again. Default: `true`
+ - `payload.mapboxApiAccessToken` **[string][42]** mapboxApiAccessToken to be saved in `map-style` reducer.
+
+## renameEntry
+
+Rename an instance in the root reducer, keep its entire state
+
+### Parameters
+
+- `oldId` **[string][42]** **\*required** old id
+- `newId` **[string][42]** **\*required** new id
+
+## resetMapConfig
+
+Reset all sub-reducers to its initial state. This can be used to clear out all configuration in the reducer.
+
+## togglePerspective
+
+Toggle between 3d and 2d map.
+
+### Examples
+
+```javascript
+import {togglePerspective} from 'kepler.gl/actions';
+this.props.dispatch(togglePerspective());
+```
+
+## toggleSplitMap
+
+Toggle between one or split maps
+
+### Examples
+
+```javascript
+import {toggleSplitMap} from 'kepler.gl/actions';
+this.props.dispatch(toggleSplitMap());
+```
+
+## unwrap
+
+Unwrap an action
+
+### Parameters
+
+- `action` **[Object][40]** the action object
+
+Returns **[Object][40]** unwrapped action
+
+## updateMap
+
+Update map viewport
+
+### Parameters
+
+- `viewport` **[Object][40]** viewport object container one or any of these properties `width`, `height`, `latitude` `longitude`, `zoom`, `pitch`, `bearing`, `dragRotate`
+ - `viewport.width` **[number][44]?** Width of viewport
+ - `viewport.height` **[number][44]?** Height of viewport
+ - `viewport.zoom` **[number][44]?** Zoom of viewport
+ - `viewport.pitch` **[number][44]?** Camera angle in degrees (0 is straight down)
+ - `viewport.bearing` **[number][44]?** Map rotation in degrees (0 means north is up)
+ - `viewport.latitude` **[number][44]?** Latitude center of viewport on map in mercator projection
+ - `viewport.longitude` **[number][44]?** Longitude Center of viewport on map in mercator projection
+ - `viewport.dragRotate` **[boolean][43]?** Whether to enable drag and rotate map into perspective viewport
+
+### Examples
+
+```javascript
+import {updateMap} from 'kepler.gl/actions';
+this.props.dispatch(updateMap({latitude: 37.75043, longitude: -122.34679, width: 800, height: 1200}));
+```
+
+## wrapTo
+
+Wrap an action into a forward action that only modify the state of a specific
+kepler.gl instance. kepler.gl reducer will look for signatures in the action to
+determine whether it needs to be forwarded to a specific instance reducer.
+
+wrapTo can be curried. You can create a curried action wrapper by only supply the `id` argument
+
+A forward action looks like this
+
+```js
+ {
+ type: "@@kepler.gl/LAYER_CONFIG_CHANGE",
+ payload: {
+ type: '@@kepler.gl/LAYER_CONFIG_CHANGE',
+ payload: {},
+ meta: {
+ // id of instance
+ _id_: id
+ // other meta
+ }
+ },
+ meta: {
+ _forward_: '@redux-forward/FORWARD',
+ _addr_: '@@KG_id'
+ }
+ };
+```
+
+### Parameters
+
+- `id` **[string][42]** The id to forward to
+- `action` **[Object][40]** the action object {type: string, payload: \*}
+
+### Examples
+
+```javascript
+import {wrapTo, togglePerspective} from 'kepler.gl/actions';
+
+// This action will only dispatch to the KeplerGl instance with `id: map_1`
+this.props.dispatch(wrapTo('map_1', togglePerspective()));
+
+// You can also create a curried action for each instance
+const wrapToMap1 = wrapTo('map_1');
+this.props.dispatch(wrapToMap1(togglePerspective()));
+```
+
+[1]: #actiontypes
+
+[2]: #examples
+
+[3]: #addcustommapstyle
+
+[4]: #adddatatomap
+
+[5]: #parameters
+
+[6]: #examples-1
+
+[7]: #deleteentry
+
+[8]: #parameters-1
+
+[9]: #fitbounds
+
+[10]: #parameters-2
+
+[11]: #examples-2
+
+[12]: #forwardto
+
+[13]: #parameters-3
+
+[14]: #examples-3
+
+[15]: #inputmapstyle
+
+[16]: #isforwardaction
+
+[17]: #parameters-4
+
+[18]: #keplerglinit
+
+[19]: #parameters-5
+
+[20]: #receivemapconfig
+
+[21]: #parameters-6
+
+[22]: #examples-4
+
+[23]: #registerentry
+
+[24]: #parameters-7
+
+[25]: #renameentry
+
+[26]: #parameters-8
+
+[27]: #resetmapconfig
+
+[28]: #toggleperspective
+
+[29]: #examples-5
+
+[30]: #togglesplitmap
+
+[31]: #examples-6
+
+[32]: #unwrap
+
+[33]: #parameters-9
+
+[34]: #updatemap
+
+[35]: #parameters-10
+
+[36]: #examples-7
+
+[37]: #wrapto
+
+[38]: #parameters-11
+
+[39]: #examples-8
+
+[40]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
+
+[41]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
+
+[42]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
+
+[43]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
+
+[44]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
+
+[45]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function
diff --git a/docs/api-reference/actions/overview.md b/docs/api-reference/actions/overview.md
new file mode 100644
index 000000000..4b0eebebb
--- /dev/null
+++ b/docs/api-reference/actions/overview.md
@@ -0,0 +1 @@
+...Coming soon
diff --git a/docs/api-reference/advanced-usages/custom-initial-state.md b/docs/api-reference/advanced-usages/custom-initial-state.md
new file mode 100644
index 000000000..8e0811abf
--- /dev/null
+++ b/docs/api-reference/advanced-usages/custom-initial-state.md
@@ -0,0 +1,45 @@
+# Custom reducer initial state
+
+For advanced users who wish to modify the initial state of kepler.gl reducer, kepler.gl provides a reducer `initialState` function. `Reducer.initialState` will take the custom state and return a new reducer function. `initialState` is only meant to be called where the store is initialized. The custom state passed in will be shallow merged with the default `initialState`.
+
+Here is an example modify `uiState` `initialState` to hide side panel, and selectively display map control button.
+
+```js
+import {combineReducers} from 'redux';
+import keplerGlReducer from 'kepler.gl/reducers';
+
+const customizedKeplerGlReducer = keplerGlReducer
+ .initialState({
+ uiState: {
+ // hide side panel to disallow user customize the map
+ readOnly: true,
+
+ // customize which map control button to show
+ mapControls: {
+ visibleLayers: {
+ show: false
+ },
+ mapLegend: {
+ show: true,
+ active: true
+ },
+ toggle3d: {
+ show: false
+ },
+ splitMap: {
+ show: false
+ }
+ }
+ }
+ });
+
+const reducers = combineReducers({
+ keplerGl: customizedKeplerGlReducer,
+ app: appReducer
+});
+```
+
+For full implementation, take a look at the [custom reducer example][custom-reducer-example]
+
+[custom-reducer-example]: https://github.com/uber/kepler.gl/tree/master/examples/custom-reducer
+
diff --git a/docs/api-reference/advanced-usages/forward-actions.md b/docs/api-reference/advanced-usages/forward-actions.md
new file mode 100644
index 000000000..2eab6bee3
--- /dev/null
+++ b/docs/api-reference/advanced-usages/forward-actions.md
@@ -0,0 +1,61 @@
+# Forward Dispatch Actions
+
+One of the biggest challenge of using local state is to dispatch actions that only modify a specific instance of the state. For instance, if we have 2 kepler.gl components in our app, one with id `foo` other with id `bar`. Our keplerGl reducer is going to be `keplerGl: {foo: …, bar …}`. When `foo` dispatches an action, it only needs to update the state of `foo`, hence we need a way to decorate the action that the root reducer only pass it down to instance reducer `foo`. To solve this, we provide a set of forward functions called `wrapTo`, `forwardTo` and `unwrap`. `wrapTo` wraps an action payload into an forward action by adding an address `_addr_` and a `_forward_` signature to its `meta`. The root reducer will check if the given action has that address and if so, `unwrap` the action and pass it to the correct instance reducer.
+
+**Here are the different options to dispatch forwarded actions to kepler.gl reducer.**
+
+### 1. Use `forwardTo` to add a dispatch function to your component
+
+You can add a dispatch function to your component that dispatches actions to a specific kepler.gl instance using connect.
+
+```js
+// component
+import KeplerGl from 'kepler.gl';
+import {connect} from 'react-redux';
+
+// import action and forward dispatcher
+import {toggleFullScreen, forwardTo} from 'kepler.gl/actions';
+
+
+const MapContainer = props => (
+ <div>
+ <button onClick={() => props.keplerGlDispatch(toggleFullScreen())}/>
+ <KeplerGl
+ id="foo"
+ />
+ </div>
+)
+
+const mapStateToProps = state => state
+const mapDispatchToProps = (dispatch, props) => ({
+ dispatch,
+ keplerGlDispatch: forwardTo(‘foo’, dispatch)
+});
+
+export default connect(
+ mapStateToProps,
+ mapDispatchToProps
+)(MapContainer);
+```
+
+- 2. Use `wrapTo` to wrap action creator
+
+You can also simply wrap an action into a forward action with the `wrapTo` helper
+
+```js
+// component
+import KeplerGl from 'kepler.gl';
+
+// action and wrapper
+import {toggleFullScreen, wrapTo} from 'kepler.gl/actions';
+
+// create a function to wrapper action payload to 'foo'
+const wrapToMap = wrapTo('foo');
+const MapContainer = ({dispatch}) => (
+ <div>
+ <button onClick={() => dispatch(wrapToMap(toggleFullScreen())} />
+ <KeplerGl id="foo"/>
+ </div>
+);
+
+```
diff --git a/docs/api-reference/advanced-usages/reducer-plugin.md b/docs/api-reference/advanced-usages/reducer-plugin.md
new file mode 100644
index 000000000..bb33ec561
--- /dev/null
+++ b/docs/api-reference/advanced-usages/reducer-plugin.md
@@ -0,0 +1,39 @@
+# Reducer Plugin
+
+For advanced users, who want to add additional action handler to kepler.gl reducer, kepler.gl provides a reducer plugin function. `Reducer.plugin` will take additional action handlers and return a new reducer function. Plugin is only meant to be called where the store is initialized. The state passed into the additional action handler is the instance state.
+
+`Reducer.plugin` will allow advanced users to extend the kepler.gl reducer behavior. Here is an example of adding an additional action `HIDE_AND_SHOW_SIDE_PANEL` handler that modifies the `uiState`.
+
+```js
+import {combineReducers} from 'redux';
+import keplerGlReducer from 'kepler.gl/reducers';
+
+const customizedKeplerGlReducer = keplerGlReducer
+ .plugin({
+ HIDE_AND_SHOW_SIDE_PANEL: (state, action) => ({
+ ...state,
+ uiState: {
+ ...state.uiState,
+ readOnly: !state.uiState.readOnly
+ }
+ })
+ });
+
+const reducers = combineReducers({
+ keplerGl: customizedKeplerGlReducer,
+ app: appReducer
+});
+```
+
+Note that, reducer plugin **should not be used to override default kepler.gl actions** The following code will not change `SET_FILTER`, because plugins are handled after default actions.
+
+```js
+const customizedKeplerGlReducer = keplerGlReducer
+ .plugin({
+ [ActionTypes.SET_FILTER]: (state, action) => state
+ });
+```
+
+For full implementation, take a look at the [custom reducer example][custom-reducer-example]
+
+[custom-reducer-example]: https://github.com/uber/kepler.gl/tree/master/examples/custom-reducer
diff --git a/docs/api-reference/advanced-usages/replace-ui-component.md b/docs/api-reference/advanced-usages/replace-ui-component.md
new file mode 100644
index 000000000..9f67f12ca
--- /dev/null
+++ b/docs/api-reference/advanced-usages/replace-ui-component.md
@@ -0,0 +1,99 @@
+# Replace UI Component with Component Dependency Injection
+
+To allow customize a child component, the library author usually has to pass the child component down as a prop from top of the component tree. This approach will work for component that are relatively small, but it won’t scale for kepler.gl because it has hundreds of child components. To give user the flexibility to render certain component differently. Kepler.gl has a dependency injection system that allows user to inject custom components to kepler.gl UI replacing the default ones at bootstrap time.
+
+All you need to do is to create a component factory for the one you wish to replace, import the original component factory and call `injectComponents` at where `KeplerGl` is mounted. `injectComponents` will return a new `KeplerGl` component instance that renders the custom child component. This way we don’t have to keep track of hundreds of component as props and pass them all the way down. Dependency injection only happens once when `keplerGl` component is imported.
+
+## Factory
+For each high level component in kepler.gl, we export a `factory`. A `factory` is a function that takes a set of `dependencies` and return a component instance. In this example below, the `MapContainerFactory` takes `MapPopover` and `MapControl` as dependencies and returns the `MapContainer` component instance. Not all components are exported as factories in kepler.gl at the moment, we are still testing this feature.
+
+```js
+import MapPopoverFactory from 'components/map/map-popover';
+import MapControlFactory from 'components/map/map-control';
+
+function MapContainerFactory(MapPopover, MapControl) {
+ return class MapContainer extends Component {
+ render() {
+ return (
+ <div>
+ <MapPopover {...popoverProps} />
+ <MapControl {...controlProps} />
+ </div>
+ );
+ }
+ }
+}
+
+MapContainerFactory.deps = [MapPopoverFactory, MapControlFactory];
+```
+
+## Recipes
+
+A recipe is an array of default factory, and the one to replace it. `[defaultFactory, customFactory]`. To replace default component, user can import the existing component factory, call `injectComponents` and pass in the new recipe to get a new `KeplerGl` instance.
+
+
+### Inject Components
+
+In kepler.gl, we create the app injector by calling provide with an array of default recipes. We then export a `injectComponents` function that user can call to inject a different recipe and returns a new kepler.gl instance.
+
+Here is an example of how to use `injectComponents` to replace default `PanelHeader`.
+
+```js
+import {injectComponents, PanelHeaderFactory} from 'kepler.gl/components';
+
+// define custom header
+const CustomHeader = () => (<div>My kepler.gl app</div>);
+
+// create a factory
+const myCustomHeaderFactory = () => CustomHeader;
+
+// Inject custom header into Kepler.gl,
+const KeplerGl = injectComponents([
+ [PanelHeaderFactory, myCustomHeaderFactory]
+]);
+
+// render KeplerGl, it will render your custom header
+const MapContainer = () => <KeplerGl id="foo"/>;
+```
+
+## Pass custom component props
+`injectComponents` allows user to render custom component, however, they usually also want to pass additional props to the customized component which current component injector doesn’t support. To enable passing additional props, we implemented a `withState`helper that passes additional props to the customized component. `withState` takes 3 arguments: `lenses`, `mapStateToProps` and `actionCreators`, They allows user to pass in kepler.gl instance state, state from other part of the app, and custom actions.
+
+- `lense` - A getter function to get a piece of kepler.gl subreducer state. Kepler.gl exports lenses for all its sub-reducers. For instance when pass `mapStateLens` to `withState`, the component will receive `mapState` of current kepler.gl instance as a prop.
+
+- `mapStateToProps` - A wild card to play. You can pass a `mapStateToProps` function to get the state from any part of the app. If the lenses aren’t enough, use `mapStateToProps`.
+
+- `actions` - action creators that will be passed to `bindActionCreators`.
+
+Here is an example of using `withState` helper to add reducer state and actions to customized component as additional props.
+
+```js
+import {withState, injectComponents, PanelHeaderFactory} from 'kepler.gl/components';
+import {visStateLens} from 'kepler.gl/reducers';
+
+// custom action wrap to mounted instance
+const addTodo = (text) => ({
+ type: 'ADD_TODO',
+ text
+});
+
+// define custom header
+const CustomHeader = ({visState, todos, addTodo}) => (
+ <div onClick={() => addTodo('say hello')}>{`${Object.keys(visState.datasets).length} dataset loaded`}</div>
+);
+
+// now CustomHeader will receive `visState` `todos` and `addTodo` as additional props.
+const myCustomHeaderFactory = () => withState(
+ // subreducer lenses
+ [visStateLens],
+
+ // mapStateToProps
+ state => ({
+ todos: state.todos
+ }),
+
+ // actions
+ {addTodo}
+)(CustomHeader);
+```
+
diff --git a/docs/api-reference/advanced-usages/saving-loading-w-schema.md b/docs/api-reference/advanced-usages/saving-loading-w-schema.md
new file mode 100644
index 000000000..05b1ef9ae
--- /dev/null
+++ b/docs/api-reference/advanced-usages/saving-loading-w-schema.md
@@ -0,0 +1,85 @@
+# Saving and Loading Maps with Schema Manager
+
+![Processor and Schema][processor-schema]
+
+Kelper.gl provides a schema manager to save and load maps. It converts current map data and configuration into a smaller JSON blob. You can then load that JSON blob into an empty map by passing it to `addDataToMap`.
+
+The reason kepler.gl provides a Schema manager is to make it easy for users to connect the kepler.gl client app to any database, saving map data / config and later load it back. With the schema manager, a map saved in an older version can still be parsed and loaded with the latest kepler.gl library.
+
+### Save map
+
+Pass the **instanceState** to `SchemaManager.save()`
+
+- `SchemaManager.save()` will output a JSON blob including data and config.
+
+Under the hood, `SchemaManager.save()` calls `SchemaManager.getDatasetToSave()` and `SchemaManager.getConfigToSave()`
+- `SchemaManager.getDatasetToSave()` will output an array of dataset.
+- `SchemaManager.getConfigToSave()` will output a JSON blob of the current config.
+
+In the example blow, `foo` is the id of the KeplerGl instance to be save.
+
+```js
+import KeplerGlSchema from 'kepler.gl/schemas';
+
+const mapToSave = KeplerGlSchema.save(state.keplerGl.foo);
+// mapToSave = {datasets: [], config: {}, info: {}};
+
+const dataToSave = KeplerGlSchema.getDatasetToSave(state.keplerGl.foo);
+// dataToSave = [{version: '', data: {id, label, color, allData, fields}}]
+
+const configToSave = KeplerGlSchema.getConfigToSave(state.keplerGl.foo);
+// configToSave = {version: '', config: {}}
+```
+
+### Load map
+Pass saved data and config to `SchemaManager.load()`
+- `SchemaManager.load()` will parsed saved config and data, apply version control, the output can then be passed to `addDataToMap` directly.
+
+Under the hood, `SchemaManager.load()` calls `SchemaManager.parseSavedData()` and `SchemaManager.parseSavedConfig()`
+
+- `SchemaManager.parseSavedData()` will output an array of parsed dataset.
+- `SchemaManager.parseSavedConfig()` will output a JSON blob of the parsed config.
+
+```js
+import KeplerGlSchema from 'kepler.gl/schemas';
+import {addDataToMap} from 'kepler.gl/actions';
+
+const mapToLoad = KeplerGlSchema.load(savedDatasets, savedConfig);
+// mapToLoad = {datasets: [], config: {}};
+
+this.props.dispatch(addDataToMap(mapToLoad));
+```
+
+### Match config with another dataset
+
+Often times, people want to keep a map config as template, then load it with different datasets. To match a config with a different dataset, you need to make sure `data.id` in the new dataset matches the old one.
+
+```js
+import KeplerGlSchema from 'kepler.gl/schemas';
+import {addDataToMap} from 'kepler.gl/actions';
+
+// save current map data and config
+const {datasets, config} = KeplerGlSchema.save(state.keplerGl.foo);
+// mapToLoad = {datasets: [], config: {}};
+
+// receive some new data
+const newData = someNewData;
+// newData = [{rows, fields}]
+
+// match id with old datasets
+const newDatasets = newData.map((d, i) => ({
+ version: datasets[i].version,
+ data: {
+ ...datasets[i].data,
+ allData: d.rows,
+ fields: d.fields
+ }
+}));
+
+// load config with new datasets
+const mapToLoad = KeplerGlSchema.load(newDatasets, config);
+
+this.props.dispatch(addDataToMap(mapToLoad));
+```
+
+[processor-schema]: https://d1a3f4spazzrp4.cloudfront.net/kepler.gl/documentation/api_load-save.png
diff --git a/docs/api-reference/advanced-usages/using-updaters.md b/docs/api-reference/advanced-usages/using-updaters.md
new file mode 100644
index 000000000..649d49787
--- /dev/null
+++ b/docs/api-reference/advanced-usages/using-updaters.md
@@ -0,0 +1,52 @@
+# Using Updaters
+Updaters are state transition functions that mapped to actions. One action can map to multiple state updaters, each belongs to a subreducer.
+
+
+This action-updater pattern allows a user to import a specific action updater in the app's root reducer and use it to directly modify kepler.gl’s state without dispatching the action. This will give user a lot of freedom to control over kepler.gl's state transition.
+
+To achieve the same result with `togglePerspective` updating kepler.gl's map perspective mode. You can import and dispatch kepler.gl action `togglePerspective`:
+
+```js
+// action and forward dispatcher
+import {togglePerspective} from 'kepler.gl/actions';
+
+const MapContainer = ({dispatch}) => (
+ <div>
+ <button onClick={() => dispatch(togglePerspective())} />
+ <KeplerGl id="foo"/>
+ </div>
+);
+```
+
+or import the corresponding updater `mapStateUpdaters.togglePerspectiveUpdater` and call it inside the root reducer. The example below demos how to add a button outside kepler.gl component, and update the map perspective when click it.
+
+```js
+import keplerGlReducer, {mapStateUpdaters} from 'kepler.gl/reducers';
+
+// Root Reducer
+const reducers = combineReducers({
+ keplerGl: keplerGlReducer,
+ app: appReducer
+});
+
+const composedReducer = (state, action) => {
+ switch (action.type) {
+ case 'CLICK_BUTTON':
+ return {
+ ...state,
+ keplerGl: {
+ ...state.keplerGl,
+ foo: {
+ ...state.keplerGl.foo,
+ mapState: mapStateUpdaters.togglePerspectiveUpdater(
+ t state.keplerGl.foo.mapState
+ )
+ }
+ }
+ };
+ }
+ return reducers(state, action);
+};
+
+export default composedReducer;
+```
diff --git a/docs/api-reference/components/components.md b/docs/api-reference/components/components.md
new file mode 100644
index 000000000..7baa1e940
--- /dev/null
+++ b/docs/api-reference/components/components.md
@@ -0,0 +1,31 @@
+<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
+
+## Container
+
+**Extends Component**
+
+Main Kepler.gl Component
+
+**Parameters**
+
+- `props` **[Object][1]**
+ - `props.id` **[string][2]** _required_- Default: `map`
+ The id of this KeplerGl instance. `id` is required if you have multiple
+ KeplerGl instances in your app. It defines the prop name of the KeplerGl state that is
+ stored in the KeplerGl reducer. For example, the state of the KeplerGl component with id `foo` is
+ stored in `state.keplerGl.foo`.In case you create multiple kepler.gl instances using the same id, the kepler.gl state defined by the entry will be
+ overridden by the latest instance and reset to a blank state.
+ - `props.mapboxApiAccessToken` **[string][2]** _required_You can create a free account at [www.mapbox.com][3] and create a token at
+ [www.mapbox.com/account/access-tokens][4]
+ - `props.width` **[Number][5]** _required_ Width of the KeplerGl UI.
+- `ctx`
+
+[1]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
+
+[2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
+
+[3]: www.mapbox.com
+
+[4]: www.mapbox.com/account/access-tokens
+
+[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
diff --git a/docs/api-reference/components/overview.md b/docs/api-reference/components/overview.md
new file mode 100644
index 000000000..4b0eebebb
--- /dev/null
+++ b/docs/api-reference/components/overview.md
@@ -0,0 +1 @@
+...Coming soon
diff --git a/docs/api-reference/ecosystem.md b/docs/api-reference/ecosystem.md
new file mode 100644
index 000000000..43211be15
--- /dev/null
+++ b/docs/api-reference/ecosystem.md
@@ -0,0 +1,75 @@
+## Ecosystem
+
+The diagram below represents the data flow. Note that in most cases, you don't have to worry about action creators, forward dispatcher and state updaters, as they are handled under-the-hood by kepler.gl
+
+![Data flow][data-flow]
+
+## Component
+The Kepler.gl component will call redux connect under the hood, and dispatch to the corresponding reducer instance.
+
+To allow mounting of multiple instance of kepler.gl components in the same app, we implemented a local selector with forward dispatch system. The local selector will pass down the knowledge where the state of this instance lives, and the forward dispatch system will pass down a dispatch function that knows to dispatch action to the correct reducer instance. __Each kepler.gl component instance needs to have an unique id__.
+
+Read more about [Component][components].
+
+
+## Reducer and Forward Dispatcher
+
+![Forward Dispatcher][forward-dispatcher]
+
+The kepler.gl root reducer that user mounted in their app is in fact a wrapper reducer that stored the child state and update them based on forwarded actions. If An action is not a forwarded action, it pass down to all child reducers.
+
+When a KeplerGl component instance is mounted with the id `foo`, the wrapper reducer will add a kepler.gl local state in the root state at key `foo`.
+
+One of the biggest challenge of using local state is to dispatch actions that only modify a specific local state. For instance, if we have 2 kepler.gl components in our app, one with id `foo` other with id `bar`. Our keplerGl reducer is going to be `keplerGl: {foo: …, bar …}`. When foo dispatches an action, it only needs to update the state of foo, we need a way to decorate the action that the root reducer only pass it down to subreducer `foo`.
+
+To solve this, kepler.gl has a forward dispatching system. It consists of a set of forward functions including `wrapTo`, `forwardTo` and `unwrap`. `wrapTo` wraps an action payload into an forward action by adding an address `_addr_` and a `_forward_` signature to its meta.
+
+Each kepler.gl component receives a forward dispatcher as a prop, which dispatches a forwarded action to the root reducer. The root reducer will check if the given action has that address and if so, unwrap the action and pass it to the child reducer.
+
+Read more about [Reducers][reducers].
+
+
+## Actions and Updaters
+Actions in reducers are mapped to state transition functions. `UPDATE_MAP` is mapped to `updateMapUpdater`. An updater is the backbone of the redux reducer. It is a pure function that takes the previous state and an action, and returns the next state. `(oldState, action) => newState`. It describes how the state should transition upon receiving that action.
+
+here is a snippet of the map state reducer in kepler.gl.
+
+```js
+/* Action Handlers */
+const actionHandler = {
+ [ActionTypes.FIT_BOUNDS]: fitBoundsUpdater,
+ [ActionTypes.TOGGLE_PERSPECTIVE]: togglePerspectiveUpdater
+};
+
+/* Reducer */
+export default handleActions(actionHandler, INITIAL_MAP_STATE);
+```
+
+This pattern allows a user to import a specific action updater in the app's root reducer and use it to directly modify kepler.gl’s state without dispatching the action. This will give user a lot of freedom to control over kepler.gl's state transition.
+
+Read more about [Actions and Updaters][actions-updaters].
+
+
+## Processors and Schema Manager
+
+![Processor and Schema][processor-schema]
+
+Processors and schema manager are useful helpers to get data in and out of kepler.gl. You can use `Processors.processCsvData(csv)` and `Processors.processGeojson(geojson)` to parse csv or geoJson file and pass it to `addDataToMap()` action.
+
+To save and reload the current map, you can call `KeplerGlSchema.save()` and pass it the instant state. It will return a json output containing map data and config. Pass this json file to `Processors.processKeplerglJSON()` and then `addDataToMap()` will reproduce the same map.
+
+Read more about [Processors][processors] and [Schema Manager][schemas].
+
+
+<!-- -->
+
+[basic-usage]: ./basic-usage.md
+[advanced-usage]: ./advanced-usage.md
+[components]: ./components/overview.md
+[reducers]: ./reducers/overview.md
+[actions-updaters]: ./actions/overview.md
+[processors]: ./processors/overview.md
+[schemas]: ./schemas/overview.md
+[data-flow]: https://d1a3f4spazzrp4.cloudfront.net/kepler.gl/documentation/api_data-flow.png
+[forward-dispatcher]: https://d1a3f4spazzrp4.cloudfront.net/kepler.gl/documentation/api_forward-dispatch.png
+[processor-schema]: https://d1a3f4spazzrp4.cloudfront.net/kepler.gl/documentation/api_load-save.png
diff --git a/docs/api-reference/get-started.md b/docs/api-reference/get-started.md
new file mode 100644
index 000000000..b3f87f636
--- /dev/null
+++ b/docs/api-reference/get-started.md
@@ -0,0 +1,89 @@
+## Get Started
+
+### Installation
+
+Use <b>Node v6</b> and above, older node versions have not been tested
+
+```sh
+npm install --save kepler.gl
+```
+
+### Get Mapbox Token
+
+Kepler.gl is built on top of [Mapbox GL](https://www.mapbox.com). A mapbox account and an access token are needed to use kepler.gl in your app. Get a [Mapbox Access Token](https://www.mapbox.com/help/define-access-token/) at mapbox.com.
+
+### Basic Usage
+
+![Basic Usage][basic-usage]
+
+#### 1. Mount reducer
+
+Kepler.gl uses [Redux](https://redux.js.org/) to manage its internal state, along with [react-palm](https://github.com/btford/react-palm) middleware to handle side effects. Mount kepler.gl reducer in your store, apply `taskMiddleware`.
+
+```js
+import keplerGlReducer from 'kepler.gl/reducers';
+import {createStore, combineReducers, applyMiddleware} from 'redux';
+import {taskMiddleware} from 'react-palm/tasks';
+
+const reducer = combineReducers({
+ // <-- mount kepler.gl reducer in your app
+ keplerGl: keplerGlReducer,
+
+ // Your other reducers here
+ app: appReducer
+});
+
+// create store
+const store = createStore(reducer, {}, applyMiddleware(taskMiddleware));
+```
+If you mount `keplerGlReducer` in another address instead of `keplerGl`, or it is not
+mounted at root of your reducer, you will need to specify the path to it when you mount the component with the `getState` prop.
+
+#### 2. Mount component
+
+```js
+import KeplerGl from 'kepler.gl';
+
+const Map = props => (
+ <KeplerGl
+ id="foo"
+ mapboxApiAccessToken={token}
+ width={width}
+ height={height}/>
+);
+```
+
+#### 3. Add data to map
+
+In order to interact with a kepler.gl instance and add new data to it, you can dispatch __`addDataToMap`__ action from anywhere inside your app. It adds dataset to kepler.gl instance and update the full configuration (mapState, mapStyle, visState).
+
+Read more about [addDataToMap](./api-reference/actions/actions.md#adddatatomap)
+
+
+```js
+import {addDataToMap} from 'kepler.gl/actions';
+
+this.props.dispatch(
+ addDataToMap({
+ // datasets
+ datasets: {
+ info: {
+ label: 'Sample Taxi Trips in New York City',
+ id: 'test_trip_data'
+ },
+ data: sampleTripData
+ },
+ // option
+ option: {
+ centerMap: true,
+ readOnly: false
+ },
+ // config
+ config: {
+ mapStyle: {styleType: 'light'}
+ }
+ })
+);
+```
+
+[basic-usage]: https://d1a3f4spazzrp4.cloudfront.net/kepler.gl/documentation/api_basic-usage.png
diff --git a/docs/api-reference/overview.md b/docs/api-reference/overview.md
new file mode 100644
index 000000000..8aed83c44
--- /dev/null
+++ b/docs/api-reference/overview.md
@@ -0,0 +1,62 @@
+# Api Reference
+
+## Table of Content
+
+- [Overview](1)
+- [Ecosystem][ecosystem]
+ - [Component][component]
+ - [Reducer and Forward Dispatcher][reducer-and-forward-dispatcher]
+ - [Actions and Updaters][actions-and-updaters]
+ - [Processors and Schema Manager][processors-and-schema-manager]
+
+- [Get Started][get-started]
+
+- [Advanced Usage][advanced-usage]
+ - [Using reducer plugin][reducer-plugin]
+ - [Custom reducer initial state][custom-initial-state]
+ - [Using updaters to modify kepler.gl state][using-updaters]
+ - [Forward actions][forward-actions]
+ - [Saving and loading maps with schema manager][saving-loading-w-schema]
+ - [Replace UI component][replace-ui-component]
+
+- [API]()
+ - [Components][components]
+ - [Reducers][reducers]
+ - [Actions and Updaters][actions-updaters]
+ - [Data Processor][processors]
+ - [Schemas][schemas]
+
+## Overview
+
+Kepler.gl is a __Redux-connected__ component. You can embed kepler.gl in your App, which uses redux to manage its state. The basic implementation of kepler.gl reducer is simple. However, to make the most of it, it's recommended to have basic knowledge on:
+
+- [React][react]
+- [Redux][redux] state container
+- [React Redux connect][react-redux]
+
+To start out with kepler.gl, you simply need to add the Kepler.gl UI component and mount the Kepler.gl reducer. To give the user full access of all the functionalities of kepler.gl, this package also includes actions, schema managers and a set of utilities to load and save map data.
+
+[ecosystem]: ./ecosystem.md
+[get-started]: ./get-started.md
+[advanced-usage]: ./advanced-usage.md
+[components]: ./components/overview.md
+[reducers]: ./reducers/overview.md
+[actions-updaters]: ./actions/overview.md
+[processors]: ./processors/overview.md
+[schemas]: ./schemas/overview.md
+
+[replace-ui-component]: ./advanced-usages/replace-ui-component.md
+[custom-initial-state]: ./advanced-usages/custom-initial-state.md
+[reducer-plugin]: ./advanced-usages/reducer-plugin.md
+[using-updaters]: ./advanced-usages/using-updaters.md
+[forward-actions]: ./advanced-usages/forward-actions.md
+[saving-loading-w-schema]: ./advanced-usages/saving-loading-w-schema.md
+
+[component]: ./ecosystem.md#component
+[reducer-and-forward-dispatcher]: ./ecosystem.md#reducer-and-forward-dispatcher
+[actions-and-updaters]: ./ecosystem.md#actions-and-updaters
+[processors-and-schema-manager]: ./ecosystem.md#processors-and-schema-manager
+
+[redux]: https://redux.js.org/
+[react]: https://reactjs.org/
+[react-redux]: https://react-redux.js.org/
diff --git a/docs/api-reference/processors/overview.md b/docs/api-reference/processors/overview.md
new file mode 100644
index 000000000..4b0eebebb
--- /dev/null
+++ b/docs/api-reference/processors/overview.md
@@ -0,0 +1 @@
+...Coming soon
diff --git a/docs/api-reference/reducers/map-state.md b/docs/api-reference/reducers/map-state.md
new file mode 100644
index 000000000..236d717d8
--- /dev/null
+++ b/docs/api-reference/reducers/map-state.md
@@ -0,0 +1,29 @@
+<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
+
+### Table of Contents
+
+- [INITIAL_MAP_STATE](#initial_map_state)
+
+## INITIAL_MAP_STATE
+
+Default initial `mapState`
+
+### Properties
+
+- `pitch` **[number][3]** Default: 0
+- `bearing` **[number][3]** Default: 0
+- `latitude` **[number][3]** Default: 37.75043
+- `longitude` **[number][3]** Default: -122.34679
+- `zoom` **[number][3]** Default: 9
+- `dragRotate` **[boolean][4]** Default: false
+- `width` **[number][3]** Default: 800
+- `height` **[number][3]** Default: 800
+- `isSplit` **[boolean][4]** Default: false
+
+[1]: #initial_map_state
+
+[2]: #properties
+
+[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
+
+[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
diff --git a/docs/api-reference/reducers/map-style.md b/docs/api-reference/reducers/map-style.md
new file mode 100644
index 000000000..5503db6d3
--- /dev/null
+++ b/docs/api-reference/reducers/map-style.md
@@ -0,0 +1,29 @@
+<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
+
+### Table of Contents
+
+- [INITIAL_MAP_STYLE](#initial_map_style)
+
+## INITIAL_MAP_STYLE
+
+Default initial `mapStyle`
+
+### Properties
+
+- `styleType` **[string][3]** Default: 'dark'
+- `visibleLayerGroups` **[Object][4]** Default: {}
+- `topLayerGroups` **[Object][4]** Default: {}
+- `mapStyles` **[Object][4]** mapping from style key to style obejct
+- `mapboxApiAccessToken` **[string][3]** Default: null
+- `inputStyle` **[Object][4]** Default: {}
+- `threeDBuildingColor` **[Array][5]** Default: [r, g, b]
+
+[1]: #initial_map_style
+
+[2]: #properties
+
+[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
+
+[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
+
+[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
diff --git a/docs/api-reference/reducers/overview.md b/docs/api-reference/reducers/overview.md
new file mode 100644
index 000000000..56cf408f3
--- /dev/null
+++ b/docs/api-reference/reducers/overview.md
@@ -0,0 +1,113 @@
+## Reducers
+
+Kepler.gl is a redux-connected component that utilizes redux to manage its state. The basic implementation of kepler.gl reducer is simple. However, to make the most of it, it's recommended to have basic knowledge on:
+
+- [Redux][redux] state container
+- [React][react]
+- [React Redux connect][react-redux]
+
+
+![Compose-reducer][diagram-1]
+
+It is immportant to understand the relationship between __kepler.gl reducer__, __instance reducer__ and __subreducer__. Kepler.gl reducer is the root reducer that combines multiple instance reducer, which manages the state of each individual kepler.gl component. The instance reducer is consists of 4 subreducers, each manages an independent part of the state.
+
+## KeplerGl Reducer
+
+To connect kepler.gl components to your Redux app you'll need the following pieces from the kepler.gl package:
+- Redux Reducer: `keplerGlReducer` imported from `kepler.gl/reducers`
+- React Component: `KeplerGl` imported from `kepler.gl`
+
+These are the only 2 pieces you need to get kepler.gl up and running in your app. When you mount kepler.gl reducer in your app reducer (with `combineReducers`), it will then managers __ALL__ KeplerGl component instances that you add to your app. Each kepler.gl instance state is stored in a instance reduccer.
+
+For instance, if you have 2 kepler.gl components in your App:
+```js
+import KeplerGl from 'kepler.gl';
+
+const MapApp = () => (
+ <div>
+ <KeplerGl id="foo"/>
+ <KeplerGl id="bar"/>
+ </div>
+);
+```
+
+Your redux state will be:
+```js
+state = {
+ keplerGl: {
+ foo: {},
+ bar: {}
+ },
+ // ... other app state
+ app: {}
+}
+```
+
+## Instance Reducer
+
+Each kepler.gl component state is stored in a instance reduccer. A instance reducer has 4 subreducers. __`visState`__, __`mapState`__, __`mapStyle`__ and __`uiState`__. Each of them managers a piece of state that is mostly self contained.
+- __visState__ - Manages all data and visualization related state, including datasets, layers, filters and interaction configs. Some of the key updaters are `updateVisDataUpdater`, `layerConfigChangeUpdater`, `setFilterUpdater`, `interactionConfigChangeUpdater`.
+
+- __mapState__ - Manages base map behavior including the viewport, drag rotate and toggle split maps. Key updates are `updateMapUpdater`, `toggleSplitMapUpdater` and `togglePerspectiveUpdater`.
+
+- __mapStyle__ - Managers base map style, including setting base map style, toggling base map layers and adding custom base map style.
+
+- __uiState__ - Managers all UI component transition state, including open / close side panel, current displayed panel etc. Note, ui state reducer is the only reducer that’s not saved in kepler.gl schema.
+
+
+## Subreducer
+
+The subreducers - __`visState`__, __`mapState`__, __`mapStyle`__ and __`uiState`__ - are assembled by a list of action handlers, each handler mapped to a state transition function named xxUpdater. For instance, here is a snippet of the map state reducer in kepler.gl:
+
+```js
+/* Action Handlers */
+const actionHandler = {
+ [ActionTypes.UPDATE_MAP]: updateMapUpdater,
+ [ActionTypes.FIT_BOUNDS]: fitBoundsUpdater,
+ [ActionTypes.TOGGLE_PERSPECTIVE]: togglePerspectiveUpdater
+};
+```
+
+User can import a specific action handler in their root reducer and use it to directly modify kepler.gl’s state (without dispathcing a kepler.gl action). This will give user the full control over kepler.gl’s component state.
+
+Here is an example how you can listen to an app action `QUERY_SUCCESS` and call `updateVisDataUpdater` to load data into kepler.gl.
+
+```js
+import keplerGlReducer, {visStateUpdaters} from 'kepler.gl/reducers';
+
+// Root Reducer
+const reducers = combineReducers({
+ keplerGl: keplerGlReducer,
+
+ app: appReducer
+});
+
+const composedReducer = (state, action) => {
+ switch (action.type) {
+ case 'QUERY_SUCCESS':
+ return {
+ ...state,
+ keplerGl: {
+ ...state.keplerGl,
+
+ // 'map' is the id of the keplerGl instance
+ map: {
+ ...state.keplerGl.map,
+ visState: visStateUpdaters.updateVisDataUpdater(
+ // you have to pass the subreducer state that the updater is associated with
+ state.keplerGl.map.visState,
+ {datasets: action.payload}
+ )
+ }
+ }
+ };
+ }
+ return reducers(state, action);
+};
+
+export default composedReducer;
+```
+[redux]: https://redux.js.org/
+[react]: https://reactjs.org/
+[react-redux]: https://react-redux.js.org/
+[diagram-1]: https://d1a3f4spazzrp4.cloudfront.net/kepler.gl/documentation/api_reducers_compose-reducers.png
diff --git a/docs/api-reference/reducers/reducers.md b/docs/api-reference/reducers/reducers.md
new file mode 100644
index 000000000..22db179e6
--- /dev/null
+++ b/docs/api-reference/reducers/reducers.md
@@ -0,0 +1,88 @@
+<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
+
+### Table of Contents
+
+- [reducer.initialState](#reducerinitialstate)
+- [reducer.plugin](#reducerplugin)
+
+## reducer.initialState
+
+REturn a reducer that innitiated with custom initial state.
+The parameter should be an object mapping from `subreducer` name to custom subreducer state,
+which will be shallow **merged** with default initial state.
+
+Default subreducer state:
+
+- `[visState](./vis-state.md#INITIAL_VIS_STATE)`
+- `[mapState](./map-state.md#INITIAL_MAP_STATE)`
+- `[mapStyle](./map-style.md#INITIAL_MAP_STYLE)`
+- `[uiState](./ui-state.md#INITIAL_UI_STATE)`
+
+### Parameters
+
+- `iniSt` **[Object][7]** custom state to be merged with default initial state
+
+### Examples
+
+```javascript
+const myKeplerGlReducer = keplerGlReducer
+ .initialState({
+ uiState: {readOnly: true}
+ });
+```
+
+## reducer.plugin
+
+Returns a kepler.gl reducer that will also pass each action through additional reducers spiecified.
+The parameter should be either a reducer map or a reducer function.
+The state passed into the additional action handler is the instance state.
+It will include all the subreducers `visState`, `uiState`, `mapState` and `mapStyle`.
+`.plugin` is only meant to be called once when mounting the keplerGlReducer to the store.
+**Note** This is an advanced option to give you more freedom to modify the internal state of the kepler.gl instance.
+You should only use this to adding additional actions instead of replacing default actions.
+
+### Parameters
+
+- `customReducer` **([Object][7] \| [Function][8])** A reducer map or a reducer
+
+### Examples
+
+```javascript
+const myKeplerGlReducer = keplerGlReducer
+ .plugin({
+ // 1. as reducer map
+ HIDE_AND_SHOW_SIDE_PANEL: (state, action) => ({
+ ...state,
+ uiState: {
+ ...state.uiState,
+ readOnly: !state.uiState.readOnly
+ }
+ })
+ })
+.plugin(handleActions({
+ // 2. as reducer
+ 'HIDE_MAP_CONTROLS': (state, action) => ({
+ ...state,
+ uiState: {
+ ...state.uiState,
+ mapControls: hiddenMapControl
+ }
+ })
+}, {}));
+```
+
+[1]: #reducerinitialstate
+
+[2]: #parameters
+
+[3]: #examples
+
+[4]: #reducerplugin
+
+[5]: #parameters-1
+
+[6]: #examples-1
+
+[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
+
+[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function
diff --git a/docs/api-reference/reducers/ui-state.md b/docs/api-reference/reducers/ui-state.md
new file mode 100644
index 000000000..f48bea750
--- /dev/null
+++ b/docs/api-reference/reducers/ui-state.md
@@ -0,0 +1,337 @@
+<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
+
+### Table of Contents
+
+- [DEFAULT_EXPORT_DATA](#default_export_data)
+- [DEFAULT_EXPORT_IMAGE](#default_export_image)
+- [DEFAULT_MAP_CONTROLS](#default_map_controls)
+- [INITIAL_UI_STATE](#initial_ui_state)
+- [uiStateUpdaters.cleanupExportImage](#uistateupdaterscleanupexportimage)
+- [uiStateUpdaters.hideExportDropdownUpdater](#uistateupdatershideexportdropdownupdater)
+- [uiStateUpdaters.openDeleteModalUpdater](#uistateupdatersopendeletemodalupdater)
+- [uiStateUpdaters.setExportConfigUpdater](#uistateupdaterssetexportconfigupdater)
+- [uiStateUpdaters.setExportDataTypeUpdater](#uistateupdaterssetexportdatatypeupdater)
+- [uiStateUpdaters.setExportFilteredUpdater](#uistateupdaterssetexportfilteredupdater)
+- [uiStateUpdaters.setExportSelectedDatasetUpdater](#uistateupdaterssetexportselecteddatasetupdater)
+- [uiStateUpdaters.setRatioUpdater](#uistateupdaterssetratioupdater)
+- [uiStateUpdaters.setResolutionUpdater](#uistateupdaterssetresolutionupdater)
+- [uiStateUpdaters.setResolutionUpdater](#uistateupdaterssetresolutionupdater-1)
+- [uiStateUpdaters.setResolutionUpdater](#uistateupdaterssetresolutionupdater-2)
+- [uiStateUpdaters.showExportDropdownUpdater](#uistateupdatersshowexportdropdownupdater)
+- [uiStateUpdaters.toggleLegendUpdater](#uistateupdaterstogglelegendupdater)
+- [uiStateUpdaters.toggleMapControlUpdater](#uistateupdaterstogglemapcontrolupdater)
+- [uiStateUpdaters.toggleModalUpdater](#uistateupdaterstogglemodalupdater)
+- [uiStateUpdaters.toggleSidePanelUpdater](#uistateupdaterstogglesidepanelupdater)
+
+## DEFAULT_EXPORT_DATA
+
+Type: [Object][41]
+
+### Properties
+
+- `selectedDataset` **[string][42]** Default: '',
+- `dataType` **[string][42]** Default: 'csv',
+- `filtered` **[boolean][43]** Default: true,
+- `config` **[boolean][43]** deprecated
+- `data` **[boolean][43]** used in modal config expor. Default: falset
+
+## DEFAULT_EXPORT_IMAGE
+
+Default image export config
+
+Type: [Object][41]
+
+### Properties
+
+- `ratio` **[string][42]** Default: 'SCREEN',
+- `resolution` **[string][42]** Default: 'ONE_X',
+- `legend` **[boolean][43]** Default: false,
+- `imageDataUri` **[string][42]** Default: '',
+- `exporting` **[boolean][43]** Default: false
+
+## DEFAULT_MAP_CONTROLS
+
+A list of map control visibilities and activeness.
+
+Type: [Object][41]
+
+### Properties
+
+- `visibleLayers` **[Object][41]** Default: `{show: true, active: false}`
+- `mapLegend` **[Object][41]** Default: `{show: true, active: false}`
+- `toggle3d` **[Object][41]** Default: `{show: true}`
+- `splitMap` **[Object][41]** Default: `{show: true}`
+
+## INITIAL_UI_STATE
+
+Default initial `uiState`
+
+Type: [Object][41]
+
+### Properties
+
+- `readOnly` **[boolean][43]** Default: false
+- `activeSidePanel` **[string][42]** Default: 'layer'
+- `currentModal` **([string][42] | null)** Default: 'addData'
+- `datasetKeyToRemove` **([string][42] | null)** Default: null
+- `visibleDropdown` **([string][42] | null)** Default: null
+- `exportImage` **[Object][41]** Default: [`DEFAULT_EXPORT_IMAGE`][3]
+- `exportData` **[Object][41]** Default: [`DEFAULT_EXPORT_DATA`][1]
+- `mapControls` **[Object][41]** Default: [`DEFAULT_MAP_CONTROLS`][5]
+
+## uiStateUpdaters.cleanupExportImage
+
+cleanup export image
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+
+## uiStateUpdaters.hideExportDropdownUpdater
+
+Hide side panel header dropdown, activated by clicking the share link on top of the side panel
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+- `action` **any**
+
+## uiStateUpdaters.openDeleteModalUpdater
+
+Toggle active map control panel
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+- `action` **[Object][41]**
+ - `action.payload` **[string][42]** map control panel id, one of the keys of: [`DEFAULT_MAP_CONTROLS`][5]
+
+## uiStateUpdaters.setExportConfigUpdater
+
+whether to including data data in map config, toggle between `true` or `false`
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+
+## uiStateUpdaters.setExportDataTypeUpdater
+
+set selected dataset to export
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+- `action` **[Object][41]**
+ - `action.payload` **[string][42]** dataset id
+
+## uiStateUpdaters.setExportFilteredUpdater
+
+whether to export filtered data, `true` or `false`
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+- `action` **[Object][41]**
+ - `action.payload` **bollean**
+
+## uiStateUpdaters.setExportSelectedDatasetUpdater
+
+set selected dataset to export
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+- `action` **[Object][41]**
+ - `action.payload` **[string][42]** dataset id
+
+## uiStateUpdaters.setRatioUpdater
+
+set `exportImage.ratio`
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+- `action` **[Object][41]**
+ - `action.payload` **[string][42]** one of `'SCREEN'`, `'FOUR_BY_THREE'` and `'SIXTEEN_BY_NINE'`
+
+## uiStateUpdaters.setResolutionUpdater
+
+set `exportImage.setExportImageDataUri` to a dataUri
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+- `action` **[Object][41]**
+ - `action.payload` **[string][42]** export image data uri
+
+## uiStateUpdaters.setResolutionUpdater
+
+set `exportImage.resolution`
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+- `action` **[Object][41]**
+ - `action.payload` **[string][42]** one of `'ONE_X'`, `'TWO_X'`
+
+## uiStateUpdaters.setResolutionUpdater
+
+set `exportImage.exporting` to true
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+
+## uiStateUpdaters.showExportDropdownUpdater
+
+Hide and show side panel header dropdown, activated by clicking the share link on top of the side panel
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+- `action` **[Object][41]**
+ - `action.payload` **[string][42]** id of the dropdown
+
+## uiStateUpdaters.toggleLegendUpdater
+
+set exportImage.legend to true or false
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+
+## uiStateUpdaters.toggleMapControlUpdater
+
+Toggle active map control panel
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+- `action` **[Object][41]**
+ - `action.payload` **[string][42]** map control panel id, one of the keys of: [`DEFAULT_MAP_CONTROLS`][5]
+
+## uiStateUpdaters.toggleModalUpdater
+
+Show and hide modal dialog
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+- `action` **[Object][41]**
+ - `action.payload` **([string][42] | null)** id of modal to be shown, null to hide modals. One of:- [`DATA_TABLE_ID`][44]
+ - [`DELETE_DATA_ID`][45]
+ - [`ADD_DATA_ID`][46]
+ - [`EXPORT_IMAGE_ID`][47]
+ - [`EXPORT_DATA_ID`][48]
+ - [`EXPORT_CONFIG_ID`][49]
+ - [`ADD_MAP_STYLE_ID`][50]
+
+## uiStateUpdaters.toggleSidePanelUpdater
+
+Toggle active side panel
+
+### Parameters
+
+- `state` **[Object][41]** `uiState`
+- `action` **[Object][41]**
+ - `action.payload` **[string][42]** id of side panel to be shown, one of `layer`, `filter`, `interaction`, `map`
+
+[1]: #default_export_data
+
+[2]: #properties
+
+[3]: #default_export_image
+
+[4]: #properties-1
+
+[5]: #default_map_controls
+
+[6]: #properties-2
+
+[7]: #initial_ui_state
+
+[8]: #properties-3
+
+[9]: #uistateupdaterscleanupexportimage
+
+[10]: #parameters
+
+[11]: #uistateupdatershideexportdropdownupdater
+
+[12]: #parameters-1
+
+[13]: #uistateupdatersopendeletemodalupdater
+
+[14]: #parameters-2
+
+[15]: #uistateupdaterssetexportconfigupdater
+
+[16]: #parameters-3
+
+[17]: #uistateupdaterssetexportdatatypeupdater
+
+[18]: #parameters-4
+
+[19]: #uistateupdaterssetexportfilteredupdater
+
+[20]: #parameters-5
+
+[21]: #uistateupdaterssetexportselecteddatasetupdater
+
+[22]: #parameters-6
+
+[23]: #uistateupdaterssetratioupdater
+
+[24]: #parameters-7
+
+[25]: #uistateupdaterssetresolutionupdater
+
+[26]: #parameters-8
+
+[27]: #uistateupdaterssetresolutionupdater-1
+
+[28]: #parameters-9
+
+[29]: #uistateupdaterssetresolutionupdater-2
+
+[30]: #parameters-10
+
+[31]: #uistateupdatersshowexportdropdownupdater
+
+[32]: #parameters-11
+
+[33]: #uistateupdaterstogglelegendupdater
+
+[34]: #parameters-12
+
+[35]: #uistateupdaterstogglemapcontrolupdater
+
+[36]: #parameters-13
+
+[37]: #uistateupdaterstogglemodalupdater
+
+[38]: #parameters-14
+
+[39]: #uistateupdaterstogglesidepanelupdater
+
+[40]: #parameters-15
+
+[41]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
+
+[42]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
+
+[43]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
+
+[44]: ../constants/default-settings.md#data_table_id
+
+[45]: ../constants/default-settings.md#delete_data_id
+
+[46]: ../constants/default-settings.md#add_data_id
+
+[47]: ../constants/default-settings.md#export_image_id
+
+[48]: ../constants/default-settings.md#export_data_id
+
+[49]: ../constants/default-settings.md#export_config_id
+
+[50]: ../constants/default-settings.md#add_map_style_id
diff --git a/docs/api-reference/reducers/vis-state.md b/docs/api-reference/reducers/vis-state.md
new file mode 100644
index 000000000..637af144f
--- /dev/null
+++ b/docs/api-reference/reducers/vis-state.md
@@ -0,0 +1,428 @@
+<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
+
+### Table of Contents
+
+- [addFilterUpdater](#addfilterupdater)
+- [addLayerUpdater](#addlayerupdater)
+- [enlargeFilterUpdater](#enlargefilterupdater)
+- [INITIAL_VIS_STATE](#initial_vis_state)
+- [interactionConfigChangeUpdater](#interactionconfigchangeupdater)
+- [layerClickUpdater](#layerclickupdater)
+- [layerConfigChangeUpdater](#layerconfigchangeupdater)
+- [layerHoverUpdater](#layerhoverupdater)
+- [layerTypeChangeUpdater](#layertypechangeupdater)
+- [layerVisConfigChangeUpdater](#layervisconfigchangeupdater)
+- [layerVisualChannelChangeUpdater](#layervisualchannelchangeupdater)
+- [loadFilesUpdater](#loadfilesupdater)
+- [mapClickUpdater](#mapclickupdater)
+- [receiveMapConfigUpdater](#receivemapconfigupdater)
+- [removeDatasetUpdater](#removedatasetupdater)
+- [removeFilterUpdater](#removefilterupdater)
+- [removeLayerUpdater](#removelayerupdater)
+- [reorderLayerUpdater](#reorderlayerupdater)
+- [resetMapConfigVisStateUpdater](#resetmapconfigvisstateupdater)
+- [setFilterPlotUpdater](#setfilterplotupdater)
+- [setFilterUpdater](#setfilterupdater)
+- [setVisibleLayersForMapUpdater](#setvisiblelayersformapupdater)
+- [showDatasetTableUpdater](#showdatasettableupdater)
+- [toggleFilterAnimationUpdater](#togglefilteranimationupdater)
+- [toggleSplitMapUpdater](#togglesplitmapupdater)
+- [updateAnimationSpeedUpdater](#updateanimationspeedupdater)
+- [updateLayerBlendingUpdater](#updatelayerblendingupdater)
+- [updateVisDataUpdater](#updatevisdataupdater)
+
+## addFilterUpdater
+
+Add filter
+
+### Parameters
+
+- `state`
+- `action`
+
+## addLayerUpdater
+
+add layer
+
+### Parameters
+
+- `state`
+- `action`
+
+## enlargeFilterUpdater
+
+enlarge filter to time playback (apply to time filter only)
+
+### Parameters
+
+- `state`
+- `action`
+
+## INITIAL_VIS_STATE
+
+Default initial `visState`
+
+Type: [Object][57]
+
+### Properties
+
+- `layers` **[Array][58]**
+- `layerData` **[Array][58]**
+- `layerToBeMerged` **[Array][58]**
+- `layerOrder` **[Array][58]**
+- `filters` **[Array][58]**
+- `filterToBeMerged` **[Array][58]**
+- `datasets` **[Array][58]**
+- `editingDataset` **[string][59]**
+- `interactionConfig` **[Object][57]**
+- `interactionToBeMerged` **[Object][57]**
+- `layerBlending` **[string][59]**
+- `hoverInfo` **[Object][57]**
+- `clicked` **[Object][57]**
+- `fileLoading` **[boolean][60]**
+- `fileLoadingErr` **any**
+- `splitMaps` **[Array][58]** a list of objects of layer availabilities and visibilities for each map
+
+## interactionConfigChangeUpdater
+
+Update interactionConfig
+
+### Parameters
+
+- `state`
+- `action`
+
+## layerClickUpdater
+
+update clicked object
+
+### Parameters
+
+- `state` **any**
+- `action` **any**
+
+## layerConfigChangeUpdater
+
+Called to update layer base config: dataId, label, column, isVisible
+
+### Parameters
+
+- `state`
+- `action`
+
+## layerHoverUpdater
+
+update hovered object
+
+### Parameters
+
+- `state` **any**
+- `action` **any**
+
+## layerTypeChangeUpdater
+
+Update layer type
+
+### Parameters
+
+- `state`
+- `action`
+
+## layerVisConfigChangeUpdater
+
+Update layer vis config
+
+### Parameters
+
+- `state`
+- `action`
+
+## layerVisualChannelChangeUpdater
+
+Update layer visual channel
+
+### Parameters
+
+- `state`
+- `action`
+
+## loadFilesUpdater
+
+Trigger file loading dispatch `addDataToMap` if succeed, or `loadFilesErr` if failed
+
+### Parameters
+
+- `state` **any**
+- `action` **any**
+
+## mapClickUpdater
+
+action triggered by clicking on map
+
+### Parameters
+
+- `state` **any**
+- `action` **any**
+
+## receiveMapConfigUpdater
+
+Loads custom configuration into state
+
+### Parameters
+
+- `state`
+- `action`
+
+Returns **any**
+
+## removeDatasetUpdater
+
+remove a dataset and all layers, filters, tooltip configs that based on it
+
+### Parameters
+
+- `state`
+- `action`
+
+## removeFilterUpdater
+
+remove filter
+
+### Parameters
+
+- `state`
+- `action`
+
+## removeLayerUpdater
+
+remove layer
+
+### Parameters
+
+- `state`
+- `$1` **[Object][57]**
+ - `$1.idx`
+
+## reorderLayerUpdater
+
+reorder layer, update layerOrder
+
+### Parameters
+
+- `state`
+- `$1` **[Object][57]**
+ - `$1.order`
+
+## resetMapConfigVisStateUpdater
+
+reset visState to initial State
+
+### Parameters
+
+- `state`
+- `action`
+
+## setFilterPlotUpdater
+
+Update filter plot
+
+### Parameters
+
+- `state`
+- `$1` **[Object][57]**
+ - `$1.idx`
+ - `$1.newProp`
+
+## setFilterUpdater
+
+Update filter
+
+### Parameters
+
+- `state`
+- `action`
+
+## setVisibleLayersForMapUpdater
+
+This is triggered when view is split into multiple maps.
+It will only update layers that belong to the map layer dropdown
+the user is interacting wit
+
+### Parameters
+
+- `state`
+- `action`
+
+## showDatasetTableUpdater
+
+show dataset table
+
+### Parameters
+
+- `state`
+- `action`
+
+## toggleFilterAnimationUpdater
+
+toggle filter animation
+
+### Parameters
+
+- `state`
+- `action`
+
+## toggleSplitMapUpdater
+
+toggle split map
+
+### Parameters
+
+- `state` **any**
+- `action` **any**
+
+## updateAnimationSpeedUpdater
+
+update filter animation speed
+
+### Parameters
+
+- `state`
+- `action`
+
+## updateLayerBlendingUpdater
+
+update layer blending
+
+### Parameters
+
+- `state`
+- `action`
+
+## updateVisDataUpdater
+
+Add new datasets
+
+### Parameters
+
+- `state` **any**
+- `action` **any**
+
+[1]: #addfilterupdater
+
+[2]: #parameters
+
+[3]: #addlayerupdater
+
+[4]: #parameters-1
+
+[5]: #enlargefilterupdater
+
+[6]: #parameters-2
+
+[7]: #initial_vis_state
+
+[8]: #properties
+
+[9]: #interactionconfigchangeupdater
+
+[10]: #parameters-3
+
+[11]: #layerclickupdater
+
+[12]: #parameters-4
+
+[13]: #layerconfigchangeupdater
+
+[14]: #parameters-5
+
+[15]: #layerhoverupdater
+
+[16]: #parameters-6
+
+[17]: #layertypechangeupdater
+
+[18]: #parameters-7
+
+[19]: #layervisconfigchangeupdater
+
+[20]: #parameters-8
+
+[21]: #layervisualchannelchangeupdater
+
+[22]: #parameters-9
+
+[23]: #loadfilesupdater
+
+[24]: #parameters-10
+
+[25]: #mapclickupdater
+
+[26]: #parameters-11
+
+[27]: #receivemapconfigupdater
+
+[28]: #parameters-12
+
+[29]: #removedatasetupdater
+
+[30]: #parameters-13
+
+[31]: #removefilterupdater
+
+[32]: #parameters-14
+
+[33]: #removelayerupdater
+
+[34]: #parameters-15
+
+[35]: #reorderlayerupdater
+
+[36]: #parameters-16
+
+[37]: #resetmapconfigvisstateupdater
+
+[38]: #parameters-17
+
+[39]: #setfilterplotupdater
+
+[40]: #parameters-18
+
+[41]: #setfilterupdater
+
+[42]: #parameters-19
+
+[43]: #setvisiblelayersformapupdater
+
+[44]: #parameters-20
+
+[45]: #showdatasettableupdater
+
+[46]: #parameters-21
+
+[47]: #togglefilteranimationupdater
+
+[48]: #parameters-22
+
+[49]: #togglesplitmapupdater
+
+[50]: #parameters-23
+
+[51]: #updateanimationspeedupdater
+
+[52]: #parameters-24
+
+[53]: #updatelayerblendingupdater
+
+[54]: #parameters-25
+
+[55]: #updatevisdataupdater
+
+[56]: #parameters-26
+
+[57]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
+
+[58]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
+
+[59]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
+
+[60]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
diff --git a/docs/api-reference/schemas/overview.md b/docs/api-reference/schemas/overview.md
new file mode 100644
index 000000000..5d80f2540
--- /dev/null
+++ b/docs/api-reference/schemas/overview.md
@@ -0,0 +1 @@
+...Coming Soon
diff --git a/docs/a-introduction.md b/docs/user-guides/a-introduction.md
similarity index 100%
rename from docs/a-introduction.md
rename to docs/user-guides/a-introduction.md
diff --git a/docs/b-kepler-gl-workflow/a-add-data-to-the-map.md b/docs/user-guides/b-kepler-gl-workflow/a-add-data-to-the-map.md
similarity index 100%
rename from docs/b-kepler-gl-workflow/a-add-data-to-the-map.md
rename to docs/user-guides/b-kepler-gl-workflow/a-add-data-to-the-map.md
diff --git a/docs/b-kepler-gl-workflow/b-add-data-layers/a-adding-data-layers.md b/docs/user-guides/b-kepler-gl-workflow/b-add-data-layers/a-adding-data-layers.md
similarity index 100%
rename from docs/b-kepler-gl-workflow/b-add-data-layers/a-adding-data-layers.md
rename to docs/user-guides/b-kepler-gl-workflow/b-add-data-layers/a-adding-data-layers.md
diff --git a/docs/b-kepler-gl-workflow/b-add-data-layers/b-create-a-layer.md b/docs/user-guides/b-kepler-gl-workflow/b-add-data-layers/b-create-a-layer.md
similarity index 100%
rename from docs/b-kepler-gl-workflow/b-add-data-layers/b-create-a-layer.md
rename to docs/user-guides/b-kepler-gl-workflow/b-add-data-layers/b-create-a-layer.md
diff --git a/docs/b-kepler-gl-workflow/b-add-data-layers/c-hide-edit-and-delete-layers.md b/docs/user-guides/b-kepler-gl-workflow/b-add-data-layers/c-hide-edit-and-delete-layers.md
similarity index 100%
rename from docs/b-kepler-gl-workflow/b-add-data-layers/c-hide-edit-and-delete-layers.md
rename to docs/user-guides/b-kepler-gl-workflow/b-add-data-layers/c-hide-edit-and-delete-layers.md
diff --git a/docs/b-kepler-gl-workflow/b-add-data-layers/d-blend-and-rearrange-layers.md b/docs/user-guides/b-kepler-gl-workflow/b-add-data-layers/d-blend-and-rearrange-layers.md
similarity index 100%
rename from docs/b-kepler-gl-workflow/b-add-data-layers/d-blend-and-rearrange-layers.md
rename to docs/user-guides/b-kepler-gl-workflow/b-add-data-layers/d-blend-and-rearrange-layers.md
diff --git a/docs/c-types-of-layers/a-point.md b/docs/user-guides/c-types-of-layers/a-point.md
similarity index 100%
rename from docs/c-types-of-layers/a-point.md
rename to docs/user-guides/c-types-of-layers/a-point.md
diff --git a/docs/c-types-of-layers/b-arc.md b/docs/user-guides/c-types-of-layers/b-arc.md
similarity index 100%
rename from docs/c-types-of-layers/b-arc.md
rename to docs/user-guides/c-types-of-layers/b-arc.md
diff --git a/docs/c-types-of-layers/c-line.md b/docs/user-guides/c-types-of-layers/c-line.md
similarity index 100%
rename from docs/c-types-of-layers/c-line.md
rename to docs/user-guides/c-types-of-layers/c-line.md
diff --git a/docs/c-types-of-layers/d-grid.md b/docs/user-guides/c-types-of-layers/d-grid.md
similarity index 100%
rename from docs/c-types-of-layers/d-grid.md
rename to docs/user-guides/c-types-of-layers/d-grid.md
diff --git a/docs/c-types-of-layers/e-geojson.md b/docs/user-guides/c-types-of-layers/e-geojson.md
similarity index 100%
rename from docs/c-types-of-layers/e-geojson.md
rename to docs/user-guides/c-types-of-layers/e-geojson.md
diff --git a/docs/c-types-of-layers/f-cluster.md b/docs/user-guides/c-types-of-layers/f-cluster.md
similarity index 100%
rename from docs/c-types-of-layers/f-cluster.md
rename to docs/user-guides/c-types-of-layers/f-cluster.md
diff --git a/docs/c-types-of-layers/g-icon.md b/docs/user-guides/c-types-of-layers/g-icon.md
similarity index 100%
rename from docs/c-types-of-layers/g-icon.md
rename to docs/user-guides/c-types-of-layers/g-icon.md
diff --git a/docs/d-layer-attributes.md b/docs/user-guides/d-layer-attributes.md
similarity index 100%
rename from docs/d-layer-attributes.md
rename to docs/user-guides/d-layer-attributes.md
diff --git a/docs/e-filters.md b/docs/user-guides/e-filters.md
similarity index 100%
rename from docs/e-filters.md
rename to docs/user-guides/e-filters.md
diff --git a/docs/f-map-styles/1-base-map-styles.md b/docs/user-guides/f-map-styles/1-base-map-styles.md
similarity index 100%
rename from docs/f-map-styles/1-base-map-styles.md
rename to docs/user-guides/f-map-styles/1-base-map-styles.md
diff --git a/docs/f-map-styles/2-map-layers.md b/docs/user-guides/f-map-styles/2-map-layers.md
similarity index 100%
rename from docs/f-map-styles/2-map-layers.md
rename to docs/user-guides/f-map-styles/2-map-layers.md
diff --git a/docs/f-map-styles/3-custom-styles.md b/docs/user-guides/f-map-styles/3-custom-styles.md
similarity index 100%
rename from docs/f-map-styles/3-custom-styles.md
rename to docs/user-guides/f-map-styles/3-custom-styles.md
diff --git a/docs/f-map-styles/4-view-maps-in-3d.md b/docs/user-guides/f-map-styles/4-view-maps-in-3d.md
similarity index 100%
rename from docs/f-map-styles/4-view-maps-in-3d.md
rename to docs/user-guides/f-map-styles/4-view-maps-in-3d.md
diff --git a/docs/f-map-styles/5-display-legend.md b/docs/user-guides/f-map-styles/5-display-legend.md
similarity index 100%
rename from docs/f-map-styles/5-display-legend.md
rename to docs/user-guides/f-map-styles/5-display-legend.md
diff --git a/docs/f-map-styles/6-split-maps.md b/docs/user-guides/f-map-styles/6-split-maps.md
similarity index 100%
rename from docs/f-map-styles/6-split-maps.md
rename to docs/user-guides/f-map-styles/6-split-maps.md
diff --git a/docs/g-map-settings.md b/docs/user-guides/g-map-settings.md
similarity index 100%
rename from docs/g-map-settings.md
rename to docs/user-guides/g-map-settings.md
diff --git a/docs/h-playback.md b/docs/user-guides/h-playback.md
similarity index 100%
rename from docs/h-playback.md
rename to docs/user-guides/h-playback.md
diff --git a/docs/i-FAQ.md b/docs/user-guides/i-FAQ.md
similarity index 100%
rename from docs/i-FAQ.md
rename to docs/user-guides/i-FAQ.md
diff --git a/docs/j-get-started.md b/docs/user-guides/j-get-started.md
similarity index 100%
rename from docs/j-get-started.md
rename to docs/user-guides/j-get-started.md
diff --git a/docs/k-save-and-export.md b/docs/user-guides/k-save-and-export.md
similarity index 100%
rename from docs/k-save-and-export.md
rename to docs/user-guides/k-save-and-export.md
diff --git a/examples/custom-reducer/webpack.config.js b/examples/custom-reducer/webpack.config.js
index 287be5dad..3f1933ee2 100644
--- a/examples/custom-reducer/webpack.config.js
+++ b/examples/custom-reducer/webpack.config.js
@@ -32,9 +32,9 @@ const CONFIG = {
app: resolve('./src/main.js')
},
output: {
- path: resolve(__dirname, "build"),
- filename: "bundle.js",
- publicPath: "/"
+ path: resolve(__dirname, 'build'),
+ filename: 'bundle.js',
+ publicPath: '/'
},
devtool: 'source-map',
diff --git a/examples/demo-app/README.md b/examples/demo-app/README.md
index 17d837b13..68209b619 100644
--- a/examples/demo-app/README.md
+++ b/examples/demo-app/README.md
@@ -1,23 +1,29 @@
# Demo App
-This is the src code of kepler.gl demo app.
+This is the src code of kepler.gl demo app. You can copy this folder out and run it locally.
+#### 1. Install
-### Local dev
-```
+```sh
npm install
```
+
or
-```
+
+```sh
yarn --ignore-engines
```
+
+#### 2. Mapbox Token
add mapbox access token to node env
-```
+
+```sh
export MapboxAccessToken=<your_mapbox_token>
```
-then
-```
+#### 3. Start the app
+
+```sh
npm start
```
diff --git a/examples/open-modal/README.md b/examples/open-modal/README.md
index 60010c0ef..041503ded 100644
--- a/examples/open-modal/README.md
+++ b/examples/open-modal/README.md
@@ -1,22 +1,29 @@
# Open modal
-Open kepler.gl in a modal
+Exmaple showing how to open kepler.gl in a modal.
-### Local dev
-```
+#### 1. Install
+
+```sh
npm install
```
+
or
-```
+
+```sh
yarn --ignore-engines
```
+
+#### 2. Mapbox Token
add mapbox access token to node env
-```
+
+```sh
export MapboxAccessToken=<your_mapbox_token>
```
-then
-```
+#### 3. Start the app
+
+```sh
npm start
-```
+```
\ No newline at end of file
diff --git a/examples/webpack.config.local.js b/examples/webpack.config.local.js
index 8bdcc9749..c07f6c9cb 100644
--- a/examples/webpack.config.local.js
+++ b/examples/webpack.config.local.js
@@ -27,9 +27,7 @@
// avoid destructuring for older Node version support
const resolve = require('path').resolve;
-const join = require('path').join;
const webpack = require('webpack');
-const path = require('path');
const LIB_DIR = resolve(__dirname, '..');
const SRC_DIR = resolve(LIB_DIR, './src');
diff --git a/package.json b/package.json
index 9e760b83e..1fc35da9a 100644
--- a/package.json
+++ b/package.json
@@ -28,7 +28,7 @@
"install-and-start": "node ./scripts/install-and-start",
"fast-test": "npm run test-node && npm run test-browser",
"test-browser": "NODE_ENV=test babel-tape-runner -r ./test/setup-browser-env.js ./test/browser.js",
- "test-node": "NODE_ENV=test babel-tape-runner ./test/node.js",
+ "test-node": "NODE_ENV=test babel-tape-runner ./test/node.js | tap-spec",
"test": "npm run lint && npm run test-node && npm run test-browser",
"cover": "nyc --reporter html --reporter cobertura --reporter json-summary npm test && nyc report",
"start": "npm run install-and-start -- examples/demo-app start-local",
@@ -38,10 +38,11 @@
"start:web": "npm run install-and-start -- website start",
"build": "rm -fr dist && uber-licence && babel src --out-dir dist --source-maps inline",
"build:umd": "webpack --progress --env.prod",
- "lint": "eslint src examples/**/src website/src",
"check-licence": "uber-licence --dry",
"add-licence": "uber-licence",
"prepublish": "uber-licence && yarn build && yarn build:umd",
+ "docs": "babel-node ./scripts/documentation.js",
+ "lint": "eslint src webpack.*.js examples/*.js examples/**/src examples/**/*.js website/*.js website/src",
"web": "(yarn && yarn install:web && yarn start:web)",
"deploy": "yarn clean && yarn && yarn install:web && (cd website && yarn build && git checkout gh-pages && cp dist/* .. && git add .. && git commit -m 'Update website' && git push origin gh-pages && git checkout master)",
"deploy:test": "yarn clean && yarn && yarn install:web && (cd website && yarn build && git checkout -B gh-pages-test gh-pages && cp dist/* .. && git add .. && git commit -m 'Update website' && git push -f test gh-pages-test:master)",
@@ -118,6 +119,7 @@
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
+ "@babel/node": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/plugin-proposal-decorators": "^7.3.0",
"@babel/plugin-proposal-do-expressions": "^7.0.0",
@@ -142,14 +144,14 @@
"@babel/register": "^7.0.0",
"@babel/runtime": "^7.0.0",
"babel-eslint": "^9.0.0",
- "babel-istanbul": "^0.6.0",
"babel-loader": "^8.0.0",
"babel-plugin-inline-json-import": "^0.2.1",
- "babel-plugin-istanbul": "^4.1.4",
+ "babel-plugin-istanbul": "^5.1.1",
"babel-plugin-module-resolver": "^3.0.0",
"babel-plugin-transform-builtin-extend": "^1.1.0",
"babel-tape-runner": "^3.0.0",
"babelify": "^10.0.0",
+ "documentation": "^9.1.1",
"enzyme": "^3.2.0",
"enzyme-adapter-react-15.4": "^1.0.5",
"eslint": "^5.12.1",
diff --git a/scripts/documentation.js b/scripts/documentation.js
new file mode 100644
index 000000000..8d2072a4a
--- /dev/null
+++ b/scripts/documentation.js
@@ -0,0 +1,131 @@
+// Copyright (c) 2019 Uber Technologies, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import documentation from 'documentation';
+import fs from 'fs';
+import {resolve, join} from 'path';
+import {logSuccess, logProgress, logOk} from './log';
+import remark from 'remark';
+import toc from 'remark-toc';
+
+const INPUT_CONFIG = {
+ shallow: true,
+ access: ['public'],
+ 'document-exported': true,
+ sortOrder: 'alpha'
+};
+
+const OUT_CONFIG = {
+ markdownToc: true
+};
+
+const PATHS = {
+ src: resolve('./src'),
+ api: resolve('./docs/api-reference')
+};
+
+const TREE = {
+ path: '',
+ children: [
+ {
+ path: 'actions',
+ children: [
+ {
+ input: [
+ 'actions.js',
+ 'action-wrapper.js',
+ '../constants/action-types.js',
+ 'vis-state-actions.js',
+ 'ui-state-actions.js',
+ 'map-state-actions.js',
+ 'map-style-actions.js',
+ 'identity-actions.js'
+ ], output: 'actions.md', config: {shallow: true}}
+ ]
+ },
+ {
+ path: 'reducers',
+ children: [
+ {input: 'root.js', output: 'reducers.md', config: {shallow: true}},
+ {input: 'vis-state-updaters.js', output: 'vis-state.md', config: {shallow: true}},
+ {input: 'map-state-updaters.js', output: 'map-state.md', config: {shallow: true}},
+ {input: 'map-style-updaters.js', output: 'map-style.md', config: {shallow: true}},
+ {input: 'ui-state-updaters.js', output: 'ui-state.md', config: {shallow: true}}
+ ]
+ }
+ ]
+}
+
+function buildChildDoc(inputPath, outputPath, config) {
+ return documentation.build(inputPath, {...INPUT_CONFIG, ...config})
+ .then(res => {
+ // res is an array of parsed comments with inferred properties
+ // and more: everything you need to build documentation or
+ // any other kind of code data.
+ return documentation.formats.remark(res, OUT_CONFIG)
+ })
+ .then(output => {
+ // output is a string of remark json
+ return remark()
+ .use(toc, {maxDepth: 2, tight: true})
+ .run(JSON.parse(output));
+ })
+ .then(ast => {
+ const output = remark().stringify(ast);
+ fs.writeFileSync(outputPath, output);
+ logOk(` ✓ build docs ${inputPath} -> ${outputPath}`);
+ })
+ .catch(err => {
+ throw err;
+ });
+}
+
+function buildMdDocs(nodePath, node, allTasks) {
+
+ const {path, children} = node;
+ const joinPath = nodePath ? `${nodePath}/${path}` : path;
+
+ children.forEach(child => {
+
+ if (!child.children) {
+
+ const {input, output, shallow} = child;
+ const inputPath = (Array.isArray(input) ? input : [input]).map(inp => join(PATHS.src, joinPath, inp));
+ const outputPath = join(PATHS.api, joinPath, output);
+ allTasks.push(buildChildDoc(inputPath, outputPath, shallow));
+ } else {
+ buildMdDocs(joinPath, child, allTasks);
+ }
+ });
+
+ return allTasks;
+}
+
+function buildDocs() {
+ logProgress('\n================= Start Building API Documentation =================\n');
+
+ const allTasks = buildMdDocs(null, TREE, []);
+
+ Promise.all(allTasks).then(() => {
+ logSuccess('\n================= Building API Documentation Success! =================\n');
+ })
+}
+
+buildDocs();
diff --git a/scripts/install-and-start.js b/scripts/install-and-start.js
index a8fbeac13..288eea809 100644
--- a/scripts/install-and-start.js
+++ b/scripts/install-and-start.js
@@ -32,5 +32,3 @@ execSync(cmd, {
cwd: folder,
stdio: 'inherit'
});
-
-process.exit();
diff --git a/scripts/log.js b/scripts/log.js
new file mode 100644
index 000000000..85a9d2066
--- /dev/null
+++ b/scripts/log.js
@@ -0,0 +1,60 @@
+// Copyright (c) 2019 Uber Technologies, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import console from 'global/console';
+
+const Colors = {
+ Reset: '\x1b[0m',
+ Bright: '\x1b[1m',
+ Dim: '\x1b[2m',
+ Underscore: '\x1b[4m',
+ Blink: '\x1b[5m',
+ Reverse: '\x1b[7m',
+ Hidden: '\x1b[8m',
+
+ FgBlack: '\x1b[30m',
+ FgRed: '\x1b[31m',
+ FgGreen: '\x1b[32m',
+ FgYellow: '\x1b[33m',
+ FgBlue: '\x1b[34m',
+ FgMagenta: '\x1b[35m',
+ FgCyan: '\x1b[36m',
+ FgWhite: '\x1b[37m',
+
+ BgBlack: '\x1b[40m',
+ BgRed: '\x1b[41m',
+ BgGreen: '\x1b[42m',
+ BgYellow: '\x1b[43m',
+ BgBlue: '\x1b[44m',
+ BgMagenta: '\x1b[45m',
+ BgCyan: '\x1b[46m',
+ BgWhite: '\x1b[47m'
+}
+
+function log(color) {
+ return function logWithColor(msg) {
+ console.log(`${color}%s${Colors.Reset}`, msg);
+ };
+}
+
+export const logSuccess = log(Colors.FgGreen);
+export const logOk = log(Colors.FgCyan);
+export const logError = log(Colors.FgRed);
+export const logProgress = log(Colors.FgBlue);
diff --git a/src/actions/action-wrapper.js b/src/actions/action-wrapper.js
index 40cfb0197..523f27736 100644
--- a/src/actions/action-wrapper.js
+++ b/src/actions/action-wrapper.js
@@ -23,30 +23,50 @@ export const ADDRESS_PREFIX = '@@KG_';
import curry from 'lodash.curry';
-/*
- * wrap an action into a forward action
- * A forward action looks like this:
+export const getActionForwardAddress = id =>
+ `${ADDRESS_PREFIX}${id.toUpperCase()}`;
+
+/**
+ * Wrap an action into a forward action that only modify the state of a specific
+ * kepler.gl instance. kepler.gl reducer will look for signatures in the action to
+ * determine whether it needs to be forwarded to a specific instance reducer.
*
+ * wrapTo can be curried. You can create a curried action wrapper by only supply the `id` argument
+ *
+ * A forward action looks like this
+ * ```js
* {
* type: "@@kepler.gl/LAYER_CONFIG_CHANGE",
* payload: {
* type: '@@kepler.gl/LAYER_CONFIG_CHANGE',
* payload: {},
* meta: {
- * // other meta,
+ * // id of instance
* _id_: id
+ * // other meta
* }
* },
* meta: {
- * forward: '@redux-forward/FORWARD',
- * id: '@@KG_id'
+ * _forward_: '@redux-forward/FORWARD',
+ * _addr_: '@@KG_id'
* }
* };
+ * ```
+ * @param {string} id - The id to forward to
+ * @param {Object} action - the action object {type: string, payload: *}
+ * @returns {{type: string, payload: {type: string: payload: *, meta: {_id_: string}, meta: {_forward_: string, _addr_: string}}}}
+ * @public
+ * @example
+ *
+ * import {wrapTo, togglePerspective} from 'kepler.gl/actions';
+ *
+ * // This action will only dispatch to the KeplerGl instance with `id: map_1`
+ * this.props.dispatch(wrapTo('map_1', togglePerspective()));
+ *
+ * // You can also create a curried action for each instance
+ * const wrapToMap1 = wrapTo('map_1');
+ * this.props.dispatch(wrapToMap1(togglePerspective()));
*/
-
-export const getActionForwardAddress = id =>
- `${ADDRESS_PREFIX}${id.toUpperCase()}`;
-
export const wrapTo = curry((id, action) => ({
// keep original action.type
type: action.type,
@@ -68,27 +88,79 @@ export const wrapTo = curry((id, action) => ({
}
}));
+/**
+ * Whether an action is a forward action
+ * @param {Object} action - the action object
+ * @returns {boolean} boolean - whether the action is a forward action
+ * @public
+ */
export const isForwardAction = action => {
- return action && action.meta && action.meta._forward_ === FORWARD;
+ return Boolean(action && action.meta && action.meta._forward_ === FORWARD);
};
+/**
+ * Unwrap an action
+ * @param {Object} action - the action object
+ * @returns {Object} - unwrapped action
+ * @public
+ */
export const unwrap = action =>
isForwardAction(action) ? unwrap(action.payload) : action;
-// given a id to forward to, returns the action for that id
-export const actionFor = (id, action) =>
+/**
+ * Given an id, returns the action for that id.
+ * If the action is not a forward action, return the action
+ *
+ * @param {String} id
+ * @param {Object} action
+ * @private
+ */
+export const _actionFor = (id, action) =>
isForwardAction(action)
? action.meta._addr_ === getActionForwardAddress(id) ? action.payload : {}
: action;
-// returns a new dispatch that wraps and forwards the actions with the given id
+/**
+ * Returns an action dispatcher that wraps and forwards the actions to a specific instance
+ * @param {string} id - instance id
+ * @param {Function} dispatch - action dispatcher
+ * @public
+ * @example
+ *
+ * // action and forward dispatcher
+ * import {toggleSplitMap, forwardTo} from 'kepler.gl/actions';
+ * import {connect} from 'react-redux';
+ *
+ * const MapContainer = props => (
+ * <div>
+ * <button onClick={() => props.keplerGlDispatch(toggleSplitMap())}/>
+ * </div>
+ * )
+ *
+ * const mapDispatchToProps = (dispatch, props) => ({
+ * dispatch,
+ * keplerGlDispatch: forwardTo(‘foo’, dispatch)
+ * });
+ *
+ * export default connect(
+ * state => state,
+ * mapDispatchToProps
+ * )(MapContainer);
+ */
export const forwardTo = (id, dispatch) => action =>
dispatch(wrapTo(id, action));
-export const updateProperty = (state, id, value) =>
- state[id] === value
+/**
+ * Update the state of a kepler.gl instance
+ * @param {Object} state
+ * @param {string} id
+ * @param {Object} nextState
+ * @private
+ */
+export const _updateProperty = (state, id, nextState) =>
+ state[id] === nextState
? state
: {
...state,
- [id]: value
+ [id]: nextState
};
diff --git a/src/actions/actions.js b/src/actions/actions.js
index 7239ce5ad..e4756767b 100644
--- a/src/actions/actions.js
+++ b/src/actions/actions.js
@@ -21,13 +21,6 @@
import ActionTypes from 'constants/action-types';
import {createAction} from 'redux-actions';
-// kepler.gl actions accessible outside component
-export * from './vis-state-actions';
-export * from './ui-state-actions';
-export * from './map-state-actions';
-export * from './map-style-actions';
-export * from './identity-actions';
-
/**
* Add data to kepler.gl reducer, prepare map with preset configuration if config is passed.
* Kepler.gl provides a handy set of utils to parse data from different format to the `data` object required in dataset. You rarely need to manually format the data obejct.
@@ -56,44 +49,52 @@ export * from './identity-actions';
* @param {Object} config this object will contain the full kepler.gl instance configuration {mapState, mapStyle, visState}
* @public
* @example
+ *
+ * // app.js
* import {addDataToMap} from 'kepler.gl/actions';
*
+ * const sampleTripData = {
+ * fields: [
+ * {name: 'tpep_pickup_datetime', format: 'YYYY-M-D H:m:s', type: 'timestamp'},
+ * {name: 'pickup_longitude', format: '', type: 'real'},
+ * {name: 'pickup_latitude', format: '', type: 'real'}
+ * ],
+ * rows: [
+ * ['2015-01-15 19:05:39 +00:00', -73.99389648, 40.75011063],
+ * ['2015-01-15 19:05:39 +00:00', -73.97642517, 40.73981094],
+ * ['2015-01-15 19:05:40 +00:00', -73.96870422, 40.75424576],
+ * ]
+ * };
+ *
+ * const sampleConfig = {
+ * visState: {
+ * filters: [
+ * {
+ * id: 'me',
+ * dataId: 'test_trip_data',
+ * name: 'tpep_pickup_datetime',
+ * type: 'timeRange',
+ * enlarged: true
+ * }
+ * ]
+ * }
+ * }
+ *
* this.props.dispatch(
- * addDataToMap(
- * // datasets
- * {
+ * addDataToMap({
+ * datasets: {
* info: {
* label: 'Sample Taxi Trips in New York City',
* id: 'test_trip_data'
* },
- * data: {
- * fields: [{
- * name: 'begintrip_lat',
- * type: 'real',
- * format: ''
- * }, {
- * name: 'begintrip_lng',
- * type: 'real',
- * format: ''
- * }],
- * rows: [
- * [37.1234, -121.20292],
- * [34.1223, -121.98234]
- * ]
- * }
+ * data: sampleTripData
* },
- * // option
- * {
+ * option: {
* centerMap: true,
* readOnly: false
* },
- * // config
- * {
- * mapStyle: {
- * styleType: 'light'
- * }
- * }
- * )
+ * config: sampleConfig
+ * })
* );
*/
export const addDataToMap = createAction(
diff --git a/src/actions/index.js b/src/actions/index.js
index 8d4ac9205..c81c1e663 100644
--- a/src/actions/index.js
+++ b/src/actions/index.js
@@ -19,11 +19,18 @@
// THE SOFTWARE.
// Actions
-export * from 'actions/actions';
+export * from './actions';
+
+// kepler.gl actions accessible outside component
+export * from './vis-state-actions';
+export * from './ui-state-actions';
+export * from './map-state-actions';
+export * from './map-style-actions';
+export * from './identity-actions';
// Dispatch
export {
- actionFor,
+ _actionFor,
forwardTo,
getActionForwardAddress,
isForwardAction,
@@ -31,4 +38,4 @@ export {
wrapTo
} from './action-wrapper';
-export {default as ActionTypes} from 'constants/action-types';
+export {default as ActionTypes} from '../constants/action-types';
diff --git a/src/actions/map-state-actions.js b/src/actions/map-state-actions.js
index 9d4331a85..e839a1681 100644
--- a/src/actions/map-state-actions.js
+++ b/src/actions/map-state-actions.js
@@ -21,26 +21,59 @@
import {createAction} from 'redux-actions';
import ActionTypes from 'constants/action-types';
-// second argument of createAction is expected
-// to be payloadCreator or undefined
-const [
- togglePerspective,
- fitBounds,
- updateMap,
- toggleSplitMap,
- toggleFullScreen
-] = [
- ActionTypes.TOGGLE_PERSPECTIVE,
+/**
+ *
+ * Toggle between 3d and 2d map.
+ * @public
+ * @example
+ * import {togglePerspective} from 'kepler.gl/actions';
+ * this.props.dispatch(togglePerspective());
+ */
+export const togglePerspective = createAction(
+ ActionTypes.TOGGLE_PERSPECTIVE
+);
+
+/**
+ * Fit map viewport to bounds
+ * @param {number[]} - bounds as `[lngMin, latMin, lngMax, latMax]`
+ * @public
+ * @example
+ * import {fitBounds} from 'kepler.gl/actions';
+ * this.props.dispatch(fitBounds([-122.23, 37.127, -122.11, 37.456]));
+ */
+export const fitBounds = createAction(
ActionTypes.FIT_BOUNDS,
+ bounds => bounds
+);
+
+/**
+ * Update map viewport
+ * @param {Object} viewport - viewport object container one or any of these properties `width`, `height`, `latitude` `longitude`, `zoom`, `pitch`, `bearing`, `dragRotate`
+ * @param {number} [viewport.width] - Width of viewport
+ * @param {number} [viewport.height] - Height of viewport
+ * @param {number} [viewport.zoom] - Zoom of viewport
+ * @param {number} [viewport.pitch] - Camera angle in degrees (0 is straight down)
+ * @param {number} [viewport.bearing] - Map rotation in degrees (0 means north is up)
+ * @param {number} [viewport.latitude] - Latitude center of viewport on map in mercator projection
+ * @param {number} [viewport.longitude] - Longitude Center of viewport on map in mercator projection
+ * @param {boolean} [viewport.dragRotate] - Whether to enable drag and rotate map into perspective viewport
+ * @public
+ * @example
+ * import {updateMap} from 'kepler.gl/actions';
+ * this.props.dispatch(updateMap({latitude: 37.75043, longitude: -122.34679, width: 800, height: 1200}));
+ */
+export const updateMap = createAction(
ActionTypes.UPDATE_MAP,
- ActionTypes.TOGGLE_SPLIT_MAP,
- ActionTypes.TOGGLE_FULLSCREEN
-].map(action => createAction(action));
+ viewport => viewport
+);
-export {
- updateMap,
- fitBounds,
- togglePerspective,
- toggleSplitMap,
- toggleFullScreen
-};
+/**
+ * Toggle between one or split maps
+ * @public
+ * @example
+ * import {toggleSplitMap} from 'kepler.gl/actions';
+ * this.props.dispatch(toggleSplitMap());
+ */
+export const toggleSplitMap = createAction(
+ ActionTypes.TOGGLE_SPLIT_MAP
+);
diff --git a/src/actions/map-style-actions.js b/src/actions/map-style-actions.js
index c69ba06e6..8c7dd83dc 100644
--- a/src/actions/map-style-actions.js
+++ b/src/actions/map-style-actions.js
@@ -21,41 +21,50 @@
import {createAction} from 'redux-actions';
import ActionTypes from 'constants/action-types';
-const {
- ADD_CUSTOM_MAP_STYLE,
- INPUT_MAP_STYLE,
- MAP_CONFIG_CHANGE,
- MAP_STYLE_CHANGE,
- LOAD_MAP_STYLES,
- LOAD_MAP_STYLE_ERR,
- LOAD_CUSTOM_MAP_STYLE
-} = ActionTypes;
-
-// second argument of createAction is expected to be payloadCreator or undefined
-const [
- addCustomMapStyle,
- inputMapStyle,
- mapConfigChange,
- loadMapStyles,
- loadMapStyleErr,
- mapStyleChange,
- loadCustomMapStyle
-] = [
- ADD_CUSTOM_MAP_STYLE,
- INPUT_MAP_STYLE,
- MAP_CONFIG_CHANGE,
- LOAD_MAP_STYLES,
- LOAD_MAP_STYLE_ERR,
- MAP_STYLE_CHANGE,
- LOAD_CUSTOM_MAP_STYLE
-].map(a => createAction(a));
-
-export {
- addCustomMapStyle,
- inputMapStyle,
- mapConfigChange,
- mapStyleChange,
- loadMapStyles,
- loadMapStyleErr,
- loadCustomMapStyle
-};
+/**
+ * Add map style from user input to reducer and set it to current style
+ * This action is called when user click confirm after putting in a valid style url in the custom map style dialog.
+ * It should not be called from outside kepler.gl without a valid `inputStyle` in the `mapStyle` reducer.
+ * param {void}
+ * @public
+ */
+export const addCustomMapStyle = createAction(
+ ActionTypes.ADD_CUSTOM_MAP_STYLE,
+);
+
+/**
+ * Add map style from user input to reducer and set it to current style
+ * This action is called when user click confirm after putting in a valid style url in the custom map style dialog.
+ * It should not be called from outside kepler.gl without a valid `inputStyle` in the `mapStyle` reducer.
+ * param {void}
+ * @public
+ */
+export const inputMapStyle = createAction(
+ ActionTypes.INPUT_MAP_STYLE,
+ inputStyle => inputStyle
+);
+
+export const mapConfigChange = createAction(
+ ActionTypes.MAP_CONFIG_CHANGE,
+ mapStyle => mapStyle
+);
+
+export const loadMapStyles = createAction(
+ ActionTypes.LOAD_MAP_STYLES,
+ newStyles => newStyles
+);
+
+export const loadMapStyleErr = createAction(
+ ActionTypes.LOAD_MAP_STYLE_ERR,
+ error => error
+);
+
+export const mapStyleChange = createAction(
+ ActionTypes.MAP_STYLE_CHANGE,
+ styleType => styleType
+);
+
+export const loadCustomMapStyle = createAction(
+ ActionTypes.LOAD_CUSTOM_MAP_STYLE,
+ customMapStyle => customMapStyle
+);
diff --git a/src/actions/ui-state-actions.js b/src/actions/ui-state-actions.js
index f5a126ea2..1209df80d 100644
--- a/src/actions/ui-state-actions.js
+++ b/src/actions/ui-state-actions.js
@@ -27,7 +27,6 @@ const {
SET_EXPORT_DATA_TYPE,
SET_EXPORT_FILTERED,
SET_EXPORT_IMAGE_DATA_URI,
- SET_EXPORT_CONFIG,
SET_EXPORT_DATA,
SET_EXPORT_SELECTED_DATASET,
SET_RATIO,
@@ -64,7 +63,6 @@ const [
setExportSelectedDataset,
setExportDataType,
setExportFiltered,
- setExportConfig,
setExportData
] = [
TOGGLE_SIDE_PANEL,
@@ -84,14 +82,13 @@ const [
SET_EXPORT_SELECTED_DATASET,
SET_EXPORT_DATA_TYPE,
SET_EXPORT_FILTERED,
- SET_EXPORT_CONFIG,
SET_EXPORT_DATA
].map(a => createAction(a));
export {
toggleSidePanel, toggleModal, showExportDropdown, hideExportDropdown,
toggleMapControl, openDeleteModal, addNotification, removeNotification,
- setExportConfig, setExportData, setRatio, setResolution, toggleLegend,
+ setExportData, setRatio, setResolution, toggleLegend,
startExportingImage, setExportImageDataUri, cleanupExportImage,
setExportSelectedDataset, setExportDataType, setExportFiltered
};
diff --git a/src/actions/vis-state-actions.js b/src/actions/vis-state-actions.js
index 81ef4f133..057fbc38b 100644
--- a/src/actions/vis-state-actions.js
+++ b/src/actions/vis-state-actions.js
@@ -132,8 +132,7 @@ export function showDatasetTable(dataId) {
* {info: {id: '', color: hex, label: '']}, data: {fields: [], rows: []}}
* @param options {centerMap, readOnly}
* @param config {visState, mapState, mapStyle}
- * @returns {{type: null, datasets: *, options: *}}
- */
+ */
export function updateVisData(datasets, options, config) {
return {
type: ActionTypes.UPDATE_VIS_DATA,
diff --git a/src/components/container.js b/src/components/container.js
index 3d9779190..b22c69aed 100644
--- a/src/components/container.js
+++ b/src/components/container.js
@@ -48,6 +48,30 @@ export const errorMsg = {
ContainerFactory.deps = [KeplerGlFactory];
export function ContainerFactory(KeplerGl) {
+ /** @lends KeplerGl */
+ /**
+ * Main Kepler.gl Component
+ * @param {Object} props
+ *
+ * @param {string} props.id - _required_
+ *
+ * - Default: `map`
+ * The id of this KeplerGl instance. `id` is required if you have multiple
+ * KeplerGl instances in your app. It defines the prop name of the KeplerGl state that is
+ * stored in the KeplerGl reducer. For example, the state of the KeplerGl component with id `foo` is
+ * stored in `state.keplerGl.foo`.
+ *
+ * In case you create multiple kepler.gl instances using the same id, the kepler.gl state defined by the entry will be
+ * overridden by the latest instance and reset to a blank state.
+ * @param {string} props.mapboxApiAccessToken - _required_
+
+ * You can create a free account at [www.mapbox.com](www.mapbox.com) and create a token at
+ * [www.mapbox.com/account/access-tokens](www.mapbox.com/account/access-tokens)
+ *
+ *
+ * @param {Number} props.width - _required_ Width of the KeplerGl UI.
+ * @public
+ */
class Container extends Component {
// default id and address if not provided
static defaultProps = {
diff --git a/src/components/map-container.js b/src/components/map-container.js
index f7a92c747..8096b1c48 100644
--- a/src/components/map-container.js
+++ b/src/components/map-container.js
@@ -424,7 +424,6 @@ export default function MapContainerFactory(MapPopover, MapControl) {
onTogglePerspective={mapStateActions.togglePerspective}
onToggleSplitMap={mapStateActions.toggleSplitMap}
onMapToggleLayer={this._handleMapToggleLayer}
- onToggleFullScreen={mapStateActions.toggleFullScreen}
onToggleMapControl={toggleMapControl}
/>
<MapComponent
diff --git a/src/components/map/map-control.js b/src/components/map/map-control.js
index d13e2488a..026ef7fc5 100644
--- a/src/components/map/map-control.js
+++ b/src/components/map/map-control.js
@@ -169,7 +169,6 @@ export class MapControl extends Component {
layers: PropTypes.arrayOf(PropTypes.object),
mapIndex: PropTypes.number.isRequired,
mapControls: PropTypes.object.isRequired,
- onToggleFullScreen: PropTypes.func.isRequired,
onTogglePerspective: PropTypes.func.isRequired,
onToggleSplitMap: PropTypes.func.isRequired,
onToggleMapControl: PropTypes.func.isRequired,
diff --git a/src/components/modals/export-data-modal.js b/src/components/modals/export-data-modal.js
index 75736a2f7..33929e556 100644
--- a/src/components/modals/export-data-modal.js
+++ b/src/components/modals/export-data-modal.js
@@ -34,7 +34,7 @@ const StyledExportDataSection = styled.div`
.description {
width: 185px;
-
+
.title {
font-weight: 500;
color: ${props => props.theme.textColorLT};
@@ -59,7 +59,7 @@ const StyledExportDataSection = styled.div`
font: inherit;
line-height: 1.5em;
padding: 0.5em 3.5em 0.5em 1em;
- margin: 0;
+ margin: 0;
box-sizing: border-box;
appearance: none;
width: 250px;
@@ -192,7 +192,7 @@ const ExportDataModal = ({
</div>
</div>
<div className="selection">
- <select value={selectedDataset} onChange={e => onChangeExportSelectedDataset({dataset: e.target.value})}>
+ <select value={selectedDataset} onChange={e => onChangeExportSelectedDataset(e.target.value)}>
{['All'].concat(Object.keys(datasets)).map(d => (
<option key={d} value={d}>{(datasets[d] && datasets[d].label) || d}</option>
))}
@@ -215,7 +215,7 @@ const ExportDataModal = ({
key={op.id}
selected={dataType === op.id}
available={op.available}
- onClick={() => op.available && onChangeExportDataType({dataType: op.id})}
+ onClick={() => op.available && onChangeExportDataType(op.id)}
>
<FileType ext={op.label} height="80px" fontSize="11px" />
</StyledDataType>
@@ -233,11 +233,11 @@ const ExportDataModal = ({
</div>
</div>
<div className="selection">
- <StyledFilteredDataOption selected={!filtered} onClick={() => onChangeExportFiltered({filtered: false})}>
+ <StyledFilteredDataOption selected={!filtered} onClick={() => onChangeExportFiltered(false)}>
<div className="filtered-title">Unfiltered Data</div>
<div className="filtered-subtitle">{getDataRowCount(datasets, selectedDataset, false)}</div>
</StyledFilteredDataOption>
- <StyledFilteredDataOption selected={filtered} onClick={() => onChangeExportFiltered({filtered: true})}>
+ <StyledFilteredDataOption selected={filtered} onClick={() => onChangeExportFiltered(true)}>
<div className="filtered-title">Filtered Data</div>
<div className="filtered-subtitle">{getDataRowCount(datasets, selectedDataset, true)}</div>
</StyledFilteredDataOption>
diff --git a/src/components/plot-container.js b/src/components/plot-container.js
index 5e5fdbb54..8d83c5395 100644
--- a/src/components/plot-container.js
+++ b/src/components/plot-container.js
@@ -99,7 +99,7 @@ export default function PlotContainerFactory(MapContainer) {
this.props.startExportingImage();
convertToPng(this.plottingAreaRef).then(dataUri => {
- this.props.setExportImageDataUri({dataUri});
+ this.props.setExportImageDataUri(dataUri);
window.devicePixelRatio = savedDevicePixelRatio;
});
}
diff --git a/src/components/side-panel/side-nav.js b/src/components/side-panel/side-nav.js
deleted file mode 100644
index 41ace413f..000000000
--- a/src/components/side-panel/side-nav.js
+++ /dev/null
@@ -1,68 +0,0 @@
-// Copyright (c) 2019 Uber Technologies, Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-import React from 'react';
-import classnames from 'classnames';
-import {Tooltip} from 'components/common/styled-components';
-import {PANELS, PANELS_FOOTER} from 'constants/default-settings';
-
-const SideNav = itemProps => (
- <div className={classnames('side-navi', {collapsed: itemProps.isCollapsed})}>
- <div>
- <ul>
- {PANELS.map(item => (
- <NavItem {...itemProps} key={item.id} item={item} />
- ))}
- </ul>
- </div>
- <div>
- <ul>
- {PANELS_FOOTER.map(item => (
- <NavItem {...itemProps} key={item.id} item={item} />
- ))}
- </ul>
- </div>
- </div>
-);
-
-const NavItem = ({activePanel, item, isCollapsed, togglePanel}) => (
- <li
- className={classnames('side-navi__item', {active: activePanel === item.id})}
- onClick={() => togglePanel(item.id)}
- >
- <a className="hover align--middle" data-tip data-for={`${item.id}-nav`}>
- <span className={`icon icon_${item.icon}`} />
- {isCollapsed ? (
- <Tooltip
- id={`${item.id}-nav`}
- effect="solid"
- delayShow={500}
- place="right"
- >
- <span>{item.label}</span>
- </Tooltip>
- ) : (
- <span className="side-navi__item__title">{item.label}</span>
- )}
- </a>
- </li>
-);
-
-export default SideNav;
diff --git a/src/constants/action-types.js b/src/constants/action-types.js
index ff592dbfd..9ff5f5fbd 100644
--- a/src/constants/action-types.js
+++ b/src/constants/action-types.js
@@ -21,6 +21,36 @@
import keyMirror from 'keymirror';
import {ACTION_PREFIX} from './default-settings';
+/**
+ * Kepler.gl action types, can be listened by reducers to perform additional tasks whenever an action is called in kepler.gl
+ * @constant
+ * @type {Object}
+ * @public
+ *
+ * @example
+ * // store.js
+ * import {handleActions} from 'redux-actions';
+ * import {createStore, combineReducers, applyMiddleware} from 'redux';
+ * import {taskMiddleware} from 'react-palm/tasks';
+ *
+ * import keplerGlReducer from 'kepler.gl/reducers';
+ * import {ActionTypes} from 'kepler.gl/actions';
+ *
+ * const appReducer = handleActions({
+ * // listen on kepler.gl map update action to store a copy of viewport in app state
+ * [ActionTypes.UPDATE_MAP]: (state, action) => ({
+ * ...state,
+ * viewport: action.payload
+ * }),
+ * }, {});
+ *
+ * const reducers = combineReducers({
+ * app: appReducer,
+ * keplerGl: keplerGlReducer
+ * });
+ *
+ * export default createStore(reducers, {}, applyMiddleware(taskMiddleware))
+ */
const ActionTypes = keyMirror({
// identity action
REGISTER_ENTRY: null,
@@ -96,7 +126,6 @@ const ActionTypes = keyMirror({
SET_EXPORT_SELECTED_DATASET: null,
SET_EXPORT_DATA_TYPE: null,
SET_EXPORT_FILTERED: null,
- SET_EXPORT_CONFIG: null,
SET_EXPORT_DATA: null,
// all
diff --git a/src/constants/default-settings.js b/src/constants/default-settings.js
index 4b9d36c6e..0ce005905 100644
--- a/src/constants/default-settings.js
+++ b/src/constants/default-settings.js
@@ -25,13 +25,54 @@ export const CLOUDFRONT = 'https://d1a3f4spazzrp4.cloudfront.net/kepler.gl';
export const ICON_PREFIX = `${CLOUDFRONT}/geodude`;
// Modal Ids
-export const LAYER_CONFIG_ID = 'copyConfig';
+/**
+ * Modal id: data table
+ * @constant
+ * @type {string}
+ * @public
+ */
export const DATA_TABLE_ID = 'dataTable';
+/**
+ * Modal id: delete dataset confirm dialog
+ * @constant
+ * @type {string}
+ * @public
+ */
export const DELETE_DATA_ID = 'deleteData';
+/**
+ * Modal id: add data modal
+ * @constant
+ * @type {string}
+ * @public
+ */
export const ADD_DATA_ID = 'addData';
+/**
+ * Modal id: export image modal
+ * @constant
+ * @type {string}
+ * @public
+ */
export const EXPORT_IMAGE_ID = 'exportImage';
+/**
+ * Modal id: export data modal
+ * @constant
+ * @type {string}
+ * @public
+ */
export const EXPORT_DATA_ID = 'exportData';
+/**
+ * Modal id: export configuration modal
+ * @constant
+ * @type {string}
+ * @public
+ */
export const EXPORT_CONFIG_ID = 'exportConfig';
+/**
+ * Modal id: add custom map style modal
+ * @constant
+ * @type {string}
+ * @public
+ */
export const ADD_MAP_STYLE_ID = 'addMapStyle';
import {
@@ -80,14 +121,6 @@ export const PANELS = [
}
];
-export const PANELS_FOOTER = [
- {
- id: LAYER_CONFIG_ID,
- label: 'Copy Config',
- icon: 'clipboard'
- }
-];
-
// MAP STYLES
export const DEFAULT_LAYER_GROUPS = [
diff --git a/src/reducers/map-state-updaters.js b/src/reducers/map-state-updaters.js
index d4a7f788f..79cf67fba 100644
--- a/src/reducers/map-state-updaters.js
+++ b/src/reducers/map-state-updaters.js
@@ -20,12 +20,44 @@
import geoViewport from '@mapbox/geo-viewport';
+/**
+ * Default initial `mapState`
+ * @constant
+ * @property {number} pitch - Default: 0
+ * @property {number} bearing - Default: 0
+ * @property {number} latitude - Default: 37.75043
+ * @property {number} longitude - Default: -122.34679
+ * @property {number} zoom - Default: 9
+ * @property {boolean} dragRotate - Default: false
+ * @property {number} width - Default: 800
+ * @property {number} height - Default: 800
+ * @property {boolean} isSplit - Default: false
+ * @public
+ */
+export const INITIAL_MAP_STATE = {
+ pitch: 0,
+ bearing: 0,
+ latitude: 37.75043,
+ longitude: -122.34679,
+ zoom: 9,
+ dragRotate: false,
+ width: 800,
+ height: 800,
+ isSplit: false
+};
+
/* Updaters */
export const updateMapUpdater = (state, action) => ({
...state,
...(action.payload || {})
});
+/**
+ *
+ * @param state
+ * @param action
+ * @returns {{latitude, longitude, zoom}}
+ */
export const fitBoundsUpdater = (state, action) => {
const bounds = action.payload;
const {center, zoom} = geoViewport.viewport(bounds, [
diff --git a/src/reducers/map-state.js b/src/reducers/map-state.js
index 4249d2791..5f9cc5720 100644
--- a/src/reducers/map-state.js
+++ b/src/reducers/map-state.js
@@ -21,19 +21,8 @@
import {handleActions} from 'redux-actions';
import ActionTypes from 'constants/action-types';
-export const INITIAL_MAP_STATE = {
- pitch: 0,
- bearing: 0,
- latitude: 37.75043,
- longitude: -122.34679,
- zoom: 9,
- dragRotate: false,
- width: 800,
- height: 800,
- isSplit: false
-};
-
import {
+ INITIAL_MAP_STATE,
fitBoundsUpdater,
receiveMapConfigUpdater,
togglePerspectiveUpdater,
diff --git a/src/reducers/map-style-updaters.js b/src/reducers/map-style-updaters.js
index 5472bdf1f..6559eadb4 100644
--- a/src/reducers/map-style-updaters.js
+++ b/src/reducers/map-style-updaters.js
@@ -59,6 +59,18 @@ const getDefaultState = () => {
};
};
+/**
+ * Default initial `mapStyle`
+ * @constant
+ * @property {string} styleType - Default: 'dark'
+ * @property {Object} visibleLayerGroups - Default: {}
+ * @property {Object} topLayerGroups - Default: {}
+ * @property {Object} mapStyles - mapping from style key to style obejct
+ * @property {string} mapboxApiAccessToken - Default: null
+ * @property {Object} inputStyle - Default: {}
+ * @property {Array} threeDBuildingColor - Default: [r, g, b]
+ * @public
+ */
export const INITIAL_MAP_STYLE = getDefaultState();
/**
diff --git a/src/reducers/root.js b/src/reducers/root.js
index 15b31aa32..eb43edf18 100644
--- a/src/reducers/root.js
+++ b/src/reducers/root.js
@@ -20,16 +20,11 @@
import {handleActions} from 'redux-actions';
-import {actionFor, updateProperty} from '../actions/action-wrapper';
+import {_actionFor, _updateProperty} from '../actions/action-wrapper';
+import {keplerGlInit} from '../actions/actions';
import {coreReducerFactory} from './core';
import ActionTypes from 'constants/action-types';
-import {keplerGlInit} from '../actions/actions';
-/*
- * voyager reducer wrapper,
- * wraps multiple voyager state in one voyager
- */
-
// INITIAL_STATE
const initialCoreState = {};
@@ -67,8 +62,8 @@ export function provideInitialState(initialState) {
return (state = initialCoreState, action) => {
// update child states
Object.keys(state).forEach(id => {
- const updateItemState = coreReducer(state[id], actionFor(id, action));
- state = updateProperty(state, id, updateItemState);
+ const updateItemState = coreReducer(state[id], _actionFor(id, action));
+ state = _updateProperty(state, id, updateItemState);
});
// perform additional state reducing (e.g. switch action.type etc...)
@@ -100,7 +95,41 @@ function mergeInitialState(saved = {}, provided = {}) {
function decorate(target, savedInitialState = {}) {
const targetInitialState = savedInitialState;
- // plugin to core reducer
+ /**
+ * Returns a kepler.gl reducer that will also pass each action through additional reducers spiecified.
+ * The parameter should be either a reducer map or a reducer function.
+ * The state passed into the additional action handler is the instance state.
+ * It will include all the subreducers `visState`, `uiState`, `mapState` and `mapStyle`.
+ * `.plugin` is only meant to be called once when mounting the keplerGlReducer to the store.
+ * **Note** This is an advanced option to give you more freedom to modify the internal state of the kepler.gl instance.
+ * You should only use this to adding additional actions instead of replacing default actions.
+ *
+ * @mixin reducer.plugin
+ * @param {Object|Function} customReducer - A reducer map or a reducer
+ * @public
+ * @example
+ * const myKeplerGlReducer = keplerGlReducer
+ * .plugin({
+ * // 1. as reducer map
+ * HIDE_AND_SHOW_SIDE_PANEL: (state, action) => ({
+ * ...state,
+ * uiState: {
+ * ...state.uiState,
+ * readOnly: !state.uiState.readOnly
+ * }
+ * })
+ * })
+ * .plugin(handleActions({
+ * // 2. as reducer
+ * 'HIDE_MAP_CONTROLS': (state, action) => ({
+ * ...state,
+ * uiState: {
+ * ...state.uiState,
+ * mapControls: hiddenMapControl
+ * }
+ * })
+ * }, {}));
+ */
target.plugin = function plugin(customReducer) {
if (typeof customReducer === 'object') {
// if only provided a reducerMap, wrap it in a reducer
@@ -114,10 +143,10 @@ function decorate(target, savedInitialState = {}) {
// for each entry in the staten
Object.keys(nextState).forEach(id => {
// update child states
- nextState = updateProperty(
+ nextState = _updateProperty(
nextState,
id,
- customReducer(nextState[id], actionFor(id, action))
+ customReducer(nextState[id], _actionFor(id, action))
);
});
@@ -125,8 +154,25 @@ function decorate(target, savedInitialState = {}) {
});
};
- // pass in initialState for reducer slices
- // e.g. initialState = {uiState: {currentModal : null}}
+ /**
+ * REturn a reducer that innitiated with custom initial state.
+ * The parameter should be an object mapping from `subreducer` name to custom subreducer state,
+ * which will be shallow **merged** with default initial state.
+ *
+ * Default subreducer state:
+ * - `[visState](./vis-state.md#INITIAL_VIS_STATE)`
+ * - `[mapState](./map-state.md#INITIAL_MAP_STATE)`
+ * - `[mapStyle](./map-style.md#INITIAL_MAP_STYLE)`
+ * - `[uiState](./ui-state.md#INITIAL_UI_STATE)`
+ * @mixin reducer.initialState
+ * @param {Object} iniSt - custom state to be merged with default initial state
+ * @public
+ * @example
+ * const myKeplerGlReducer = keplerGlReducer
+ * .initialState({
+ * uiState: {readOnly: true}
+ * });
+ */
target.initialState = function initialState(iniSt) {
const merged = mergeInitialState(targetInitialState, iniSt);
const targetReducer = provideInitialState(merged);
diff --git a/src/reducers/ui-state-updaters.js b/src/reducers/ui-state-updaters.js
index 2daf912a8..bc1303eec 100644
--- a/src/reducers/ui-state-updaters.js
+++ b/src/reducers/ui-state-updaters.js
@@ -18,43 +18,190 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
-import {LAYER_CONFIG_ID, DELETE_DATA_ID} from 'constants/default-settings';
+import {
+ DELETE_DATA_ID,
+ ADD_DATA_ID,
+ EXPORT_DATA_TYPE,
+ RATIOS,
+ RESOLUTIONS
+} from 'constants/default-settings';
import {createNotification} from 'utils/notifications-utils';
+export const DEFAULT_ACTIVE_SIDE_PANEL = 'layer';
+export const DEFAULT_MODAL = ADD_DATA_ID;
+
+/**
+ * A list of map control visibilities and activeness.
+ * @constant
+ * @type {Object}
+ * @property {Object} visibleLayers - Default: `{show: true, active: false}`
+ * @property {Object} mapLegend - Default: `{show: true, active: false}`
+ * @property {Object} toggle3d - Default: `{show: true}`
+ * @property {Object} splitMap - Default: `{show: true}`
+ * @public
+ */
+export const DEFAULT_MAP_CONTROLS = {
+ visibleLayers: {
+ show: true,
+ active: false
+ },
+ mapLegend: {
+ show: true,
+ active: false
+ },
+ toggle3d: {
+ show: true
+ },
+ splitMap: {
+ show: true
+ }
+};
+
+/**
+ * Default image export config
+ * @constant
+ * @type {Object}
+ * @property {string} ratio - Default: 'SCREEN',
+ * @property {string} resolution - Default: 'ONE_X',
+ * @property {boolean} legend - Default: false,
+ * @property {string} imageDataUri - Default: '',
+ * @property {boolean} exporting - Default: false
+ * @public
+ */
+export const DEFAULT_EXPORT_IMAGE = {
+ // user options
+ ratio: RATIOS.SCREEN,
+ resolution: RESOLUTIONS.ONE_X,
+ legend: false,
+ // exporting state
+ imageDataUri: '',
+ exporting: false
+};
+
+/**
+ * @constant
+ * @type {Object}
+ * @property {string} selectedDataset - Default: '',
+ * @property {string} dataType - Default: 'csv',
+ * @property {boolean} filtered - Default: true,
+ * @property {boolean} config - deprecated
+ * @property {boolean} data - used in modal config expor. Default: falset
+ * @public
+ */
+export const DEFAULT_EXPORT_DATA = {
+ selectedDataset: '',
+ dataType: EXPORT_DATA_TYPE.CSV,
+ filtered: true,
+ config: false, // no longer used, since we removed the option to export config from modal data export
+ data: false // this is used in modal config export
+};
+
+export const DEFAULT_NOTIFICATIONS = [];
+
+/**
+ * Default initial `uiState`
+ * @constant
+ * @type {Object}
+ * @property {boolean} readOnly - Default: false
+ * @property {string} activeSidePanel - Default: 'layer'
+ * @property {string|null} currentModal - Default: 'addData'
+ * @property {string|null} datasetKeyToRemove - Default: null
+ * @property {string|null} visibleDropdown - Default: null
+ * @property {Object} exportImage - Default: [`DEFAULT_EXPORT_IMAGE`](#default_export_image)
+ * @property {Object} exportData - Default: [`DEFAULT_EXPORT_DATA`](#default_export_data)
+ * @property {Object} mapControls - Default: [`DEFAULT_MAP_CONTROLS`](#default_map_controls)
+ * @public
+ */
+export const INITIAL_UI_STATE = {
+ readOnly: false,
+ activeSidePanel: DEFAULT_ACTIVE_SIDE_PANEL,
+ currentModal: DEFAULT_MODAL,
+ datasetKeyToRemove: null,
+ visibleDropdown: null,
+ // export image modal ui
+ exportImage: DEFAULT_EXPORT_IMAGE,
+ // export data modal ui
+ exportData: DEFAULT_EXPORT_DATA,
+ // map control panels
+ mapControls: DEFAULT_MAP_CONTROLS,
+ // ui notifications
+ notifications: DEFAULT_NOTIFICATIONS
+};
+
/* Updaters */
+/**
+ * Toggle active side panel
+ * @mixin uiStateUpdaters.toggleSidePanelUpdater
+ * @param {Object} state - `uiState`
+ * @param {Object} action
+ * @param {string} action.payload - id of side panel to be shown, one of `layer`, `filter`, `interaction`, `map`
+ * @public
+ */
export const toggleSidePanelUpdater = (state, {payload: id}) => {
if (id === state.activeSidePanel) {
return state;
}
- if (id === LAYER_CONFIG_ID) {
- return {
- ...state,
- currentModal: id
- };
- }
-
return {
...state,
activeSidePanel: id
};
};
+/**
+ * Show and hide modal dialog
+ * @mixin uiStateUpdaters.toggleModalUpdater
+ * @param {Object} state - `uiState`
+ * @param {Object} action
+ * @param {string|null} action.payload - id of modal to be shown, null to hide modals. One of:
+ *
+ * - [`DATA_TABLE_ID`](../constants/default-settings.md#data_table_id)
+ * - [`DELETE_DATA_ID`](../constants/default-settings.md#delete_data_id)
+ * - [`ADD_DATA_ID`](../constants/default-settings.md#add_data_id)
+ * - [`EXPORT_IMAGE_ID`](../constants/default-settings.md#export_image_id)
+ * - [`EXPORT_DATA_ID`](../constants/default-settings.md#export_data_id)
+ * - [`EXPORT_CONFIG_ID`](../constants/default-settings.md#export_config_id)
+ * - [`ADD_MAP_STYLE_ID`](../constants/default-settings.md#add_map_style_id)
+ * @public
+ */
export const toggleModalUpdater = (state, {payload: id}) => ({
...state,
currentModal: id
});
+/**
+ * Hide and show side panel header dropdown, activated by clicking the share link on top of the side panel
+ * @mixin uiStateUpdaters.showExportDropdownUpdater
+ * @param {Object} state - `uiState`
+ * @param {Object} action
+ * @param {string} action.payload - id of the dropdown
+ * @public
+ */
export const showExportDropdownUpdater = (state, {payload: id}) => ({
...state,
visibleDropdown: id
});
-export const hideExportDropdownUpdater = (state, {payload}) => ({
+/**
+ * Hide side panel header dropdown, activated by clicking the share link on top of the side panel
+ * @mixin uiStateUpdaters.hideExportDropdownUpdater
+ * @param {Object} state - `uiState`
+ * @param {*} action
+ * @public
+ */
+export const hideExportDropdownUpdater = (state, action) => ({
...state,
visibleDropdown: null
});
+/**
+ * Toggle active map control panel
+ * @mixin uiStateUpdaters.toggleMapControlUpdater
+ * @param {Object} state - `uiState`
+ * @param {Object} action
+ * @param {string} action.payload - map control panel id, one of the keys of: [`DEFAULT_MAP_CONTROLS`](#default_map_controls)
+ * @public
+ */
export const toggleMapControlUpdater = (state, {payload: panelId}) => ({
...state,
mapControls: {
@@ -66,6 +213,14 @@ export const toggleMapControlUpdater = (state, {payload: panelId}) => ({
}
});
+/**
+ * Toggle active map control panel
+ * @mixin uiStateUpdaters.openDeleteModalUpdater
+ * @param {Object} state - `uiState`
+ * @param {Object} action
+ * @param {string} action.payload - map control panel id, one of the keys of: [`DEFAULT_MAP_CONTROLS`](#default_map_controls)
+ * @public
+ */
export const openDeleteModalUpdater = (
state,
{payload: datasetKeyToRemove}
@@ -75,6 +230,12 @@ export const openDeleteModalUpdater = (
datasetKeyToRemove
});
+/**
+ * set exportImage.legend to true or false
+ * @mixin uiStateUpdaters.toggleLegendUpdater
+ * @param {Object} state - `uiState`
+ * @public
+ */
export const toggleLegendUpdater = state => ({
...state,
exportImage: {
@@ -83,6 +244,14 @@ export const toggleLegendUpdater = state => ({
}
});
+/**
+ * set `exportImage.ratio`
+ * @mixin uiStateUpdaters.setRatioUpdater
+ * @param {Object} state - `uiState`
+ * @param {Object} action
+ * @param {string} action.payload - one of `'SCREEN'`, `'FOUR_BY_THREE'` and `'SIXTEEN_BY_NINE'`
+ * @public
+ */
export const setRatioUpdater = (state, {payload}) => ({
...state,
exportImage: {
@@ -91,6 +260,14 @@ export const setRatioUpdater = (state, {payload}) => ({
}
});
+/**
+ * set `exportImage.resolution`
+ * @mixin uiStateUpdaters.setResolutionUpdater
+ * @param {Object} state - `uiState`
+ * @param {Object} action
+ * @param {string} action.payload - one of `'ONE_X'`, `'TWO_X'`
+ * @public
+ */
export const setResolutionUpdater = (state, {payload}) => ({
...state,
exportImage: {
@@ -99,6 +276,12 @@ export const setResolutionUpdater = (state, {payload}) => ({
}
});
+/**
+ * set `exportImage.exporting` to true
+ * @mixin uiStateUpdaters.setResolutionUpdater
+ * @param {Object} state - `uiState`
+ * @public
+ */
export const startExportingImage = state => ({
...state,
exportImage: {
@@ -108,15 +291,29 @@ export const startExportingImage = state => ({
}
});
-export const setExportImageDataUri = (state, {payload}) => ({
+/**
+ * set `exportImage.setExportImageDataUri` to a dataUri
+ * @mixin uiStateUpdaters.setResolutionUpdater
+ * @param {Object} state - `uiState`
+ * @param {Object} action
+ * @param {string} action.payload - export image data uri
+ * @public
+ */
+export const setExportImageDataUri = (state, {payload: dataUri}) => ({
...state,
exportImage: {
...state.exportImage,
exporting: false,
- imageDataUri: payload.dataUri
+ imageDataUri: dataUri
}
});
+/**
+ * cleanup export image
+ * @mixin uiStateUpdaters.cleanupExportImage
+ * @param {Object} state - `uiState`
+ * @public
+ */
export const cleanupExportImage = state => ({
...state,
exportImage: {
@@ -126,38 +323,60 @@ export const cleanupExportImage = state => ({
}
});
-export const setExportSelectedDatasetUpdater = (state, {payload}) => ({
- ...state,
- exportData: {
- ...state.exportData,
- selectedDataset: payload.dataset
- }
-});
-
-export const setExportDataTypeUpdater = (state, {payload}) => ({
+/**
+ * set selected dataset to export
+ * @mixin uiStateUpdaters.setExportSelectedDatasetUpdater
+ * @param {Object} state - `uiState`
+ * @param {Object} action
+ * @param {string} action.payload - dataset id
+ * @public
+ */
+export const setExportSelectedDatasetUpdater = (state, {payload: dataset}) => ({
...state,
exportData: {
...state.exportData,
- dataType: payload.dataType
+ selectedDataset: dataset
}
});
-export const setExportFilteredUpdater = (state, {payload}) => ({
+/**
+ * set selected dataset to export
+ * @mixin uiStateUpdaters.setExportDataTypeUpdater
+ * @param {Object} state - `uiState`
+ * @param {Object} action
+ * @param {string} action.payload - dataset id
+ * @public
+ */
+export const setExportDataTypeUpdater = (state, {payload: dataType}) => ({
...state,
exportData: {
...state.exportData,
- filtered: payload.filtered
+ dataType
}
});
-export const setExportConfigUpdater = (state, action) => ({
+/**
+ * whether to export filtered data, `true` or `false`
+ * @mixin uiStateUpdaters.setExportFilteredUpdater
+ * @param {Object} state - `uiState`
+ * @param {Object} action
+ * @param {bollean} action.payload
+ * @public
+ */
+export const setExportFilteredUpdater = (state, {payload: filtered}) => ({
...state,
exportData: {
...state.exportData,
- config: !state.exportData.config
+ filtered
}
});
+/**
+ * whether to including data data in map config, toggle between `true` or `false`
+ * @mixin uiStateUpdaters.setExportConfigUpdater
+ * @param {Object} state - `uiState`
+ * @public
+ */
export const setExportDataUpdater = (state, action) => ({
...state,
exportData: {
diff --git a/src/reducers/ui-state.js b/src/reducers/ui-state.js
index 4a7d4b94d..76c24a643 100644
--- a/src/reducers/ui-state.js
+++ b/src/reducers/ui-state.js
@@ -20,13 +20,9 @@
import {handleActions} from 'redux-actions';
import ActionTypes from 'constants/action-types';
+
import {
- ADD_DATA_ID,
- EXPORT_DATA_TYPE,
- RATIOS,
- RESOLUTIONS
-} from 'constants/default-settings';
-import {
+ INITIAL_UI_STATE,
openDeleteModalUpdater,
toggleModalUpdater,
showExportDropdownUpdater,
@@ -48,66 +44,9 @@ import {
setExportSelectedDatasetUpdater,
setExportDataTypeUpdater,
setExportFilteredUpdater,
- setExportConfigUpdater,
setExportDataUpdater
} from './ui-state-updaters';
-export const DEFAULT_ACTIVE_SIDE_PANEL = 'layer';
-export const DEFAULT_MODAL = ADD_DATA_ID;
-
-export const DEFAULT_MAP_CONTROLS = {
- visibleLayers: {
- show: true,
- active: false
- },
- mapLegend: {
- show: true,
- active: false
- },
- toggle3d: {
- show: true
- },
- splitMap: {
- show: true
- }
-};
-
-export const DEFAULT_EXPORT_IMAGE = {
- // user options
- ratio: RATIOS.SCREEN,
- resolution: RESOLUTIONS.ONE_X,
- legend: false,
- // exporting state
- imageDataUri: '',
- exporting: false
-};
-
-export const DEFAULT_EXPORT_DATA = {
- selectedDataset: '',
- dataType: EXPORT_DATA_TYPE.CSV,
- filtered: true,
- config: false, // no longer used, since we removed the option to export config from modal data export
- data: false // this is used in modal config export
-};
-
-export const DEFAULT_NOTIFICATIONS = [];
-
-export const INITIAL_UI_STATE = {
- readOnly: false,
- activeSidePanel: DEFAULT_ACTIVE_SIDE_PANEL,
- currentModal: DEFAULT_MODAL,
- datasetKeyToRemove: null,
- visibleDropdown: null,
- // export image modal ui
- exportImage: DEFAULT_EXPORT_IMAGE,
- // export data modal ui
- exportData: DEFAULT_EXPORT_DATA,
- // map control panels
- mapControls: DEFAULT_MAP_CONTROLS,
- // ui notifications
- notifications: DEFAULT_NOTIFICATIONS
-};
-
const actionHandler = {
[ActionTypes.TOGGLE_SIDE_PANEL]: toggleSidePanelUpdater,
[ActionTypes.TOGGLE_MODAL]: toggleModalUpdater,
@@ -128,7 +67,6 @@ const actionHandler = {
[ActionTypes.SET_EXPORT_SELECTED_DATASET]: setExportSelectedDatasetUpdater,
[ActionTypes.SET_EXPORT_DATA_TYPE]: setExportDataTypeUpdater,
[ActionTypes.SET_EXPORT_FILTERED]: setExportFilteredUpdater,
- [ActionTypes.SET_EXPORT_CONFIG]: setExportConfigUpdater,
[ActionTypes.SET_EXPORT_DATA]: setExportDataUpdater
};
diff --git a/src/reducers/vis-state-updaters.js b/src/reducers/vis-state-updaters.js
index fe12ffa94..c8d2ea690 100644
--- a/src/reducers/vis-state-updaters.js
+++ b/src/reducers/vis-state-updaters.js
@@ -67,6 +67,28 @@ import {processFileToLoad} from '/utils/file-utils';
// disable capture exception for react-palm call to withTask
disableStackCapturing();
+/**
+ * Default initial `visState`
+ * @constant
+ * @type {Object}
+ * @property {Array} layers
+ * @property {Array} layerData
+ * @property {Array} layerToBeMerged
+ * @property {Array} layerOrder
+ * @property {Array} filters
+ * @property {Array} filterToBeMerged
+ * @property {Array} datasets
+ * @property {string} editingDataset
+ * @property {Object} interactionConfig
+ * @property {Object} interactionToBeMerged
+ * @property {string} layerBlending
+ * @property {Object} hoverInfo
+ * @property {Object} clicked
+ * @property {boolean} fileLoading
+ * @property {*} fileLoadingErr
+ * @property {Array} splitMaps - a list of objects of layer availabilities and visibilities for each map
+ * @public
+ */
export const INITIAL_VIS_STATE = {
// layers
layers: [],
@@ -89,6 +111,7 @@ export const INITIAL_VIS_STATE = {
hoverInfo: undefined,
clicked: undefined,
+ // TODO: not used anywhere, delete it
fileLoading: false,
fileLoadingErr: null,
@@ -124,7 +147,7 @@ function updateStateWithLayerAndData(state, {layerData, layer, idx}) {
/**
* Called to update layer base config: dataId, label, column, isVisible
- *
+ * @public
*/
export function layerConfigChangeUpdater(state, action) {
const {oldLayer} = action;
@@ -154,6 +177,10 @@ export function layerConfigChangeUpdater(state, action) {
return updateStateWithLayerAndData(newState, {layer: newLayer, idx});
}
+/**
+ * Update layer type
+ * @public
+ */
export function layerTypeChangeUpdater(state, action) {
const {oldLayer, newType} = action;
const oldId = oldLayer.id;
@@ -200,6 +227,10 @@ export function layerTypeChangeUpdater(state, action) {
return updateStateWithLayerAndData(newState, {layerData, layer, idx});
}
+/**
+ * Update layer visual channel
+ * @public
+ */
export function layerVisualChannelChangeUpdater(state, action) {
const {oldLayer, newConfig, channel} = action;
const dataset = state.datasets[oldLayer.config.dataId];
@@ -217,6 +248,10 @@ export function layerVisualChannelChangeUpdater(state, action) {
return updateStateWithLayerAndData(state, {layerData, layer, idx});
}
+/**
+ * Update layer vis config
+ * @public
+ */
export function layerVisConfigChangeUpdater(state, action) {
const {oldLayer} = action;
const idx = state.layers.findIndex(l => l.id === oldLayer.id);
@@ -245,6 +280,10 @@ export function layerVisConfigChangeUpdater(state, action) {
/* eslint-enable max-statements */
+/**
+ * Update interactionConfig
+ * @public
+ */
export function interactionConfigChangeUpdater(state, action) {
const {config} = action;
@@ -268,6 +307,10 @@ export function interactionConfigChangeUpdater(state, action) {
};
}
+/**
+ * Update filter
+ * @public
+ */
export function setFilterUpdater(state, action) {
const {idx, prop, value} = action;
let newState = state;
@@ -355,6 +398,10 @@ export function setFilterUpdater(state, action) {
return newState;
}
+/**
+ * Update filter plot
+ * @public
+ */
export const setFilterPlotUpdater = (state, {idx, newProp}) => {
let newFilter = {...state.filters[idx], ...newProp};
const prop = Object.keys(newProp)[0];
@@ -379,6 +426,10 @@ export const setFilterPlotUpdater = (state, {idx, newProp}) => {
};
};
+/**
+ * Add filter
+ * @public
+ */
export const addFilterUpdater = (state, action) =>
!action.dataId
? state
@@ -387,6 +438,10 @@ export const addFilterUpdater = (state, action) =>
filters: [...state.filters, getDefaultFilter(action.dataId)]
};
+/**
+ * toggle filter animation
+ * @public
+ */
export const toggleFilterAnimationUpdater = (state, action) => ({
...state,
filters: state.filters.map(
@@ -394,6 +449,10 @@ export const toggleFilterAnimationUpdater = (state, action) => ({
)
});
+/**
+ * update filter animation speed
+ * @public
+ */
export const updateAnimationSpeedUpdater = (state, action) => ({
...state,
filters: state.filters.map(
@@ -401,6 +460,10 @@ export const updateAnimationSpeedUpdater = (state, action) => ({
)
});
+/**
+ * enlarge filter to time playback (apply to time filter only)
+ * @public
+ */
export const enlargeFilterUpdater = (state, action) => {
const isEnlarged = state.filters[action.idx].enlarged;
@@ -413,6 +476,10 @@ export const enlargeFilterUpdater = (state, action) => {
};
};
+/**
+ * remove filter
+ * @public
+ */
export const removeFilterUpdater = (state, action) => {
const {idx} = action;
const {dataId} = state.filters[idx];
@@ -437,6 +504,10 @@ export const removeFilterUpdater = (state, action) => {
return updateAllLayerDomainData(newState, dataId);
};
+/**
+ * add layer
+ * @public
+ */
export const addLayerUpdater = (state, action) => {
const defaultDataset = Object.keys(state.datasets)[0];
const newLayer = new Layer({
@@ -455,6 +526,10 @@ export const addLayerUpdater = (state, action) => {
};
};
+/**
+ * remove layer
+ * @public
+ */
export const removeLayerUpdater = (state, {idx}) => {
const {layers, layerData, clicked, hoverInfo} = state;
const layerToRemove = state.layers[idx];
@@ -476,11 +551,19 @@ export const removeLayerUpdater = (state, {idx}) => {
};
};
+/**
+ * reorder layer, update layerOrder
+ * @public
+ */
export const reorderLayerUpdater = (state, {order}) => ({
...state,
layerOrder: order
});
+/**
+ * remove a dataset and all layers, filters, tooltip configs that based on it
+ * @public
+ */
export const removeDatasetUpdater = (state, action) => {
// extract dataset key
const {key: datasetKey} = action;
@@ -536,11 +619,19 @@ export const removeDatasetUpdater = (state, action) => {
return {...newState, filters, interactionConfig};
};
+/**
+ * update layer blending
+ * @public
+ */
export const updateLayerBlendingUpdater = (state, action) => ({
...state,
layerBlending: action.mode
});
+/**
+ * show dataset table
+ * @public
+ */
export const showDatasetTableUpdater = (state, action) => {
return {
...state,
@@ -548,6 +639,10 @@ export const showDatasetTableUpdater = (state, action) => {
};
};
+/**
+ * reset visState to initial State
+ * @public
+ */
export const resetMapConfigVisStateUpdater = (state, action) => ({
...INITIAL_VIS_STATE,
...state.initialState,
@@ -559,6 +654,7 @@ export const resetMapConfigVisStateUpdater = (state, action) => ({
* @param state
* @param action
* @returns {*}
+ * @public
*/
export const receiveMapConfigUpdater = (state, action) => {
if (!action.payload.visState) {
@@ -588,21 +684,45 @@ export const receiveMapConfigUpdater = (state, action) => {
return mergedState;
};
+/**
+ * update hovered object
+ * @param {*} state
+ * @param {*} action
+ * @public
+ */
export const layerHoverUpdater = (state, action) => ({
...state,
hoverInfo: action.info
});
+/**
+ * update clicked object
+ * @param {*} state
+ * @param {*} action
+ * @public
+ */
export const layerClickUpdater = (state, action) => ({
...state,
clicked: action.info && action.info.picked ? action.info : null
});
+/**
+ * action triggered by clicking on map
+ * @param {*} state
+ * @param {*} action
+ * @public
+ */
export const mapClickUpdater = (state, action) => ({
...state,
clicked: null
});
+/**
+ * toggle split map
+ * @param {*} state
+ * @param {*} action
+ * @public
+ */
export const toggleSplitMapUpdater = (state, action) =>
state.splitMaps && state.splitMaps.length === 0
? {
@@ -619,6 +739,7 @@ export const toggleSplitMapUpdater = (state, action) =>
* the user is interacting wit
* @param state
* @param action
+ * @public
*/
export const setVisibleLayersForMapUpdater = (state, action) => {
const {mapIndex, layerIds} = action;
@@ -665,6 +786,11 @@ export const setVisibleLayersForMapUpdater = (state, action) => {
};
};
+/**
+ * Toggle split map layer visibility
+ * @param {*} state
+ * @param {*} action
+ */
export const toggleLayerForMapUpdater = (state, action) => {
if (!state.splitMaps[action.mapIndex]) {
return state;
@@ -701,6 +827,12 @@ export const toggleLayerForMapUpdater = (state, action) => {
};
};
+/**
+ * Add new datasets
+ * @param {*} state
+ * @param {*} action
+ * @public
+ */
/* eslint-disable max-statements */
export const updateVisDataUpdater = (state, action) => {
// datasets can be a single data entries or an array of multiple data entries
@@ -928,7 +1060,12 @@ function closeSpecificMapAtIndex(state, action) {
};
}
-// TODO: redo write handler to not use tasks
+/**
+ * Trigger file loading dispatch `addDataToMap` if succeed, or `loadFilesErr` if failed
+ * @param {*} state
+ * @param {*} action
+ * @public
+ */
export const loadFilesUpdater = (state, action) => {
const {files} = action;
diff --git a/src/schemas/schema-manager.js b/src/schemas/schema-manager.js
index 89518449d..fb6c9cd3b 100644
--- a/src/schemas/schema-manager.js
+++ b/src/schemas/schema-manager.js
@@ -68,7 +68,7 @@ class KeplerGLSchema {
*
* Get config and data of current map to save
* @param {Object} state
- * @returns {Object | null} app state to save
+ * @returns {{datasets: Object[], config: Object, info: Object}} app state to save
*/
save(state) {
return {
diff --git a/src/utils/dataset-utils.js b/src/utils/dataset-utils.js
index 737da5d30..f191d7462 100644
--- a/src/utils/dataset-utils.js
+++ b/src/utils/dataset-utils.js
@@ -22,8 +22,7 @@ import {hexToRgb} from './color-utils';
import uniq from 'lodash.uniq';
import {TRIP_POINT_FIELDS} from 'constants/default-settings';
import {generateHashId} from './utils';
-import {validateInputData} from 'processors/data-processor'
- ;
+import {validateInputData} from 'processors/data-processor';
// apply a color for each dataset
// to use as label colors
const datasetColors = [
diff --git a/test/node/reducers/map-state-test.js b/test/node/reducers/map-state-test.js
index 82a0893ee..48a812fe3 100644
--- a/test/node/reducers/map-state-test.js
+++ b/test/node/reducers/map-state-test.js
@@ -29,7 +29,8 @@ import {
import {receiveMapConfig} from 'actions/actions';
-import reducer, {mapStateReducerFactory, INITIAL_MAP_STATE} from 'reducers/map-state';
+import reducer, {mapStateReducerFactory} from 'reducers/map-state';
+import {INITIAL_MAP_STATE} from 'reducers/map-state-updaters';
const InitialMapState = reducer(undefined, {});
test('#mapStateReducer', t => {
diff --git a/test/node/reducers/ui-state-test.js b/test/node/reducers/ui-state-test.js
index 5664961d0..b64778779 100644
--- a/test/node/reducers/ui-state-test.js
+++ b/test/node/reducers/ui-state-test.js
@@ -33,7 +33,8 @@ import {
setExportFiltered,
addNotification
} from 'actions/ui-state-actions';
-import reducer, {uiStateReducerFactory, INITIAL_UI_STATE} from 'reducers/ui-state';
+import reducer, {uiStateReducerFactory} from 'reducers/ui-state';
+import {INITIAL_UI_STATE} from 'reducers/ui-state-updaters';
import {RATIOS, RESOLUTIONS, EXPORT_DATA_TYPE} from 'constants/default-settings';
import {DEFAULT_NOTIFICATION_TOPICS, DEFAULT_NOTIFICATION_TYPES} from 'constants/default-settings';
import {removeNotification} from 'actions/ui-state-actions';
@@ -70,15 +71,6 @@ test('#uiStateReducer -> TOGGLE_SIDE_PANEL', t => {
t.deepEqual(newReducer, expectedState, 'should update side panel');
- const nextState = reducer(expectedState, toggleSidePanel('copyConfig'));
-
- const expectedNextState = {
- ...expectedState,
- currentModal: 'copyConfig'
- };
-
- t.deepEqual(nextState, expectedNextState, 'should open copy config');
-
const nextState2 = reducer(expectedState, toggleModal(null));
const expectedNextState2 = {
@@ -188,7 +180,7 @@ test('#uiStateReducer -> TOGGLE_MAP_CONTROL', t => {
test('#uiStateReducer -> SET_EXPORT_SELECTED_DATASET', t => {
- const newReducer = reducer(INITIAL_UI_STATE, setExportSelectedDataset({dataset: 'a'}));
+ const newReducer = reducer(INITIAL_UI_STATE, setExportSelectedDataset('a'));
const expectedState = {
...INITIAL_UI_STATE,
@@ -205,7 +197,7 @@ test('#uiStateReducer -> SET_EXPORT_SELECTED_DATASET', t => {
test('#uiStateReducer -> SET_EXPORT_DATA_TYPE', t => {
- const newReducer = reducer(INITIAL_UI_STATE, setExportDataType({dataType: EXPORT_DATA_TYPE.JSON}));
+ const newReducer = reducer(INITIAL_UI_STATE, setExportDataType(EXPORT_DATA_TYPE.JSON));
const expectedState = {
...INITIAL_UI_STATE,
@@ -222,7 +214,7 @@ test('#uiStateReducer -> SET_EXPORT_DATA_TYPE', t => {
test('#uiStateReducer -> SET_EXPORT_FILTERED', t => {
- const newReducer = reducer(INITIAL_UI_STATE, setExportFiltered({filtered: false}));
+ const newReducer = reducer(INITIAL_UI_STATE, setExportFiltered(false));
const expectedState = {
...INITIAL_UI_STATE,
diff --git a/webpack.config.js b/webpack.config.js
index 6f18a4723..061277157 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -19,12 +19,13 @@
// THE SOFTWARE.
const resolve = require('path').resolve;
+const join = require('path').join;
const SRC_DIR = resolve('./src');
const LIBRARY_BUNDLE_CONFIG = env => ({
entry: {
- KeplerGl: SRC_DIR + '/index.js'
+ KeplerGl: join(SRC_DIR, 'index.js')
},
// Silence warnings about big bundles
diff --git a/website/webpack.config.js b/website/webpack.config.js
index 0e403cdc1..620794a0c 100644
--- a/website/webpack.config.js
+++ b/website/webpack.config.js
@@ -24,46 +24,48 @@ const webpack = require('webpack');
const rootDir = join(__dirname, '..');
const libSources = join(rootDir, 'src');
+import console from 'global/console';
+
const BABEL_CONFIG = {
presets: [
'@babel/preset-env',
'@babel/preset-react'
],
plugins: [
- ["@babel/plugin-proposal-decorators", { "legacy": true }],
- "@babel/plugin-proposal-class-properties",
- ["@babel/transform-runtime", {
- "regenerator": true
+ ['@babel/plugin-proposal-decorators', {legacy: true }],
+ '@babel/plugin-proposal-class-properties',
+ ['@babel/transform-runtime', {
+ regenerator: true
}],
- "@babel/plugin-syntax-dynamic-import",
- "@babel/plugin-syntax-import-meta",
- "@babel/plugin-proposal-json-strings",
- "@babel/plugin-proposal-function-sent",
- "@babel/plugin-proposal-export-namespace-from",
- "@babel/plugin-proposal-numeric-separator",
- "@babel/plugin-proposal-throw-expressions",
- "@babel/plugin-proposal-export-default-from",
- "@babel/plugin-proposal-logical-assignment-operators",
- "@babel/plugin-proposal-optional-chaining",
+ '@babel/plugin-syntax-dynamic-import',
+ '@babel/plugin-syntax-import-meta',
+ '@babel/plugin-proposal-json-strings',
+ '@babel/plugin-proposal-function-sent',
+ '@babel/plugin-proposal-export-namespace-from',
+ '@babel/plugin-proposal-numeric-separator',
+ '@babel/plugin-proposal-throw-expressions',
+ '@babel/plugin-proposal-export-default-from',
+ '@babel/plugin-proposal-logical-assignment-operators',
+ '@babel/plugin-proposal-optional-chaining',
[
- "@babel/plugin-proposal-pipeline-operator",
+ '@babel/plugin-proposal-pipeline-operator',
{
- "proposal": "minimal"
+ proposal: 'minimal'
}
],
- "@babel/plugin-proposal-nullish-coalescing-operator",
- "@babel/plugin-proposal-do-expressions",
- "@babel/plugin-proposal-function-bind",
- "@babel/plugin-transform-modules-commonjs",
- ["inline-json-import", {}],
+ '@babel/plugin-proposal-nullish-coalescing-operator',
+ '@babel/plugin-proposal-do-expressions',
+ '@babel/plugin-proposal-function-bind',
+ '@babel/plugin-transform-modules-commonjs',
+ ['inline-json-import', {}],
[
- "module-resolver",
+ 'module-resolver',
{
- "root": [
- "../src"
+ root: [
+ '../src'
],
- "alias": {
- "test": "../test"
+ alias: {
+ test: '../test'
}
}
]
@@ -75,9 +77,9 @@ const COMMON_CONFIG = {
'./src/main'
],
output: {
- path: resolve(__dirname, "build"),
- filename: "bundle.js",
- publicPath: "/"
+ path: resolve(__dirname, 'build'),
+ filename: 'bundle.js',
+ publicPath: '/'
},
resolve: {
diff --git a/yarn.lock b/yarn.lock
index 12f637b8b..bc575fb40 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -24,7 +24,7 @@
dependencies:
"@babel/highlight" "^7.0.0"
-"@babel/core@^7.0.0":
+"@babel/core@^7.0.0", "@babel/core@^7.1.2":
version "7.2.2"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.2.2.tgz#07adba6dde27bb5ad8d8672f15fde3e08184a687"
dependencies:
@@ -43,11 +43,11 @@
semver "^5.4.1"
source-map "^0.5.0"
-"@babel/generator@^7.2.2":
- version "7.3.0"
- resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.3.0.tgz#f663838cd7b542366de3aa608a657b8ccb2a99eb"
+"@babel/generator@^7.0.0", "@babel/generator@^7.1.3", "@babel/generator@^7.2.2":
+ version "7.3.2"
+ resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.3.2.tgz#fff31a7b2f2f3dad23ef8e01be45b0d5c2fc0132"
dependencies:
- "@babel/types" "^7.3.0"
+ "@babel/types" "^7.3.2"
jsesc "^2.5.1"
lodash "^4.17.10"
source-map "^0.5.0"
@@ -82,8 +82,8 @@
"@babel/types" "^7.0.0"
"@babel/helper-create-class-features-plugin@^7.3.0":
- version "7.3.0"
- resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.3.0.tgz#2b01a81b3adc2b1287f9ee193688ef8dc71e718f"
+ version "7.3.2"
+ resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.3.2.tgz#ba1685603eb1c9f2f51c9106d5180135c163fe73"
dependencies:
"@babel/helper-function-name" "^7.1.0"
"@babel/helper-member-expression-to-functions" "^7.0.0"
@@ -222,9 +222,23 @@
esutils "^2.0.2"
js-tokens "^4.0.0"
+"@babel/node@^7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@babel/node/-/node-7.2.2.tgz#1557dd23545b38d7b1d030a9c0e8fb225dbf70ab"
+ dependencies:
+ "@babel/polyfill" "^7.0.0"
+ "@babel/register" "^7.0.0"
+ commander "^2.8.1"
+ lodash "^4.17.10"
+ v8flags "^3.1.1"
+
+ version "7.1.3"
+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.1.3.tgz#2c92469bac2b7fbff810b67fca07bd138b48af77"
+
"@babel/parser@^7.0.0", "@babel/parser@^7.2.2", "@babel/parser@^7.2.3":
- version "7.3.1"
- resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.3.1.tgz#8f4ffd45f779e6132780835ffa7a215fa0b2d181"
+ version "7.3.2"
+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.3.2.tgz#95cdeddfc3992a6ca2a1315191c1679ca32c55cd"
"@babel/plugin-proposal-async-generator-functions@^7.2.0":
version "7.2.0"
@@ -234,14 +248,14 @@
"@babel/helper-remap-async-to-generator" "^7.1.0"
"@babel/plugin-syntax-async-generators" "^7.2.0"
-"@babel/plugin-proposal-class-properties@^7.3.0":
+"@babel/plugin-proposal-class-properties@^7.1.0", "@babel/plugin-proposal-class-properties@^7.3.0":
version "7.3.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.3.0.tgz#272636bc0fa19a0bc46e601ec78136a173ea36cd"
dependencies:
"@babel/helper-create-class-features-plugin" "^7.3.0"
"@babel/helper-plugin-utils" "^7.0.0"
-"@babel/plugin-proposal-decorators@^7.3.0":
+"@babel/plugin-proposal-decorators@^7.1.2", "@babel/plugin-proposal-decorators@^7.3.0":
version "7.3.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.3.0.tgz#637ba075fa780b1f75d08186e8fb4357d03a72a7"
dependencies:
@@ -263,7 +277,7 @@
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-export-default-from" "^7.2.0"
-"@babel/plugin-proposal-export-namespace-from@^7.2.0":
+"@babel/plugin-proposal-export-namespace-from@^7.0.0", "@babel/plugin-proposal-export-namespace-from@^7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.2.0.tgz#308fd4d04ff257fc3e4be090550840eeabad5dd9"
dependencies:
@@ -277,7 +291,7 @@
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-function-bind" "^7.2.0"
-"@babel/plugin-proposal-function-sent@^7.0.0":
+"@babel/plugin-proposal-function-sent@^7.0.0", "@babel/plugin-proposal-function-sent@^7.1.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-function-sent/-/plugin-proposal-function-sent-7.2.0.tgz#f707d78551f49162e152d477fba32357341915d1"
dependencies:
@@ -314,8 +328,8 @@
"@babel/plugin-syntax-numeric-separator" "^7.2.0"
"@babel/plugin-proposal-object-rest-spread@^7.3.1":
- version "7.3.1"
- resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.3.1.tgz#f69fb6a1ea6a4e1c503994a91d9cf76f3c4b36e8"
+ version "7.3.2"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.3.2.tgz#6d1859882d4d778578e41f82cc5d7bf3d5daf6c1"
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-object-rest-spread" "^7.2.0"
@@ -335,8 +349,8 @@
"@babel/plugin-syntax-optional-chaining" "^7.2.0"
"@babel/plugin-proposal-pipeline-operator@^7.0.0":
- version "7.3.0"
- resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-pipeline-operator/-/plugin-proposal-pipeline-operator-7.3.0.tgz#9090ba23c957ced56856e52886068a91ed694b57"
+ version "7.3.2"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-pipeline-operator/-/plugin-proposal-pipeline-operator-7.3.2.tgz#cc6be43c8455422f2faca39b9355558f0bff5a3f"
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-pipeline-operator" "^7.3.0"
@@ -392,6 +406,12 @@
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
+"@babel/plugin-syntax-flow@^7.2.0":
+ version "7.2.0"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.2.0.tgz#a765f061f803bc48f240c26f8747faf97c26bf7c"
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.0.0"
+
"@babel/plugin-syntax-function-bind@^7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-function-bind/-/plugin-syntax-function-bind-7.2.0.tgz#68fe85b0c0da67125f87bf239c68051b06c66309"
@@ -517,8 +537,8 @@
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-destructuring@^7.2.0":
- version "7.2.0"
- resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.2.0.tgz#e75269b4b7889ec3a332cd0d0c8cff8fed0dc6f3"
+ version "7.3.2"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.3.2.tgz#f2f5520be055ba1c38c41c0e094d8a461dd78f2d"
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -543,6 +563,13 @@
"@babel/helper-builder-binary-assignment-operator-visitor" "^7.1.0"
"@babel/helper-plugin-utils" "^7.0.0"
+"@babel/plugin-transform-flow-strip-types@^7.0.0":
+ version "7.2.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.2.3.tgz#e3ac2a594948454e7431c7db33e1d02d51b5cd69"
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.0.0"
+ "@babel/plugin-syntax-flow" "^7.2.0"
+
"@babel/plugin-transform-for-of@^7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.2.0.tgz#ab7468befa80f764bb03d3cb5eef8cc998e1cad9"
@@ -708,7 +735,7 @@
core-js "^2.5.7"
regenerator-runtime "^0.12.0"
-"@babel/preset-env@^7.0.0":
+"@babel/preset-env@^7.0.0", "@babel/preset-env@^7.1.0":
version "7.3.1"
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.3.1.tgz#389e8ca6b17ae67aaf9a2111665030be923515db"
dependencies:
@@ -756,6 +783,13 @@
js-levenshtein "^1.1.3"
semver "^5.3.0"
+"@babel/preset-flow@^7.0.0":
+ version "7.0.0"
+ resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.0.0.tgz#afd764835d9535ec63d8c7d4caf1c06457263da2"
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.0.0"
+ "@babel/plugin-transform-flow-strip-types" "^7.0.0"
+
"@babel/preset-react@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.0.0.tgz#e86b4b3d99433c7b3e9e91747e2653958bc6b3c0"
@@ -766,6 +800,10 @@
"@babel/plugin-transform-react-jsx-self" "^7.0.0"
"@babel/plugin-transform-react-jsx-source" "^7.0.0"
+"@babel/preset-stage-0@^7.0.0":
+ version "7.0.0"
+ resolved "https://registry.yarnpkg.com/@babel/preset-stage-0/-/preset-stage-0-7.0.0.tgz#999aaec79ee8f0a763042c68c06539c97c6e0646"
+
"@babel/register@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.0.0.tgz#fa634bae1bfa429f60615b754fc1f1d745edd827"
@@ -779,12 +817,12 @@
source-map-support "^0.5.9"
"@babel/runtime@^7.0.0":
- version "7.3.1"
- resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.3.1.tgz#574b03e8e8a9898eaf4a872a92ea20b7846f6f2a"
+ version "7.2.0"
+ resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.2.0.tgz#b03e42eeddf5898e00646e4c840fa07ba8dcad7f"
dependencies:
regenerator-runtime "^0.12.0"
-"@babel/template@^7.1.0", "@babel/template@^7.1.2", "@babel/template@^7.2.2":
+"@babel/template@^7.0.0", "@babel/template@^7.1.0", "@babel/template@^7.1.2", "@babel/template@^7.2.2":
version "7.2.2"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.2.2.tgz#005b3fdf0ed96e88041330379e0da9a708eb2907"
dependencies:
@@ -792,7 +830,7 @@
"@babel/parser" "^7.2.2"
"@babel/types" "^7.2.2"
-"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.1.5", "@babel/traverse@^7.2.2", "@babel/traverse@^7.2.3":
+"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.1.4", "@babel/traverse@^7.1.5", "@babel/traverse@^7.2.2", "@babel/traverse@^7.2.3":
version "7.2.3"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.2.3.tgz#7ff50cefa9c7c0bd2d81231fdac122f3957748d8"
dependencies:
@@ -806,17 +844,17 @@
globals "^11.1.0"
lodash "^4.17.10"
-"@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0":
- version "7.3.0"
- resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.3.0.tgz#61dc0b336a93badc02bf5f69c4cd8e1353f2ffc0"
+"@babel/types@^7.0.0", "@babel/types@^7.1.3", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0", "@babel/types@^7.3.2":
+ version "7.3.2"
+ resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.3.2.tgz#424f5be4be633fff33fb83ab8d67e4a8290f5a2f"
dependencies:
esutils "^2.0.2"
lodash "^4.17.10"
to-fast-properties "^2.0.0"
-"@deck.gl/core@^6.3.0", "@deck.gl/core@^6.3.9":
- version "6.3.9"
- resolved "https://registry.yarnpkg.com/@deck.gl/core/-/core-6.3.9.tgz#97bb52f292253f02559941de7b4eb88f78deed43"
+"@deck.gl/core@^6.3.0", "@deck.gl/core@^6.3.3":
+ version "6.3.3"
+ resolved "https://registry.yarnpkg.com/@deck.gl/core/-/core-6.3.3.tgz#416fb380c8db1d4882ae7563a953ac71af1641a7"
dependencies:
luma.gl "^6.3.0"
math.gl "^2.2.0"
@@ -833,18 +871,18 @@
"@deck.gl/layers" "^6.3.0"
"@deck.gl/layers@^6.3.0":
- version "6.3.9"
- resolved "https://registry.yarnpkg.com/@deck.gl/layers/-/layers-6.3.9.tgz#75fd5f860c579f5d60f759d929f411c3d27484dd"
+ version "6.3.3"
+ resolved "https://registry.yarnpkg.com/@deck.gl/layers/-/layers-6.3.3.tgz#99f92706d709381e668f2c4848de694c1938aaf0"
dependencies:
- "@deck.gl/core" "^6.3.9"
+ "@deck.gl/core" "^6.3.3"
d3-hexbin "^0.2.1"
earcut "^2.0.6"
"@deck.gl/react@^6.3.0":
- version "6.3.9"
- resolved "https://registry.yarnpkg.com/@deck.gl/react/-/react-6.3.9.tgz#7c4344b1aec130c4f7629925c84ae757e062a29b"
+ version "6.3.3"
+ resolved "https://registry.yarnpkg.com/@deck.gl/react/-/react-6.3.3.tgz#18b681dbb0fc7a070cd590188f12421c11bce4ec"
dependencies:
- "@deck.gl/core" "^6.3.9"
+ "@deck.gl/core" "^6.3.3"
prop-types "^15.6.0"
"@mapbox/[email protected]":
@@ -1112,14 +1150,18 @@ acorn-walk@^6.0.1, acorn-walk@^6.1.0:
version "6.1.1"
resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-6.1.1.tgz#d363b66f5fac5f018ff9c3a1e7b6f8e310cc3913"
-acorn@^5.0.0, acorn@^5.5.3:
+acorn@^5.0.0, acorn@^5.2.1, acorn@^5.5.3:
version "5.7.3"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279"
-acorn@^6.0.1, acorn@^6.0.2, acorn@^6.0.5:
+acorn@^6.0.1, acorn@^6.0.2:
version "6.0.5"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.0.5.tgz#81730c0815f3f3b34d8efa95cb7430965f4d887a"
+acorn@^6.0.5:
+ version "6.1.0"
+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.1.0.tgz#b0a3be31752c97a0f7013c5f4903b71a05db6818"
+
agent-base@^4.1.0:
version "4.2.1"
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9"
@@ -1151,12 +1193,21 @@ ajv-errors@^1.0.0:
resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d"
ajv-keywords@^3.1.0:
- version "3.2.0"
- resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.2.0.tgz#e86b819c602cf8821ad637413698f1dec021847a"
+ version "3.4.0"
+ resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.4.0.tgz#4b831e7b531415a7cc518cd404e73f6193c6349d"
-ajv@^6.1.0, ajv@^6.5.3, ajv@^6.5.5, ajv@^6.6.1:
- version "6.7.0"
- resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.7.0.tgz#e3ce7bb372d6577bb1839f1dfdfcbf5ad2948d96"
+ajv@^6.1.0, ajv@^6.5.3, ajv@^6.9.1:
+ version "6.9.1"
+ resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.9.1.tgz#a4d3683d74abc5670e75f0b16520f70a20ea8dc1"
+ dependencies:
+ fast-deep-equal "^2.0.1"
+ fast-json-stable-stringify "^2.0.0"
+ json-schema-traverse "^0.4.1"
+ uri-js "^4.2.2"
+
+ajv@^6.5.5:
+ version "6.6.2"
+ resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.6.2.tgz#caceccf474bf3fc3ce3b147443711a24063cc30d"
dependencies:
fast-deep-equal "^2.0.1"
fast-json-stable-stringify "^2.0.0"
@@ -1177,11 +1228,11 @@ ansi-colors@^3.0.0:
version "3.2.3"
resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.3.tgz#57d35b8686e851e2cc04c403f1c00203976a1813"
-ansi-escapes@^3.0.0:
- version "3.1.0"
- resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.1.0.tgz#f73207bb81207d75fd6c83f125af26eea378ca30"
+ansi-escapes@^3.2.0:
+ version "3.2.0"
+ resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b"
[email protected], ansi-html@^0.0.7:
version "0.0.7"
resolved "https://registry.yarnpkg.com/ansi-html/-/ansi-html-0.0.7.tgz#813584021962a9e9e6fd039f940d12f56ca7859e"
@@ -1197,7 +1248,7 @@ ansi-regex@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.0.0.tgz#70de791edf021404c3fd615aa89118ae0432e5a9"
-ansi-styles@^2.2.1:
+ansi-styles@^2.0.1, ansi-styles@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
@@ -1225,6 +1276,12 @@ anymatch@^2.0.0:
micromatch "^3.1.4"
normalize-path "^2.1.1"
+append-buffer@^1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/append-buffer/-/append-buffer-1.0.2.tgz#d8220cf466081525efea50614f3de6514dfa58f1"
+ dependencies:
+ buffer-equal "^1.0.0"
+
append-transform@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991"
@@ -1382,7 +1439,7 @@ astral-regex@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9"
-async-each@^1.0.0:
+async-each@^1.0.0, async-each@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d"
@@ -1522,18 +1579,17 @@ babel-plugin-inline-json-import@^0.2.1:
dependencies:
decache "^4.1.0"
-babel-plugin-istanbul@^4.1.4:
- version "4.1.6"
- resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.6.tgz#36c59b2192efce81c5b378321b74175add1c9a45"
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-5.1.1.tgz#7981590f1956d75d67630ba46f0c22493588c893"
dependencies:
- babel-plugin-syntax-object-rest-spread "^6.13.0"
- find-up "^2.1.0"
- istanbul-lib-instrument "^1.10.1"
- test-exclude "^4.2.1"
+ find-up "^3.0.0"
+ istanbul-lib-instrument "^3.0.0"
+ test-exclude "^5.0.0"
babel-plugin-module-resolver@^3.0.0:
- version "3.1.3"
- resolved "https://registry.yarnpkg.com/babel-plugin-module-resolver/-/babel-plugin-module-resolver-3.1.3.tgz#5a1c148bf528d20907ed508b70ae3c4762e78c8d"
+ version "3.1.1"
+ resolved "https://registry.yarnpkg.com/babel-plugin-module-resolver/-/babel-plugin-module-resolver-3.1.1.tgz#881cf67e3d4b8400d5eaaefc1be44d2dc1fe404f"
dependencies:
find-babel-config "^1.1.0"
glob "^7.1.2"
@@ -1541,7 +1597,7 @@ babel-plugin-module-resolver@^3.0.0:
reselect "^3.0.1"
resolve "^1.4.0"
-babel-plugin-syntax-object-rest-spread@^6.13.0, babel-plugin-syntax-object-rest-spread@^6.8.0:
+babel-plugin-syntax-object-rest-spread@^6.8.0:
version "6.13.0"
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5"
@@ -1701,6 +1757,15 @@ [email protected]:
raw-body "2.3.3"
type-is "~1.6.16"
+body@^5.1.0:
+ version "5.1.0"
+ resolved "https://registry.yarnpkg.com/body/-/body-5.1.0.tgz#e4ba0ce410a46936323367609ecb4e6553125069"
+ dependencies:
+ continuable-cache "^0.3.1"
+ error "^7.0.0"
+ raw-body "~1.1.0"
+ safe-json-parse "~1.0.1"
+
bonjour@^3.5.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/bonjour/-/bonjour-3.5.0.tgz#8e890a183d8ee9a2393b3844c691a42bcf7bc9f5"
@@ -1745,7 +1810,7 @@ braces@^1.8.2:
preserve "^0.2.0"
repeat-element "^1.1.2"
-braces@^2.3.0, braces@^2.3.1:
+braces@^2.3.0, braces@^2.3.1, braces@^2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729"
dependencies:
@@ -1912,6 +1977,10 @@ [email protected]:
version "0.0.1"
resolved "https://registry.yarnpkg.com/buffer-equal/-/buffer-equal-0.0.1.tgz#91bc74b11ea405bc916bc6aa908faafa5b4aac4b"
+buffer-equal@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/buffer-equal/-/buffer-equal-1.0.0.tgz#59616b498304d556abd466966b22eeda3eca5fbe"
+
buffer-from@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"
@@ -1920,6 +1989,10 @@ buffer-indexof@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/buffer-indexof/-/buffer-indexof-1.1.1.tgz#52fabcc6a606d1a00302802648ef68f639da268c"
+buffer-shims@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51"
+
buffer-xor@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9"
@@ -1947,6 +2020,10 @@ builtin-status-codes@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8"
+bytes@1:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/bytes/-/bytes-1.0.0.tgz#3569ede8ba34315fab99c3e92cb04c7220de1fa8"
+
version "3.0.0"
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048"
@@ -2017,8 +2094,8 @@ camelcase@^5.0.0:
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.0.0.tgz#03295527d58bd3cd4aa75363f35b2e8d97be2f42"
caniuse-lite@^1.0.30000929:
- version "1.0.30000930"
- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000930.tgz#c238bab82bedb462bcbdc61d0334932dcc084d8a"
+ version "1.0.30000936"
+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000936.tgz#5d33b118763988bf721b9b8ad436d0400e4a116b"
capture-stack-trace@^1.0.0:
version "1.0.1"
@@ -2035,6 +2112,10 @@ caseless@~0.12.0:
version "0.12.0"
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
+ccount@^1.0.0:
+ version "1.0.3"
+ resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.0.3.tgz#f1cec43f332e2ea5a569fd46f9f5bde4e6102aff"
+
chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
@@ -2045,7 +2126,7 @@ chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3:
strip-ansi "^3.0.0"
supports-color "^2.0.0"
-chalk@^2.0.0, chalk@^2.1.0, chalk@^2.4.1:
+chalk@^2.0.0, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.4.1, chalk@^2.4.2:
version "2.4.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
dependencies:
@@ -2053,6 +2134,10 @@ chalk@^2.0.0, chalk@^2.1.0, chalk@^2.4.1:
escape-string-regexp "^1.0.5"
supports-color "^5.3.0"
+character-entities-html4@^1.0.0:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/character-entities-html4/-/character-entities-html4-1.1.2.tgz#c44fdde3ce66b52e8d321d6c1bf46101f0150610"
+
character-entities-legacy@^1.0.0:
version "1.1.2"
resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-1.1.2.tgz#7c6defb81648498222c9855309953d05f4d63a9c"
@@ -2095,7 +2180,7 @@ chokidar@^1.0.0:
optionalDependencies:
fsevents "^1.0.0"
-chokidar@^2.0.0, chokidar@^2.0.2, chokidar@^2.0.3:
+chokidar@^2.0.0, chokidar@^2.0.2:
version "2.0.4"
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.0.4.tgz#356ff4e2b0e8e43e322d18a372460bbcf3accd26"
dependencies:
@@ -2114,6 +2199,24 @@ chokidar@^2.0.0, chokidar@^2.0.2, chokidar@^2.0.3:
optionalDependencies:
fsevents "^1.2.2"
+chokidar@^2.0.3, chokidar@^2.0.4:
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.1.tgz#adc39ad55a2adf26548bd2afa048f611091f9184"
+ dependencies:
+ anymatch "^2.0.0"
+ async-each "^1.0.1"
+ braces "^2.3.2"
+ glob-parent "^3.1.0"
+ inherits "^2.0.3"
+ is-binary-path "^1.0.0"
+ is-glob "^4.0.0"
+ normalize-path "^3.0.0"
+ path-is-absolute "^1.0.0"
+ readdirp "^2.2.1"
+ upath "^1.1.0"
+ optionalDependencies:
+ fsevents "^1.2.7"
+
chownr@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.1.tgz#54726b8b8fff4df053c42187e801fb4412df1494"
@@ -2182,6 +2285,14 @@ cli-width@^2.0.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"
+cliui@^3.2.0:
+ version "3.2.0"
+ resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d"
+ dependencies:
+ string-width "^1.0.1"
+ strip-ansi "^3.0.1"
+ wrap-ansi "^2.0.0"
+
cliui@^4.0.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49"
@@ -2190,11 +2301,31 @@ cliui@^4.0.0:
strip-ansi "^4.0.0"
wrap-ansi "^2.0.0"
+clone-buffer@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58"
+
+clone-stats@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz#b3782dff8bb5474e18b9b6bf0fdfe782f8777680"
+
+clone@^2.1.1:
+ version "2.1.2"
+ resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f"
+
+cloneable-readable@^1.0.0:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.1.2.tgz#d591dee4a8f8bc15da43ce97dceeba13d43e2a65"
+ dependencies:
+ inherits "^2.0.1"
+ process-nextick-args "^2.0.0"
+ readable-stream "^2.3.5"
+
code-point-at@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
-collapse-white-space@^1.0.2:
+collapse-white-space@^1.0.0, collapse-white-space@^1.0.2:
version "1.0.4"
resolved "https://registry.yarnpkg.com/collapse-white-space/-/collapse-white-space-1.0.4.tgz#ce05cf49e54c3277ae573036a26851ba430a0091"
@@ -2238,6 +2369,12 @@ combined-stream@^1.0.6, combined-stream@~1.0.6:
dependencies:
delayed-stream "~1.0.0"
+comma-separated-tokens@^1.0.1:
+ version "1.0.5"
+ resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.5.tgz#b13793131d9ea2d2431cf5b507ddec258f0ce0db"
+ dependencies:
+ trim "0.0.1"
+
commander@2, commander@^2.11.0, commander@^2.19.0, commander@^2.8.1, commander@^2.9.0:
version "2.19.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a"
@@ -2333,7 +2470,11 @@ content-type@~1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
-convert-source-map@^1.1.0, convert-source-map@^1.5.1:
+continuable-cache@^0.3.1:
+ version "0.3.1"
+ resolved "https://registry.yarnpkg.com/continuable-cache/-/continuable-cache-0.3.1.tgz#bd727a7faed77e71ff3985ac93351a912733ad0f"
+
+convert-source-map@^1.1.0, convert-source-map@^1.5.0, convert-source-map@^1.5.1:
version "1.6.0"
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.6.0.tgz#51b537a8c43e0f04dec1993bffcdd504e758ac20"
dependencies:
@@ -2370,9 +2511,13 @@ core-js@^1.0.0:
version "1.2.7"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636"
-core-js@^2.4.0, core-js@^2.5.0, core-js@^2.5.7:
- version "2.6.3"
- resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.3.tgz#4b70938bdffdaf64931e66e2db158f0892289c49"
+core-js@^2.4.0, core-js@^2.5.0:
+ version "2.6.1"
+ resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.1.tgz#87416ae817de957a3f249b3b5ca475d4aaed6042"
+
+core-js@^2.5.7:
+ version "2.6.4"
+ resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.4.tgz#b8897c062c4d769dd30a0ac5c73976c47f92ea0d"
[email protected], core-util-is@~1.0.0:
version "1.0.2"
@@ -2617,12 +2762,12 @@ d3-scale@^1.0.5, d3-scale@^1.0.6:
d3-time-format "2"
d3-selection@1, d3-selection@^1.1.0:
- version "1.4.0"
- resolved "https://registry.yarnpkg.com/d3-selection/-/d3-selection-1.4.0.tgz#ab9ac1e664cf967ebf1b479cc07e28ce9908c474"
+ version "1.3.2"
+ resolved "https://registry.yarnpkg.com/d3-selection/-/d3-selection-1.3.2.tgz#6e70a9df60801c8af28ac24d10072d82cbfdf652"
d3-shape@^1.1.0, d3-shape@^1.2.0:
- version "1.3.3"
- resolved "https://registry.yarnpkg.com/d3-shape/-/d3-shape-1.3.3.tgz#b136e6caa9374034b5946bbd414aaa54a39087c3"
+ version "1.2.2"
+ resolved "https://registry.yarnpkg.com/d3-shape/-/d3-shape-1.2.2.tgz#f9dba3777a5825f9a8ce8bc928da08c17679e9a7"
dependencies:
d3-path "1"
@@ -2679,6 +2824,10 @@ date-now@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
+de-indent@^1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d"
+
debug-log@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/debug-log/-/debug-log-1.0.1.tgz#2307632d4c04382b8df8a32f70b895046d52745f"
@@ -2708,8 +2857,8 @@ debug@^4.0.1, debug@^4.1.0:
ms "^2.1.1"
decache@^4.1.0:
- version "4.5.1"
- resolved "https://registry.yarnpkg.com/decache/-/decache-4.5.1.tgz#94a977a88a4188672c96550ec4889582ceecdf49"
+ version "4.5.0"
+ resolved "https://registry.yarnpkg.com/decache/-/decache-4.5.0.tgz#8709b1ccbe5a4ddcadfba42abff7e6abbbebc76b"
dependencies:
callsite "^1.0.0"
@@ -2832,6 +2981,12 @@ destroy@~1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80"
+detab@^2.0.0:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/detab/-/detab-2.0.1.tgz#531f5e326620e2fd4f03264a905fb3bcc8af4df4"
+ dependencies:
+ repeat-string "^1.5.4"
+
detect-file@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7"
@@ -2850,6 +3005,13 @@ detect-node@^2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.0.4.tgz#014ee8f8f669c5c58023da64b8179c083a28c46c"
+detective@^4.0.0:
+ version "4.7.1"
+ resolved "https://registry.yarnpkg.com/detective/-/detective-4.7.1.tgz#0eca7314338442febb6d65da54c10bb1c82b246e"
+ dependencies:
+ acorn "^5.2.1"
+ defined "^1.0.0"
+
detective@^5.0.2:
version "5.1.0"
resolved "https://registry.yarnpkg.com/detective/-/detective-5.1.0.tgz#7a20d89236d7b331ccea65832e7123b5551bb7cb"
@@ -2858,6 +3020,10 @@ detective@^5.0.2:
defined "^1.0.0"
minimist "^1.1.1"
+diff@^1.3.2:
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/diff/-/diff-1.4.0.tgz#7f28d2eb9ee7b15a97efd89ce63dcfdaa3ccbabf"
+
diff@^3.1.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
@@ -2874,6 +3040,13 @@ [email protected]:
version "1.0.0"
resolved "https://registry.yarnpkg.com/discontinuous-range/-/discontinuous-range-1.0.0.tgz#e38331f0844bba49b9a9cb71c771585aab1bc65a"
+disparity@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/disparity/-/disparity-2.0.0.tgz#57ddacb47324ae5f58d2cc0da886db4ce9eeb718"
+ dependencies:
+ ansi-styles "^2.0.1"
+ diff "^1.3.2"
+
dns-equal@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d"
@@ -2891,6 +3064,12 @@ dns-txt@^2.0.2:
dependencies:
buffer-indexof "^1.0.0"
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/doctrine-temporary-fork/-/doctrine-temporary-fork-2.0.1.tgz#23f0b6275c65f48893324b02338178e496b2e4bf"
+ dependencies:
+ esutils "^2.0.2"
+
doctrine@^1.2.2:
version "1.5.0"
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa"
@@ -2904,6 +3083,76 @@ doctrine@^2.1.0:
dependencies:
esutils "^2.0.2"
+documentation@^9.1.1:
+ version "9.1.1"
+ resolved "https://registry.yarnpkg.com/documentation/-/documentation-9.1.1.tgz#20da422be82a04a2d356d720d55d4cad25bb235b"
+ dependencies:
+ "@babel/core" "^7.1.2"
+ "@babel/generator" "^7.1.3"
+ "@babel/parser" "7.1.3"
+ "@babel/plugin-proposal-class-properties" "^7.1.0"
+ "@babel/plugin-proposal-decorators" "^7.1.2"
+ "@babel/plugin-proposal-do-expressions" "^7.0.0"
+ "@babel/plugin-proposal-export-default-from" "^7.0.0"
+ "@babel/plugin-proposal-export-namespace-from" "^7.0.0"
+ "@babel/plugin-proposal-function-bind" "^7.0.0"
+ "@babel/plugin-proposal-function-sent" "^7.1.0"
+ "@babel/plugin-proposal-json-strings" "^7.0.0"
+ "@babel/plugin-proposal-logical-assignment-operators" "^7.0.0"
+ "@babel/plugin-proposal-nullish-coalescing-operator" "^7.0.0"
+ "@babel/plugin-proposal-numeric-separator" "^7.0.0"
+ "@babel/plugin-proposal-optional-chaining" "^7.0.0"
+ "@babel/plugin-proposal-pipeline-operator" "^7.0.0"
+ "@babel/plugin-proposal-throw-expressions" "^7.0.0"
+ "@babel/plugin-syntax-dynamic-import" "^7.0.0"
+ "@babel/plugin-syntax-import-meta" "^7.0.0"
+ "@babel/preset-env" "^7.1.0"
+ "@babel/preset-flow" "^7.0.0"
+ "@babel/preset-react" "^7.0.0"
+ "@babel/preset-stage-0" "^7.0.0"
+ "@babel/traverse" "^7.1.4"
+ "@babel/types" "^7.1.3"
+ ansi-html "^0.0.7"
+ babelify "^10.0.0"
+ chalk "^2.3.0"
+ chokidar "^2.0.4"
+ concat-stream "^1.6.0"
+ disparity "^2.0.0"
+ doctrine-temporary-fork "2.0.1"
+ get-port "^4.0.0"
+ git-url-parse "^10.0.1"
+ github-slugger "1.2.0"
+ glob "^7.1.2"
+ globals-docs "^2.4.0"
+ highlight.js "^9.12.0"
+ js-yaml "^3.10.0"
+ lodash "^4.17.10"
+ mdast-util-inject "^1.1.0"
+ micromatch "^3.1.5"
+ mime "^2.2.0"
+ module-deps-sortable "5.0.0"
+ parse-filepath "^1.0.2"
+ pify "^4.0.0"
+ read-pkg-up "^4.0.0"
+ remark "^9.0.0"
+ remark-html "^8.0.0"
+ remark-reference-links "^4.0.1"
+ remark-toc "^5.0.0"
+ remote-origin-url "0.4.0"
+ resolve "^1.8.1"
+ stream-array "^1.1.2"
+ strip-json-comments "^2.0.1"
+ tiny-lr "^1.1.0"
+ unist-builder "^1.0.2"
+ unist-util-visit "^1.3.0"
+ vfile "^3.0.0"
+ vfile-reporter "^5.0.0"
+ vfile-sort "^2.1.0"
+ vinyl "^2.1.0"
+ vinyl-fs "^3.0.2"
+ vue-template-compiler "^2.5.16"
+ yargs "^9.0.1"
+
dom-serializer@0, dom-serializer@~0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780ce23be4a28e293e40bc30c82"
@@ -2969,7 +3218,16 @@ duplexer@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1"
-duplexify@^3.4.2, duplexify@^3.6.0:
+duplexify@^3.4.2:
+ version "3.7.1"
+ resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309"
+ dependencies:
+ end-of-stream "^1.0.0"
+ inherits "^2.0.1"
+ readable-stream "^2.0.0"
+ stream-shift "^1.0.0"
+
+duplexify@^3.6.0:
version "3.6.1"
resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.6.1.tgz#b1a7a29c4abfd639585efaecce80d666b1e34125"
dependencies:
@@ -2994,8 +3252,8 @@ [email protected]:
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
electron-to-chromium@^1.3.103:
- version "1.3.106"
- resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.106.tgz#672183160e783cb546cff83d9a98d5f69cd91874"
+ version "1.3.113"
+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.113.tgz#b1ccf619df7295aea17bc6951dc689632629e4a9"
elliptic@^6.0.0:
version "6.4.1"
@@ -3009,6 +3267,14 @@ elliptic@^6.0.0:
minimalistic-assert "^1.0.0"
minimalistic-crypto-utils "^1.0.0"
+"emoji-regex@>=6.0.0 <=6.1.1":
+ version "6.1.1"
+ resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-6.1.1.tgz#c6cd0ec1b0642e2a3c67a1137efc5e796da4f88e"
+
+emoji-regex@^7.0.1:
+ version "7.0.3"
+ resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156"
+
emojis-list@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389"
@@ -3042,35 +3308,34 @@ entities@^1.1.1, entities@~1.1.1:
resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56"
enzyme-adapter-react-15.4@^1.0.5:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/enzyme-adapter-react-15.4/-/enzyme-adapter-react-15.4-1.3.0.tgz#031548c2bc61fb8f8b628865f7a74b80360e25c8"
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/enzyme-adapter-react-15.4/-/enzyme-adapter-react-15.4-1.2.0.tgz#2215276288c5d2ba56a2985c27409e27f782186b"
dependencies:
- enzyme-adapter-react-helper "^1.3.2"
- enzyme-adapter-utils "^1.10.0"
+ enzyme-adapter-react-helper "^1.3.0"
+ enzyme-adapter-utils "^1.9.0"
object.assign "^4.1.0"
- object.values "^1.1.0"
+ object.values "^1.0.4"
prop-types "^15.6.2"
- react-is "^16.7.0"
+ react-is "^16.6.1"
-enzyme-adapter-react-helper@^1.3.2:
- version "1.3.2"
- resolved "https://registry.yarnpkg.com/enzyme-adapter-react-helper/-/enzyme-adapter-react-helper-1.3.2.tgz#4e97a5fd8ae5ffaecef9a93648258b5364af869e"
+enzyme-adapter-react-helper@^1.3.0:
+ version "1.3.1"
+ resolved "https://registry.yarnpkg.com/enzyme-adapter-react-helper/-/enzyme-adapter-react-helper-1.3.1.tgz#11afe1afe9042972ee8e4c64f0a8803a29bdfe13"
dependencies:
airbnb-js-shims "^2.1.1"
- install-peerdeps "^1.10.2"
+ install-peerdeps "^1.8.0"
npm-run "^5.0.1"
object.assign "^4.1.0"
object.getownpropertydescriptors "^2.0.3"
- rimraf "^2.6.3"
- semver "^5.6.0"
+ rimraf "^2.6.2"
+ semver "^5.5.1"
-enzyme-adapter-utils@^1.10.0, enzyme-adapter-utils@^1.5.0:
- version "1.10.0"
- resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.10.0.tgz#5836169f68b9e8733cb5b69cad5da2a49e34f550"
+enzyme-adapter-utils@^1.5.0, enzyme-adapter-utils@^1.9.0:
+ version "1.9.1"
+ resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.9.1.tgz#68196fdaf2a9f51f31603cbae874618661233d72"
dependencies:
function.prototype.name "^1.1.0"
object.assign "^4.1.0"
- object.fromentries "^2.0.0"
prop-types "^15.6.2"
semver "^5.6.0"
@@ -3104,7 +3369,7 @@ errno@^0.1.3, errno@~0.1.7:
dependencies:
prr "~1.0.1"
-error-ex@^1.2.0:
+error-ex@^1.2.0, error-ex@^1.3.1:
version "1.3.2"
resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf"
dependencies:
@@ -3116,6 +3381,13 @@ error-stack-parser@^1.3.6:
dependencies:
stackframe "^0.3.1"
+error@^7.0.0:
+ version "7.0.2"
+ resolved "https://registry.yarnpkg.com/error/-/error-7.0.2.tgz#a5f75fff4d9926126ddac0ea5dc38e689153cb02"
+ dependencies:
+ string-template "~0.2.1"
+ xtend "~4.0.0"
+
es-abstract@^1.10.0, es-abstract@^1.11.0, es-abstract@^1.12.0, es-abstract@^1.4.3, es-abstract@^1.5.0, es-abstract@^1.5.1, es-abstract@^1.7.0, es-abstract@^1.9.0:
version "1.13.0"
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.13.0.tgz#ac86145fdd5099d8dd49558ccba2eaf9b88e24e9"
@@ -3136,8 +3408,8 @@ es-to-primitive@^1.2.0:
is-symbol "^1.0.2"
es5-ext@^0.10.14, es5-ext@^0.10.35, es5-ext@^0.10.45, es5-ext@^0.10.46, es5-ext@^0.10.9, es5-ext@~0.10.14, es5-ext@~0.10.2, es5-ext@~0.10.46:
- version "0.10.47"
- resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.47.tgz#d24232e1380daad5449a817be19bde9729024a11"
+ version "0.10.46"
+ resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.46.tgz#efd99f67c5a7ec789baa3daa7f79870388f7f572"
dependencies:
es6-iterator "~2.0.3"
es6-symbol "~3.1.1"
@@ -3310,8 +3582,8 @@ eslint-visitor-keys@^1.0.0:
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d"
eslint@^5.12.1:
- version "5.12.1"
- resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.12.1.tgz#5ca9931fb9029d04e7be92b03ce3b58edfac7e3b"
+ version "5.13.0"
+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.13.0.tgz#ce71cc529c450eed9504530939aa97527861ede9"
dependencies:
"@babel/code-frame" "^7.0.0"
ajv "^6.5.3"
@@ -3342,7 +3614,6 @@ eslint@^5.12.1:
natural-compare "^1.4.0"
optionator "^0.8.2"
path-is-inside "^1.0.2"
- pluralize "^7.0.0"
progress "^2.0.0"
regexpp "^2.0.1"
semver "^5.5.1"
@@ -3418,14 +3689,14 @@ eventemitter3@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.0.tgz#090b4d6cdbd645ed10bf750d4b5407942d7ba163"
+events@^1.0.0:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924"
+
events@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/events/-/events-2.1.0.tgz#2a9a1e18e6106e0e812aa9ebd4a819b3c29c0ba5"
-events@^3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/events/-/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88"
-
eventsource@^1.0.7:
version "1.0.7"
resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-1.0.7.tgz#8fbc72c93fcd34088090bc0a4e64f4b5cee6d8d0"
@@ -3565,7 +3836,7 @@ extend@^3.0.0, extend@~3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"
-external-editor@^3.0.0:
+external-editor@^3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.0.3.tgz#5866db29a97826dbe4bf3afd24070ead9ea43a27"
dependencies:
@@ -3629,7 +3900,7 @@ fast-levenshtein@~2.0.4:
version "2.0.6"
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
-faye-websocket@^0.10.0:
+faye-websocket@^0.10.0, faye-websocket@~0.10.0:
version "0.10.0"
resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.10.0.tgz#4e492f8d04dfb6f89003507f6edbf2d501e7c6f4"
dependencies:
@@ -3761,7 +4032,7 @@ find-up@^1.0.0:
path-exists "^2.0.0"
pinkie-promise "^2.0.0"
-find-up@^2.1.0:
+find-up@^2.0.0, find-up@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7"
dependencies:
@@ -3792,6 +4063,13 @@ flat-cache@^1.2.1:
write "^0.2.1"
flush-write-stream@^1.0.0:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8"
+ dependencies:
+ inherits "^2.0.3"
+ readable-stream "^2.3.6"
+
+flush-write-stream@^1.0.2:
version "1.0.3"
resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.0.3.tgz#c5d586ef38af6097650b49bc41b55fabb19f35bd"
dependencies:
@@ -3876,6 +4154,13 @@ fs-minipass@^1.2.5:
dependencies:
minipass "^2.2.1"
+fs-mkdirp-stream@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/fs-mkdirp-stream/-/fs-mkdirp-stream-1.0.0.tgz#0b7815fc3201c6a69e14db98ce098c16935259eb"
+ dependencies:
+ graceful-fs "^4.1.11"
+ through2 "^2.0.3"
+
fs-readdir-recursive@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz#e32fc030a2ccee44a6b5371308da54be0b397d27"
@@ -3894,6 +4179,13 @@ fs.realpath@^1.0.0:
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
fsevents@^1.0.0, fsevents@^1.2.2:
+ version "1.2.4"
+ resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.4.tgz#f41dcb1af2582af3692da36fc55cbd8e1041c426"
+ dependencies:
+ nan "^2.9.2"
+ node-pre-gyp "^0.10.0"
+
+fsevents@^1.2.7:
version "1.2.7"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.7.tgz#4851b664a3783e52003b3c66eb0eee1074933aa4"
dependencies:
@@ -3961,6 +4253,10 @@ get-caller-file@^1.0.1:
version "1.0.3"
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a"
+get-port@^4.0.0:
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/get-port/-/get-port-4.1.0.tgz#93eb3d5552c197497d76e9c389a6ac9920e20192"
+
get-stdin@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b"
@@ -3985,6 +4281,31 @@ getpass@^0.1.1:
dependencies:
assert-plus "^1.0.0"
+git-up@^2.0.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/git-up/-/git-up-2.1.0.tgz#2f14cfe78327e7c4a2b92fcac7bfc674fdfad40c"
+ dependencies:
+ is-ssh "^1.3.0"
+ parse-url "^3.0.2"
+
+git-url-parse@^10.0.1:
+ version "10.1.0"
+ resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-10.1.0.tgz#a27813218f8777e91d15f1c121b83bf14721b67e"
+ dependencies:
+ git-up "^2.0.0"
+
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.2.0.tgz#8ada3286fd046d8951c3c952a8d7854cfd90fd9a"
+ dependencies:
+ emoji-regex ">=6.0.0 <=6.1.1"
+
+github-slugger@^1.0.0, github-slugger@^1.1.1:
+ version "1.2.1"
+ resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.2.1.tgz#47e904e70bf2dccd0014748142d31126cfd49508"
+ dependencies:
+ emoji-regex ">=6.0.0 <=6.1.1"
+
gl-mat3@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/gl-mat3/-/gl-mat3-1.0.0.tgz#89633219ca429379a16b9185d95d41713453b912"
@@ -4041,6 +4362,21 @@ glob-parent@^3.1.0:
is-glob "^3.1.0"
path-dirname "^1.0.0"
+glob-stream@^6.1.0:
+ version "6.1.0"
+ resolved "https://registry.yarnpkg.com/glob-stream/-/glob-stream-6.1.0.tgz#7045c99413b3eb94888d83ab46d0b404cc7bdde4"
+ dependencies:
+ extend "^3.0.0"
+ glob "^7.1.1"
+ glob-parent "^3.1.0"
+ is-negated-glob "^1.0.0"
+ ordered-read-streams "^1.0.0"
+ pumpify "^1.3.5"
+ readable-stream "^2.1.5"
+ remove-trailing-separator "^1.0.1"
+ to-absolute-glob "^2.0.0"
+ unique-stream "^2.0.2"
+
version "5.0.15"
resolved "https://registry.yarnpkg.com/glob/-/glob-5.0.15.tgz#1bc936b9e02f4a603fcc222ecf7633d30b8b93b1"
@@ -4061,7 +4397,7 @@ glob@^6.0.1:
once "^1.3.0"
path-is-absolute "^1.0.0"
-glob@^7.0.0, glob@^7.0.3, glob@^7.0.6, glob@^7.1.0, glob@^7.1.2, glob@^7.1.3, glob@~7.1.2:
+glob@^7.0.0, glob@^7.0.3, glob@^7.0.6, glob@^7.1.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@~7.1.2:
version "7.1.3"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1"
dependencies:
@@ -4072,10 +4408,6 @@ glob@^7.0.0, glob@^7.0.3, glob@^7.0.6, glob@^7.1.0, glob@^7.1.2, glob@^7.1.3, gl
once "^1.3.0"
path-is-absolute "^1.0.0"
-global-modules-path@^2.3.0:
- version "2.3.1"
- resolved "https://registry.yarnpkg.com/global-modules-path/-/global-modules-path-2.3.1.tgz#e541f4c800a1a8514a990477b267ac67525b9931"
-
global-modules@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea"
@@ -4101,9 +4433,13 @@ global@^4.3.0, global@^4.3.1, global@~4.3.0:
min-document "^2.19.0"
process "~0.5.1"
+globals-docs@^2.4.0:
+ version "2.4.0"
+ resolved "https://registry.yarnpkg.com/globals-docs/-/globals-docs-2.4.0.tgz#f2c647544eb6161c7c38452808e16e693c2dafbb"
+
globals@^11.1.0, globals@^11.7.0:
- version "11.10.0"
- resolved "https://registry.yarnpkg.com/globals/-/globals-11.10.0.tgz#1e09776dffda5e01816b3bb4077c8b59c24eaa50"
+ version "11.11.0"
+ resolved "https://registry.yarnpkg.com/globals/-/globals-11.11.0.tgz#dcf93757fa2de5486fbeed7118538adf789e9c2e"
globals@^9.18.0:
version "9.18.0"
@@ -4139,7 +4475,7 @@ got@^5.0.0:
unzip-response "^1.0.2"
url-parse-lax "^1.0.0"
-graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2:
+graceful-fs@^4.0.0, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6:
version "4.1.15"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00"
@@ -4249,6 +4585,43 @@ hash.js@^1.0.0, hash.js@^1.0.3:
inherits "^2.0.3"
minimalistic-assert "^1.0.1"
+hast-util-is-element@^1.0.0:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/hast-util-is-element/-/hast-util-is-element-1.0.2.tgz#c23c9428b6a5a4e323bf9e16f87417476314981b"
+
+hast-util-sanitize@^1.0.0:
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/hast-util-sanitize/-/hast-util-sanitize-1.3.0.tgz#3189dc3b87d75a9c2e8618433167b4ad27b4facc"
+ dependencies:
+ xtend "^4.0.1"
+
+hast-util-to-html@^4.0.0:
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/hast-util-to-html/-/hast-util-to-html-4.0.1.tgz#3666b05afb62bd69f8f5e6c94db04dea19438e2a"
+ dependencies:
+ ccount "^1.0.0"
+ comma-separated-tokens "^1.0.1"
+ hast-util-is-element "^1.0.0"
+ hast-util-whitespace "^1.0.0"
+ html-void-elements "^1.0.0"
+ property-information "^4.0.0"
+ space-separated-tokens "^1.0.0"
+ stringify-entities "^1.0.1"
+ unist-util-is "^2.0.0"
+ xtend "^4.0.1"
+
+hast-util-whitespace@^1.0.0:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/hast-util-whitespace/-/hast-util-whitespace-1.0.2.tgz#c97153a3fbc9091a14fd823830a47724e7a1da99"
+
+he@^1.1.0:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
+
+highlight.js@^9.12.0:
+ version "9.13.1"
+ resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.13.1.tgz#054586d53a6863311168488a0f58d6c505ce641e"
+
hmac-drbg@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
@@ -4319,6 +4692,10 @@ html-to-react@^1.3.4:
lodash.camelcase "^4.3.0"
ramda "^0.26"
+html-void-elements@^1.0.0:
+ version "1.0.3"
+ resolved "https://registry.yarnpkg.com/html-void-elements/-/html-void-elements-1.0.3.tgz#956707dbecd10cf658c92c5d27fee763aa6aa982"
+
htmlescape@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/htmlescape/-/htmlescape-1.1.1.tgz#3a03edc2214bca3b66424a3e7959349509cb0351"
@@ -4458,7 +4835,7 @@ [email protected]:
version "2.0.1"
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1"
-ini@^1.3.4, ini@~1.3.0:
+ini@^1.3.3, ini@^1.3.4, ini@~1.3.0:
version "1.3.5"
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
@@ -4469,19 +4846,19 @@ inline-source-map@~0.6.0:
source-map "~0.5.3"
inquirer@^6.1.0:
- version "6.2.1"
- resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.2.1.tgz#9943fc4882161bdb0b0c9276769c75b32dbfcd52"
+ version "6.2.2"
+ resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.2.2.tgz#46941176f65c9eb20804627149b743a218f25406"
dependencies:
- ansi-escapes "^3.0.0"
- chalk "^2.0.0"
+ ansi-escapes "^3.2.0"
+ chalk "^2.4.2"
cli-cursor "^2.1.0"
cli-width "^2.0.0"
- external-editor "^3.0.0"
+ external-editor "^3.0.3"
figures "^2.0.0"
- lodash "^4.17.10"
+ lodash "^4.17.11"
mute-stream "0.0.7"
run-async "^2.2.0"
- rxjs "^6.1.0"
+ rxjs "^6.4.0"
string-width "^2.1.0"
strip-ansi "^5.0.0"
through "^2.3.6"
@@ -4501,9 +4878,9 @@ insert-module-globals@^7.0.0:
undeclared-identifiers "^1.1.2"
xtend "^4.0.0"
-install-peerdeps@^1.10.2:
- version "1.10.2"
- resolved "https://registry.yarnpkg.com/install-peerdeps/-/install-peerdeps-1.10.2.tgz#b244563d1ead9229d9520729dbb015122e0382c5"
+install-peerdeps@^1.8.0:
+ version "1.10.1"
+ resolved "https://registry.yarnpkg.com/install-peerdeps/-/install-peerdeps-1.10.1.tgz#b8e5d65b9456ef1d7f7805c32e836878ae710c26"
dependencies:
babel-polyfill "^6.26.0"
cli-color "^1.2.0"
@@ -4556,8 +4933,15 @@ [email protected]:
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.8.0.tgz#eaa33d6ddd7ace8f7f6fe0c9ca0440e706738b1e"
ipaddr.js@^1.5.2:
- version "1.8.1"
- resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.8.1.tgz#fa4b79fa47fd3def5e3b159825161c0a519c9427"
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.0.tgz#37df74e430a0e47550fe54a2defe30d8acd95f65"
+
+is-absolute@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/is-absolute/-/is-absolute-1.0.0.tgz#395e1ae84b11f26ad1795e73c17378e48a301576"
+ dependencies:
+ is-relative "^1.0.0"
+ is-windows "^1.0.1"
is-accessor-descriptor@^0.1.6:
version "0.1.6"
@@ -4575,6 +4959,10 @@ is-alphabetical@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-1.0.2.tgz#1fa6e49213cb7885b75d15862fb3f3d96c884f41"
+is-alphanumeric@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/is-alphanumeric/-/is-alphanumeric-1.0.0.tgz#4a9cef71daf4c001c1d81d63d140cf53fd6889f4"
+
is-alphanumerical@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/is-alphanumerical/-/is-alphanumerical-1.0.2.tgz#1138e9ae5040158dc6ff76b820acd6b7a181fd40"
@@ -4600,6 +4988,10 @@ is-buffer@^1.1.0, is-buffer@^1.1.4, is-buffer@^1.1.5:
version "1.1.6"
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
+is-buffer@^2.0.0:
+ version "2.0.3"
+ resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.3.tgz#4ecf3fcf749cbd1e472689e109ac66261a25e725"
+
is-builtin-module@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe"
@@ -4712,6 +5104,10 @@ is-hexadecimal@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-1.0.2.tgz#b6e710d7d07bb66b98cb8cece5c9b4921deeb835"
+is-negated-glob@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/is-negated-glob/-/is-negated-glob-1.0.0.tgz#6910bca5da8c95e784b5751b976cf5a10fee36d2"
+
is-npm@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4"
@@ -4756,7 +5152,7 @@ is-path-inside@^1.0.0:
dependencies:
path-is-inside "^1.0.1"
-is-plain-obj@^1.1.0:
+is-plain-obj@^1.0.0, is-plain-obj@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e"
@@ -4788,10 +5184,22 @@ is-regex@^1.0.4:
dependencies:
has "^1.0.1"
+is-relative@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/is-relative/-/is-relative-1.0.0.tgz#a1bb6935ce8c5dba1e8b9754b9b2dcc020e2260d"
+ dependencies:
+ is-unc-path "^1.0.0"
+
is-retry-allowed@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz#11a060568b67339444033d0125a61a20d564fb34"
+is-ssh@^1.3.0:
+ version "1.3.1"
+ resolved "https://registry.yarnpkg.com/is-ssh/-/is-ssh-1.3.1.tgz#f349a8cadd24e65298037a522cf7520f2e81a0f3"
+ dependencies:
+ protocols "^1.1.0"
+
is-stream@^1.0.0, is-stream@^1.0.1, is-stream@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
@@ -4814,10 +5222,20 @@ is-typedarray@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
-is-utf8@^0.2.0:
+is-unc-path@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/is-unc-path/-/is-unc-path-1.0.0.tgz#d731e8898ed090a12c352ad2eaed5095ad322c9d"
+ dependencies:
+ unc-path-regex "^0.1.2"
+
+is-utf8@^0.2.0, is-utf8@^0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
+is-valid-glob@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/is-valid-glob/-/is-valid-glob-1.0.0.tgz#29bf3eff701be2d4d315dbacc39bc39fe8f601aa"
+
is-whitespace-character@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/is-whitespace-character/-/is-whitespace-character-1.0.2.tgz#ede53b4c6f6fb3874533751ec9280d01928d03ed"
@@ -4875,13 +5293,17 @@ istanbul-lib-coverage@^1.1.2, istanbul-lib-coverage@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.1.tgz#ccf7edcd0a0bb9b8f729feeb0930470f9af664f0"
+istanbul-lib-coverage@^2.0.3:
+ version "2.0.3"
+ resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz#0b891e5ad42312c2b9488554f603795f9a2211ba"
+
istanbul-lib-hook@^1.1.0:
version "1.2.2"
resolved "https://registry.yarnpkg.com/istanbul-lib-hook/-/istanbul-lib-hook-1.2.2.tgz#bc6bf07f12a641fbf1c85391d0daa8f0aea6bf86"
dependencies:
append-transform "^0.4.0"
-istanbul-lib-instrument@^1.10.0, istanbul-lib-instrument@^1.10.1:
+istanbul-lib-instrument@^1.10.0:
version "1.10.2"
resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.2.tgz#1f55ed10ac3c47f2bdddd5307935126754d0a9ca"
dependencies:
@@ -4893,6 +5315,18 @@ istanbul-lib-instrument@^1.10.0, istanbul-lib-instrument@^1.10.1:
istanbul-lib-coverage "^1.2.1"
semver "^5.3.0"
+istanbul-lib-instrument@^3.0.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-3.1.0.tgz#a2b5484a7d445f1f311e93190813fa56dfb62971"
+ dependencies:
+ "@babel/generator" "^7.0.0"
+ "@babel/parser" "^7.0.0"
+ "@babel/template" "^7.0.0"
+ "@babel/traverse" "^7.0.0"
+ "@babel/types" "^7.0.0"
+ istanbul-lib-coverage "^2.0.3"
+ semver "^5.5.0"
+
istanbul-lib-report@^1.1.3:
version "1.1.5"
resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-1.1.5.tgz#f2a657fc6282f96170aaf281eb30a458f7f4170c"
@@ -4930,7 +5364,7 @@ js-tokens@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
[email protected], js-yaml@^3.12.0:
[email protected], js-yaml@^3.10.0, js-yaml@^3.12.0:
version "3.12.1"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.1.tgz#295c8632a18a23e054cf5c9d3cecafe678167600"
dependencies:
@@ -4988,7 +5422,7 @@ json-loader@^0.5.4:
version "0.5.7"
resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.7.tgz#dca14a70235ff82f0ac9a3abeb60d337a365185d"
-json-parse-better-errors@^1.0.2:
+json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
@@ -5119,11 +5553,17 @@ lazy-req@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/lazy-req/-/lazy-req-1.1.0.tgz#bdaebead30f8d824039ce0ce149d4daa07ba1fac"
-lcid@^1.0.0:
+lazystream@^1.0.0:
version "1.0.0"
- resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835"
+ resolved "https://registry.yarnpkg.com/lazystream/-/lazystream-1.0.0.tgz#f6995fe0f820392f61396be89462407bb77168e4"
dependencies:
- invert-kv "^1.0.0"
+ readable-stream "^2.0.5"
+
+lcid@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835"
+ dependencies:
+ invert-kv "^1.0.0"
lcid@^2.0.0:
version "2.0.0"
@@ -5131,6 +5571,12 @@ lcid@^2.0.0:
dependencies:
invert-kv "^2.0.0"
+lead@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/lead/-/lead-1.0.0.tgz#6f14f99a37be3a9dd784f5495690e5903466ee42"
+ dependencies:
+ flush-write-stream "^1.0.2"
+
left-pad@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e"
@@ -5149,9 +5595,9 @@ levn@~0.2.5:
prelude-ls "~1.1.0"
type-check "~0.3.1"
-lightercollective@^0.1.0:
- version "0.1.0"
- resolved "https://registry.yarnpkg.com/lightercollective/-/lightercollective-0.1.0.tgz#70df102c530dcb8d0ccabfe6175a8d00d5f61300"
+livereload-js@^2.3.0:
+ version "2.4.0"
+ resolved "https://registry.yarnpkg.com/livereload-js/-/livereload-js-2.4.0.tgz#447c31cf1ea9ab52fc20db615c5ddf678f78009c"
load-json-file@^1.0.0:
version "1.1.0"
@@ -5163,9 +5609,27 @@ load-json-file@^1.0.0:
pinkie-promise "^2.0.0"
strip-bom "^2.0.0"
+load-json-file@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8"
+ dependencies:
+ graceful-fs "^4.1.2"
+ parse-json "^2.2.0"
+ pify "^2.0.0"
+ strip-bom "^3.0.0"
+
+load-json-file@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b"
+ dependencies:
+ graceful-fs "^4.1.2"
+ parse-json "^4.0.0"
+ pify "^3.0.0"
+ strip-bom "^3.0.0"
+
loader-runner@^2.3.0:
- version "2.4.0"
- resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357"
+ version "2.3.1"
+ resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.1.tgz#026f12fe7c3115992896ac02ba022ba92971b979"
loader-utils@^1.0.2, loader-utils@^1.1.0:
version "1.2.3"
@@ -5265,6 +5729,10 @@ lolex@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/lolex/-/lolex-1.6.0.tgz#3a9a0283452a47d7439e72731b9e07d7386e49f6"
+longest-streak@^2.0.1:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-2.0.2.tgz#2421b6ba939a443bb9ffebf596585a50b4c38e2e"
+
loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1, loose-envify@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
@@ -5322,7 +5790,7 @@ map-age-cleaner@^0.1.1:
dependencies:
p-defer "^1.0.0"
-map-cache@^0.2.2:
+map-cache@^0.2.0, map-cache@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf"
@@ -5365,9 +5833,13 @@ markdown-escapes@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/markdown-escapes/-/markdown-escapes-1.0.2.tgz#e639cbde7b99c841c0bacc8a07982873b46d2122"
+markdown-table@^1.1.0:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-1.1.2.tgz#c78db948fa879903a41bce522e3b96f801c63786"
+
math-random@^1.0.1:
- version "1.0.4"
- resolved "https://registry.yarnpkg.com/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c"
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/math-random/-/math-random-1.0.1.tgz#8b3aac588b8a66e4975e3cdea67f7bb329601fac"
math.gl@^2.0.0, math.gl@^2.2.0:
version "2.2.0"
@@ -5405,6 +5877,56 @@ [email protected]:
dependencies:
unist-util-visit-parents "1.1.2"
+mdast-util-compact@^1.0.0:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/mdast-util-compact/-/mdast-util-compact-1.0.2.tgz#c12ebe16fffc84573d3e19767726de226e95f649"
+ dependencies:
+ unist-util-visit "^1.1.0"
+
+mdast-util-definitions@^1.2.0:
+ version "1.2.3"
+ resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-1.2.3.tgz#49f936b09207c45b438db19551652934312f04f0"
+ dependencies:
+ unist-util-visit "^1.0.0"
+
+mdast-util-inject@^1.1.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/mdast-util-inject/-/mdast-util-inject-1.1.0.tgz#db06b8b585be959a2dcd2f87f472ba9b756f3675"
+ dependencies:
+ mdast-util-to-string "^1.0.0"
+
+mdast-util-to-hast@^3.0.0:
+ version "3.0.4"
+ resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-3.0.4.tgz#132001b266031192348d3366a6b011f28e54dc40"
+ dependencies:
+ collapse-white-space "^1.0.0"
+ detab "^2.0.0"
+ mdast-util-definitions "^1.2.0"
+ mdurl "^1.0.1"
+ trim "0.0.1"
+ trim-lines "^1.0.0"
+ unist-builder "^1.0.1"
+ unist-util-generated "^1.1.0"
+ unist-util-position "^3.0.0"
+ unist-util-visit "^1.1.0"
+ xtend "^4.0.1"
+
+mdast-util-to-string@^1.0.0, mdast-util-to-string@^1.0.2:
+ version "1.0.5"
+ resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-1.0.5.tgz#3552b05428af22ceda34f156afe62ec8e6d731ca"
+
+mdast-util-toc@^3.0.0:
+ version "3.0.1"
+ resolved "https://registry.yarnpkg.com/mdast-util-toc/-/mdast-util-toc-3.0.1.tgz#78b3265b9fd9125c0dcc7a6bb4a69127acd7e93b"
+ dependencies:
+ github-slugger "^1.1.1"
+ mdast-util-to-string "^1.0.2"
+ unist-util-visit "^1.1.0"
+
+mdurl@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e"
+
version "0.3.0"
resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"
@@ -5416,12 +5938,12 @@ mem@^1.1.0:
mimic-fn "^1.0.0"
mem@^4.0.0:
- version "4.0.0"
- resolved "https://registry.yarnpkg.com/mem/-/mem-4.0.0.tgz#6437690d9471678f6cc83659c00cbafcd6b0cdaf"
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/mem/-/mem-4.1.0.tgz#aeb9be2d21f47e78af29e4ac5978e8afa2ca5b8a"
dependencies:
map-age-cleaner "^0.1.1"
mimic-fn "^1.0.0"
- p-is-promise "^1.1.0"
+ p-is-promise "^2.0.0"
memoizee@^0.4.14:
version "0.4.14"
@@ -5481,7 +6003,7 @@ micromatch@^2.1.5, micromatch@^2.3.11:
parse-glob "^3.0.4"
regex-cache "^0.4.2"
-micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8, micromatch@^3.1.9:
+micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.5, micromatch@^3.1.8, micromatch@^3.1.9:
version "3.1.10"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23"
dependencies:
@@ -5524,7 +6046,7 @@ [email protected]:
version "1.4.1"
resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6"
-mime@^2.3.1:
+mime@^2.2.0, mime@^2.3.1:
version "2.4.0"
resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.0.tgz#e051fd881358585f3279df333fe694da0bcffdd6"
@@ -5628,6 +6150,25 @@ [email protected], mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0:
dependencies:
minimist "0.0.8"
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/module-deps-sortable/-/module-deps-sortable-5.0.0.tgz#99db5bb08f7eab55e4c31f6b7c722c6a2144ba74"
+ dependencies:
+ JSONStream "^1.0.3"
+ browser-resolve "^1.7.0"
+ cached-path-relative "^1.0.0"
+ concat-stream "~1.5.0"
+ defined "^1.0.0"
+ detective "^4.0.0"
+ duplexer2 "^0.1.2"
+ inherits "^2.0.1"
+ readable-stream "^2.0.2"
+ resolve "^1.1.3"
+ stream-combiner2 "^1.1.1"
+ subarg "^1.0.0"
+ through2 "^2.0.0"
+ xtend "^4.0.0"
+
module-deps@^6.0.0:
version "6.2.0"
resolved "https://registry.yarnpkg.com/module-deps/-/module-deps-6.2.0.tgz#d41a2e790245ce319171e4e7c4d8c73993ba3cd5"
@@ -5649,8 +6190,8 @@ module-deps@^6.0.0:
xtend "^4.0.0"
moment@^2.10.6:
- version "2.24.0"
- resolved "https://registry.yarnpkg.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b"
+ version "2.23.0"
+ resolved "https://registry.yarnpkg.com/moment/-/moment-2.23.0.tgz#759ea491ac97d54bac5ad776996e2a58cc1bc225"
moo@^0.4.3:
version "0.4.3"
@@ -5772,8 +6313,8 @@ [email protected]:
resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.7.5.tgz#6c152c345ce11c52f465c2abd957e8639cd674df"
node-libs-browser@^2.0.0:
- version "2.2.0"
- resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.2.0.tgz#c72f60d9d46de08a940dedbb25f3ffa2f9bbaa77"
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.1.0.tgz#5f94263d404f6e44767d726901fff05478d600df"
dependencies:
assert "^1.1.1"
browserify-zlib "^0.2.0"
@@ -5782,7 +6323,7 @@ node-libs-browser@^2.0.0:
constants-browserify "^1.0.0"
crypto-browserify "^3.11.0"
domain-browser "^1.1.1"
- events "^3.0.0"
+ events "^1.0.0"
https-browserify "^1.0.0"
os-browserify "^0.3.0"
path-browserify "0.0.0"
@@ -5796,7 +6337,7 @@ node-libs-browser@^2.0.0:
timers-browserify "^2.0.4"
tty-browserify "0.0.0"
url "^0.11.0"
- util "^0.11.0"
+ util "^0.10.3"
vm-browserify "0.0.4"
node-modules-regexp@^1.0.0:
@@ -5819,8 +6360,8 @@ node-pre-gyp@^0.10.0:
tar "^4"
node-releases@^1.1.3:
- version "1.1.3"
- resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.3.tgz#aad9ce0dcb98129c753f772c0aa01360fb90fbd2"
+ version "1.1.7"
+ resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.7.tgz#b09a10394d0ed8f7778f72bb861dde68b146303b"
dependencies:
semver "^5.3.0"
@@ -5856,6 +6397,25 @@ normalize-path@^2.0.0, normalize-path@^2.0.1, normalize-path@^2.1.1:
dependencies:
remove-trailing-separator "^1.0.1"
+normalize-path@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
+
+normalize-url@^1.9.1:
+ version "1.9.1"
+ resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-1.9.1.tgz#2cc0d66b31ea23036458436e3620d85954c66c3c"
+ dependencies:
+ object-assign "^4.0.1"
+ prepend-http "^1.0.0"
+ query-string "^4.1.0"
+ sort-keys "^1.0.0"
+
+now-and-later@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/now-and-later/-/now-and-later-2.0.0.tgz#bc61cbb456d79cb32207ce47ca05136ff2e7d6ee"
+ dependencies:
+ once "^1.3.2"
+
npm-bundled@^1.0.1:
version "1.0.5"
resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.5.tgz#3c1732b7ba936b3a10325aef616467c0ccbcc979"
@@ -6049,7 +6609,7 @@ object.pick@^1.3.0:
dependencies:
isobject "^3.0.1"
-object.values@^1.0.4, object.values@^1.1.0:
+object.values@^1.0.4:
version "1.1.0"
resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.0.tgz#bf6810ef5da3e5325790eaaa2be213ea84624da9"
dependencies:
@@ -6072,7 +6632,7 @@ on-headers@~1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7"
[email protected], once@^1.3.0, once@^1.3.1, once@^1.4.0:
[email protected], once@^1.3.0, once@^1.3.1, once@^1.3.2, once@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
dependencies:
@@ -6119,6 +6679,12 @@ optionator@^0.8.1, optionator@^0.8.2:
type-check "~0.3.2"
wordwrap "~1.0.0"
+ordered-read-streams@^1.0.0:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/ordered-read-streams/-/ordered-read-streams-1.0.1.tgz#77c0cb37c41525d64166d990ffad7ec6a0e1363e"
+ dependencies:
+ readable-stream "^2.0.1"
+
original@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/original/-/original-1.0.2.tgz#e442a61cffe1c5fd20a65f3261c26663b303f25f"
@@ -6182,9 +6748,9 @@ p-finally@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
-p-is-promise@^1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-1.1.0.tgz#9c9456989e9f6588017b0434d56097675c3da05e"
+p-is-promise@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-2.0.0.tgz#7554e3d572109a87e1f3f53f6a7d85d1b194f4c5"
p-limit@^1.1.0:
version "1.3.0"
@@ -6232,8 +6798,8 @@ package-json@^2.0.0:
semver "^5.1.0"
pako@~1.0.5:
- version "1.0.8"
- resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.8.tgz#6844890aab9c635af868ad5fecc62e8acbba3ea4"
+ version "1.0.7"
+ resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.7.tgz#2473439021b57f1516c82f58be7275ad8ef1bb27"
parallel-transform@^1.1.0:
version "1.1.0"
@@ -6256,17 +6822,16 @@ parents@^1.0.0, parents@^1.0.1:
path-platform "~0.11.15"
parse-asn1@^5.0.0:
- version "5.1.3"
- resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.3.tgz#1600c6cc0727365d68b97f3aa78939e735a75204"
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.1.tgz#f6bf293818332bd0dab54efb16087724745e6ca8"
dependencies:
asn1.js "^4.0.0"
browserify-aes "^1.0.0"
create-hash "^1.1.0"
evp_bytestokey "^1.0.0"
pbkdf2 "^3.0.3"
- safe-buffer "^5.1.1"
-parse-entities@^1.1.0:
+parse-entities@^1.0.2, parse-entities@^1.1.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-1.2.0.tgz#9deac087661b2e36814153cb78d7e54a4c5fd6f4"
dependencies:
@@ -6277,6 +6842,20 @@ parse-entities@^1.1.0:
is-decimal "^1.0.0"
is-hexadecimal "^1.0.0"
+parse-filepath@^1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891"
+ dependencies:
+ is-absolute "^1.0.0"
+ map-cache "^0.2.0"
+ path-root "^0.1.1"
+
+parse-git-config@^0.2.0:
+ version "0.2.0"
+ resolved "https://registry.yarnpkg.com/parse-git-config/-/parse-git-config-0.2.0.tgz#272833fdd15fea146fb75d336d236b963b6ff706"
+ dependencies:
+ ini "^1.3.3"
+
parse-glob@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c"
@@ -6292,6 +6871,13 @@ parse-json@^2.1.0, parse-json@^2.2.0:
dependencies:
error-ex "^1.2.0"
+parse-json@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0"
+ dependencies:
+ error-ex "^1.3.1"
+ json-parse-better-errors "^1.0.1"
+
parse-ms@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/parse-ms/-/parse-ms-1.0.1.tgz#56346d4749d78f23430ca0c713850aef91aa361d"
@@ -6300,6 +6886,22 @@ parse-passwd@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6"
+parse-path@^3.0.1:
+ version "3.0.4"
+ resolved "https://registry.yarnpkg.com/parse-path/-/parse-path-3.0.4.tgz#a48b7b529da41f34d9d1428602a39b29fc7180e4"
+ dependencies:
+ is-ssh "^1.3.0"
+ protocols "^1.4.0"
+
+parse-url@^3.0.2:
+ version "3.0.2"
+ resolved "https://registry.yarnpkg.com/parse-url/-/parse-url-3.0.2.tgz#602787a7063a795d72b8673197505e72f60610be"
+ dependencies:
+ is-ssh "^1.3.0"
+ normalize-url "^1.9.1"
+ parse-path "^3.0.1"
+ protocols "^1.4.0"
+
version "4.0.0"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608"
@@ -6360,6 +6962,16 @@ path-platform@~0.11.15:
version "0.11.15"
resolved "https://registry.yarnpkg.com/path-platform/-/path-platform-0.11.15.tgz#e864217f74c36850f0852b78dc7bf7d4a5721bf2"
+path-root-regex@^0.1.0:
+ version "0.1.2"
+ resolved "https://registry.yarnpkg.com/path-root-regex/-/path-root-regex-0.1.2.tgz#bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d"
+
+path-root@^0.1.1:
+ version "0.1.1"
+ resolved "https://registry.yarnpkg.com/path-root/-/path-root-0.1.1.tgz#9a4a6814cac1c0cd73360a95f32083c8ea4745b7"
+ dependencies:
+ path-root-regex "^0.1.0"
+
version "0.1.7"
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c"
@@ -6378,6 +6990,18 @@ path-type@^1.0.0:
pify "^2.0.0"
pinkie-promise "^2.0.0"
+path-type@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73"
+ dependencies:
+ pify "^2.0.0"
+
+path-type@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f"
+ dependencies:
+ pify "^3.0.0"
+
pbf@^3.0.5, pbf@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/pbf/-/pbf-3.1.0.tgz#f70004badcb281761eabb1e76c92f179f08189e9"
@@ -6411,6 +7035,10 @@ pify@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176"
+pify@^4.0.0:
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
+
pinkie-promise@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa"
@@ -6455,10 +7083,6 @@ plur@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/plur/-/plur-1.0.0.tgz#db85c6814f5e5e5a3b49efc28d604fec62975156"
-pluralize@^7.0.0:
- version "7.0.0"
- resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777"
-
pn@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb"
@@ -6487,7 +7111,7 @@ prelude-ls@~1.1.0, prelude-ls@~1.1.1, prelude-ls@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
-prepend-http@^1.0.1:
+prepend-http@^1.0.0, prepend-http@^1.0.1:
version "1.0.4"
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
@@ -6502,8 +7126,8 @@ prettier-linter-helpers@^1.0.0:
fast-diff "^1.1.2"
prettier@^1.7.0:
- version "1.16.1"
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.1.tgz#534c2c9d7853f8845e5e078384e71973bd74089f"
+ version "1.15.3"
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.15.3.tgz#1feaac5bdd181237b54dbe65d874e02a1472786a"
pretty-ms@^2.1.0:
version "2.1.0"
@@ -6523,14 +7147,14 @@ probe.gl@^2.0.1:
dependencies:
"@babel/runtime" "^7.0.0"
+process-nextick-args@^2.0.0, process-nextick-args@~2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa"
+
process-nextick-args@~1.0.6:
version "1.0.7"
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
-process-nextick-args@~2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa"
-
process@^0.10.0:
version "0.10.1"
resolved "https://registry.yarnpkg.com/process/-/process-0.10.1.tgz#842457cc51cfed72dc775afeeafb8c6034372725"
@@ -6544,8 +7168,8 @@ process@~0.5.1:
resolved "https://registry.yarnpkg.com/process/-/process-0.5.2.tgz#1638d8a8e34c2f440a91db95ab9aeb677fc185cf"
progress-bar-webpack-plugin@^1.9.3:
- version "1.12.0"
- resolved "https://registry.yarnpkg.com/progress-bar-webpack-plugin/-/progress-bar-webpack-plugin-1.12.0.tgz#b813a7a6845fd3427a09c487d58230e7fc823c91"
+ version "1.11.0"
+ resolved "https://registry.yarnpkg.com/progress-bar-webpack-plugin/-/progress-bar-webpack-plugin-1.11.0.tgz#4f801288443c55ec029b20cbfdcbf3e1dc17f852"
dependencies:
chalk "^1.1.1"
object.assign "^4.0.1"
@@ -6583,13 +7207,26 @@ promptly@^2.1.0:
dependencies:
read "^1.0.4"
-prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.7, prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2:
+prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.7, prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.2:
version "15.6.2"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.2.tgz#05d5ca77b4453e985d60fc7ff8c859094a497102"
dependencies:
loose-envify "^1.3.1"
object-assign "^4.1.1"
+prop-types@^15.6.1:
+ version "15.7.1"
+ resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.1.tgz#2fa61e0a699d428b40320127733ee2931f05d9d1"
+ dependencies:
+ object-assign "^4.1.1"
+ react-is "^16.8.1"
+
+property-information@^4.0.0:
+ version "4.2.0"
+ resolved "https://registry.yarnpkg.com/property-information/-/property-information-4.2.0.tgz#f0e66e07cbd6fed31d96844d958d153ad3eb486e"
+ dependencies:
+ xtend "^4.0.1"
+
protochain@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/protochain/-/protochain-1.0.5.tgz#991c407e99de264aadf8f81504b5e7faf7bfa260"
@@ -6598,6 +7235,10 @@ protocol-buffers-schema@^3.3.1:
version "3.3.2"
resolved "https://registry.yarnpkg.com/protocol-buffers-schema/-/protocol-buffers-schema-3.3.2.tgz#00434f608b4e8df54c59e070efeefc37fb4bb859"
+protocols@^1.1.0, protocols@^1.4.0:
+ version "1.4.7"
+ resolved "https://registry.yarnpkg.com/protocols/-/protocols-1.4.7.tgz#95f788a4f0e979b291ffefcf5636ad113d037d32"
+
proxy-addr@~2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.4.tgz#ecfc733bf22ff8c6f407fa275327b9ab67e48b93"
@@ -6642,7 +7283,7 @@ pump@^3.0.0:
end-of-stream "^1.1.0"
once "^1.3.1"
-pumpify@^1.3.3:
+pumpify@^1.3.3, pumpify@^1.3.5:
version "1.5.1"
resolved "https://registry.yarnpkg.com/pumpify/-/pumpify-1.5.1.tgz#36513be246ab27570b1a374a5ce278bfd74370ce"
dependencies:
@@ -6666,6 +7307,17 @@ [email protected], qs@~6.5.2:
version "6.5.2"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
+qs@^6.4.0:
+ version "6.6.0"
+ resolved "https://registry.yarnpkg.com/qs/-/qs-6.6.0.tgz#a99c0f69a8d26bf7ef012f871cdabb0aee4424c2"
+
+query-string@^4.1.0:
+ version "4.3.4"
+ resolved "https://registry.yarnpkg.com/query-string/-/query-string-4.3.4.tgz#bbb693b9ca915c232515b228b1a02b609043dbeb"
+ dependencies:
+ object-assign "^4.1.0"
+ strict-uri-encode "^1.0.0"
+
querystring-es3@^0.2.0, querystring-es3@~0.2.0:
version "0.2.1"
resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73"
@@ -6745,6 +7397,13 @@ [email protected]:
iconv-lite "0.4.23"
unpipe "1.0.0"
+raw-body@~1.1.0:
+ version "1.1.7"
+ resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-1.1.7.tgz#1d027c2bfa116acc6623bca8f00016572a87d425"
+ dependencies:
+ bytes "1"
+ string_decoder "0.10"
+
rc@^1.0.1, rc@^1.1.6, rc@^1.2.7:
version "1.2.8"
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
@@ -6812,10 +7471,14 @@ react-hot-loader@^3.0.0-beta.6:
redbox-react "^1.3.6"
source-map "^0.6.1"
-react-is@^16.7.0:
+react-is@^16.6.1, react-is@^16.7.0:
version "16.7.0"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.7.0.tgz#c1bd21c64f1f1364c6f70695ec02d69392f41bfa"
+react-is@^16.8.1:
+ version "16.8.1"
+ resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.1.tgz#a80141e246eb894824fb4f2901c0c50ef31d4cdb"
+
react-json-pretty@^1.7.9:
version "1.7.9"
resolved "https://registry.yarnpkg.com/react-json-pretty/-/react-json-pretty-1.7.9.tgz#d153c52579fda9e245c81fceb3da22fdf1d93c1e"
@@ -6926,8 +7589,8 @@ react-test-renderer@^16.4.2:
prop-types "^15.5.8"
react-vis@^1.8.0:
- version "1.11.6"
- resolved "https://registry.yarnpkg.com/react-vis/-/react-vis-1.11.6.tgz#4616968ac6dfbd95491d778e70ad26956fd2fdab"
+ version "1.11.5"
+ resolved "https://registry.yarnpkg.com/react-vis/-/react-vis-1.11.5.tgz#d2aa4931fd125ba2eafb7216a3e63e825360d261"
dependencies:
d3-array "^1.2.0"
d3-collection "^1.0.3"
@@ -6978,6 +7641,20 @@ read-pkg-up@^1.0.1:
find-up "^1.0.0"
read-pkg "^1.0.0"
+read-pkg-up@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be"
+ dependencies:
+ find-up "^2.0.0"
+ read-pkg "^2.0.0"
+
+read-pkg-up@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-4.0.0.tgz#1b221c6088ba7799601c808f91161c66e58f8978"
+ dependencies:
+ find-up "^3.0.0"
+ read-pkg "^3.0.0"
+
read-pkg@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28"
@@ -6986,13 +7663,29 @@ read-pkg@^1.0.0:
normalize-package-data "^2.3.2"
path-type "^1.0.0"
+read-pkg@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8"
+ dependencies:
+ load-json-file "^2.0.0"
+ normalize-package-data "^2.3.2"
+ path-type "^2.0.0"
+
+read-pkg@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389"
+ dependencies:
+ load-json-file "^4.0.0"
+ normalize-package-data "^2.3.2"
+ path-type "^3.0.0"
+
read@^1.0.4:
version "1.0.7"
resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4"
dependencies:
mute-stream "~0.0.4"
-"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.3, readable-stream@~2.3.6:
+"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.5, readable-stream@^2.3.6, readable-stream@~2.3.3, readable-stream@~2.3.6:
version "2.3.6"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"
dependencies:
@@ -7032,7 +7725,19 @@ readable-stream@~2.0.0:
string_decoder "~0.10.x"
util-deprecate "~1.0.1"
-readdirp@^2.0.0, readdirp@^2.1.0:
+readable-stream@~2.1.0:
+ version "2.1.5"
+ resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.1.5.tgz#66fa8b720e1438b364681f2ad1a63c618448c9d0"
+ dependencies:
+ buffer-shims "^1.0.0"
+ core-util-is "~1.0.0"
+ inherits "~2.0.1"
+ isarray "~1.0.0"
+ process-nextick-args "~1.0.6"
+ string_decoder "~0.10.x"
+ util-deprecate "~1.0.1"
+
+readdirp@^2.0.0, readdirp@^2.1.0, readdirp@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525"
dependencies:
@@ -7126,12 +7831,12 @@ regex-not@^1.0.0, regex-not@^1.0.2:
safe-regex "^1.1.0"
regexp-tree@^0.1.0:
- version "0.1.0"
- resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.0.tgz#a56ad7746097888ea16457479029ec9345b96ab0"
+ version "0.1.1"
+ resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.1.tgz#27b455f9b138ca2e84c090e9aff1ffe2a04d97fa"
dependencies:
cli-table3 "^0.5.0"
colors "^1.1.2"
- yargs "^10.0.3"
+ yargs "^12.0.5"
regexp.prototype.flags@^1.2.0:
version "1.2.0"
@@ -7177,6 +7882,15 @@ regjsparser@^0.6.0:
dependencies:
jsesc "~0.5.0"
+remark-html@^8.0.0:
+ version "8.0.0"
+ resolved "https://registry.yarnpkg.com/remark-html/-/remark-html-8.0.0.tgz#9fcb859a6f3cb40f3ef15402950f1a62ec301b3a"
+ dependencies:
+ hast-util-sanitize "^1.0.0"
+ hast-util-to-html "^4.0.0"
+ mdast-util-to-hast "^3.0.0"
+ xtend "^4.0.1"
+
remark-parse@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-5.0.0.tgz#4c077f9e499044d1d5c13f80d7a98cf7b9285d95"
@@ -7197,6 +7911,75 @@ remark-parse@^5.0.0:
vfile-location "^2.0.0"
xtend "^4.0.1"
+remark-reference-links@^4.0.1:
+ version "4.0.3"
+ resolved "https://registry.yarnpkg.com/remark-reference-links/-/remark-reference-links-4.0.3.tgz#eb51ad4fddb009199f98ac403d0558d732e2df89"
+ dependencies:
+ unist-util-visit "^1.0.0"
+
+remark-slug@^5.0.0:
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/remark-slug/-/remark-slug-5.1.1.tgz#eb5dba0cf779487ef7ddf65c735ba4d4ca017542"
+ dependencies:
+ github-slugger "^1.0.0"
+ mdast-util-to-string "^1.0.0"
+ unist-util-visit "^1.0.0"
+
+remark-stringify@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-5.0.0.tgz#336d3a4d4a6a3390d933eeba62e8de4bd280afba"
+ dependencies:
+ ccount "^1.0.0"
+ is-alphanumeric "^1.0.0"
+ is-decimal "^1.0.0"
+ is-whitespace-character "^1.0.0"
+ longest-streak "^2.0.1"
+ markdown-escapes "^1.0.0"
+ markdown-table "^1.1.0"
+ mdast-util-compact "^1.0.0"
+ parse-entities "^1.0.2"
+ repeat-string "^1.5.4"
+ state-toggle "^1.0.0"
+ stringify-entities "^1.0.1"
+ unherit "^1.0.4"
+ xtend "^4.0.1"
+
+remark-toc@^5.0.0:
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/remark-toc/-/remark-toc-5.1.1.tgz#8c229d6f834cdb43fde6685e2d43248d3fc82d78"
+ dependencies:
+ mdast-util-toc "^3.0.0"
+ remark-slug "^5.0.0"
+
+remark@^9.0.0:
+ version "9.0.0"
+ resolved "https://registry.yarnpkg.com/remark/-/remark-9.0.0.tgz#c5cfa8ec535c73a67c4b0f12bfdbd3a67d8b2f60"
+ dependencies:
+ remark-parse "^5.0.0"
+ remark-stringify "^5.0.0"
+ unified "^6.0.0"
+
+ version "0.4.0"
+ resolved "https://registry.yarnpkg.com/remote-origin-url/-/remote-origin-url-0.4.0.tgz#4d3e2902f34e2d37d1c263d87710b77eb4086a30"
+ dependencies:
+ parse-git-config "^0.2.0"
+
+remove-bom-buffer@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/remove-bom-buffer/-/remove-bom-buffer-3.0.0.tgz#c2bf1e377520d324f623892e33c10cac2c252b53"
+ dependencies:
+ is-buffer "^1.1.5"
+ is-utf8 "^0.2.1"
+
+remove-bom-stream@^1.2.0:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/remove-bom-stream/-/remove-bom-stream-1.2.0.tgz#05f1a593f16e42e1fb90ebf59de8e569525f9523"
+ dependencies:
+ remove-bom-buffer "^3.0.0"
+ safe-buffer "^5.1.0"
+ through2 "^2.0.3"
+
remove-trailing-separator@^1.0.1:
version "1.1.0"
resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef"
@@ -7205,7 +7988,7 @@ repeat-element@^1.1.2:
version "1.1.3"
resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce"
-repeat-string@^1.5.2, repeat-string@^1.5.4, repeat-string@^1.6.1:
+repeat-string@^1.5.0, repeat-string@^1.5.2, repeat-string@^1.5.4, repeat-string@^1.6.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637"
@@ -7215,7 +7998,7 @@ repeating@^2.0.0:
dependencies:
is-finite "^1.0.0"
[email protected], replace-ext@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb"
@@ -7299,6 +8082,12 @@ resolve-from@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"
+resolve-options@^1.1.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/resolve-options/-/resolve-options-1.1.0.tgz#32bb9e39c06d67338dc9378c0d6d6074566ad131"
+ dependencies:
+ value-or-function "^3.0.0"
+
resolve-protobuf-schema@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz#9ca9a9e69cf192bbdaf1006ec1973948aa4a3758"
@@ -7313,7 +8102,13 @@ [email protected], [email protected]:
version "1.1.7"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
-resolve@^1.1.4, resolve@^1.1.5, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.8.1, resolve@^1.9.0:
+resolve@^1.1.3, resolve@^1.1.4, resolve@^1.1.5, resolve@^1.4.0:
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.9.0.tgz#a14c6fdfa8f92a7df1d996cb7105fa744658ea06"
+ dependencies:
+ path-parse "^1.0.6"
+
+resolve@^1.3.2, resolve@^1.8.1, resolve@^1.9.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.10.0.tgz#3bdaaeaf45cc07f375656dfd2e54ed0810b101ba"
dependencies:
@@ -7342,7 +8137,7 @@ ret@~0.1.10:
version "0.1.15"
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
-rimraf@^2.2.8, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3, rimraf@~2.6.2:
+rimraf@^2.2.8, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@~2.6.2:
version "2.6.3"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab"
dependencies:
@@ -7382,9 +8177,9 @@ rw@~0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/rw/-/rw-0.1.4.tgz#4903cbd80248ae0ede685bf58fd236a7a9b29a3e"
-rxjs@^6.1.0:
- version "6.3.3"
- resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.3.3.tgz#3c6a7fa420e844a81390fb1158a9ec614f4bad55"
+rxjs@^6.4.0:
+ version "6.4.0"
+ resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.4.0.tgz#f3bb0fe7bda7fb69deac0c16f17b50b0b8790504"
dependencies:
tslib "^1.9.0"
@@ -7392,6 +8187,10 @@ [email protected], safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, s
version "5.1.2"
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
+safe-json-parse@~1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/safe-json-parse/-/safe-json-parse-1.0.1.tgz#3e76723e38dfdda13c9b1d29a1e07ffee4b30b57"
+
safe-regex@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e"
@@ -7417,13 +8216,6 @@ scheduler@^0.12.0:
loose-envify "^1.1.0"
object-assign "^4.1.1"
-schema-utils@^0.4.4:
- version "0.4.7"
- resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.7.tgz#ba74f597d2be2ea880131746ee17d0a093c68187"
- dependencies:
- ajv "^6.1.0"
- ajv-keywords "^3.1.0"
-
schema-utils@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770"
@@ -7612,9 +8404,9 @@ slash@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44"
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-2.0.0.tgz#5373bdb8559b45676e8541c66916cdd6251612e7"
+slice-ansi@^2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636"
dependencies:
ansi-styles "^3.2.0"
astral-regex "^1.0.0"
@@ -7669,6 +8461,12 @@ [email protected]:
faye-websocket "^0.10.0"
uuid "^3.0.1"
+sort-keys@^1.0.0:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-1.1.2.tgz#441b6d4d346798f1b4e49e8920adfba0e543f9ad"
+ dependencies:
+ is-plain-obj "^1.0.0"
+
source-list-map@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34"
@@ -7696,7 +8494,7 @@ source-map-support@^0.4.15:
dependencies:
source-map "^0.5.6"
-source-map-support@^0.5.9, source-map-support@~0.5.6:
+source-map-support@^0.5.9, source-map-support@~0.5.9:
version "0.5.10"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.10.tgz#2214080bc9d51832511ee2bab96e3c2f9353120c"
dependencies:
@@ -7737,6 +8535,12 @@ sourcemapped-stacktrace@^1.1.6:
dependencies:
source-map "0.5.6"
+space-separated-tokens@^1.0.0:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-1.1.2.tgz#e95ab9d19ae841e200808cd96bc7bd0adbbb3412"
+ dependencies:
+ trim "0.0.1"
+
spawn-wrap@^1.4.2:
version "1.4.2"
resolved "https://registry.yarnpkg.com/spawn-wrap/-/spawn-wrap-1.4.2.tgz#cff58e73a8224617b6561abdc32586ea0c82248c"
@@ -7814,8 +8618,8 @@ sprintf-js@~1.0.2:
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
sshpk@^1.7.0:
- version "1.16.1"
- resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877"
+ version "1.16.0"
+ resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.0.tgz#1d4963a2fbffe58050aa9084ca20be81741c07de"
dependencies:
asn1 "~0.2.3"
assert-plus "^1.0.0"
@@ -7885,9 +8689,15 @@ stealthy-require@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b"
+stream-array@^1.1.2:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/stream-array/-/stream-array-1.1.2.tgz#9e5f7345f2137c30ee3b498b9114e80b52bb7eb5"
+ dependencies:
+ readable-stream "~2.1.0"
+
stream-browserify@^2.0.0, stream-browserify@^2.0.1:
- version "2.0.2"
- resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b"
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db"
dependencies:
inherits "~2.0.1"
readable-stream "^2.0.2"
@@ -7933,6 +8743,14 @@ stream-splicer@^2.0.0:
inherits "^2.0.1"
readable-stream "^2.0.2"
+strict-uri-encode@^1.0.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713"
+
+string-template@~0.2.1:
+ version "0.2.1"
+ resolved "https://registry.yarnpkg.com/string-template/-/string-template-0.2.1.tgz#42932e598a352d01fc22ec3367d9d84eec6c9add"
+
string-width@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3"
@@ -7948,6 +8766,14 @@ string-width@^1.0.1:
is-fullwidth-code-point "^2.0.0"
strip-ansi "^4.0.0"
+string-width@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.0.0.tgz#5a1690a57cc78211fffd9bf24bbe24d090604eb1"
+ dependencies:
+ emoji-regex "^7.0.1"
+ is-fullwidth-code-point "^2.0.0"
+ strip-ansi "^5.0.0"
+
string.prototype.matchall@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-3.0.1.tgz#5a9e0b64bcbeb336aa4814820237c2006985646d"
@@ -7982,22 +8808,31 @@ string.prototype.trim@^1.1.2, string.prototype.trim@~1.1.2:
es-abstract "^1.5.0"
function-bind "^1.0.2"
[email protected], string_decoder@~0.10.x:
+ version "0.10.31"
+ resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
+
string_decoder@^1.0.0, string_decoder@^1.1.1:
version "1.2.0"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.2.0.tgz#fe86e738b19544afe70469243b2a1ee9240eae8d"
dependencies:
safe-buffer "~5.1.0"
-string_decoder@~0.10.x:
- version "0.10.31"
- resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
-
string_decoder@~1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8"
dependencies:
safe-buffer "~5.1.0"
+stringify-entities@^1.0.1:
+ version "1.3.2"
+ resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-1.3.2.tgz#a98417e5471fd227b3e45d3db1861c11caf668f7"
+ dependencies:
+ character-entities-html4 "^1.0.0"
+ character-entities-legacy "^1.0.0"
+ is-alphanumerical "^1.0.0"
+ is-hexadecimal "^1.0.0"
+
strip-ansi@^3.0.0, strip-ansi@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
@@ -8022,6 +8857,10 @@ strip-bom@^2.0.0:
dependencies:
is-utf8 "^0.2.0"
+strip-bom@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3"
+
strip-eof@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf"
@@ -8081,7 +8920,7 @@ supports-color@^3.1.2, supports-color@^3.2.3:
dependencies:
has-flag "^1.0.0"
-supports-color@^5.1.0, supports-color@^5.3.0, supports-color@^5.5.0:
+supports-color@^5.1.0, supports-color@^5.3.0, supports-color@^5.4.0, supports-color@^5.5.0:
version "5.5.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
dependencies:
@@ -8108,13 +8947,13 @@ syntax-error@^1.1.1:
acorn-node "^1.2.0"
table@^5.0.2:
- version "5.2.1"
- resolved "https://registry.yarnpkg.com/table/-/table-5.2.1.tgz#e78463702b1be9f7131c39860bcfb1b81114c2a1"
+ version "5.2.3"
+ resolved "https://registry.yarnpkg.com/table/-/table-5.2.3.tgz#cde0cc6eb06751c009efab27e8c820ca5b67b7f2"
dependencies:
- ajv "^6.6.1"
+ ajv "^6.9.1"
lodash "^4.17.11"
- slice-ansi "2.0.0"
- string-width "^2.1.1"
+ slice-ansi "^2.1.0"
+ string-width "^3.0.0"
tap-out@^1.4.1:
version "1.4.2"
@@ -8179,27 +9018,27 @@ tar@^4:
yallist "^3.0.2"
terser-webpack-plugin@^1.1.0:
- version "1.2.1"
- resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.2.1.tgz#7545da9ae5f4f9ae6a0ac961eb46f5e7c845cc26"
+ version "1.2.2"
+ resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.2.2.tgz#9bff3a891ad614855a7dde0d707f7db5a927e3d9"
dependencies:
cacache "^11.0.2"
find-cache-dir "^2.0.0"
schema-utils "^1.0.0"
serialize-javascript "^1.4.0"
source-map "^0.6.1"
- terser "^3.8.1"
+ terser "^3.16.1"
webpack-sources "^1.1.0"
worker-farm "^1.5.2"
-terser@^3.8.1:
- version "3.14.1"
- resolved "https://registry.yarnpkg.com/terser/-/terser-3.14.1.tgz#cc4764014af570bc79c79742358bd46926018a32"
+terser@^3.16.1:
+ version "3.16.1"
+ resolved "https://registry.yarnpkg.com/terser/-/terser-3.16.1.tgz#5b0dd4fa1ffd0b0b43c2493b2c364fd179160493"
dependencies:
commander "~2.17.1"
source-map "~0.6.1"
- source-map-support "~0.5.6"
+ source-map-support "~0.5.9"
-test-exclude@^4.2.0, test-exclude@^4.2.1:
+test-exclude@^4.2.0:
version "4.2.3"
resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-4.2.3.tgz#a9a5e64474e4398339245a0a769ad7c2f4a97c20"
dependencies:
@@ -8209,6 +9048,15 @@ test-exclude@^4.2.0, test-exclude@^4.2.1:
read-pkg-up "^1.0.1"
require-main-filename "^1.0.1"
+test-exclude@^5.0.0:
+ version "5.1.0"
+ resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-5.1.0.tgz#6ba6b25179d2d38724824661323b73e03c0c1de1"
+ dependencies:
+ arrify "^1.0.1"
+ minimatch "^3.0.4"
+ read-pkg-up "^4.0.0"
+ require-main-filename "^1.0.1"
+
version "0.6.4"
resolved "https://registry.yarnpkg.com/text-encoding/-/text-encoding-0.6.4.tgz#e399a982257a276dae428bb92845cb71bdc26d19"
@@ -8217,7 +9065,14 @@ text-table@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
-through2@^2.0.0, through2@~2.0.3:
+through2-filter@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/through2-filter/-/through2-filter-3.0.0.tgz#700e786df2367c2c88cd8aa5be4cf9c1e7831254"
+ dependencies:
+ through2 "~2.0.0"
+ xtend "~4.0.0"
+
+through2@^2.0.0, through2@^2.0.3, through2@~2.0.0, through2@~2.0.3:
version "2.0.5"
resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd"
dependencies:
@@ -8255,6 +9110,17 @@ timers-ext@^0.1.5:
es5-ext "~0.10.46"
next-tick "1"
+tiny-lr@^1.1.0:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/tiny-lr/-/tiny-lr-1.1.1.tgz#9fa547412f238fedb068ee295af8b682c98b2aab"
+ dependencies:
+ body "^5.1.0"
+ debug "^3.1.0"
+ faye-websocket "~0.10.0"
+ livereload-js "^2.3.0"
+ object-assign "^4.1.0"
+ qs "^6.4.0"
+
tinyqueue@^1.1.0:
version "1.2.3"
resolved "https://registry.yarnpkg.com/tinyqueue/-/tinyqueue-1.2.3.tgz#b6a61de23060584da29f82362e45df1ec7353f3d"
@@ -8265,6 +9131,13 @@ tmp@^0.0.33:
dependencies:
os-tmpdir "~1.0.2"
+to-absolute-glob@^2.0.0:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz#1865f43d9e74b0822db9f145b78cff7d0f7c849b"
+ dependencies:
+ is-absolute "^1.0.0"
+ is-negated-glob "^1.0.0"
+
to-arraybuffer@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43"
@@ -8315,6 +9188,12 @@ to-space-case@^1.0.0:
dependencies:
to-no-case "^1.0.0"
+to-through@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/to-through/-/to-through-2.0.0.tgz#fc92adaba072647bc0b67d6b03664aa195093af6"
+ dependencies:
+ through2 "^2.0.3"
+
tough-cookie@>=2.3.3:
version "3.0.0"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-3.0.0.tgz#d2bceddebde633153ff20a52fa844a0dc71dacef"
@@ -8347,6 +9226,10 @@ traverse@~0.6.6:
version "0.6.6"
resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137"
+trim-lines@^1.0.0:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/trim-lines/-/trim-lines-1.1.1.tgz#da738ff58fa74817588455e30b11b85289f2a396"
+
trim-right@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
@@ -8434,6 +9317,10 @@ umd@^3.0.0:
version "3.0.3"
resolved "https://registry.yarnpkg.com/umd/-/umd-3.0.3.tgz#aa9fe653c42b9097678489c01000acb69f0b26cf"
+unc-path-regex@^0.1.2:
+ version "0.1.2"
+ resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa"
+
undeclared-identifiers@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/undeclared-identifiers/-/undeclared-identifiers-1.1.2.tgz#7d850a98887cff4bd0bf64999c014d08ed6d1acc"
@@ -8469,7 +9356,7 @@ unicode-property-aliases-ecmascript@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.4.tgz#5a533f31b4317ea76f17d807fa0d116546111dd0"
-unified@^6.1.5:
+unified@^6.0.0, unified@^6.1.5:
version "6.2.0"
resolved "https://registry.yarnpkg.com/unified/-/unified-6.2.0.tgz#7fbd630f719126d67d40c644b7e3f617035f6dba"
dependencies:
@@ -8501,10 +9388,31 @@ unique-slug@^2.0.0:
dependencies:
imurmurhash "^0.1.4"
-unist-util-is@^2.1.2:
+unique-stream@^2.0.2:
+ version "2.3.1"
+ resolved "https://registry.yarnpkg.com/unique-stream/-/unique-stream-2.3.1.tgz#c65d110e9a4adf9a6c5948b28053d9a8d04cbeac"
+ dependencies:
+ json-stable-stringify-without-jsonify "^1.0.1"
+ through2-filter "^3.0.0"
+
+unist-builder@^1.0.1, unist-builder@^1.0.2:
+ version "1.0.3"
+ resolved "https://registry.yarnpkg.com/unist-builder/-/unist-builder-1.0.3.tgz#ab0f9d0f10936b74f3e913521955b0478e0ff036"
+ dependencies:
+ object-assign "^4.1.0"
+
+unist-util-generated@^1.1.0:
+ version "1.1.3"
+ resolved "https://registry.yarnpkg.com/unist-util-generated/-/unist-util-generated-1.1.3.tgz#ca650470aef2fbcc5fe54c465bc26b41ca109e2b"
+
+unist-util-is@^2.0.0, unist-util-is@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-2.1.2.tgz#1193fa8f2bfbbb82150633f3a8d2eb9a1c1d55db"
+unist-util-position@^3.0.0:
+ version "3.0.2"
+ resolved "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-3.0.2.tgz#80ad4a05efc4ab01a66886cc70493893ba73c5eb"
+
unist-util-remove-position@^1.0.0:
version "1.1.2"
resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-1.1.2.tgz#86b5dad104d0bbfbeb1db5f5c92f3570575c12cb"
@@ -8525,7 +9433,7 @@ unist-util-visit-parents@^2.0.0:
dependencies:
unist-util-is "^2.1.2"
-unist-util-visit@^1.1.0, unist-util-visit@^1.3.0:
+unist-util-visit@^1.0.0, unist-util-visit@^1.1.0, unist-util-visit@^1.3.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-1.4.0.tgz#1cb763647186dc26f5e1df5db6bd1e48b3cc2fb1"
dependencies:
@@ -8546,7 +9454,7 @@ unzip-response@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-1.0.2.tgz#b984f0877fc0a89c2c773cc1ef7b5b232b5b06fe"
-upath@^1.0.5:
+upath@^1.0.5, upath@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.0.tgz#35256597e46a581db4793d0ce47fa9aebfc9fabd"
@@ -8621,13 +9529,7 @@ [email protected]:
dependencies:
inherits "2.0.1"
-util@^0.11.0:
- version "0.11.1"
- resolved "https://registry.yarnpkg.com/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61"
- dependencies:
- inherits "2.0.3"
-
-util@~0.10.1:
+util@^0.10.3, util@~0.10.1:
version "0.10.4"
resolved "https://registry.yarnpkg.com/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901"
dependencies:
@@ -8649,6 +9551,12 @@ v8-compile-cache@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.2.tgz#a428b28bb26790734c4fc8bc9fa106fccebf6a6c"
+v8flags@^3.1.1:
+ version "3.1.2"
+ resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-3.1.2.tgz#fc5cd0c227428181e6c29b2992e4f8f1da5e0c9f"
+ dependencies:
+ homedir-polyfill "^1.0.1"
+
validate-npm-package-license@^3.0.1:
version "3.0.4"
resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"
@@ -8656,6 +9564,10 @@ validate-npm-package-license@^3.0.1:
spdx-correct "^3.0.0"
spdx-expression-parse "^3.0.0"
+value-or-function@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/value-or-function/-/value-or-function-3.0.0.tgz#1c243a50b595c1be54a754bfece8563b9ff8d813"
+
vary@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
@@ -8678,6 +9590,25 @@ vfile-message@^1.0.0:
dependencies:
unist-util-stringify-position "^1.1.1"
+vfile-reporter@^5.0.0:
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/vfile-reporter/-/vfile-reporter-5.1.1.tgz#419688c7e9dcaf65ba81bfdb0ad443e9e0248e09"
+ dependencies:
+ repeat-string "^1.5.0"
+ string-width "^2.0.0"
+ supports-color "^5.4.0"
+ unist-util-stringify-position "^1.0.0"
+ vfile-sort "^2.1.2"
+ vfile-statistics "^1.1.0"
+
+vfile-sort@^2.1.0, vfile-sort@^2.1.2:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/vfile-sort/-/vfile-sort-2.2.0.tgz#383a8727ec4c5daf37c05683684a5eb686366d39"
+
+vfile-statistics@^1.1.0:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/vfile-statistics/-/vfile-statistics-1.1.2.tgz#c50132627e4669a3afa07c64ff1e7aa7695e8151"
+
vfile@^2.0.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/vfile/-/vfile-2.3.0.tgz#e62d8e72b20e83c324bc6c67278ee272488bf84a"
@@ -8687,6 +9618,15 @@ vfile@^2.0.0:
unist-util-stringify-position "^1.0.0"
vfile-message "^1.0.0"
+vfile@^3.0.0:
+ version "3.0.1"
+ resolved "https://registry.yarnpkg.com/vfile/-/vfile-3.0.1.tgz#47331d2abe3282424f4a4bb6acd20a44c4121803"
+ dependencies:
+ is-buffer "^2.0.0"
+ replace-ext "1.0.0"
+ unist-util-stringify-position "^1.0.0"
+ vfile-message "^1.0.0"
+
viewport-mercator-project@^6.0.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/viewport-mercator-project/-/viewport-mercator-project-6.1.0.tgz#94824977e023f96f0c0bf0d821d73f63c45478e4"
@@ -8694,6 +9634,51 @@ viewport-mercator-project@^6.0.0:
"@babel/runtime" "^7.0.0"
gl-matrix "^3.0.0-0"
+vinyl-fs@^3.0.2, vinyl-fs@^3.0.3:
+ version "3.0.3"
+ resolved "https://registry.yarnpkg.com/vinyl-fs/-/vinyl-fs-3.0.3.tgz#c85849405f67428feabbbd5c5dbdd64f47d31bc7"
+ dependencies:
+ fs-mkdirp-stream "^1.0.0"
+ glob-stream "^6.1.0"
+ graceful-fs "^4.0.0"
+ is-valid-glob "^1.0.0"
+ lazystream "^1.0.0"
+ lead "^1.0.0"
+ object.assign "^4.0.4"
+ pumpify "^1.3.5"
+ readable-stream "^2.3.3"
+ remove-bom-buffer "^3.0.0"
+ remove-bom-stream "^1.2.0"
+ resolve-options "^1.1.0"
+ through2 "^2.0.0"
+ to-through "^2.0.0"
+ value-or-function "^3.0.0"
+ vinyl "^2.0.0"
+ vinyl-sourcemap "^1.1.0"
+
+vinyl-sourcemap@^1.1.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/vinyl-sourcemap/-/vinyl-sourcemap-1.1.0.tgz#92a800593a38703a8cdb11d8b300ad4be63b3e16"
+ dependencies:
+ append-buffer "^1.0.2"
+ convert-source-map "^1.5.0"
+ graceful-fs "^4.1.6"
+ normalize-path "^2.1.1"
+ now-and-later "^2.0.0"
+ remove-bom-buffer "^3.0.0"
+ vinyl "^2.0.0"
+
+vinyl@^2.0.0, vinyl@^2.1.0:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.2.0.tgz#d85b07da96e458d25b2ffe19fece9f2caa13ed86"
+ dependencies:
+ clone "^2.1.1"
+ clone-buffer "^1.0.0"
+ clone-stats "^1.0.0"
+ cloneable-readable "^1.0.0"
+ remove-trailing-separator "^1.0.1"
+ replace-ext "^1.0.0"
+
vlq@^0.2.2:
version "0.2.3"
resolved "https://registry.yarnpkg.com/vlq/-/vlq-0.2.3.tgz#8f3e4328cf63b1540c0d67e1b2778386f8975b26"
@@ -8716,6 +9701,13 @@ vt-pbf@^3.0.1:
"@mapbox/vector-tile" "^1.3.1"
pbf "^3.0.5"
+vue-template-compiler@^2.5.16:
+ version "2.5.21"
+ resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.21.tgz#a57ceb903177e8f643560a8d639a0f8db647054a"
+ dependencies:
+ de-indent "^1.0.2"
+ he "^1.1.0"
+
w3c-hr-time@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz#82ac2bff63d950ea9e3189a58a65625fedf19045"
@@ -8763,18 +9755,16 @@ webidl-conversions@^4.0.2:
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"
webpack-cli@^3.2.1:
- version "3.2.1"
- resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-3.2.1.tgz#779c696c82482491f0803907508db2e276ed3b61"
+ version "3.2.3"
+ resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-3.2.3.tgz#13653549adfd8ccd920ad7be1ef868bacc22e346"
dependencies:
chalk "^2.4.1"
cross-spawn "^6.0.5"
enhanced-resolve "^4.1.0"
findup-sync "^2.0.0"
global-modules "^1.0.0"
- global-modules-path "^2.3.0"
import-local "^2.0.0"
interpret "^1.1.0"
- lightercollective "^0.1.0"
loader-utils "^1.1.0"
supports-color "^5.5.0"
v8-compile-cache "^2.0.2"
@@ -8790,8 +9780,8 @@ [email protected]:
webpack-log "^2.0.0"
webpack-dev-middleware@^3.5.1:
- version "3.5.1"
- resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.5.1.tgz#9265b7742ef50f54f54c1d9af022fc17c1be9b88"
+ version "3.5.2"
+ resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.5.2.tgz#d768b6194f3fe8d72d51feded49de359e8d96ffb"
dependencies:
memory-fs "~0.4.1"
mime "^2.3.1"
@@ -8861,8 +9851,8 @@ webpack-stats-plugin@^0.2.1:
resolved "https://registry.yarnpkg.com/webpack-stats-plugin/-/webpack-stats-plugin-0.2.1.tgz#1f5bac13fc25d62cbb5fd0ff646757dc802b8595"
webpack@^4.29.0:
- version "4.29.0"
- resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.29.0.tgz#f2cfef83f7ae404ba889ff5d43efd285ca26e750"
+ version "4.29.3"
+ resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.29.3.tgz#e0b406a7b4201ed5e4fb4f84fd7359f9a7db4647"
dependencies:
"@webassemblyjs/ast" "1.7.11"
"@webassemblyjs/helper-module-context" "1.7.11"
@@ -8883,7 +9873,7 @@ webpack@^4.29.0:
mkdirp "~0.5.0"
neo-async "^2.5.0"
node-libs-browser "^2.0.0"
- schema-utils "^0.4.4"
+ schema-utils "^1.0.0"
tapable "^1.1.0"
terser-webpack-plugin "^1.1.0"
watchpack "^1.5.0"
@@ -9036,7 +10026,7 @@ [email protected]:
version "4.0.0"
resolved "https://registry.yarnpkg.com/xregexp/-/xregexp-4.0.0.tgz#e698189de49dd2a18cc5687b05e17c8e43943020"
-xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1:
+xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.0, xtend@~4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"
@@ -9069,7 +10059,13 @@ yargs-parser@^11.1.1:
camelcase "^5.0.0"
decamelize "^1.2.0"
-yargs-parser@^8.0.0, yargs-parser@^8.1.0:
+yargs-parser@^7.0.0:
+ version "7.0.0"
+ resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-7.0.0.tgz#8d0ac42f16ea55debd332caf4c4038b3e3f5dfd9"
+ dependencies:
+ camelcase "^4.1.0"
+
+yargs-parser@^8.0.0:
version "8.1.0"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-8.1.0.tgz#f1376a33b6629a5d063782944da732631e966950"
dependencies:
@@ -9115,36 +10111,37 @@ [email protected]:
y18n "^3.2.1 || ^4.0.0"
yargs-parser "^10.1.0"
-yargs@^10.0.3:
- version "10.1.2"
- resolved "https://registry.yarnpkg.com/yargs/-/yargs-10.1.2.tgz#454d074c2b16a51a43e2fb7807e4f9de69ccb5c5"
+yargs@^12.0.4, yargs@^12.0.5:
+ version "12.0.5"
+ resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13"
dependencies:
cliui "^4.0.0"
- decamelize "^1.1.1"
- find-up "^2.1.0"
+ decamelize "^1.2.0"
+ find-up "^3.0.0"
get-caller-file "^1.0.1"
- os-locale "^2.0.0"
+ os-locale "^3.0.0"
require-directory "^2.1.1"
require-main-filename "^1.0.1"
set-blocking "^2.0.0"
string-width "^2.0.0"
which-module "^2.0.0"
- y18n "^3.2.1"
- yargs-parser "^8.1.0"
+ y18n "^3.2.1 || ^4.0.0"
+ yargs-parser "^11.1.1"
-yargs@^12.0.4:
- version "12.0.5"
- resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13"
+yargs@^9.0.1:
+ version "9.0.1"
+ resolved "https://registry.yarnpkg.com/yargs/-/yargs-9.0.1.tgz#52acc23feecac34042078ee78c0c007f5085db4c"
dependencies:
- cliui "^4.0.0"
- decamelize "^1.2.0"
- find-up "^3.0.0"
+ camelcase "^4.1.0"
+ cliui "^3.2.0"
+ decamelize "^1.1.1"
get-caller-file "^1.0.1"
- os-locale "^3.0.0"
+ os-locale "^2.0.0"
+ read-pkg-up "^2.0.0"
require-directory "^2.1.1"
require-main-filename "^1.0.1"
set-blocking "^2.0.0"
string-width "^2.0.0"
which-module "^2.0.0"
- y18n "^3.2.1 || ^4.0.0"
- yargs-parser "^11.1.1"
+ y18n "^3.2.1"
+ yargs-parser "^7.0.0"