diff --git a/CHANGELOG.md b/CHANGELOG.md index 898b4224..ec0c62ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## v1.9.0 (2018-03-14) + +* Fixed event listeners removal in `Map` ([PR #459](https://github.com/PaulLeCam/react-leaflet/pull/459) by _andersonveiga_). +* Added support for dynamic handlers in `Map` ([PR #452](https://github.com/PaulLeCam/react-leaflet/pull/452) by _jonathanchrisp_). +* Added `DivOverlay` component as base class for `Popup` and `Tooltip`, now supporting dynamic `className` prop. +* [website] Updated Docusaurus, with added on-page navigation sidebar. + ## v1.8.2 (2018-02-26) * Fixed `Map` unmounting when `preferCanvas` is set. diff --git a/docs/class-hierarchy.md b/docs/class-hierarchy.md index 8b4a3ae4..0af90c6e 100644 --- a/docs/class-hierarchy.md +++ b/docs/class-hierarchy.md @@ -12,6 +12,9 @@ The components exposed by React-Leaflet inherit from the following hierarchy: * [`LayersControl.Overlay`](components.md#layerscontroloverlay) * [`MapComponent`](components.md#mapcomponent): base class handling extracting and updating Leaflet events. + * [`DivOverlay`](components.md#divoverlay) + * [`Popup`](components.md#popup) + * [`Tooltip`](components.md#tooltip) * [`Map`](components.md#map): top-level component instantiating a Leaflet map and providing it to its children. * [`MapLayer`](components.md#maplayer): base class for all map layers, @@ -31,8 +34,6 @@ The components exposed by React-Leaflet inherit from the following hierarchy: * [`Polygon`](components.md#polygon) * [`Polyline`](components.md#polyline) * [`Rectangle`](components.md#rectangle) - * [`Popup`](components.md#popup) - * [`Tooltip`](components.md#tooltip) * [`MapControl`](components.md#mapcontrol): base class for all controls, handles positioning. * [`AttributionControl`](components.md#attributioncontrol) diff --git a/docs/components.md b/docs/components.md index fd5fb64b..4ddc8d63 100644 --- a/docs/components.md +++ b/docs/components.md @@ -18,6 +18,7 @@ in `componentWillMount()` and therefore accessible in `componentDidMount()`, exc You can check out the [event handling example](https://github.com/PaulLeCam/react-leaflet/blob/master/example/components/events.js) to see how to interact with methods exposed by the Leaflet element. * [Base components](#base-components) + * [DivOverlay](#divoverlay) * [MapComponent](#mapcomponent) * [MapControl](#mapcontrol) * [MapLayer](#maplayer) @@ -57,6 +58,12 @@ You can check out the [event handling example](https://github.com/PaulLeCam/reac These components are base classes used by other components. They can be extended to create custom components but should not be used directly. +### DivOverlay + +Base class extending [`MapComponent`](#mapcomponent), handling shared logic for the [`Popup`](#popup) and [`Tooltip`](#tooltip) components. + +[🔍 Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/DivOverlay.js) + ### MapComponent Base class extending `React.Component` and handling events bindings.\ diff --git a/flow-typed/npm/babel-cli_vx.x.x.js b/flow-typed/npm/babel-cli_vx.x.x.js index 07867eac..61233c53 100644 --- a/flow-typed/npm/babel-cli_vx.x.x.js +++ b/flow-typed/npm/babel-cli_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 94e44f973128ce7c802549991c028ceb -// flow-typed version: <>/babel-cli_v^6.26.0/flow_v0.63.1 +// flow-typed signature: 96a5464878cc5ee4a5b9ffc983904bfa +// flow-typed version: <>/babel-cli_v^6.26.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-core_vx.x.x.js b/flow-typed/npm/babel-core_vx.x.x.js index 0418dedf..cc8e730b 100644 --- a/flow-typed/npm/babel-core_vx.x.x.js +++ b/flow-typed/npm/babel-core_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: d345cd551f1e83c0e730bcd569bede23 -// flow-typed version: <>/babel-core_v^6.26.0/flow_v0.63.1 +// flow-typed signature: e77b38eecf3c558045bec5bd58fab2f4 +// flow-typed version: <>/babel-core_v^6.26.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-eslint_vx.x.x.js b/flow-typed/npm/babel-eslint_vx.x.x.js index 3321596a..6bdd8456 100644 --- a/flow-typed/npm/babel-eslint_vx.x.x.js +++ b/flow-typed/npm/babel-eslint_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: ad45c4b996315ba2f858d529422af55e -// flow-typed version: <>/babel-eslint_v^8.2.1/flow_v0.63.1 +// flow-typed signature: ffb075cbdf4d96318226616a9f4fe1d3 +// flow-typed version: <>/babel-eslint_v^8.2.2/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-jest_vx.x.x.js b/flow-typed/npm/babel-jest_vx.x.x.js index 32171630..e32ec6f2 100644 --- a/flow-typed/npm/babel-jest_vx.x.x.js +++ b/flow-typed/npm/babel-jest_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: c34a2d7efb2b58d5dbdf5b533dfdc28e -// flow-typed version: <>/babel-jest_v^22.0.6/flow_v0.63.1 +// flow-typed signature: 7f2595b775efacd53d3339b597f6b8e5 +// flow-typed version: <>/babel-jest_v^22.4.1/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-loader_vx.x.x.js b/flow-typed/npm/babel-loader_vx.x.x.js index 7365c1b0..b991374f 100644 --- a/flow-typed/npm/babel-loader_vx.x.x.js +++ b/flow-typed/npm/babel-loader_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 10a92c74eab5d547509f818ef16e617e -// flow-typed version: <>/babel-loader_v^7.1.2/flow_v0.63.1 +// flow-typed signature: 921fc3c9cf5a11a727faa0c0e8b53d78 +// flow-typed version: <>/babel-loader_v^7.1.4/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-plugin-dev-expression_vx.x.x.js b/flow-typed/npm/babel-plugin-dev-expression_vx.x.x.js index 175c65e4..1b2c0700 100644 --- a/flow-typed/npm/babel-plugin-dev-expression_vx.x.x.js +++ b/flow-typed/npm/babel-plugin-dev-expression_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: dbf704333572051ba6c4725a4f8e01d6 -// flow-typed version: <>/babel-plugin-dev-expression_v^0.2.1/flow_v0.63.1 +// flow-typed signature: 70a7ba23a419547ce6e1ba589ec4a6ab +// flow-typed version: <>/babel-plugin-dev-expression_v^0.2.1/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-plugin-external-helpers_vx.x.x.js b/flow-typed/npm/babel-plugin-external-helpers_vx.x.x.js index f8fcdb20..9d60ca0f 100644 --- a/flow-typed/npm/babel-plugin-external-helpers_vx.x.x.js +++ b/flow-typed/npm/babel-plugin-external-helpers_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 3709318b489de21b956f5137f451736b -// flow-typed version: <>/babel-plugin-external-helpers_v^6.22.0/flow_v0.63.1 +// flow-typed signature: 940e11cc816192a7f1ed6b1e3a22311d +// flow-typed version: <>/babel-plugin-external-helpers_v^6.22.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-plugin-lodash_vx.x.x.js b/flow-typed/npm/babel-plugin-lodash_vx.x.x.js index 6d869925..7f68a2c2 100644 --- a/flow-typed/npm/babel-plugin-lodash_vx.x.x.js +++ b/flow-typed/npm/babel-plugin-lodash_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 7ebfe2eb482617d59420ad1dbf219dd6 -// flow-typed version: <>/babel-plugin-lodash_v^3.3.2/flow_v0.63.1 +// flow-typed signature: 9551d98178ca7b6688ec8de9637f1247 +// flow-typed version: <>/babel-plugin-lodash_v^3.3.2/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-plugin-transform-proto-to-assign_vx.x.x.js b/flow-typed/npm/babel-plugin-transform-proto-to-assign_vx.x.x.js index ec4eb4f5..2ce3a1ba 100644 --- a/flow-typed/npm/babel-plugin-transform-proto-to-assign_vx.x.x.js +++ b/flow-typed/npm/babel-plugin-transform-proto-to-assign_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: bce342a31591b53a2d54e425019f1d8d -// flow-typed version: <>/babel-plugin-transform-proto-to-assign_v^6.26.0/flow_v0.63.1 +// flow-typed signature: 427c96c9521d73382dc427e724a75059 +// flow-typed version: <>/babel-plugin-transform-proto-to-assign_v^6.26.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-preset-env_vx.x.x.js b/flow-typed/npm/babel-preset-env_vx.x.x.js index a3a65344..1fdfbb69 100644 --- a/flow-typed/npm/babel-preset-env_vx.x.x.js +++ b/flow-typed/npm/babel-preset-env_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: ef91b18cc9d2ea1605e5a2b87e90935a -// flow-typed version: <>/babel-preset-env_v^1.6.1/flow_v0.63.1 +// flow-typed signature: 93f0fbce0ccee2b42fb3c13696148e30 +// flow-typed version: <>/babel-preset-env_v^1.6.1/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-preset-react_vx.x.x.js b/flow-typed/npm/babel-preset-react_vx.x.x.js index 7e91c741..7538cbfd 100644 --- a/flow-typed/npm/babel-preset-react_vx.x.x.js +++ b/flow-typed/npm/babel-preset-react_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 13d1f3801832f277dd1ebe626dc9725e -// flow-typed version: <>/babel-preset-react_v^6.24.1/flow_v0.63.1 +// flow-typed signature: 33bfe7eef3b03ef1ab0970c592bfe89c +// flow-typed version: <>/babel-preset-react_v^6.24.1/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-preset-stage-1_vx.x.x.js b/flow-typed/npm/babel-preset-stage-1_vx.x.x.js index e50a99ec..b6d7cbb3 100644 --- a/flow-typed/npm/babel-preset-stage-1_vx.x.x.js +++ b/flow-typed/npm/babel-preset-stage-1_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 55c9ecc920688f6bde95a61b8bb295f4 -// flow-typed version: <>/babel-preset-stage-1_v^6.24.1/flow_v0.63.1 +// flow-typed signature: f049aa1f23edd53c53781fbe8a8540a9 +// flow-typed version: <>/babel-preset-stage-1_v^6.24.1/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/cross-env_vx.x.x.js b/flow-typed/npm/cross-env_vx.x.x.js index 2071bc57..c5c26a12 100644 --- a/flow-typed/npm/cross-env_vx.x.x.js +++ b/flow-typed/npm/cross-env_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: bc75bd8142e253c635297db7a8f079e7 -// flow-typed version: <>/cross-env_v^5.1.3/flow_v0.63.1 +// flow-typed signature: 1e794bbf547b4929dbaf3cb1165bf82f +// flow-typed version: <>/cross-env_v^5.1.4/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/eslint-config-prettier_vx.x.x.js b/flow-typed/npm/eslint-config-prettier_vx.x.x.js index 9d69f73a..ffafe2d9 100644 --- a/flow-typed/npm/eslint-config-prettier_vx.x.x.js +++ b/flow-typed/npm/eslint-config-prettier_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 7f1317029b8ca0f26ff7c8555abb527e -// flow-typed version: <>/eslint-config-prettier_v^2.9.0/flow_v0.63.1 +// flow-typed signature: 5e7d8b5d012d3b41d977180cd64187b3 +// flow-typed version: <>/eslint-config-prettier_v^2.9.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js b/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js index e55d76f2..a5faa5dc 100644 --- a/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: fecea0764b77ab496934d14cf729f960 -// flow-typed version: <>/eslint-plugin-flowtype_v^2.41.0/flow_v0.63.1 +// flow-typed signature: 2a7122c665be8a6d80fb097c5a461f55 +// flow-typed version: <>/eslint-plugin-flowtype_v^2.46.1/flow_v0.67.1 /** * This is an autogenerated libdef stub for: @@ -46,10 +46,18 @@ declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing' { declare module.exports: any; } +declare module 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation' { + declare module.exports: any; +} + declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys' { declare module.exports: any; } +declare module 'eslint-plugin-flowtype/dist/rules/noExistentialType' { + declare module.exports: any; +} + declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments' { declare module.exports: any; } @@ -78,6 +86,10 @@ declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter' { declare module.exports: any; } +declare module 'eslint-plugin-flowtype/dist/rules/requireExactType' { + declare module.exports: any; +} + declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType' { declare module.exports: any; } @@ -86,6 +98,10 @@ declare module 'eslint-plugin-flowtype/dist/rules/requireReturnType' { declare module.exports: any; } +declare module 'eslint-plugin-flowtype/dist/rules/requireTypesAtTop' { + declare module.exports: any; +} + declare module 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation' { declare module.exports: any; } @@ -150,6 +166,10 @@ declare module 'eslint-plugin-flowtype/dist/rules/typeIdMatch' { declare module.exports: any; } +declare module 'eslint-plugin-flowtype/dist/rules/typeImportStyle' { + declare module.exports: any; +} + declare module 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing' { declare module.exports: any; } @@ -225,9 +245,15 @@ declare module 'eslint-plugin-flowtype/dist/rules/delimiterDangle.js' { declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/genericSpacing'>; } +declare module 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation'>; +} declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noDupeKeys'>; } +declare module 'eslint-plugin-flowtype/dist/rules/noExistentialType.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noExistentialType'>; +} declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments'>; } @@ -249,12 +275,18 @@ declare module 'eslint-plugin-flowtype/dist/rules/noWeakTypes.js' { declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter'>; } +declare module 'eslint-plugin-flowtype/dist/rules/requireExactType.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireExactType'>; +} declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireParameterType'>; } declare module 'eslint-plugin-flowtype/dist/rules/requireReturnType.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireReturnType'>; } +declare module 'eslint-plugin-flowtype/dist/rules/requireTypesAtTop.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireTypesAtTop'>; +} declare module 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation'>; } @@ -303,6 +335,9 @@ declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter.js' declare module 'eslint-plugin-flowtype/dist/rules/typeIdMatch.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeIdMatch'>; } +declare module 'eslint-plugin-flowtype/dist/rules/typeImportStyle.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeImportStyle'>; +} declare module 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing'>; } diff --git a/flow-typed/npm/eslint-plugin-import_vx.x.x.js b/flow-typed/npm/eslint-plugin-import_vx.x.x.js index 47bce5cb..62a1c22e 100644 --- a/flow-typed/npm/eslint-plugin-import_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-import_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 8d6b3f06d2ca167dd08012b19ec8cabb -// flow-typed version: <>/eslint-plugin-import_v^2.8.0/flow_v0.63.1 +// flow-typed signature: a34852e190ad06fce65196b00d55f94c +// flow-typed version: <>/eslint-plugin-import_v^2.9.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: @@ -58,6 +58,10 @@ declare module 'eslint-plugin-import/lib/core/staticRequire' { declare module.exports: any; } +declare module 'eslint-plugin-import/lib/docsUrl' { + declare module.exports: any; +} + declare module 'eslint-plugin-import/lib/ExportMap' { declare module.exports: any; } @@ -90,6 +94,10 @@ declare module 'eslint-plugin-import/lib/rules/first' { declare module.exports: any; } +declare module 'eslint-plugin-import/lib/rules/group-exports' { + declare module.exports: any; +} + declare module 'eslint-plugin-import/lib/rules/imports-first' { declare module.exports: any; } @@ -126,6 +134,10 @@ declare module 'eslint-plugin-import/lib/rules/no-commonjs' { declare module.exports: any; } +declare module 'eslint-plugin-import/lib/rules/no-default-export' { + declare module.exports: any; +} + declare module 'eslint-plugin-import/lib/rules/no-deprecated' { declare module.exports: any; } @@ -174,6 +186,10 @@ declare module 'eslint-plugin-import/lib/rules/no-restricted-paths' { declare module.exports: any; } +declare module 'eslint-plugin-import/lib/rules/no-self-import' { + declare module.exports: any; +} + declare module 'eslint-plugin-import/lib/rules/no-unassigned-import' { declare module.exports: any; } @@ -182,6 +198,10 @@ declare module 'eslint-plugin-import/lib/rules/no-unresolved' { declare module.exports: any; } +declare module 'eslint-plugin-import/lib/rules/no-useless-path-segments' { + declare module.exports: any; +} + declare module 'eslint-plugin-import/lib/rules/no-webpack-loader-syntax' { declare module.exports: any; } @@ -230,6 +250,9 @@ declare module 'eslint-plugin-import/lib/core/importType.js' { declare module 'eslint-plugin-import/lib/core/staticRequire.js' { declare module.exports: $Exports<'eslint-plugin-import/lib/core/staticRequire'>; } +declare module 'eslint-plugin-import/lib/docsUrl.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/docsUrl'>; +} declare module 'eslint-plugin-import/lib/ExportMap.js' { declare module.exports: $Exports<'eslint-plugin-import/lib/ExportMap'>; } @@ -254,6 +277,9 @@ declare module 'eslint-plugin-import/lib/rules/extensions.js' { declare module 'eslint-plugin-import/lib/rules/first.js' { declare module.exports: $Exports<'eslint-plugin-import/lib/rules/first'>; } +declare module 'eslint-plugin-import/lib/rules/group-exports.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/group-exports'>; +} declare module 'eslint-plugin-import/lib/rules/imports-first.js' { declare module.exports: $Exports<'eslint-plugin-import/lib/rules/imports-first'>; } @@ -281,6 +307,9 @@ declare module 'eslint-plugin-import/lib/rules/no-anonymous-default-export.js' { declare module 'eslint-plugin-import/lib/rules/no-commonjs.js' { declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-commonjs'>; } +declare module 'eslint-plugin-import/lib/rules/no-default-export.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-default-export'>; +} declare module 'eslint-plugin-import/lib/rules/no-deprecated.js' { declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-deprecated'>; } @@ -317,12 +346,18 @@ declare module 'eslint-plugin-import/lib/rules/no-nodejs-modules.js' { declare module 'eslint-plugin-import/lib/rules/no-restricted-paths.js' { declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-restricted-paths'>; } +declare module 'eslint-plugin-import/lib/rules/no-self-import.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-self-import'>; +} declare module 'eslint-plugin-import/lib/rules/no-unassigned-import.js' { declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-unassigned-import'>; } declare module 'eslint-plugin-import/lib/rules/no-unresolved.js' { declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-unresolved'>; } +declare module 'eslint-plugin-import/lib/rules/no-useless-path-segments.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-useless-path-segments'>; +} declare module 'eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js' { declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-webpack-loader-syntax'>; } diff --git a/flow-typed/npm/eslint-plugin-node_vx.x.x.js b/flow-typed/npm/eslint-plugin-node_vx.x.x.js index 315428e6..b5a1c598 100644 --- a/flow-typed/npm/eslint-plugin-node_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-node_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: da8db612cca73e9e94c5cb901d299775 -// flow-typed version: <>/eslint-plugin-node_v^5.2.1/flow_v0.63.1 +// flow-typed signature: 5205c7b6ceba96527d0f5da8cb4992e1 +// flow-typed version: <>/eslint-plugin-node_v^6.0.1/flow_v0.67.1 /** * This is an autogenerated libdef stub for: @@ -118,6 +118,10 @@ declare module 'eslint-plugin-node/lib/util/get-convert-path' { declare module.exports: any; } +declare module 'eslint-plugin-node/lib/util/get-docs-url' { + declare module.exports: any; +} + declare module 'eslint-plugin-node/lib/util/get-import-export-targets' { declare module.exports: any; } @@ -227,6 +231,9 @@ declare module 'eslint-plugin-node/lib/util/get-allow-modules.js' { declare module 'eslint-plugin-node/lib/util/get-convert-path.js' { declare module.exports: $Exports<'eslint-plugin-node/lib/util/get-convert-path'>; } +declare module 'eslint-plugin-node/lib/util/get-docs-url.js' { + declare module.exports: $Exports<'eslint-plugin-node/lib/util/get-docs-url'>; +} declare module 'eslint-plugin-node/lib/util/get-import-export-targets.js' { declare module.exports: $Exports<'eslint-plugin-node/lib/util/get-import-export-targets'>; } diff --git a/flow-typed/npm/eslint-plugin-prettier_vx.x.x.js b/flow-typed/npm/eslint-plugin-prettier_vx.x.x.js index 467164cb..bf55570f 100644 --- a/flow-typed/npm/eslint-plugin-prettier_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-prettier_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 54b73efb31ac86702b14d00c9bc26770 -// flow-typed version: <>/eslint-plugin-prettier_v^2.4.0/flow_v0.63.1 +// flow-typed signature: e84b3e786d4f2ea8e441be5a3a650d40 +// flow-typed version: <>/eslint-plugin-prettier_v^2.6.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/eslint-plugin-promise_vx.x.x.js b/flow-typed/npm/eslint-plugin-promise_vx.x.x.js index f322abc1..5e3c2a11 100644 --- a/flow-typed/npm/eslint-plugin-promise_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-promise_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 3dad6a146176994cea77200d1f68399b -// flow-typed version: <>/eslint-plugin-promise_v^3.6.0/flow_v0.63.1 +// flow-typed signature: e2c194bd2c7304ac88f7618dccff3c94 +// flow-typed version: <>/eslint-plugin-promise_v^3.7.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: @@ -34,6 +34,10 @@ declare module 'eslint-plugin-promise/rules/catch-or-return' { declare module.exports: any; } +declare module 'eslint-plugin-promise/rules/lib/get-docs-url' { + declare module.exports: any; +} + declare module 'eslint-plugin-promise/rules/lib/has-promise-callback' { declare module.exports: any; } @@ -58,6 +62,10 @@ declare module 'eslint-plugin-promise/rules/lib/is-promise' { declare module.exports: any; } +declare module 'eslint-plugin-promise/rules/lib/promise-statics' { + declare module.exports: any; +} + declare module 'eslint-plugin-promise/rules/no-callback-in-promise' { declare module.exports: any; } @@ -70,6 +78,10 @@ declare module 'eslint-plugin-promise/rules/no-nesting' { declare module.exports: any; } +declare module 'eslint-plugin-promise/rules/no-new-statics' { + declare module.exports: any; +} + declare module 'eslint-plugin-promise/rules/no-promise-in-callback' { declare module.exports: any; } @@ -94,6 +106,10 @@ declare module 'eslint-plugin-promise/rules/prefer-await-to-then' { declare module.exports: any; } +declare module 'eslint-plugin-promise/rules/valid-params' { + declare module.exports: any; +} + // Filename aliases declare module 'eslint-plugin-promise/index' { declare module.exports: $Exports<'eslint-plugin-promise'>; @@ -110,6 +126,9 @@ declare module 'eslint-plugin-promise/rules/avoid-new.js' { declare module 'eslint-plugin-promise/rules/catch-or-return.js' { declare module.exports: $Exports<'eslint-plugin-promise/rules/catch-or-return'>; } +declare module 'eslint-plugin-promise/rules/lib/get-docs-url.js' { + declare module.exports: $Exports<'eslint-plugin-promise/rules/lib/get-docs-url'>; +} declare module 'eslint-plugin-promise/rules/lib/has-promise-callback.js' { declare module.exports: $Exports<'eslint-plugin-promise/rules/lib/has-promise-callback'>; } @@ -128,6 +147,9 @@ declare module 'eslint-plugin-promise/rules/lib/is-named-callback.js' { declare module 'eslint-plugin-promise/rules/lib/is-promise.js' { declare module.exports: $Exports<'eslint-plugin-promise/rules/lib/is-promise'>; } +declare module 'eslint-plugin-promise/rules/lib/promise-statics.js' { + declare module.exports: $Exports<'eslint-plugin-promise/rules/lib/promise-statics'>; +} declare module 'eslint-plugin-promise/rules/no-callback-in-promise.js' { declare module.exports: $Exports<'eslint-plugin-promise/rules/no-callback-in-promise'>; } @@ -137,6 +159,9 @@ declare module 'eslint-plugin-promise/rules/no-native.js' { declare module 'eslint-plugin-promise/rules/no-nesting.js' { declare module.exports: $Exports<'eslint-plugin-promise/rules/no-nesting'>; } +declare module 'eslint-plugin-promise/rules/no-new-statics.js' { + declare module.exports: $Exports<'eslint-plugin-promise/rules/no-new-statics'>; +} declare module 'eslint-plugin-promise/rules/no-promise-in-callback.js' { declare module.exports: $Exports<'eslint-plugin-promise/rules/no-promise-in-callback'>; } @@ -155,3 +180,6 @@ declare module 'eslint-plugin-promise/rules/prefer-await-to-callbacks.js' { declare module 'eslint-plugin-promise/rules/prefer-await-to-then.js' { declare module.exports: $Exports<'eslint-plugin-promise/rules/prefer-await-to-then'>; } +declare module 'eslint-plugin-promise/rules/valid-params.js' { + declare module.exports: $Exports<'eslint-plugin-promise/rules/valid-params'>; +} diff --git a/flow-typed/npm/eslint-plugin-react_vx.x.x.js b/flow-typed/npm/eslint-plugin-react_vx.x.x.js index 5f96e8d4..64e9ac37 100644 --- a/flow-typed/npm/eslint-plugin-react_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-react_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 1051f82a8632507bc1b4d98a566be86d -// flow-typed version: <>/eslint-plugin-react_v^7.5.1/flow_v0.63.1 +// flow-typed signature: 178de7640cf74c0f829f20f29763bd11 +// flow-typed version: <>/eslint-plugin-react_v^7.7.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: @@ -46,6 +46,10 @@ declare module 'eslint-plugin-react/lib/rules/forbid-component-props' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/forbid-dom-props' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/forbid-elements' { declare module.exports: any; } @@ -62,6 +66,10 @@ declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/jsx-child-element-spacing' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location' { declare module.exports: any; } @@ -106,6 +114,10 @@ declare module 'eslint-plugin-react/lib/rules/jsx-key' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/jsx-max-depth' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/jsx-max-props-per-line' { declare module.exports: any; } @@ -142,6 +154,10 @@ declare module 'eslint-plugin-react/lib/rules/jsx-pascal-case' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/jsx-sort-default-props' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/jsx-sort-props' { declare module.exports: any; } @@ -230,6 +246,10 @@ declare module 'eslint-plugin-react/lib/rules/no-string-refs' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/no-this-in-sfc' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/no-typos' { declare module.exports: any; } @@ -314,6 +334,10 @@ declare module 'eslint-plugin-react/lib/util/Components' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/util/docsUrl' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket' { declare module.exports: any; } @@ -363,6 +387,9 @@ declare module 'eslint-plugin-react/lib/rules/display-name.js' { declare module 'eslint-plugin-react/lib/rules/forbid-component-props.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-component-props'>; } +declare module 'eslint-plugin-react/lib/rules/forbid-dom-props.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-dom-props'>; +} declare module 'eslint-plugin-react/lib/rules/forbid-elements.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-elements'>; } @@ -375,6 +402,9 @@ declare module 'eslint-plugin-react/lib/rules/forbid-prop-types.js' { declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-boolean-value'>; } +declare module 'eslint-plugin-react/lib/rules/jsx-child-element-spacing.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-child-element-spacing'>; +} declare module 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-closing-bracket-location'>; } @@ -408,6 +438,9 @@ declare module 'eslint-plugin-react/lib/rules/jsx-indent.js' { declare module 'eslint-plugin-react/lib/rules/jsx-key.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-key'>; } +declare module 'eslint-plugin-react/lib/rules/jsx-max-depth.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-max-depth'>; +} declare module 'eslint-plugin-react/lib/rules/jsx-max-props-per-line.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-max-props-per-line'>; } @@ -435,6 +468,9 @@ declare module 'eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js' { declare module 'eslint-plugin-react/lib/rules/jsx-pascal-case.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-pascal-case'>; } +declare module 'eslint-plugin-react/lib/rules/jsx-sort-default-props.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-sort-default-props'>; +} declare module 'eslint-plugin-react/lib/rules/jsx-sort-props.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-sort-props'>; } @@ -501,6 +537,9 @@ declare module 'eslint-plugin-react/lib/rules/no-set-state.js' { declare module 'eslint-plugin-react/lib/rules/no-string-refs.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-string-refs'>; } +declare module 'eslint-plugin-react/lib/rules/no-this-in-sfc.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-this-in-sfc'>; +} declare module 'eslint-plugin-react/lib/rules/no-typos.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-typos'>; } @@ -564,6 +603,9 @@ declare module 'eslint-plugin-react/lib/util/ast.js' { declare module 'eslint-plugin-react/lib/util/Components.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/util/Components'>; } +declare module 'eslint-plugin-react/lib/util/docsUrl.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/util/docsUrl'>; +} declare module 'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket'>; } diff --git a/flow-typed/npm/eslint_vx.x.x.js b/flow-typed/npm/eslint_vx.x.x.js index a7e5033e..239517ec 100644 --- a/flow-typed/npm/eslint_vx.x.x.js +++ b/flow-typed/npm/eslint_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 06fb0448e5d92893c2832e03e36de63d -// flow-typed version: <>/eslint_v^4.15.0/flow_v0.63.1 +// flow-typed signature: 6650883c375529b0d52afa59a27c7c1a +// flow-typed version: <>/eslint_v^4.18.2/flow_v0.67.1 /** * This is an autogenerated libdef stub for: @@ -34,10 +34,6 @@ declare module 'eslint/conf/default-cli-options' { declare module.exports: any; } -declare module 'eslint/conf/default-config-options' { - declare module.exports: any; -} - declare module 'eslint/conf/environments' { declare module.exports: any; } @@ -1396,9 +1392,6 @@ declare module 'eslint/conf/config-schema.js' { declare module 'eslint/conf/default-cli-options.js' { declare module.exports: $Exports<'eslint/conf/default-cli-options'>; } -declare module 'eslint/conf/default-config-options.js' { - declare module.exports: $Exports<'eslint/conf/default-config-options'>; -} declare module 'eslint/conf/environments.js' { declare module.exports: $Exports<'eslint/conf/environments'>; } diff --git a/flow-typed/npm/flow-copy-source_vx.x.x.js b/flow-typed/npm/flow-copy-source_vx.x.x.js index cb384b66..a6cf9fee 100644 --- a/flow-typed/npm/flow-copy-source_vx.x.x.js +++ b/flow-typed/npm/flow-copy-source_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: f35996411ebd1a01222ad01a8100b5bc -// flow-typed version: <>/flow-copy-source_v^1.2.1/flow_v0.63.1 +// flow-typed signature: 0754fc91abada70c3ad0d8b61533fc31 +// flow-typed version: <>/flow-copy-source_v^1.3.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/jest-cli_vx.x.x.js b/flow-typed/npm/jest-cli_vx.x.x.js index c5da4083..308e57f2 100644 --- a/flow-typed/npm/jest-cli_vx.x.x.js +++ b/flow-typed/npm/jest-cli_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 65bd1b1e0fd5121d26f034147775c373 -// flow-typed version: <>/jest-cli_v^22.0.6/flow_v0.63.1 +// flow-typed signature: 63c1681d719609491d75f52272d71af6 +// flow-typed version: <>/jest-cli_v^22.4.2/flow_v0.67.1 /** * This is an autogenerated libdef stub for: @@ -26,11 +26,11 @@ declare module 'jest-cli/bin/jest' { declare module.exports: any; } -declare module 'jest-cli/build/cli/args' { +declare module 'jest-cli/build/base_watch_plugin' { declare module.exports: any; } -declare module 'jest-cli/build/cli/get_jest' { +declare module 'jest-cli/build/cli/args' { declare module.exports: any; } @@ -74,10 +74,18 @@ declare module 'jest-cli/build/get_no_test_found' { declare module.exports: any; } +declare module 'jest-cli/build/jest_hooks' { + declare module.exports: any; +} + declare module 'jest-cli/build/jest' { declare module.exports: any; } +declare module 'jest-cli/build/lib/active_filters_message' { + declare module.exports: any; +} + declare module 'jest-cli/build/lib/colorize' { declare module.exports: any; } @@ -122,11 +130,27 @@ declare module 'jest-cli/build/lib/update_global_config' { declare module.exports: any; } -declare module 'jest-cli/build/lib/watch_plugin_registry' { +declare module 'jest-cli/build/pattern_prompt' { + declare module.exports: any; +} + +declare module 'jest-cli/build/plugins/quit' { declare module.exports: any; } -declare module 'jest-cli/build/pattern_prompt' { +declare module 'jest-cli/build/plugins/test_name_pattern' { + declare module.exports: any; +} + +declare module 'jest-cli/build/plugins/test_path_pattern' { + declare module.exports: any; +} + +declare module 'jest-cli/build/plugins/update_snapshots_interactive' { + declare module.exports: any; +} + +declare module 'jest-cli/build/plugins/update_snapshots' { declare module.exports: any; } @@ -198,6 +222,10 @@ declare module 'jest-cli/build/search_source' { declare module.exports: any; } +declare module 'jest-cli/build/snapshot_interactive_mode' { + declare module.exports: any; +} + declare module 'jest-cli/build/test_name_pattern_prompt' { declare module.exports: any; } @@ -238,12 +266,12 @@ declare module 'jest-cli/build/watch' { declare module 'jest-cli/bin/jest.js' { declare module.exports: $Exports<'jest-cli/bin/jest'>; } +declare module 'jest-cli/build/base_watch_plugin.js' { + declare module.exports: $Exports<'jest-cli/build/base_watch_plugin'>; +} declare module 'jest-cli/build/cli/args.js' { declare module.exports: $Exports<'jest-cli/build/cli/args'>; } -declare module 'jest-cli/build/cli/get_jest.js' { - declare module.exports: $Exports<'jest-cli/build/cli/get_jest'>; -} declare module 'jest-cli/build/cli/index.js' { declare module.exports: $Exports<'jest-cli/build/cli/index'>; } @@ -274,9 +302,15 @@ declare module 'jest-cli/build/get_no_test_found_verbose.js' { declare module 'jest-cli/build/get_no_test_found.js' { declare module.exports: $Exports<'jest-cli/build/get_no_test_found'>; } +declare module 'jest-cli/build/jest_hooks.js' { + declare module.exports: $Exports<'jest-cli/build/jest_hooks'>; +} declare module 'jest-cli/build/jest.js' { declare module.exports: $Exports<'jest-cli/build/jest'>; } +declare module 'jest-cli/build/lib/active_filters_message.js' { + declare module.exports: $Exports<'jest-cli/build/lib/active_filters_message'>; +} declare module 'jest-cli/build/lib/colorize.js' { declare module.exports: $Exports<'jest-cli/build/lib/colorize'>; } @@ -310,12 +344,24 @@ declare module 'jest-cli/build/lib/terminal_utils.js' { declare module 'jest-cli/build/lib/update_global_config.js' { declare module.exports: $Exports<'jest-cli/build/lib/update_global_config'>; } -declare module 'jest-cli/build/lib/watch_plugin_registry.js' { - declare module.exports: $Exports<'jest-cli/build/lib/watch_plugin_registry'>; -} declare module 'jest-cli/build/pattern_prompt.js' { declare module.exports: $Exports<'jest-cli/build/pattern_prompt'>; } +declare module 'jest-cli/build/plugins/quit.js' { + declare module.exports: $Exports<'jest-cli/build/plugins/quit'>; +} +declare module 'jest-cli/build/plugins/test_name_pattern.js' { + declare module.exports: $Exports<'jest-cli/build/plugins/test_name_pattern'>; +} +declare module 'jest-cli/build/plugins/test_path_pattern.js' { + declare module.exports: $Exports<'jest-cli/build/plugins/test_path_pattern'>; +} +declare module 'jest-cli/build/plugins/update_snapshots_interactive.js' { + declare module.exports: $Exports<'jest-cli/build/plugins/update_snapshots_interactive'>; +} +declare module 'jest-cli/build/plugins/update_snapshots.js' { + declare module.exports: $Exports<'jest-cli/build/plugins/update_snapshots'>; +} declare module 'jest-cli/build/pluralize.js' { declare module.exports: $Exports<'jest-cli/build/pluralize'>; } @@ -367,6 +413,9 @@ declare module 'jest-cli/build/run_jest.js' { declare module 'jest-cli/build/search_source.js' { declare module.exports: $Exports<'jest-cli/build/search_source'>; } +declare module 'jest-cli/build/snapshot_interactive_mode.js' { + declare module.exports: $Exports<'jest-cli/build/snapshot_interactive_mode'>; +} declare module 'jest-cli/build/test_name_pattern_prompt.js' { declare module.exports: $Exports<'jest-cli/build/test_name_pattern_prompt'>; } diff --git a/flow-typed/npm/leaflet_vx.x.x.js b/flow-typed/npm/leaflet_vx.x.x.js index 122788d2..7abcf424 100644 --- a/flow-typed/npm/leaflet_vx.x.x.js +++ b/flow-typed/npm/leaflet_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: c426958e4957837145889721abd6e4e1 -// flow-typed version: <>/leaflet_v^1.3.0/flow_v0.63.1 +// flow-typed signature: 920d9a292ae736b8cd7460f651f24ad3 +// flow-typed version: <>/leaflet_v^1.3.1/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/lodash-es_vx.x.x.js b/flow-typed/npm/lodash-es_vx.x.x.js index 79666f59..4723f60a 100644 --- a/flow-typed/npm/lodash-es_vx.x.x.js +++ b/flow-typed/npm/lodash-es_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 5f70b2da7288b4c3d6b69328a6b603ef -// flow-typed version: <>/lodash-es_v^4.0.0/flow_v0.63.1 +// flow-typed signature: 405265414a0c476268a7ac343815f52e +// flow-typed version: <>/lodash-es_v^4.0.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/lodash_v4.x.x.js b/flow-typed/npm/lodash_v4.x.x.js index 4a6e3c9a..e2dee9bb 100644 --- a/flow-typed/npm/lodash_v4.x.x.js +++ b/flow-typed/npm/lodash_v4.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 4ec6718fe549fa8effb81eee9c15770d -// flow-typed version: 971505dcec/lodash_v4.x.x/flow_>=v0.55.x +// flow-typed signature: 2d6372509af898546ea7b44735f2557d +// flow-typed version: 8c150a1c24/lodash_v4.x.x/flow_>=v0.63.x declare module "lodash" { declare type __CurriedFunction1 = (...r: [AA]) => R; @@ -193,7 +193,7 @@ declare module "lodash" { ) => mixed; declare type Iteratee = _Iteratee | Object | string; declare type FlatMapIteratee = - | ((item: T, index: number, array: ?Array) => Array) + | ((item: T, index: number, array: ?$ReadOnlyArray) => Array) | Object | string; declare type Comparator = (item: T, item2: T) => boolean; @@ -550,13 +550,16 @@ declare module "lodash" { object: T, predicate?: ?OPredicate ): V; - flatMap(array?: ?Array, iteratee?: ?FlatMapIteratee): Array; + flatMap( + array?: ?$ReadOnlyArray, + iteratee?: ?FlatMapIteratee + ): Array; flatMap( object: T, iteratee?: OFlatMapIteratee ): Array; flatMapDeep( - array?: ?Array, + array?: ?$ReadOnlyArray, iteratee?: ?FlatMapIteratee ): Array; flatMapDeep( @@ -580,7 +583,7 @@ declare module "lodash" { forEachRight(array: T, iteratee?: ?Iteratee): T; forEachRight(object: T, iteratee?: ?OIteratee): T; groupBy( - array: Array, + array: $ReadOnlyArray, iteratee?: ?ValueOnlyIteratee ): { [key: V]: Array }; groupBy( @@ -606,7 +609,7 @@ declare module "lodash" { ...args?: Array ): Array; keyBy( - array: Array, + array: $ReadOnlyArray, iteratee?: ?ValueOnlyIteratee ): { [key: V]: ?T }; keyBy( @@ -631,19 +634,19 @@ declare module "lodash" { iteratee?: (char: string, index: number, str: string) => any ): string; orderBy( - array: Array, - iteratees?: ?Array> | ?string, - orders?: ?Array<"asc" | "desc"> | ?string + array: $ReadOnlyArray, + iteratees?: ?$ReadOnlyArray> | ?string, + orders?: ?$ReadOnlyArray<"asc" | "desc"> | ?string ): Array; orderBy( - array: null | void, - iteratees?: ?Array> | ?string, - orders?: ?Array<"asc" | "desc"> | ?string + array: null | void, + iteratees?: ?$ReadOnlyArray> | ?string, + orders?: ?$ReadOnlyArray<"asc" | "desc"> | ?string ): Array; orderBy( object: T, - iteratees?: Array> | string, - orders?: Array<"asc" | "desc"> | string + iteratees?: $ReadOnlyArray> | string, + orders?: $ReadOnlyArray<"asc" | "desc"> | string ): Array; partition( array?: ?Array, @@ -721,13 +724,22 @@ declare module "lodash" { object?: ?T, predicate?: OPredicate ): boolean; - sortBy(array: ?Array, ...iteratees?: Array>): Array; - sortBy(array: ?Array, iteratees?: Array>): Array; + sortBy( + array: ?$ReadOnlyArray, + ...iteratees?: $ReadOnlyArray> + ): Array; + sortBy( + array: ?$ReadOnlyArray, + iteratees?: $ReadOnlyArray> + ): Array; sortBy( object: T, ...iteratees?: Array> ): Array; - sortBy(object: T, iteratees?: Array>): Array; + sortBy( + object: T, + iteratees?: $ReadOnlyArray> + ): Array; // Date now(): number; @@ -742,8 +754,8 @@ declare module "lodash" { curry(func: Function, arity?: number): Function; curryRight(func: Function, arity?: number): Function; debounce(func: F, wait?: number, options?: DebounceOptions): F; - defer(func: Function, ...args?: Array): number; - delay(func: Function, wait: number, ...args?: Array): number; + defer(func: Function, ...args?: Array): TimeoutID; + delay(func: Function, wait: number, ...args?: Array): TimeoutID; flip(func: Function): Function; memoize(func: F, resolver?: Function): F; negate(predicate: Function): Function; @@ -1241,7 +1253,7 @@ declare module "lodash" { toPairs(object?: ?Object | Array<*>): Array<[string, any]>; toPairsIn(object?: ?Object): Array<[string, any]>; transform( - collection: Object | Array, + collection: Object | $ReadOnlyArray, iteratee?: ?OIteratee<*>, accumulator?: any ): any; @@ -1362,10 +1374,8 @@ declare module "lodash" { // NaN is a number instead of its own type, otherwise it would behave like null/void defaultTo(value: T1, defaultValue: T2): T1 | T2; defaultTo(value: T1, defaultValue: T2): T2; - flow: $ComposeReverse; - flow(funcs?: Array): Function; - flowRight: $Compose; - flowRight(funcs?: Array): Function; + flow: ($ComposeReverse & (funcs: Array) => Function); + flowRight: ($Compose & (funcs: Array) => Function); identity(value: T): T; iteratee(func?: any): Function; matches(source?: ?Object): Function; @@ -1620,30 +1630,30 @@ declare module "lodash/fp" { base: A, elements: B ): Array; - difference(values: Array): (array: Array) => Array; - difference(values: Array, array: Array): Array; + difference(values: $ReadOnlyArray): (array: $ReadOnlyArray) => T[]; + difference(values: $ReadOnlyArray, array: $ReadOnlyArray): T[]; differenceBy( iteratee: ValueOnlyIteratee - ): ((values: Array) => (array: Array) => T[]) & - ((values: Array, array: Array) => T[]); + ): ((values: $ReadOnlyArray) => (array: $ReadOnlyArray) => T[]) & + ((values: $ReadOnlyArray, array: $ReadOnlyArray) => T[]); differenceBy( iteratee: ValueOnlyIteratee, - values: Array - ): (array: Array) => T[]; + values: $ReadOnlyArray + ): (array: $ReadOnlyArray) => T[]; differenceBy( iteratee: ValueOnlyIteratee, - values: Array, - array: Array + values: $ReadOnlyArray, + array: $ReadOnlyArray ): T[]; differenceWith( - values: T[] - ): ((comparator: Comparator) => (array: T[]) => T[]) & - ((comparator: Comparator, array: T[]) => T[]); + values: $ReadOnlyArray + ): ((comparator: Comparator) => (array: $ReadOnlyArray) => T[]) & + ((comparator: Comparator, array: $ReadOnlyArray) => T[]); differenceWith( - values: T[], + values: $ReadOnlyArray, comparator: Comparator - ): (array: T[]) => T[]; - differenceWith(values: T[], comparator: Comparator, array: T[]): T[]; + ): (array: $ReadOnlyArray) => T[]; + differenceWith(values: $ReadOnlyArray, comparator: Comparator, array: $ReadOnlyArray): T[]; drop(n: number): (array: Array) => Array; drop(n: number, array: Array): Array; dropLast(n: number): (array: Array) => Array; @@ -2113,15 +2123,17 @@ declare module "lodash/fp" { ): Array; groupBy( iteratee: ValueOnlyIteratee - ): (collection: Array | { [id: any]: T }) => { [key: V]: Array }; + ): ( + collection: $ReadOnlyArray | { [id: any]: T } + ) => { [key: V]: Array }; groupBy( iteratee: ValueOnlyIteratee, - collection: Array | { [id: any]: T } + collection: $ReadOnlyArray | { [id: any]: T } ): { [key: V]: Array }; - includes(value: string): (str: string) => boolean; - includes(value: string, str: string): boolean; includes(value: T): (collection: Array | { [id: any]: T }) => boolean; includes(value: T, collection: Array | { [id: any]: T }): boolean; + includes(value: string): (str: string) => boolean; + includes(value: string, str: string): boolean; contains(value: string): (str: string) => boolean; contains(value: string, str: string): boolean; contains(value: T): (collection: Array | { [id: any]: T }) => boolean; @@ -2168,17 +2180,17 @@ declare module "lodash/fp" { ): Array; keyBy( iteratee: ValueOnlyIteratee - ): (collection: Array | { [id: any]: T }) => { [key: V]: T }; + ): (collection: $ReadOnlyArray | { [id: any]: T }) => { [key: V]: T }; keyBy( iteratee: ValueOnlyIteratee, - collection: Array | { [id: any]: T } + collection: $ReadOnlyArray | { [id: any]: T } ): { [key: V]: T }; indexBy( iteratee: ValueOnlyIteratee - ): (collection: Array | { [id: any]: T }) => { [key: V]: T }; + ): (collection: $ReadOnlyArray | { [id: any]: T }) => { [key: V]: T }; indexBy( iteratee: ValueOnlyIteratee, - collection: Array | { [id: any]: T } + collection: $ReadOnlyArray | { [id: any]: T } ): { [key: V]: T }; map( iteratee: MapIterator | OMapIterator @@ -2199,22 +2211,22 @@ declare module "lodash/fp" { pluck(iteratee: (char: string) => any): (str: string) => string; pluck(iteratee: (char: string) => any, str: string): string; orderBy( - iteratees: Array | OIteratee<*>> | string + iteratees: $ReadOnlyArray | OIteratee<*>> | string ): (( - orders: Array<"asc" | "desc"> | string - ) => (collection: Array | { [id: any]: T }) => Array) & + orders: $ReadOnlyArray<"asc" | "desc"> | string + ) => (collection: $ReadOnlyArray | { [id: any]: T }) => Array) & (( - orders: Array<"asc" | "desc"> | string, - collection: Array | { [id: any]: T } + orders: $ReadOnlyArray<"asc" | "desc"> | string, + collection: $ReadOnlyArray | { [id: any]: T } ) => Array); orderBy( - iteratees: Array | OIteratee<*>> | string, - orders: Array<"asc" | "desc"> | string - ): (collection: Array | { [id: any]: T }) => Array; + iteratees: $ReadOnlyArray | OIteratee<*>> | string, + orders: $ReadOnlyArray<"asc" | "desc"> | string + ): (collection: $ReadOnlyArray | { [id: any]: T }) => Array; orderBy( - iteratees: Array | OIteratee<*>> | string, - orders: Array<"asc" | "desc"> | string, - collection: Array | { [id: any]: T } + iteratees: $ReadOnlyArray | OIteratee<*>> | string, + orders: $ReadOnlyArray<"asc" | "desc"> | string, + collection: $ReadOnlyArray | { [id: any]: T } ): Array; partition( predicate: Predicate | OPredicate @@ -2278,11 +2290,15 @@ declare module "lodash/fp" { collection: Array | { [id: any]: T } ): boolean; sortBy( - iteratees: Array | OIteratee> | Iteratee | OIteratee - ): (collection: Array | { [id: any]: T }) => Array; + iteratees: | $ReadOnlyArray | OIteratee> + | Iteratee + | OIteratee + ): (collection: $ReadOnlyArray | { [id: any]: T }) => Array; sortBy( - iteratees: Array | OIteratee> | Iteratee | OIteratee, - collection: Array | { [id: any]: T } + iteratees: | $ReadOnlyArray | OIteratee> + | Iteratee + | OIteratee, + collection: $ReadOnlyArray | { [id: any]: T }, ): Array; // Date @@ -2308,9 +2324,9 @@ declare module "lodash/fp" { curryRightN(arity: number, func: Function): Function; debounce(wait: number): (func: F) => F; debounce(wait: number, func: F): F; - defer(func: Function): number; - delay(wait: number): (func: Function) => number; - delay(wait: number, func: Function): number; + defer(func: Function): TimeoutID; + delay(wait: number): (func: Function) => TimeoutID; + delay(wait: number, func: Function): TimeoutID; flip(func: Function): Function; memoize(func: F): F; negate(predicate: Function): Function; @@ -2951,16 +2967,18 @@ declare module "lodash/fp" { toPairsIn(object: Object): Array<[string, any]>; transform( iteratee: OIteratee<*> - ): ((accumulator: any) => (collection: Object | Array) => any) & - ((accumulator: any, collection: Object | Array) => any); + ): (( + accumulator: any + ) => (collection: Object | $ReadOnlyArray) => any) & + ((accumulator: any, collection: Object | $ReadOnlyArray) => any); transform( iteratee: OIteratee<*>, accumulator: any - ): (collection: Object | Array) => any; + ): (collection: Object | $ReadOnlyArray) => any; transform( iteratee: OIteratee<*>, accumulator: any, - collection: Object | Array + collection: Object | $ReadOnlyArray ): any; unset(path: Array | string): (object: Object) => boolean; unset(path: Array | string, object: Object): boolean; @@ -3113,13 +3131,10 @@ declare module "lodash/fp" { defaultTo(defaultValue: T2, value: T1): T1 | T2; defaultTo(defaultValue: T2): (value: T1) => T2; defaultTo(defaultValue: T2, value: T1): T2; - flow: $ComposeReverse; - flow(funcs: Array): Function; - pipe: $ComposeReverse; - pipe(funcs: Array): Function; - flowRight: $Compose; - flowRight(funcs: Array): Function; - compose: $Compose; + flow: ($ComposeReverse & (funcs: Array) => Function); + pipe: ($ComposeReverse & (funcs: Array) => Function); + flowRight: ($Compose & (funcs: Array) => Function); + compose: ($Compose & (funcs: Array) => Function); compose(funcs: Array): Function; identity(value: T): T; iteratee(func: any): Function; @@ -4438,3 +4453,1539 @@ declare module "lodash/toPath" { declare module "lodash/uniqueId" { declare module.exports: $PropertyType<$Exports<"lodash">, "uniqueId">; } + +declare module "lodash/fp/chunk" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "chunk">; +} + +declare module "lodash/fp/compact" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "compact">; +} + +declare module "lodash/fp/concat" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "concat">; +} + +declare module "lodash/fp/difference" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "difference">; +} + +declare module "lodash/fp/differenceBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "differenceBy">; +} + +declare module "lodash/fp/differenceWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "differenceWith">; +} + +declare module "lodash/fp/drop" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "drop">; +} + +declare module "lodash/fp/dropLast" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "dropLast">; +} + +declare module "lodash/fp/dropRight" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "dropRight">; +} + +declare module "lodash/fp/dropRightWhile" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "dropRightWhile">; +} + +declare module "lodash/fp/dropWhile" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "dropWhile">; +} + +declare module "lodash/fp/dropLastWhile" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "dropLastWhile">; +} + +declare module "lodash/fp/fill" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "fill">; +} + +declare module "lodash/fp/findIndex" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "findIndex">; +} + +declare module "lodash/fp/findIndexFrom" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "findIndexFrom">; +} + +declare module "lodash/fp/findLastIndex" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "findLastIndex">; +} + +declare module "lodash/fp/findLastIndexFrom" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "findLastIndexFrom">; +} + +declare module "lodash/fp/first" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "first">; +} + +declare module "lodash/fp/flatten" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "flatten">; +} + +declare module "lodash/fp/unnest" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "unnest">; +} + +declare module "lodash/fp/flattenDeep" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "flattenDeep">; +} + +declare module "lodash/fp/flattenDepth" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "flattenDepth">; +} + +declare module "lodash/fp/fromPairs" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "fromPairs">; +} + +declare module "lodash/fp/head" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "head">; +} + +declare module "lodash/fp/indexOf" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "indexOf">; +} + +declare module "lodash/fp/indexOfFrom" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "indexOfFrom">; +} + +declare module "lodash/fp/initial" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "initial">; +} + +declare module "lodash/fp/init" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "init">; +} + +declare module "lodash/fp/intersection" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "intersection">; +} + +declare module "lodash/fp/intersectionBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "intersectionBy">; +} + +declare module "lodash/fp/intersectionWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "intersectionWith">; +} + +declare module "lodash/fp/join" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "join">; +} + +declare module "lodash/fp/last" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "last">; +} + +declare module "lodash/fp/lastIndexOf" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "lastIndexOf">; +} + +declare module "lodash/fp/lastIndexOfFrom" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "lastIndexOfFrom">; +} + +declare module "lodash/fp/nth" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "nth">; +} + +declare module "lodash/fp/pull" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "pull">; +} + +declare module "lodash/fp/pullAll" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "pullAll">; +} + +declare module "lodash/fp/pullAllBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "pullAllBy">; +} + +declare module "lodash/fp/pullAllWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "pullAllWith">; +} + +declare module "lodash/fp/pullAt" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "pullAt">; +} + +declare module "lodash/fp/remove" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "remove">; +} + +declare module "lodash/fp/reverse" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "reverse">; +} + +declare module "lodash/fp/slice" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "slice">; +} + +declare module "lodash/fp/sortedIndex" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "sortedIndex">; +} + +declare module "lodash/fp/sortedIndexBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "sortedIndexBy">; +} + +declare module "lodash/fp/sortedIndexOf" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "sortedIndexOf">; +} + +declare module "lodash/fp/sortedLastIndex" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "sortedLastIndex">; +} + +declare module "lodash/fp/sortedLastIndexBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "sortedLastIndexBy">; +} + +declare module "lodash/fp/sortedLastIndexOf" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "sortedLastIndexOf">; +} + +declare module "lodash/fp/sortedUniq" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "sortedUniq">; +} + +declare module "lodash/fp/sortedUniqBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "sortedUniqBy">; +} + +declare module "lodash/fp/tail" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "tail">; +} + +declare module "lodash/fp/take" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "take">; +} + +declare module "lodash/fp/takeRight" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "takeRight">; +} + +declare module "lodash/fp/takeLast" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "takeLast">; +} + +declare module "lodash/fp/takeRightWhile" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "takeRightWhile">; +} + +declare module "lodash/fp/takeLastWhile" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "takeLastWhile">; +} + +declare module "lodash/fp/takeWhile" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "takeWhile">; +} + +declare module "lodash/fp/union" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "union">; +} + +declare module "lodash/fp/unionBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "unionBy">; +} + +declare module "lodash/fp/unionWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "unionWith">; +} + +declare module "lodash/fp/uniq" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "uniq">; +} + +declare module "lodash/fp/uniqBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "uniqBy">; +} + +declare module "lodash/fp/uniqWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "uniqWith">; +} + +declare module "lodash/fp/unzip" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "unzip">; +} + +declare module "lodash/fp/unzipWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "unzipWith">; +} + +declare module "lodash/fp/without" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "without">; +} + +declare module "lodash/fp/xor" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "xor">; +} + +declare module "lodash/fp/symmetricDifference" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "symmetricDifference">; +} + +declare module "lodash/fp/xorBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "xorBy">; +} + +declare module "lodash/fp/symmetricDifferenceBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "symmetricDifferenceBy">; +} + +declare module "lodash/fp/xorWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "xorWith">; +} + +declare module "lodash/fp/symmetricDifferenceWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "symmetricDifferenceWith">; +} + +declare module "lodash/fp/zip" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "zip">; +} + +declare module "lodash/fp/zipAll" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "zipAll">; +} + +declare module "lodash/fp/zipObject" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "zipObject">; +} + +declare module "lodash/fp/zipObj" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "zipObj">; +} + +declare module "lodash/fp/zipObjectDeep" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "zipObjectDeep">; +} + +declare module "lodash/fp/zipWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "zipWith">; +} + +declare module "lodash/fp/countBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "countBy">; +} + +declare module "lodash/fp/each" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "each">; +} + +declare module "lodash/fp/eachRight" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "eachRight">; +} + +declare module "lodash/fp/every" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "every">; +} + +declare module "lodash/fp/all" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "all">; +} + +declare module "lodash/fp/filter" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "filter">; +} + +declare module "lodash/fp/find" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "find">; +} + +declare module "lodash/fp/findFrom" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "findFrom">; +} + +declare module "lodash/fp/findLast" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "findLast">; +} + +declare module "lodash/fp/findLastFrom" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "findLastFrom">; +} + +declare module "lodash/fp/flatMap" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "flatMap">; +} + +declare module "lodash/fp/flatMapDeep" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "flatMapDeep">; +} + +declare module "lodash/fp/flatMapDepth" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "flatMapDepth">; +} + +declare module "lodash/fp/forEach" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "forEach">; +} + +declare module "lodash/fp/forEachRight" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "forEachRight">; +} + +declare module "lodash/fp/groupBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "groupBy">; +} + +declare module "lodash/fp/includes" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "includes">; +} + +declare module "lodash/fp/contains" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "contains">; +} + +declare module "lodash/fp/includesFrom" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "includesFrom">; +} + +declare module "lodash/fp/invokeMap" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "invokeMap">; +} + +declare module "lodash/fp/invokeArgsMap" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "invokeArgsMap">; +} + +declare module "lodash/fp/keyBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "keyBy">; +} + +declare module "lodash/fp/indexBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "indexBy">; +} + +declare module "lodash/fp/map" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "map">; +} + +declare module "lodash/fp/pluck" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "pluck">; +} + +declare module "lodash/fp/orderBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "orderBy">; +} + +declare module "lodash/fp/partition" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "partition">; +} + +declare module "lodash/fp/reduce" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "reduce">; +} + +declare module "lodash/fp/reduceRight" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "reduceRight">; +} + +declare module "lodash/fp/reject" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "reject">; +} + +declare module "lodash/fp/sample" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "sample">; +} + +declare module "lodash/fp/sampleSize" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "sampleSize">; +} + +declare module "lodash/fp/shuffle" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "shuffle">; +} + +declare module "lodash/fp/size" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "size">; +} + +declare module "lodash/fp/some" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "some">; +} + +declare module "lodash/fp/any" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "any">; +} + +declare module "lodash/fp/sortBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "sortBy">; +} + +declare module "lodash/fp/now" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "now">; +} + +declare module "lodash/fp/after" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "after">; +} + +declare module "lodash/fp/ary" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "ary">; +} + +declare module "lodash/fp/nAry" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "nAry">; +} + +declare module "lodash/fp/before" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "before">; +} + +declare module "lodash/fp/bind" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "bind">; +} + +declare module "lodash/fp/bindKey" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "bindKey">; +} + +declare module "lodash/fp/curry" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "curry">; +} + +declare module "lodash/fp/curryN" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "curryN">; +} + +declare module "lodash/fp/curryRight" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "curryRight">; +} + +declare module "lodash/fp/curryRightN" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "curryRightN">; +} + +declare module "lodash/fp/debounce" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "debounce">; +} + +declare module "lodash/fp/defer" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "defer">; +} + +declare module "lodash/fp/delay" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "delay">; +} + +declare module "lodash/fp/flip" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "flip">; +} + +declare module "lodash/fp/memoize" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "memoize">; +} + +declare module "lodash/fp/negate" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "negate">; +} + +declare module "lodash/fp/complement" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "complement">; +} + +declare module "lodash/fp/once" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "once">; +} + +declare module "lodash/fp/overArgs" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "overArgs">; +} + +declare module "lodash/fp/useWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "useWith">; +} + +declare module "lodash/fp/partial" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "partial">; +} + +declare module "lodash/fp/partialRight" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "partialRight">; +} + +declare module "lodash/fp/rearg" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "rearg">; +} + +declare module "lodash/fp/rest" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "rest">; +} + +declare module "lodash/fp/unapply" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "unapply">; +} + +declare module "lodash/fp/restFrom" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "restFrom">; +} + +declare module "lodash/fp/spread" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "spread">; +} + +declare module "lodash/fp/apply" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "apply">; +} + +declare module "lodash/fp/spreadFrom" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "spreadFrom">; +} + +declare module "lodash/fp/throttle" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "throttle">; +} + +declare module "lodash/fp/unary" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "unary">; +} + +declare module "lodash/fp/wrap" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "wrap">; +} + +declare module "lodash/fp/castArray" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "castArray">; +} + +declare module "lodash/fp/clone" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "clone">; +} + +declare module "lodash/fp/cloneDeep" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "cloneDeep">; +} + +declare module "lodash/fp/cloneDeepWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "cloneDeepWith">; +} + +declare module "lodash/fp/cloneWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "cloneWith">; +} + +declare module "lodash/fp/conformsTo" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "conformsTo">; +} + +declare module "lodash/fp/where" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "where">; +} + +declare module "lodash/fp/conforms" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "conforms">; +} + +declare module "lodash/fp/eq" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "eq">; +} + +declare module "lodash/fp/identical" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "identical">; +} + +declare module "lodash/fp/gt" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "gt">; +} + +declare module "lodash/fp/gte" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "gte">; +} + +declare module "lodash/fp/isArguments" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isArguments">; +} + +declare module "lodash/fp/isArray" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isArray">; +} + +declare module "lodash/fp/isArrayBuffer" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isArrayBuffer">; +} + +declare module "lodash/fp/isArrayLike" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isArrayLike">; +} + +declare module "lodash/fp/isArrayLikeObject" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isArrayLikeObject">; +} + +declare module "lodash/fp/isBoolean" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isBoolean">; +} + +declare module "lodash/fp/isBuffer" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isBuffer">; +} + +declare module "lodash/fp/isDate" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isDate">; +} + +declare module "lodash/fp/isElement" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isElement">; +} + +declare module "lodash/fp/isEmpty" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isEmpty">; +} + +declare module "lodash/fp/isEqual" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isEqual">; +} + +declare module "lodash/fp/equals" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "equals">; +} + +declare module "lodash/fp/isEqualWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isEqualWith">; +} + +declare module "lodash/fp/isError" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isError">; +} + +declare module "lodash/fp/isFinite" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isFinite">; +} + +declare module "lodash/fp/isFunction" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isFunction">; +} + +declare module "lodash/fp/isInteger" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isInteger">; +} + +declare module "lodash/fp/isLength" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isLength">; +} + +declare module "lodash/fp/isMap" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isMap">; +} + +declare module "lodash/fp/isMatch" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isMatch">; +} + +declare module "lodash/fp/whereEq" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "whereEq">; +} + +declare module "lodash/fp/isMatchWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isMatchWith">; +} + +declare module "lodash/fp/isNaN" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isNaN">; +} + +declare module "lodash/fp/isNative" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isNative">; +} + +declare module "lodash/fp/isNil" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isNil">; +} + +declare module "lodash/fp/isNull" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isNull">; +} + +declare module "lodash/fp/isNumber" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isNumber">; +} + +declare module "lodash/fp/isObject" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isObject">; +} + +declare module "lodash/fp/isObjectLike" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isObjectLike">; +} + +declare module "lodash/fp/isPlainObject" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isPlainObject">; +} + +declare module "lodash/fp/isRegExp" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isRegExp">; +} + +declare module "lodash/fp/isSafeInteger" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isSafeInteger">; +} + +declare module "lodash/fp/isSet" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isSet">; +} + +declare module "lodash/fp/isString" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isString">; +} + +declare module "lodash/fp/isSymbol" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isSymbol">; +} + +declare module "lodash/fp/isTypedArray" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isTypedArray">; +} + +declare module "lodash/fp/isUndefined" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isUndefined">; +} + +declare module "lodash/fp/isWeakMap" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isWeakMap">; +} + +declare module "lodash/fp/isWeakSet" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "isWeakSet">; +} + +declare module "lodash/fp/lt" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "lt">; +} + +declare module "lodash/fp/lte" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "lte">; +} + +declare module "lodash/fp/toArray" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "toArray">; +} + +declare module "lodash/fp/toFinite" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "toFinite">; +} + +declare module "lodash/fp/toInteger" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "toInteger">; +} + +declare module "lodash/fp/toLength" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "toLength">; +} + +declare module "lodash/fp/toNumber" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "toNumber">; +} + +declare module "lodash/fp/toPlainObject" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "toPlainObject">; +} + +declare module "lodash/fp/toSafeInteger" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "toSafeInteger">; +} + +declare module "lodash/fp/toString" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "toString">; +} + +declare module "lodash/fp/add" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "add">; +} + +declare module "lodash/fp/ceil" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "ceil">; +} + +declare module "lodash/fp/divide" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "divide">; +} + +declare module "lodash/fp/floor" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "floor">; +} + +declare module "lodash/fp/max" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "max">; +} + +declare module "lodash/fp/maxBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "maxBy">; +} + +declare module "lodash/fp/mean" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "mean">; +} + +declare module "lodash/fp/meanBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "meanBy">; +} + +declare module "lodash/fp/min" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "min">; +} + +declare module "lodash/fp/minBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "minBy">; +} + +declare module "lodash/fp/multiply" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "multiply">; +} + +declare module "lodash/fp/round" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "round">; +} + +declare module "lodash/fp/subtract" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "subtract">; +} + +declare module "lodash/fp/sum" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "sum">; +} + +declare module "lodash/fp/sumBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "sumBy">; +} + +declare module "lodash/fp/clamp" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "clamp">; +} + +declare module "lodash/fp/inRange" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "inRange">; +} + +declare module "lodash/fp/random" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "random">; +} + +declare module "lodash/fp/assign" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "assign">; +} + +declare module "lodash/fp/assignAll" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "assignAll">; +} + +declare module "lodash/fp/assignInAll" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "assignInAll">; +} + +declare module "lodash/fp/extendAll" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "extendAll">; +} + +declare module "lodash/fp/assignIn" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "assignIn">; +} + +declare module "lodash/fp/assignInWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "assignInWith">; +} + +declare module "lodash/fp/assignWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "assignWith">; +} + +declare module "lodash/fp/assignInAllWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "assignInAllWith">; +} + +declare module "lodash/fp/extendAllWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "extendAllWith">; +} + +declare module "lodash/fp/assignAllWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "assignAllWith">; +} + +declare module "lodash/fp/at" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "at">; +} + +declare module "lodash/fp/props" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "props">; +} + +declare module "lodash/fp/paths" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "paths">; +} + +declare module "lodash/fp/create" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "create">; +} + +declare module "lodash/fp/defaults" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "defaults">; +} + +declare module "lodash/fp/defaultsAll" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "defaultsAll">; +} + +declare module "lodash/fp/defaultsDeep" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "defaultsDeep">; +} + +declare module "lodash/fp/defaultsDeepAll" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "defaultsDeepAll">; +} + +declare module "lodash/fp/entries" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "entries">; +} + +declare module "lodash/fp/entriesIn" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "entriesIn">; +} + +declare module "lodash/fp/extend" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "extend">; +} + +declare module "lodash/fp/extendWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "extendWith">; +} + +declare module "lodash/fp/findKey" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "findKey">; +} + +declare module "lodash/fp/findLastKey" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "findLastKey">; +} + +declare module "lodash/fp/forIn" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "forIn">; +} + +declare module "lodash/fp/forInRight" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "forInRight">; +} + +declare module "lodash/fp/forOwn" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "forOwn">; +} + +declare module "lodash/fp/forOwnRight" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "forOwnRight">; +} + +declare module "lodash/fp/functions" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "functions">; +} + +declare module "lodash/fp/functionsIn" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "functionsIn">; +} + +declare module "lodash/fp/get" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "get">; +} + +declare module "lodash/fp/prop" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "prop">; +} + +declare module "lodash/fp/path" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "path">; +} + +declare module "lodash/fp/getOr" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "getOr">; +} + +declare module "lodash/fp/propOr" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "propOr">; +} + +declare module "lodash/fp/pathOr" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "pathOr">; +} + +declare module "lodash/fp/has" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "has">; +} + +declare module "lodash/fp/hasIn" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "hasIn">; +} + +declare module "lodash/fp/invert" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "invert">; +} + +declare module "lodash/fp/invertObj" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "invertObj">; +} + +declare module "lodash/fp/invertBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "invertBy">; +} + +declare module "lodash/fp/invoke" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "invoke">; +} + +declare module "lodash/fp/invokeArgs" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "invokeArgs">; +} + +declare module "lodash/fp/keys" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "keys">; +} + +declare module "lodash/fp/keysIn" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "keysIn">; +} + +declare module "lodash/fp/mapKeys" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "mapKeys">; +} + +declare module "lodash/fp/mapValues" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "mapValues">; +} + +declare module "lodash/fp/merge" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "merge">; +} + +declare module "lodash/fp/mergeAll" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "mergeAll">; +} + +declare module "lodash/fp/mergeWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "mergeWith">; +} + +declare module "lodash/fp/mergeAllWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "mergeAllWith">; +} + +declare module "lodash/fp/omit" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "omit">; +} + +declare module "lodash/fp/omitAll" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "omitAll">; +} + +declare module "lodash/fp/omitBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "omitBy">; +} + +declare module "lodash/fp/pick" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "pick">; +} + +declare module "lodash/fp/pickAll" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "pickAll">; +} + +declare module "lodash/fp/pickBy" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "pickBy">; +} + +declare module "lodash/fp/result" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "result">; +} + +declare module "lodash/fp/set" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "set">; +} + +declare module "lodash/fp/assoc" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "assoc">; +} + +declare module "lodash/fp/assocPath" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "assocPath">; +} + +declare module "lodash/fp/setWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "setWith">; +} + +declare module "lodash/fp/toPairs" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "toPairs">; +} + +declare module "lodash/fp/toPairsIn" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "toPairsIn">; +} + +declare module "lodash/fp/transform" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "transform">; +} + +declare module "lodash/fp/unset" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "unset">; +} + +declare module "lodash/fp/dissoc" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "dissoc">; +} + +declare module "lodash/fp/dissocPath" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "dissocPath">; +} + +declare module "lodash/fp/update" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "update">; +} + +declare module "lodash/fp/updateWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "updateWith">; +} + +declare module "lodash/fp/values" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "values">; +} + +declare module "lodash/fp/valuesIn" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "valuesIn">; +} + +declare module "lodash/fp/tap" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "tap">; +} + +declare module "lodash/fp/thru" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "thru">; +} + +declare module "lodash/fp/camelCase" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "camelCase">; +} + +declare module "lodash/fp/capitalize" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "capitalize">; +} + +declare module "lodash/fp/deburr" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "deburr">; +} + +declare module "lodash/fp/endsWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "endsWith">; +} + +declare module "lodash/fp/escape" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "escape">; +} + +declare module "lodash/fp/escapeRegExp" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "escapeRegExp">; +} + +declare module "lodash/fp/kebabCase" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "kebabCase">; +} + +declare module "lodash/fp/lowerCase" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "lowerCase">; +} + +declare module "lodash/fp/lowerFirst" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "lowerFirst">; +} + +declare module "lodash/fp/pad" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "pad">; +} + +declare module "lodash/fp/padChars" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "padChars">; +} + +declare module "lodash/fp/padEnd" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "padEnd">; +} + +declare module "lodash/fp/padCharsEnd" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "padCharsEnd">; +} + +declare module "lodash/fp/padStart" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "padStart">; +} + +declare module "lodash/fp/padCharsStart" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "padCharsStart">; +} + +declare module "lodash/fp/parseInt" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "parseInt">; +} + +declare module "lodash/fp/repeat" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "repeat">; +} + +declare module "lodash/fp/replace" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "replace">; +} + +declare module "lodash/fp/snakeCase" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "snakeCase">; +} + +declare module "lodash/fp/split" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "split">; +} + +declare module "lodash/fp/startCase" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "startCase">; +} + +declare module "lodash/fp/startsWith" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "startsWith">; +} + +declare module "lodash/fp/template" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "template">; +} + +declare module "lodash/fp/toLower" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "toLower">; +} + +declare module "lodash/fp/toUpper" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "toUpper">; +} + +declare module "lodash/fp/trim" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "trim">; +} + +declare module "lodash/fp/trimChars" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "trimChars">; +} + +declare module "lodash/fp/trimEnd" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "trimEnd">; +} + +declare module "lodash/fp/trimCharsEnd" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "trimCharsEnd">; +} + +declare module "lodash/fp/trimStart" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "trimStart">; +} + +declare module "lodash/fp/trimCharsStart" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "trimCharsStart">; +} + +declare module "lodash/fp/truncate" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "truncate">; +} + +declare module "lodash/fp/unescape" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "unescape">; +} + +declare module "lodash/fp/upperCase" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "upperCase">; +} + +declare module "lodash/fp/upperFirst" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "upperFirst">; +} + +declare module "lodash/fp/words" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "words">; +} + +declare module "lodash/fp/attempt" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "attempt">; +} + +declare module "lodash/fp/bindAll" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "bindAll">; +} + +declare module "lodash/fp/cond" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "cond">; +} + +declare module "lodash/fp/constant" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "constant">; +} + +declare module "lodash/fp/always" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "always">; +} + +declare module "lodash/fp/defaultTo" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "defaultTo">; +} + +declare module "lodash/fp/flow" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "flow">; +} + +declare module "lodash/fp/pipe" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "pipe">; +} + +declare module "lodash/fp/flowRight" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "flowRight">; +} + +declare module "lodash/fp/compose" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "compose">; +} + +declare module "lodash/fp/identity" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "identity">; +} + +declare module "lodash/fp/iteratee" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "iteratee">; +} + +declare module "lodash/fp/matches" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "matches">; +} + +declare module "lodash/fp/matchesProperty" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "matchesProperty">; +} + +declare module "lodash/fp/propEq" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "propEq">; +} + +declare module "lodash/fp/pathEq" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "pathEq">; +} + +declare module "lodash/fp/method" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "method">; +} + +declare module "lodash/fp/methodOf" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "methodOf">; +} + +declare module "lodash/fp/mixin" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "mixin">; +} + +declare module "lodash/fp/noConflict" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "noConflict">; +} + +declare module "lodash/fp/noop" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "noop">; +} + +declare module "lodash/fp/nthArg" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "nthArg">; +} + +declare module "lodash/fp/over" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "over">; +} + +declare module "lodash/fp/juxt" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "juxt">; +} + +declare module "lodash/fp/overEvery" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "overEvery">; +} + +declare module "lodash/fp/allPass" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "allPass">; +} + +declare module "lodash/fp/overSome" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "overSome">; +} + +declare module "lodash/fp/anyPass" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "anyPass">; +} + +declare module "lodash/fp/property" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "property">; +} + +declare module "lodash/fp/propertyOf" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "propertyOf">; +} + +declare module "lodash/fp/range" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "range">; +} + +declare module "lodash/fp/rangeStep" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "rangeStep">; +} + +declare module "lodash/fp/rangeRight" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "rangeRight">; +} + +declare module "lodash/fp/rangeStepRight" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "rangeStepRight">; +} + +declare module "lodash/fp/runInContext" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "runInContext">; +} + +declare module "lodash/fp/stubArray" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "stubArray">; +} + +declare module "lodash/fp/stubFalse" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "stubFalse">; +} + +declare module "lodash/fp/F" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "F">; +} + +declare module "lodash/fp/stubObject" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "stubObject">; +} + +declare module "lodash/fp/stubString" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "stubString">; +} + +declare module "lodash/fp/stubTrue" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "stubTrue">; +} + +declare module "lodash/fp/T" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "T">; +} + +declare module "lodash/fp/times" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "times">; +} + +declare module "lodash/fp/toPath" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "toPath">; +} + +declare module "lodash/fp/uniqueId" { + declare module.exports: $PropertyType<$Exports<"lodash/fp">, "uniqueId">; +} diff --git a/flow-typed/npm/prettier-eslint_vx.x.x.js b/flow-typed/npm/prettier-eslint_vx.x.x.js index 3dbd0718..90a13c65 100644 --- a/flow-typed/npm/prettier-eslint_vx.x.x.js +++ b/flow-typed/npm/prettier-eslint_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 516605700b73c547108fc80ff15dd4cc -// flow-typed version: <>/prettier-eslint_v^8.7.4/flow_v0.63.1 +// flow-typed signature: 2cf2329d8fdbdfa6a1955e45753643f8 +// flow-typed version: <>/prettier-eslint_v^8.8.1/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/prettier_v1.x.x.js b/flow-typed/npm/prettier_v1.x.x.js new file mode 100644 index 00000000..0c244915 --- /dev/null +++ b/flow-typed/npm/prettier_v1.x.x.js @@ -0,0 +1,178 @@ +// flow-typed signature: 4eed8da2dc730dc33e7710b465eaa44b +// flow-typed version: cc7a557b34/prettier_v1.x.x/flow_>=v0.56.x + +declare module "prettier" { + declare type AST = Object; + declare type Doc = Object; + declare type FastPath = Object; + + declare type PrettierParserName = + | "babylon" + | "flow" + | "typescript" + | "postcss" + | "css" + | "less" + | "scss" + | "json" + | "graphql" + | "markdown" + | "vue"; + + declare type PrettierParser = { + [name: PrettierParserName]: (text: string, options?: Object) => AST + }; + + declare type CustomParser = ( + text: string, + parsers: PrettierParser, + options: Options + ) => AST; + + declare type Options = {| + printWidth?: number, + tabWidth?: number, + useTabs?: boolean, + semi?: boolean, + singleQuote?: boolean, + trailingComma?: "none" | "es5" | "all", + bracketSpacing?: boolean, + jsxBracketSameLine?: boolean, + arrowParens?: "avoid" | "always", + rangeStart?: number, + rangeEnd?: number, + parser?: PrettierParserName | CustomParser, + filepath?: string, + requirePragma?: boolean, + insertPragma?: boolean, + proseWrap?: "always" | "never" | "preserve", + plugins?: Array + |}; + + declare type Plugin = { + languages: SupportLanguage, + parsers: { [parserName: string]: Parser }, + printers: { [astFormat: string]: Printer } + }; + + declare type Parser = { + parse: ( + text: string, + parsers: { [parserName: string]: Parser }, + options: Object + ) => AST, + astFormat: string + }; + + declare type Printer = { + print: ( + path: FastPath, + options: Object, + print: (path: FastPath) => Doc + ) => Doc, + embed: ( + path: FastPath, + print: (path: FastPath) => Doc, + textToDoc: (text: string, options: Object) => Doc, + options: Object + ) => ?Doc + }; + + declare type CursorOptions = {| + cursorOffset: number, + printWidth?: $PropertyType, + tabWidth?: $PropertyType, + useTabs?: $PropertyType, + semi?: $PropertyType, + singleQuote?: $PropertyType, + trailingComma?: $PropertyType, + bracketSpacing?: $PropertyType, + jsxBracketSameLine?: $PropertyType, + arrowParens?: $PropertyType, + parser?: $PropertyType, + filepath?: $PropertyType, + requirePragma?: $PropertyType, + insertPragma?: $PropertyType, + proseWrap?: $PropertyType, + plugins?: $PropertyType + |}; + + declare type CursorResult = {| + formatted: string, + cursorOffset: number + |}; + + declare type ResolveConfigOptions = {| + useCache?: boolean, + config?: string, + editorconfig?: boolean + |}; + + declare type SupportLanguage = { + name: string, + since: string, + parsers: Array, + group?: string, + tmScope: string, + aceMode: string, + codemirrorMode: string, + codemirrorMimeType: string, + aliases?: Array, + extensions: Array, + filenames?: Array, + linguistLanguageId: number, + vscodeLanguageIds: Array + }; + + declare type SupportOption = {| + since: string, + type: "int" | "boolean" | "choice" | "path", + deprecated?: string, + redirect?: SupportOptionRedirect, + description: string, + oppositeDescription?: string, + default: SupportOptionValue, + range?: SupportOptionRange, + choices?: SupportOptionChoice + |}; + + declare type SupportOptionRedirect = {| + options: string, + value: SupportOptionValue + |}; + + declare type SupportOptionRange = {| + start: number, + end: number, + step: number + |}; + + declare type SupportOptionChoice = {| + value: boolean | string, + description?: string, + since?: string, + deprecated?: string, + redirect?: SupportOptionValue + |}; + + declare type SupportOptionValue = number | boolean | string; + + declare type SupportInfo = {| + languages: Array, + options: Array + |}; + + declare type Prettier = {| + format: (source: string, options?: Options) => string, + check: (source: string, options?: Options) => boolean, + formatWithCursor: (source: string, options: CursorOptions) => CursorResult, + resolveConfig: { + (filePath: string, options?: ResolveConfigOptions): Promise, + sync(filePath: string, options?: ResolveConfigOptions): Promise + }, + clearConfigCache: () => void, + getSupportInfo: (version?: string) => SupportInfo + |}; + + declare export default Prettier; +} diff --git a/flow-typed/npm/prettier_vx.x.x.js b/flow-typed/npm/prettier_vx.x.x.js deleted file mode 100644 index 42ce1635..00000000 --- a/flow-typed/npm/prettier_vx.x.x.js +++ /dev/null @@ -1,108 +0,0 @@ -// flow-typed signature: c22c96ca013d0bf15417b842a472c27b -// flow-typed version: <>/prettier_v^1.10.2/flow_v0.63.1 - -/** - * This is an autogenerated libdef stub for: - * - * 'prettier' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - -declare module 'prettier' { - declare module.exports: any; -} - -/** - * We include stubs for each file inside this npm package in case you need to - * require those files directly. Feel free to delete any files that aren't - * needed. - */ -declare module 'prettier/bin-prettier' { - declare module.exports: any; -} - -declare module 'prettier/parser-babylon' { - declare module.exports: any; -} - -declare module 'prettier/parser-flow' { - declare module.exports: any; -} - -declare module 'prettier/parser-glimmer' { - declare module.exports: any; -} - -declare module 'prettier/parser-graphql' { - declare module.exports: any; -} - -declare module 'prettier/parser-markdown' { - declare module.exports: any; -} - -declare module 'prettier/parser-parse5' { - declare module.exports: any; -} - -declare module 'prettier/parser-postcss' { - declare module.exports: any; -} - -declare module 'prettier/parser-typescript' { - declare module.exports: any; -} - -declare module 'prettier/parser-vue' { - declare module.exports: any; -} - -declare module 'prettier/third-party' { - declare module.exports: any; -} - -// Filename aliases -declare module 'prettier/bin-prettier.js' { - declare module.exports: $Exports<'prettier/bin-prettier'>; -} -declare module 'prettier/index' { - declare module.exports: $Exports<'prettier'>; -} -declare module 'prettier/index.js' { - declare module.exports: $Exports<'prettier'>; -} -declare module 'prettier/parser-babylon.js' { - declare module.exports: $Exports<'prettier/parser-babylon'>; -} -declare module 'prettier/parser-flow.js' { - declare module.exports: $Exports<'prettier/parser-flow'>; -} -declare module 'prettier/parser-glimmer.js' { - declare module.exports: $Exports<'prettier/parser-glimmer'>; -} -declare module 'prettier/parser-graphql.js' { - declare module.exports: $Exports<'prettier/parser-graphql'>; -} -declare module 'prettier/parser-markdown.js' { - declare module.exports: $Exports<'prettier/parser-markdown'>; -} -declare module 'prettier/parser-parse5.js' { - declare module.exports: $Exports<'prettier/parser-parse5'>; -} -declare module 'prettier/parser-postcss.js' { - declare module.exports: $Exports<'prettier/parser-postcss'>; -} -declare module 'prettier/parser-typescript.js' { - declare module.exports: $Exports<'prettier/parser-typescript'>; -} -declare module 'prettier/parser-vue.js' { - declare module.exports: $Exports<'prettier/parser-vue'>; -} -declare module 'prettier/third-party.js' { - declare module.exports: $Exports<'prettier/third-party'>; -} diff --git a/flow-typed/npm/prop-types_v15.x.x.js b/flow-typed/npm/prop-types_v15.x.x.js index 113b0b5c..ba9478bf 100644 --- a/flow-typed/npm/prop-types_v15.x.x.js +++ b/flow-typed/npm/prop-types_v15.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 3eaa1f24c7397b78a7481992d2cddcb2 -// flow-typed version: a1a20d4928/prop-types_v15.x.x/flow_>=v0.41.x +// flow-typed signature: d9a983bb1ac458a256c31c139047bdbb +// flow-typed version: 927687984d/prop-types_v15.x.x/flow_>=v0.41.x type $npm$propTypes$ReactPropsCheckType = ( props: any, @@ -14,6 +14,7 @@ declare module 'prop-types' { declare var number: React$PropType$Primitive; declare var object: React$PropType$Primitive; declare var string: React$PropType$Primitive; + declare var symbol: React$PropType$Primitive; declare var any: React$PropType$Primitive; declare var arrayOf: React$PropType$ArrayOf; declare var element: React$PropType$Primitive; /* TODO */ diff --git a/flow-typed/npm/rollup-plugin-babel_vx.x.x.js b/flow-typed/npm/rollup-plugin-babel_vx.x.x.js index 5f3ceac7..94efcf7e 100644 --- a/flow-typed/npm/rollup-plugin-babel_vx.x.x.js +++ b/flow-typed/npm/rollup-plugin-babel_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 761822bdbbd6df3de86047f3023d857d -// flow-typed version: <>/rollup-plugin-babel_v^3.0.3/flow_v0.63.1 +// flow-typed signature: adf9f11ee630b4812a46efc11559e324 +// flow-typed version: <>/rollup-plugin-babel_v^3.0.3/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/rollup-plugin-commonjs_vx.x.x.js b/flow-typed/npm/rollup-plugin-commonjs_vx.x.x.js index 468af40d..93fbcafa 100644 --- a/flow-typed/npm/rollup-plugin-commonjs_vx.x.x.js +++ b/flow-typed/npm/rollup-plugin-commonjs_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 1910ca17caab7b1e065751fd8a85a908 -// flow-typed version: <>/rollup-plugin-commonjs_v^8.2.6/flow_v0.63.1 +// flow-typed signature: 23c79812730135229fe09d1b78ee22ce +// flow-typed version: <>/rollup-plugin-commonjs_v^9.1.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/rollup-plugin-node-resolve_vx.x.x.js b/flow-typed/npm/rollup-plugin-node-resolve_vx.x.x.js index b892ab6e..ca1a5cf3 100644 --- a/flow-typed/npm/rollup-plugin-node-resolve_vx.x.x.js +++ b/flow-typed/npm/rollup-plugin-node-resolve_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: a986c6535d5ad46c9460e1c5dc02a30d -// flow-typed version: <>/rollup-plugin-node-resolve_v^3.0.2/flow_v0.63.1 +// flow-typed signature: a50967934b71db6233138f9984013d3f +// flow-typed version: <>/rollup-plugin-node-resolve_v^3.2.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/rollup-plugin-replace_vx.x.x.js b/flow-typed/npm/rollup-plugin-replace_vx.x.x.js index b01ed51b..89c5283f 100644 --- a/flow-typed/npm/rollup-plugin-replace_vx.x.x.js +++ b/flow-typed/npm/rollup-plugin-replace_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 3bd4ce9b1720ab42000972c7dc659a2a -// flow-typed version: <>/rollup-plugin-replace_v^2.0.0/flow_v0.63.1 +// flow-typed signature: a6db8e063453b6a02eae4d32e05cd071 +// flow-typed version: <>/rollup-plugin-replace_v^2.0.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/rollup-plugin-uglify_vx.x.x.js b/flow-typed/npm/rollup-plugin-uglify_vx.x.x.js index 8f0b4dea..f4ebeea4 100644 --- a/flow-typed/npm/rollup-plugin-uglify_vx.x.x.js +++ b/flow-typed/npm/rollup-plugin-uglify_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 88da1d27e6404c2d0f9b13dc9b2b570c -// flow-typed version: <>/rollup-plugin-uglify_v^2.0.1/flow_v0.63.1 +// flow-typed signature: 312b1002a79c63a5c7939ceca4224c7b +// flow-typed version: <>/rollup-plugin-uglify_v^3.0.0/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/rollup_vx.x.x.js b/flow-typed/npm/rollup_vx.x.x.js index 0df537d0..5983ec9a 100644 --- a/flow-typed/npm/rollup_vx.x.x.js +++ b/flow-typed/npm/rollup_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: b23f1ffcb6607198be4204d4e9925cd0 -// flow-typed version: <>/rollup_v^0.54.0/flow_v0.63.1 +// flow-typed signature: c6f3fd60eb947e31b40993f53cbe794b +// flow-typed version: <>/rollup_v^0.56.5/flow_v0.67.1 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/webpack-dev-server_vx.x.x.js b/flow-typed/npm/webpack-dev-server_vx.x.x.js deleted file mode 100644 index d67eec45..00000000 --- a/flow-typed/npm/webpack-dev-server_vx.x.x.js +++ /dev/null @@ -1,109 +0,0 @@ -// flow-typed signature: 63d70dbc6045e347b03f4272c9248863 -// flow-typed version: <>/webpack-dev-server_v^2.11.0/flow_v0.63.1 - -/** - * This is an autogenerated libdef stub for: - * - * 'webpack-dev-server' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - -declare module 'webpack-dev-server' { - declare module.exports: any; -} - -/** - * We include stubs for each file inside this npm package in case you need to - * require those files directly. Feel free to delete any files that aren't - * needed. - */ -declare module 'webpack-dev-server/bin/webpack-dev-server' { - declare module.exports: any; -} - -declare module 'webpack-dev-server/client/index.bundle' { - declare module.exports: any; -} - -declare module 'webpack-dev-server/client/index' { - declare module.exports: any; -} - -declare module 'webpack-dev-server/client/live.bundle' { - declare module.exports: any; -} - -declare module 'webpack-dev-server/client/overlay' { - declare module.exports: any; -} - -declare module 'webpack-dev-server/client/socket' { - declare module.exports: any; -} - -declare module 'webpack-dev-server/client/sockjs.bundle' { - declare module.exports: any; -} - -declare module 'webpack-dev-server/lib/OptionsValidationError' { - declare module.exports: any; -} - -declare module 'webpack-dev-server/lib/polyfills' { - declare module.exports: any; -} - -declare module 'webpack-dev-server/lib/Server' { - declare module.exports: any; -} - -declare module 'webpack-dev-server/lib/util/addDevServerEntrypoints' { - declare module.exports: any; -} - -declare module 'webpack-dev-server/lib/util/createDomain' { - declare module.exports: any; -} - -// Filename aliases -declare module 'webpack-dev-server/bin/webpack-dev-server.js' { - declare module.exports: $Exports<'webpack-dev-server/bin/webpack-dev-server'>; -} -declare module 'webpack-dev-server/client/index.bundle.js' { - declare module.exports: $Exports<'webpack-dev-server/client/index.bundle'>; -} -declare module 'webpack-dev-server/client/index.js' { - declare module.exports: $Exports<'webpack-dev-server/client/index'>; -} -declare module 'webpack-dev-server/client/live.bundle.js' { - declare module.exports: $Exports<'webpack-dev-server/client/live.bundle'>; -} -declare module 'webpack-dev-server/client/overlay.js' { - declare module.exports: $Exports<'webpack-dev-server/client/overlay'>; -} -declare module 'webpack-dev-server/client/socket.js' { - declare module.exports: $Exports<'webpack-dev-server/client/socket'>; -} -declare module 'webpack-dev-server/client/sockjs.bundle.js' { - declare module.exports: $Exports<'webpack-dev-server/client/sockjs.bundle'>; -} -declare module 'webpack-dev-server/lib/OptionsValidationError.js' { - declare module.exports: $Exports<'webpack-dev-server/lib/OptionsValidationError'>; -} -declare module 'webpack-dev-server/lib/polyfills.js' { - declare module.exports: $Exports<'webpack-dev-server/lib/polyfills'>; -} -declare module 'webpack-dev-server/lib/Server.js' { - declare module.exports: $Exports<'webpack-dev-server/lib/Server'>; -} -declare module 'webpack-dev-server/lib/util/addDevServerEntrypoints.js' { - declare module.exports: $Exports<'webpack-dev-server/lib/util/addDevServerEntrypoints'>; -} -declare module 'webpack-dev-server/lib/util/createDomain.js' { - declare module.exports: $Exports<'webpack-dev-server/lib/util/createDomain'>; -} diff --git a/flow-typed/npm/webpack-serve_vx.x.x.js b/flow-typed/npm/webpack-serve_vx.x.x.js new file mode 100644 index 00000000..173e794e --- /dev/null +++ b/flow-typed/npm/webpack-serve_vx.x.x.js @@ -0,0 +1,80 @@ +// flow-typed signature: d1c04c33c850c82b42e769a141939802 +// flow-typed version: <>/webpack-serve_v^0.2.0/flow_v0.67.1 + +/** + * This is an autogenerated libdef stub for: + * + * 'webpack-serve' + * + * Fill this stub out by replacing all the `any` types. + * + * Once filled out, we encourage you to share your work with the + * community by sending a pull request to: + * https://github.com/flowtype/flow-typed + */ + +declare module 'webpack-serve' { + declare module.exports: any; +} + +/** + * We include stubs for each file inside this npm package in case you need to + * require those files directly. Feel free to delete any files that aren't + * needed. + */ +declare module 'webpack-serve/cli' { + declare module.exports: any; +} + +declare module 'webpack-serve/lib/bus' { + declare module.exports: any; +} + +declare module 'webpack-serve/lib/config' { + declare module.exports: any; +} + +declare module 'webpack-serve/lib/global' { + declare module.exports: any; +} + +declare module 'webpack-serve/lib/options' { + declare module.exports: any; +} + +declare module 'webpack-serve/lib/server' { + declare module.exports: any; +} + +declare module 'webpack-serve/lib/WebpackServeError' { + declare module.exports: any; +} + +// Filename aliases +declare module 'webpack-serve/cli.js' { + declare module.exports: $Exports<'webpack-serve/cli'>; +} +declare module 'webpack-serve/index' { + declare module.exports: $Exports<'webpack-serve'>; +} +declare module 'webpack-serve/index.js' { + declare module.exports: $Exports<'webpack-serve'>; +} +declare module 'webpack-serve/lib/bus.js' { + declare module.exports: $Exports<'webpack-serve/lib/bus'>; +} +declare module 'webpack-serve/lib/config.js' { + declare module.exports: $Exports<'webpack-serve/lib/config'>; +} +declare module 'webpack-serve/lib/global.js' { + declare module.exports: $Exports<'webpack-serve/lib/global'>; +} +declare module 'webpack-serve/lib/options.js' { + declare module.exports: $Exports<'webpack-serve/lib/options'>; +} +declare module 'webpack-serve/lib/server.js' { + declare module.exports: $Exports<'webpack-serve/lib/server'>; +} +declare module 'webpack-serve/lib/WebpackServeError.js' { + declare module.exports: $Exports<'webpack-serve/lib/WebpackServeError'>; +} diff --git a/flow-typed/npm/webpack_vx.x.x.js b/flow-typed/npm/webpack_vx.x.x.js index aae2d99d..2d71bf41 100644 --- a/flow-typed/npm/webpack_vx.x.x.js +++ b/flow-typed/npm/webpack_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: a7ba7bbc556e2ea2529851b17593d855 -// flow-typed version: <>/webpack_v^3.10.0/flow_v0.63.1 +// flow-typed signature: 2d02ef7fcdf76317e9b3f8d73c4dcd80 +// flow-typed version: <>/webpack_v^4.1.1/flow_v0.67.1 /** * This is an autogenerated libdef stub for: @@ -22,18 +22,6 @@ declare module 'webpack' { * require those files directly. Feel free to delete any files that aren't * needed. */ -declare module 'webpack/bin/config-optimist' { - declare module.exports: any; -} - -declare module 'webpack/bin/config-yargs' { - declare module.exports: any; -} - -declare module 'webpack/bin/convert-argv' { - declare module.exports: any; -} - declare module 'webpack/bin/webpack' { declare module.exports: any; } @@ -102,7 +90,7 @@ declare module 'webpack/lib/AsyncDependenciesBlock' { declare module.exports: any; } -declare module 'webpack/lib/AsyncDependencyToInitialChunkWarning' { +declare module 'webpack/lib/AsyncDependencyToInitialChunkError' { declare module.exports: any; } @@ -130,6 +118,10 @@ declare module 'webpack/lib/Chunk' { declare module.exports: any; } +declare module 'webpack/lib/ChunkGroup' { + declare module.exports: any; +} + declare module 'webpack/lib/ChunkRenderError' { declare module.exports: any; } @@ -174,6 +166,10 @@ declare module 'webpack/lib/ContextReplacementPlugin' { declare module.exports: any; } +declare module 'webpack/lib/debug/ProfilingPlugin' { + declare module.exports: any; +} + declare module 'webpack/lib/DefinePlugin' { declare module.exports: any; } @@ -278,10 +274,6 @@ declare module 'webpack/lib/dependencies/DelegatedSourceDependency' { declare module.exports: any; } -declare module 'webpack/lib/dependencies/DepBlockHelpers' { - declare module.exports: any; -} - declare module 'webpack/lib/dependencies/DllEntryDependency' { declare module.exports: any; } @@ -334,43 +326,39 @@ declare module 'webpack/lib/dependencies/HarmonyImportDependencyParserPlugin' { declare module.exports: any; } -declare module 'webpack/lib/dependencies/HarmonyImportSpecifierDependency' { +declare module 'webpack/lib/dependencies/HarmonyImportSideEffectDependency' { declare module.exports: any; } -declare module 'webpack/lib/dependencies/HarmonyModulesHelpers' { - declare module.exports: any; -} - -declare module 'webpack/lib/dependencies/HarmonyModulesPlugin' { +declare module 'webpack/lib/dependencies/HarmonyImportSpecifierDependency' { declare module.exports: any; } -declare module 'webpack/lib/dependencies/ImportContextDependency' { +declare module 'webpack/lib/dependencies/HarmonyInitDependency' { declare module.exports: any; } -declare module 'webpack/lib/dependencies/ImportDependenciesBlock' { +declare module 'webpack/lib/dependencies/HarmonyModulesPlugin' { declare module.exports: any; } -declare module 'webpack/lib/dependencies/ImportDependency' { +declare module 'webpack/lib/dependencies/HarmonyTopLevelThisParserPlugin' { declare module.exports: any; } -declare module 'webpack/lib/dependencies/ImportEagerContextDependency' { +declare module 'webpack/lib/dependencies/ImportContextDependency' { declare module.exports: any; } -declare module 'webpack/lib/dependencies/ImportEagerDependency' { +declare module 'webpack/lib/dependencies/ImportDependenciesBlock' { declare module.exports: any; } -declare module 'webpack/lib/dependencies/ImportLazyContextDependency' { +declare module 'webpack/lib/dependencies/ImportDependency' { declare module.exports: any; } -declare module 'webpack/lib/dependencies/ImportLazyOnceContextDependency' { +declare module 'webpack/lib/dependencies/ImportEagerDependency' { declare module.exports: any; } @@ -382,11 +370,11 @@ declare module 'webpack/lib/dependencies/ImportPlugin' { declare module.exports: any; } -declare module 'webpack/lib/dependencies/ImportWeakContextDependency' { +declare module 'webpack/lib/dependencies/ImportWeakDependency' { declare module.exports: any; } -declare module 'webpack/lib/dependencies/ImportWeakDependency' { +declare module 'webpack/lib/dependencies/JsonExportsDependency' { declare module.exports: any; } @@ -518,6 +506,10 @@ declare module 'webpack/lib/dependencies/UnsupportedDependency' { declare module.exports: any; } +declare module 'webpack/lib/dependencies/WebAssemblyImportDependency' { + declare module.exports: any; +} + declare module 'webpack/lib/dependencies/WebpackMissingModule' { declare module.exports: any; } @@ -638,6 +630,10 @@ declare module 'webpack/lib/FunctionModuleTemplatePlugin' { declare module.exports: any; } +declare module 'webpack/lib/GraphHelpers' { + declare module.exports: any; +} + declare module 'webpack/lib/HashedModuleIdsPlugin' { declare module.exports: any; } @@ -658,27 +654,23 @@ declare module 'webpack/lib/IgnorePlugin' { declare module.exports: any; } -declare module 'webpack/lib/JsonpChunkTemplatePlugin' { +declare module 'webpack/lib/JavascriptGenerator' { declare module.exports: any; } -declare module 'webpack/lib/JsonpExportMainTemplatePlugin' { +declare module 'webpack/lib/JavascriptModulesPlugin' { declare module.exports: any; } -declare module 'webpack/lib/JsonpHotUpdateChunkTemplatePlugin' { +declare module 'webpack/lib/JsonGenerator' { declare module.exports: any; } -declare module 'webpack/lib/JsonpMainTemplate.runtime' { +declare module 'webpack/lib/JsonModulesPlugin' { declare module.exports: any; } -declare module 'webpack/lib/JsonpMainTemplatePlugin' { - declare module.exports: any; -} - -declare module 'webpack/lib/JsonpTemplatePlugin' { +declare module 'webpack/lib/JsonParser' { declare module.exports: any; } @@ -750,10 +742,6 @@ declare module 'webpack/lib/ModuleWarning' { declare module.exports: any; } -declare module 'webpack/lib/MovedToPluginWarningPlugin' { - declare module.exports: any; -} - declare module 'webpack/lib/MultiCompiler' { declare module.exports: any; } @@ -786,10 +774,6 @@ declare module 'webpack/lib/NamedModulesPlugin' { declare module.exports: any; } -declare module 'webpack/lib/NewWatchingPlugin' { - declare module.exports: any; -} - declare module 'webpack/lib/node/NodeChunkTemplatePlugin' { declare module.exports: any; } @@ -834,6 +818,14 @@ declare module 'webpack/lib/node/NodeWatchFileSystem' { declare module.exports: any; } +declare module 'webpack/lib/node/ReadFileCompileWasmMainTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/node/ReadFileCompileWasmTemplatePlugin' { + declare module.exports: any; +} + declare module 'webpack/lib/NodeStuffPlugin' { declare module.exports: any; } @@ -842,7 +834,7 @@ declare module 'webpack/lib/NoEmitOnErrorsPlugin' { declare module.exports: any; } -declare module 'webpack/lib/NoErrorsPlugin' { +declare module 'webpack/lib/NoModeWarning' { declare module.exports: any; } @@ -874,18 +866,10 @@ declare module 'webpack/lib/optimize/ChunkModuleIdRangePlugin' { declare module.exports: any; } -declare module 'webpack/lib/optimize/CommonsChunkPlugin' { - declare module.exports: any; -} - declare module 'webpack/lib/optimize/ConcatenatedModule' { declare module.exports: any; } -declare module 'webpack/lib/optimize/DedupePlugin' { - declare module.exports: any; -} - declare module 'webpack/lib/optimize/EnsureChunkConditionsPlugin' { declare module.exports: any; } @@ -922,7 +906,15 @@ declare module 'webpack/lib/optimize/RemoveParentModulesPlugin' { declare module.exports: any; } -declare module 'webpack/lib/optimize/UglifyJsPlugin' { +declare module 'webpack/lib/optimize/RuntimeChunkPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/optimize/SideEffectsFlagPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/optimize/SplitChunksPlugin' { declare module.exports: any; } @@ -982,7 +974,7 @@ declare module 'webpack/lib/RecordIdsPlugin' { declare module.exports: any; } -declare module 'webpack/lib/removeAndDo' { +declare module 'webpack/lib/RemovedPluginError' { declare module.exports: any; } @@ -994,10 +986,18 @@ declare module 'webpack/lib/RequireJsStuffPlugin' { declare module.exports: any; } +declare module 'webpack/lib/ResolverFactory' { + declare module.exports: any; +} + declare module 'webpack/lib/RuleSet' { declare module.exports: any; } +declare module 'webpack/lib/RuntimeTemplate' { + declare module.exports: any; +} + declare module 'webpack/lib/SetVarMainTemplatePlugin' { declare module.exports: any; } @@ -1042,10 +1042,22 @@ declare module 'webpack/lib/UseStrictPlugin' { declare module.exports: any; } +declare module 'webpack/lib/util/cachedMerge' { + declare module.exports: any; +} + +declare module 'webpack/lib/util/createHash' { + declare module.exports: any; +} + declare module 'webpack/lib/util/identifier' { declare module.exports: any; } +declare module 'webpack/lib/util/objectToMap' { + declare module.exports: any; +} + declare module 'webpack/lib/util/Queue' { declare module.exports: any; } @@ -1054,10 +1066,22 @@ declare module 'webpack/lib/util/Semaphore' { declare module.exports: any; } +declare module 'webpack/lib/util/SetHelpers' { + declare module.exports: any; +} + declare module 'webpack/lib/util/SortableSet' { declare module.exports: any; } +declare module 'webpack/lib/util/StackedSetMap' { + declare module.exports: any; +} + +declare module 'webpack/lib/util/TrackingSet' { + declare module.exports: any; +} + declare module 'webpack/lib/validateSchema' { declare module.exports: any; } @@ -1066,14 +1090,70 @@ declare module 'webpack/lib/WarnCaseSensitiveModulesPlugin' { declare module.exports: any; } +declare module 'webpack/lib/WarnNoModeSetPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/wasm/WasmModuleTemplatePlugin' { + declare module.exports: any; +} + declare module 'webpack/lib/WatchIgnorePlugin' { declare module.exports: any; } +declare module 'webpack/lib/Watching' { + declare module.exports: any; +} + +declare module 'webpack/lib/web/FetchCompileWasmMainTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/web/FetchCompileWasmTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/web/JsonpChunkTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/web/JsonpExportMainTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/web/JsonpHotUpdateChunkTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/web/JsonpMainTemplate.runtime' { + declare module.exports: any; +} + +declare module 'webpack/lib/web/JsonpMainTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/web/JsonpTemplatePlugin' { + declare module.exports: any; +} + declare module 'webpack/lib/web/WebEnvironmentPlugin' { declare module.exports: any; } +declare module 'webpack/lib/WebAssemblyGenerator' { + declare module.exports: any; +} + +declare module 'webpack/lib/WebAssemblyModulesPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/WebAssemblyParser' { + declare module.exports: any; +} + declare module 'webpack/lib/webpack' { declare module.exports: any; } @@ -1127,15 +1207,6 @@ declare module 'webpack/web_modules/node-libs-browser' { } // Filename aliases -declare module 'webpack/bin/config-optimist.js' { - declare module.exports: $Exports<'webpack/bin/config-optimist'>; -} -declare module 'webpack/bin/config-yargs.js' { - declare module.exports: $Exports<'webpack/bin/config-yargs'>; -} -declare module 'webpack/bin/convert-argv.js' { - declare module.exports: $Exports<'webpack/bin/convert-argv'>; -} declare module 'webpack/bin/webpack.js' { declare module.exports: $Exports<'webpack/bin/webpack'>; } @@ -1187,8 +1258,8 @@ declare module 'webpack/lib/APIPlugin.js' { declare module 'webpack/lib/AsyncDependenciesBlock.js' { declare module.exports: $Exports<'webpack/lib/AsyncDependenciesBlock'>; } -declare module 'webpack/lib/AsyncDependencyToInitialChunkWarning.js' { - declare module.exports: $Exports<'webpack/lib/AsyncDependencyToInitialChunkWarning'>; +declare module 'webpack/lib/AsyncDependencyToInitialChunkError.js' { + declare module.exports: $Exports<'webpack/lib/AsyncDependencyToInitialChunkError'>; } declare module 'webpack/lib/AutomaticPrefetchPlugin.js' { declare module.exports: $Exports<'webpack/lib/AutomaticPrefetchPlugin'>; @@ -1208,6 +1279,9 @@ declare module 'webpack/lib/CaseSensitiveModulesWarning.js' { declare module 'webpack/lib/Chunk.js' { declare module.exports: $Exports<'webpack/lib/Chunk'>; } +declare module 'webpack/lib/ChunkGroup.js' { + declare module.exports: $Exports<'webpack/lib/ChunkGroup'>; +} declare module 'webpack/lib/ChunkRenderError.js' { declare module.exports: $Exports<'webpack/lib/ChunkRenderError'>; } @@ -1241,6 +1315,9 @@ declare module 'webpack/lib/ContextModuleFactory.js' { declare module 'webpack/lib/ContextReplacementPlugin.js' { declare module.exports: $Exports<'webpack/lib/ContextReplacementPlugin'>; } +declare module 'webpack/lib/debug/ProfilingPlugin.js' { + declare module.exports: $Exports<'webpack/lib/debug/ProfilingPlugin'>; +} declare module 'webpack/lib/DefinePlugin.js' { declare module.exports: $Exports<'webpack/lib/DefinePlugin'>; } @@ -1319,9 +1396,6 @@ declare module 'webpack/lib/dependencies/DelegatedExportsDependency.js' { declare module 'webpack/lib/dependencies/DelegatedSourceDependency.js' { declare module.exports: $Exports<'webpack/lib/dependencies/DelegatedSourceDependency'>; } -declare module 'webpack/lib/dependencies/DepBlockHelpers.js' { - declare module.exports: $Exports<'webpack/lib/dependencies/DepBlockHelpers'>; -} declare module 'webpack/lib/dependencies/DllEntryDependency.js' { declare module.exports: $Exports<'webpack/lib/dependencies/DllEntryDependency'>; } @@ -1361,15 +1435,21 @@ declare module 'webpack/lib/dependencies/HarmonyImportDependency.js' { declare module 'webpack/lib/dependencies/HarmonyImportDependencyParserPlugin.js' { declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyImportDependencyParserPlugin'>; } +declare module 'webpack/lib/dependencies/HarmonyImportSideEffectDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyImportSideEffectDependency'>; +} declare module 'webpack/lib/dependencies/HarmonyImportSpecifierDependency.js' { declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyImportSpecifierDependency'>; } -declare module 'webpack/lib/dependencies/HarmonyModulesHelpers.js' { - declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyModulesHelpers'>; +declare module 'webpack/lib/dependencies/HarmonyInitDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyInitDependency'>; } declare module 'webpack/lib/dependencies/HarmonyModulesPlugin.js' { declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyModulesPlugin'>; } +declare module 'webpack/lib/dependencies/HarmonyTopLevelThisParserPlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyTopLevelThisParserPlugin'>; +} declare module 'webpack/lib/dependencies/ImportContextDependency.js' { declare module.exports: $Exports<'webpack/lib/dependencies/ImportContextDependency'>; } @@ -1379,30 +1459,21 @@ declare module 'webpack/lib/dependencies/ImportDependenciesBlock.js' { declare module 'webpack/lib/dependencies/ImportDependency.js' { declare module.exports: $Exports<'webpack/lib/dependencies/ImportDependency'>; } -declare module 'webpack/lib/dependencies/ImportEagerContextDependency.js' { - declare module.exports: $Exports<'webpack/lib/dependencies/ImportEagerContextDependency'>; -} declare module 'webpack/lib/dependencies/ImportEagerDependency.js' { declare module.exports: $Exports<'webpack/lib/dependencies/ImportEagerDependency'>; } -declare module 'webpack/lib/dependencies/ImportLazyContextDependency.js' { - declare module.exports: $Exports<'webpack/lib/dependencies/ImportLazyContextDependency'>; -} -declare module 'webpack/lib/dependencies/ImportLazyOnceContextDependency.js' { - declare module.exports: $Exports<'webpack/lib/dependencies/ImportLazyOnceContextDependency'>; -} declare module 'webpack/lib/dependencies/ImportParserPlugin.js' { declare module.exports: $Exports<'webpack/lib/dependencies/ImportParserPlugin'>; } declare module 'webpack/lib/dependencies/ImportPlugin.js' { declare module.exports: $Exports<'webpack/lib/dependencies/ImportPlugin'>; } -declare module 'webpack/lib/dependencies/ImportWeakContextDependency.js' { - declare module.exports: $Exports<'webpack/lib/dependencies/ImportWeakContextDependency'>; -} declare module 'webpack/lib/dependencies/ImportWeakDependency.js' { declare module.exports: $Exports<'webpack/lib/dependencies/ImportWeakDependency'>; } +declare module 'webpack/lib/dependencies/JsonExportsDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/JsonExportsDependency'>; +} declare module 'webpack/lib/dependencies/LoaderDependency.js' { declare module.exports: $Exports<'webpack/lib/dependencies/LoaderDependency'>; } @@ -1499,6 +1570,9 @@ declare module 'webpack/lib/dependencies/SystemPlugin.js' { declare module 'webpack/lib/dependencies/UnsupportedDependency.js' { declare module.exports: $Exports<'webpack/lib/dependencies/UnsupportedDependency'>; } +declare module 'webpack/lib/dependencies/WebAssemblyImportDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/WebAssemblyImportDependency'>; +} declare module 'webpack/lib/dependencies/WebpackMissingModule.js' { declare module.exports: $Exports<'webpack/lib/dependencies/WebpackMissingModule'>; } @@ -1589,6 +1663,9 @@ declare module 'webpack/lib/FunctionModulePlugin.js' { declare module 'webpack/lib/FunctionModuleTemplatePlugin.js' { declare module.exports: $Exports<'webpack/lib/FunctionModuleTemplatePlugin'>; } +declare module 'webpack/lib/GraphHelpers.js' { + declare module.exports: $Exports<'webpack/lib/GraphHelpers'>; +} declare module 'webpack/lib/HashedModuleIdsPlugin.js' { declare module.exports: $Exports<'webpack/lib/HashedModuleIdsPlugin'>; } @@ -1604,23 +1681,20 @@ declare module 'webpack/lib/HotUpdateChunkTemplate.js' { declare module 'webpack/lib/IgnorePlugin.js' { declare module.exports: $Exports<'webpack/lib/IgnorePlugin'>; } -declare module 'webpack/lib/JsonpChunkTemplatePlugin.js' { - declare module.exports: $Exports<'webpack/lib/JsonpChunkTemplatePlugin'>; -} -declare module 'webpack/lib/JsonpExportMainTemplatePlugin.js' { - declare module.exports: $Exports<'webpack/lib/JsonpExportMainTemplatePlugin'>; +declare module 'webpack/lib/JavascriptGenerator.js' { + declare module.exports: $Exports<'webpack/lib/JavascriptGenerator'>; } -declare module 'webpack/lib/JsonpHotUpdateChunkTemplatePlugin.js' { - declare module.exports: $Exports<'webpack/lib/JsonpHotUpdateChunkTemplatePlugin'>; +declare module 'webpack/lib/JavascriptModulesPlugin.js' { + declare module.exports: $Exports<'webpack/lib/JavascriptModulesPlugin'>; } -declare module 'webpack/lib/JsonpMainTemplate.runtime.js' { - declare module.exports: $Exports<'webpack/lib/JsonpMainTemplate.runtime'>; +declare module 'webpack/lib/JsonGenerator.js' { + declare module.exports: $Exports<'webpack/lib/JsonGenerator'>; } -declare module 'webpack/lib/JsonpMainTemplatePlugin.js' { - declare module.exports: $Exports<'webpack/lib/JsonpMainTemplatePlugin'>; +declare module 'webpack/lib/JsonModulesPlugin.js' { + declare module.exports: $Exports<'webpack/lib/JsonModulesPlugin'>; } -declare module 'webpack/lib/JsonpTemplatePlugin.js' { - declare module.exports: $Exports<'webpack/lib/JsonpTemplatePlugin'>; +declare module 'webpack/lib/JsonParser.js' { + declare module.exports: $Exports<'webpack/lib/JsonParser'>; } declare module 'webpack/lib/LibManifestPlugin.js' { declare module.exports: $Exports<'webpack/lib/LibManifestPlugin'>; @@ -1673,9 +1747,6 @@ declare module 'webpack/lib/ModuleTemplate.js' { declare module 'webpack/lib/ModuleWarning.js' { declare module.exports: $Exports<'webpack/lib/ModuleWarning'>; } -declare module 'webpack/lib/MovedToPluginWarningPlugin.js' { - declare module.exports: $Exports<'webpack/lib/MovedToPluginWarningPlugin'>; -} declare module 'webpack/lib/MultiCompiler.js' { declare module.exports: $Exports<'webpack/lib/MultiCompiler'>; } @@ -1700,9 +1771,6 @@ declare module 'webpack/lib/NamedChunksPlugin.js' { declare module 'webpack/lib/NamedModulesPlugin.js' { declare module.exports: $Exports<'webpack/lib/NamedModulesPlugin'>; } -declare module 'webpack/lib/NewWatchingPlugin.js' { - declare module.exports: $Exports<'webpack/lib/NewWatchingPlugin'>; -} declare module 'webpack/lib/node/NodeChunkTemplatePlugin.js' { declare module.exports: $Exports<'webpack/lib/node/NodeChunkTemplatePlugin'>; } @@ -1736,14 +1804,20 @@ declare module 'webpack/lib/node/NodeTemplatePlugin.js' { declare module 'webpack/lib/node/NodeWatchFileSystem.js' { declare module.exports: $Exports<'webpack/lib/node/NodeWatchFileSystem'>; } +declare module 'webpack/lib/node/ReadFileCompileWasmMainTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/node/ReadFileCompileWasmMainTemplatePlugin'>; +} +declare module 'webpack/lib/node/ReadFileCompileWasmTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/node/ReadFileCompileWasmTemplatePlugin'>; +} declare module 'webpack/lib/NodeStuffPlugin.js' { declare module.exports: $Exports<'webpack/lib/NodeStuffPlugin'>; } declare module 'webpack/lib/NoEmitOnErrorsPlugin.js' { declare module.exports: $Exports<'webpack/lib/NoEmitOnErrorsPlugin'>; } -declare module 'webpack/lib/NoErrorsPlugin.js' { - declare module.exports: $Exports<'webpack/lib/NoErrorsPlugin'>; +declare module 'webpack/lib/NoModeWarning.js' { + declare module.exports: $Exports<'webpack/lib/NoModeWarning'>; } declare module 'webpack/lib/NormalModule.js' { declare module.exports: $Exports<'webpack/lib/NormalModule'>; @@ -1766,15 +1840,9 @@ declare module 'webpack/lib/optimize/AggressiveSplittingPlugin.js' { declare module 'webpack/lib/optimize/ChunkModuleIdRangePlugin.js' { declare module.exports: $Exports<'webpack/lib/optimize/ChunkModuleIdRangePlugin'>; } -declare module 'webpack/lib/optimize/CommonsChunkPlugin.js' { - declare module.exports: $Exports<'webpack/lib/optimize/CommonsChunkPlugin'>; -} declare module 'webpack/lib/optimize/ConcatenatedModule.js' { declare module.exports: $Exports<'webpack/lib/optimize/ConcatenatedModule'>; } -declare module 'webpack/lib/optimize/DedupePlugin.js' { - declare module.exports: $Exports<'webpack/lib/optimize/DedupePlugin'>; -} declare module 'webpack/lib/optimize/EnsureChunkConditionsPlugin.js' { declare module.exports: $Exports<'webpack/lib/optimize/EnsureChunkConditionsPlugin'>; } @@ -1802,8 +1870,14 @@ declare module 'webpack/lib/optimize/RemoveEmptyChunksPlugin.js' { declare module 'webpack/lib/optimize/RemoveParentModulesPlugin.js' { declare module.exports: $Exports<'webpack/lib/optimize/RemoveParentModulesPlugin'>; } -declare module 'webpack/lib/optimize/UglifyJsPlugin.js' { - declare module.exports: $Exports<'webpack/lib/optimize/UglifyJsPlugin'>; +declare module 'webpack/lib/optimize/RuntimeChunkPlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/RuntimeChunkPlugin'>; +} +declare module 'webpack/lib/optimize/SideEffectsFlagPlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/SideEffectsFlagPlugin'>; +} +declare module 'webpack/lib/optimize/SplitChunksPlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/SplitChunksPlugin'>; } declare module 'webpack/lib/OptionsApply.js' { declare module.exports: $Exports<'webpack/lib/OptionsApply'>; @@ -1847,8 +1921,8 @@ declare module 'webpack/lib/RawModule.js' { declare module 'webpack/lib/RecordIdsPlugin.js' { declare module.exports: $Exports<'webpack/lib/RecordIdsPlugin'>; } -declare module 'webpack/lib/removeAndDo.js' { - declare module.exports: $Exports<'webpack/lib/removeAndDo'>; +declare module 'webpack/lib/RemovedPluginError.js' { + declare module.exports: $Exports<'webpack/lib/RemovedPluginError'>; } declare module 'webpack/lib/RequestShortener.js' { declare module.exports: $Exports<'webpack/lib/RequestShortener'>; @@ -1856,9 +1930,15 @@ declare module 'webpack/lib/RequestShortener.js' { declare module 'webpack/lib/RequireJsStuffPlugin.js' { declare module.exports: $Exports<'webpack/lib/RequireJsStuffPlugin'>; } +declare module 'webpack/lib/ResolverFactory.js' { + declare module.exports: $Exports<'webpack/lib/ResolverFactory'>; +} declare module 'webpack/lib/RuleSet.js' { declare module.exports: $Exports<'webpack/lib/RuleSet'>; } +declare module 'webpack/lib/RuntimeTemplate.js' { + declare module.exports: $Exports<'webpack/lib/RuntimeTemplate'>; +} declare module 'webpack/lib/SetVarMainTemplatePlugin.js' { declare module.exports: $Exports<'webpack/lib/SetVarMainTemplatePlugin'>; } @@ -1892,30 +1972,90 @@ declare module 'webpack/lib/UnsupportedFeatureWarning.js' { declare module 'webpack/lib/UseStrictPlugin.js' { declare module.exports: $Exports<'webpack/lib/UseStrictPlugin'>; } +declare module 'webpack/lib/util/cachedMerge.js' { + declare module.exports: $Exports<'webpack/lib/util/cachedMerge'>; +} +declare module 'webpack/lib/util/createHash.js' { + declare module.exports: $Exports<'webpack/lib/util/createHash'>; +} declare module 'webpack/lib/util/identifier.js' { declare module.exports: $Exports<'webpack/lib/util/identifier'>; } +declare module 'webpack/lib/util/objectToMap.js' { + declare module.exports: $Exports<'webpack/lib/util/objectToMap'>; +} declare module 'webpack/lib/util/Queue.js' { declare module.exports: $Exports<'webpack/lib/util/Queue'>; } declare module 'webpack/lib/util/Semaphore.js' { declare module.exports: $Exports<'webpack/lib/util/Semaphore'>; } +declare module 'webpack/lib/util/SetHelpers.js' { + declare module.exports: $Exports<'webpack/lib/util/SetHelpers'>; +} declare module 'webpack/lib/util/SortableSet.js' { declare module.exports: $Exports<'webpack/lib/util/SortableSet'>; } +declare module 'webpack/lib/util/StackedSetMap.js' { + declare module.exports: $Exports<'webpack/lib/util/StackedSetMap'>; +} +declare module 'webpack/lib/util/TrackingSet.js' { + declare module.exports: $Exports<'webpack/lib/util/TrackingSet'>; +} declare module 'webpack/lib/validateSchema.js' { declare module.exports: $Exports<'webpack/lib/validateSchema'>; } declare module 'webpack/lib/WarnCaseSensitiveModulesPlugin.js' { declare module.exports: $Exports<'webpack/lib/WarnCaseSensitiveModulesPlugin'>; } +declare module 'webpack/lib/WarnNoModeSetPlugin.js' { + declare module.exports: $Exports<'webpack/lib/WarnNoModeSetPlugin'>; +} +declare module 'webpack/lib/wasm/WasmModuleTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/wasm/WasmModuleTemplatePlugin'>; +} declare module 'webpack/lib/WatchIgnorePlugin.js' { declare module.exports: $Exports<'webpack/lib/WatchIgnorePlugin'>; } +declare module 'webpack/lib/Watching.js' { + declare module.exports: $Exports<'webpack/lib/Watching'>; +} +declare module 'webpack/lib/web/FetchCompileWasmMainTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/web/FetchCompileWasmMainTemplatePlugin'>; +} +declare module 'webpack/lib/web/FetchCompileWasmTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/web/FetchCompileWasmTemplatePlugin'>; +} +declare module 'webpack/lib/web/JsonpChunkTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/web/JsonpChunkTemplatePlugin'>; +} +declare module 'webpack/lib/web/JsonpExportMainTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/web/JsonpExportMainTemplatePlugin'>; +} +declare module 'webpack/lib/web/JsonpHotUpdateChunkTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/web/JsonpHotUpdateChunkTemplatePlugin'>; +} +declare module 'webpack/lib/web/JsonpMainTemplate.runtime.js' { + declare module.exports: $Exports<'webpack/lib/web/JsonpMainTemplate.runtime'>; +} +declare module 'webpack/lib/web/JsonpMainTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/web/JsonpMainTemplatePlugin'>; +} +declare module 'webpack/lib/web/JsonpTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/web/JsonpTemplatePlugin'>; +} declare module 'webpack/lib/web/WebEnvironmentPlugin.js' { declare module.exports: $Exports<'webpack/lib/web/WebEnvironmentPlugin'>; } +declare module 'webpack/lib/WebAssemblyGenerator.js' { + declare module.exports: $Exports<'webpack/lib/WebAssemblyGenerator'>; +} +declare module 'webpack/lib/WebAssemblyModulesPlugin.js' { + declare module.exports: $Exports<'webpack/lib/WebAssemblyModulesPlugin'>; +} +declare module 'webpack/lib/WebAssemblyParser.js' { + declare module.exports: $Exports<'webpack/lib/WebAssemblyParser'>; +} declare module 'webpack/lib/webpack.js' { declare module.exports: $Exports<'webpack/lib/webpack'>; } diff --git a/package.json b/package.json index eb3f1904..6db89949 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-leaflet", - "version": "1.8.2", + "version": "1.9.0", "description": "React components for Leaflet maps", "main": "lib/index.js", "module": "es/index.js", @@ -53,7 +53,7 @@ "babel-core": "^6.26.0", "babel-eslint": "^8.2.2", "babel-jest": "^22.4.1", - "babel-loader": "^7.1.3", + "babel-loader": "^7.1.4", "babel-plugin-dev-expression": "^0.2.1", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-lodash": "^3.3.2", @@ -61,33 +61,33 @@ "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-1": "^6.24.1", - "cross-env": "^5.1.3", - "eslint": "^4.18.1", + "cross-env": "^5.1.4", + "eslint": "^4.18.2", "eslint-config-prettier": "^2.9.0", "eslint-plugin-flowtype": "^2.46.1", "eslint-plugin-import": "^2.9.0", "eslint-plugin-node": "^6.0.1", "eslint-plugin-prettier": "^2.6.0", - "eslint-plugin-promise": "^3.6.0", + "eslint-plugin-promise": "^3.7.0", "eslint-plugin-react": "^7.7.0", - "flow-bin": "^0.66.0", + "flow-bin": "^0.67.1", "flow-copy-source": "^1.3.0", "jest-cli": "^22.4.2", "leaflet": "^1.3.1", - "prettier": "^1.11.0", + "prettier": "^1.11.1", "prettier-eslint": "^8.8.1", "prop-types": "^15.6.1", "react": "^16.2.0", "react-dom": "^16.2.0", "rimraf": "^2.6.2", - "rollup": "^0.56.3", + "rollup": "^0.56.5", "rollup-plugin-babel": "^3.0.3", - "rollup-plugin-commonjs": "^8.3.0", - "rollup-plugin-node-resolve": "^3.0.3", + "rollup-plugin-commonjs": "^9.1.0", + "rollup-plugin-node-resolve": "^3.2.0", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-uglify": "^3.0.0", - "webpack": "^4.0.1", - "webpack-serve": "^0.1.4" + "webpack": "^4.1.1", + "webpack-serve": "^0.2.0" }, "jest": { "collectCoverage": true, diff --git a/src/DivOverlay.js b/src/DivOverlay.js new file mode 100644 index 00000000..cc00336f --- /dev/null +++ b/src/DivOverlay.js @@ -0,0 +1,84 @@ +// @flow + +import PropTypes from 'prop-types' +import { Children } from 'react' +import { render, unmountComponentAtNode } from 'react-dom' + +import MapComponent from './MapComponent' +import updateClassName from './utils/updateClassName' +import type { DivOverlayProps } from './types' + +type DivOverlayTypes = { + _container: HTMLDivElement, + _contentNode: HTMLDivElement, + isOpen: () => boolean, + update: () => void, +} + +export default class DivOverlay< + LeafletElement, + Props: DivOverlayProps, +> extends MapComponent { + static propTypes = { + children: PropTypes.node, + onClose: PropTypes.func, + onOpen: PropTypes.func, + } + + updateLeafletElement(prevProps: Props, props: Props) {} // eslint-disable-line + + componentDidUpdate(prevProps: Props) { + updateClassName( + this.leafletElement._container, + prevProps.className, + this.props.className, + ) + + this.updateLeafletElement(prevProps, this.props) + + if (this.leafletElement.isOpen()) { + this.renderContent() + } + } + + onClose = () => { + this.removeContent() + if (this.props.onClose) { + this.props.onClose() + } + } + + onOpen = () => { + this.renderContent() + if (this.props.onOpen) { + this.props.onOpen() + } + } + + onRender() {} + + renderContent = () => { + if (this.props.children == null) { + this.removeContent() + } else { + render( + Children.only(this.props.children), + this.leafletElement._contentNode, + () => { + this.leafletElement.update() + this.onRender() + }, + ) + } + } + + removeContent = () => { + if (this.leafletElement._contentNode) { + unmountComponentAtNode(this.leafletElement._contentNode) + } + } + + render() { + return null + } +} diff --git a/src/Map.js b/src/Map.js index 6f35ea65..fa32a3ce 100644 --- a/src/Map.js +++ b/src/Map.js @@ -2,12 +2,11 @@ import { latLngBounds, - DomUtil, Map as LeafletMap, type CRS, type Renderer, } from 'leaflet' -import { forEach, isUndefined, omit } from 'lodash' +import { isUndefined, omit } from 'lodash' import PropTypes from 'prop-types' import React, { type Node } from 'react' @@ -18,6 +17,7 @@ import latlng from './propTypes/latlng' import layerContainer from './propTypes/layerContainer' import map from './propTypes/map' import viewport from './propTypes/viewport' +import updateClassName from './utils/updateClassName' import type { LatLng, LatLngBounds, @@ -38,9 +38,6 @@ const OTHER_PROPS = [ const normalizeCenter = (pos: LatLng): [number, number] => Array.isArray(pos) ? [pos[0], pos[1]] : [pos.lat, pos.lon ? pos.lon : pos.lng] -const splitClassName = (className: string = ''): Array => - className.split(' ').filter(Boolean) - type LeafletElement = LeafletMap type ZoomOption = boolean | 'center' @@ -182,18 +179,7 @@ export default class Map extends MapComponent { zoom, } = toProps - if (className !== fromProps.className) { - if (fromProps.className != null && fromProps.className.length > 0) { - forEach(splitClassName(fromProps.className), cls => { - DomUtil.removeClass(this.container, cls) - }) - } - if (className != null && className.length > 0) { - forEach(splitClassName(className), cls => { - DomUtil.addClass(this.container, cls) - }) - } - } + updateClassName(this.container, fromProps.className, className) if (viewport && viewport !== fromProps.viewport) { const c = viewport.center ? viewport.center : center diff --git a/src/Popup.js b/src/Popup.js index b7d8e6ec..61236993 100644 --- a/src/Popup.js +++ b/src/Popup.js @@ -2,26 +2,20 @@ import { Popup as LeafletPopup } from 'leaflet' import PropTypes from 'prop-types' -import { Children, type Element } from 'react' -import { render, unmountComponentAtNode } from 'react-dom' -import MapComponent from './MapComponent' +import DivOverlay from './DivOverlay' import latlng from './propTypes/latlng' import layer from './propTypes/layer' import map from './propTypes/map' -import type { LatLng } from './types' +import type { LatLng, DivOverlayProps } from './types' type LeafletElement = LeafletPopup type Props = { autoPan?: boolean, - children: Element, - onClose?: () => void, - onOpen?: () => void, - pane?: string, position?: LatLng, -} +} & DivOverlayProps -export default class Popup extends MapComponent { +export default class Popup extends DivOverlay { static propTypes = { children: PropTypes.node, onClose: PropTypes.func, @@ -84,16 +78,8 @@ export default class Popup extends MapComponent { } } - componentDidUpdate(prevProps: Props) { - this.updateLeafletElement(prevProps, this.props) - - if (this.leafletElement.isOpen()) { - this.renderPopupContent() - } - } - componentWillUnmount() { - this.removePopupContent() + this.removeContent() this.context.map.off({ popupopen: this.onPopupOpen, @@ -106,49 +92,22 @@ export default class Popup extends MapComponent { onPopupOpen = ({ popup }: { popup: LeafletElement }) => { if (popup === this.leafletElement) { - this.renderPopupContent() - if (this.props.onOpen) { - this.props.onOpen() - } + this.onOpen() } } onPopupClose = ({ popup }: { popup: LeafletElement }) => { if (popup === this.leafletElement) { - this.removePopupContent() - if (this.props.onClose) { - this.props.onClose() - } + this.onClose() } } - renderPopupContent = () => { - if (this.props.children == null) { - this.removePopupContent() - } else { - render( - Children.only(this.props.children), - this.leafletElement._contentNode, - () => { - this.leafletElement.update() - if (this.props.autoPan !== false) { - if (this.leafletElement._map && this.leafletElement._map._panAnim) { - this.leafletElement._map._panAnim = undefined - } - this.leafletElement._adjustPan() - } - }, - ) - } - } - - removePopupContent = () => { - if (this.leafletElement._contentNode) { - unmountComponentAtNode(this.leafletElement._contentNode) + onRender = () => { + if (this.props.autoPan !== false) { + if (this.leafletElement._map && this.leafletElement._map._panAnim) { + this.leafletElement._map._panAnim = undefined + } + this.leafletElement._adjustPan() } } - - render() { - return null - } } diff --git a/src/Tooltip.js b/src/Tooltip.js index b4a700d7..56456c33 100644 --- a/src/Tooltip.js +++ b/src/Tooltip.js @@ -2,22 +2,16 @@ import { Tooltip as LeafletTooltip } from 'leaflet' import PropTypes from 'prop-types' -import { Children, type Element } from 'react' -import { render, unmountComponentAtNode } from 'react-dom' -import MapComponent from './MapComponent' +import DivOverlay from './DivOverlay' import layer from './propTypes/layer' import map from './propTypes/map' +import type { DivOverlayProps } from './types' type LeafletElement = LeafletTooltip -type Props = { - children: Element, - onClose?: () => void, - onOpen?: () => void, - pane?: string, -} +type Props = DivOverlayProps -export default class Tooltip extends MapComponent { +export default class Tooltip extends DivOverlay { static propTypes = { children: PropTypes.node, onClose: PropTypes.func, @@ -55,16 +49,10 @@ export default class Tooltip extends MapComponent { this.context.popupContainer.bindTooltip(this.leafletElement) } - componentDidUpdate() { - if (this.leafletElement.isOpen()) { - this.renderTooltipContent() - } - } - componentWillUnmount() { const { popupContainer } = this.context - this.removeTooltipContent() + this.removeContent() popupContainer.off({ tooltipopen: this.onTooltipOpen, @@ -79,43 +67,13 @@ export default class Tooltip extends MapComponent { onTooltipOpen = ({ tooltip }: { tooltip: LeafletElement }) => { if (tooltip === this.leafletElement) { - this.renderTooltipContent() - if (this.props.onOpen) { - this.props.onOpen() - } + this.onOpen() } } onTooltipClose = ({ tooltip }: { tooltip: LeafletElement }) => { if (tooltip === this.leafletElement) { - this.removeTooltipContent() - if (this.props.onClose) { - this.props.onClose() - } - } - } - - renderTooltipContent = () => { - if (this.props.children == null) { - this.removeTooltipContent() - } else { - render( - Children.only(this.props.children), - this.leafletElement._contentNode, - () => { - this.leafletElement.update() - }, - ) - } - } - - removeTooltipContent = () => { - if (this.leafletElement._contentNode) { - unmountComponentAtNode(this.leafletElement._contentNode) + this.onClose() } } - - render() { - return null - } } diff --git a/src/index.js b/src/index.js index 2ad19409..042830fb 100644 --- a/src/index.js +++ b/src/index.js @@ -19,6 +19,7 @@ export type { export { default as AttributionControl } from './AttributionControl' export { default as Circle } from './Circle' export { default as CircleMarker } from './CircleMarker' +export { default as DivOverlay } from './DivOverlay' export { default as FeatureGroup } from './FeatureGroup' export { default as GeoJSON } from './GeoJSON' export { default as GridLayer } from './GridLayer' diff --git a/src/types.js b/src/types.js index 385377cc..534725a0 100644 --- a/src/types.js +++ b/src/types.js @@ -6,7 +6,7 @@ import type { Point as LeafletPoint, Renderer, } from 'leaflet' -import type { Node } from 'react' +import type { Element, Node } from 'react' export type LatLng = LeafletLatLng | Array | Object @@ -63,10 +63,20 @@ export type PathOptions = { attribution?: string, } +export type DivOverlayOptions = { + children: Element, + className?: string, + offset?: LeafletPoint, + onClose?: () => void, + onOpen?: () => void, +} + export type MapControlProps = { position?: ControlPosition } export type MapComponentProps = { pane?: string } +export type DivOverlayProps = MapComponentProps & DivOverlayOptions + export type MapLayerProps = { children?: Node } & MapComponentProps export type GridLayerProps = MapLayerProps & GridLayerOptions diff --git a/src/utils/updateClassName.js b/src/utils/updateClassName.js new file mode 100644 index 00000000..81f4a98c --- /dev/null +++ b/src/utils/updateClassName.js @@ -0,0 +1,26 @@ +// @flow + +import { DomUtil } from 'leaflet' +import { forEach } from 'lodash' + +const splitClassName = (className: string = ''): Array => + className.split(' ').filter(Boolean) + +export default ( + container: ?HTMLElement, + prevClassName: ?string, + nextClassName: ?string, +) => { + if (container != null && nextClassName !== prevClassName) { + if (prevClassName != null && prevClassName.length > 0) { + forEach(splitClassName(prevClassName), cls => { + DomUtil.removeClass(container, cls) + }) + } + if (nextClassName != null && nextClassName.length > 0) { + forEach(splitClassName(nextClassName), cls => { + DomUtil.addClass(container, cls) + }) + } + } +} diff --git a/website/package.json b/website/package.json index 0e3f63d9..e163e37f 100644 --- a/website/package.json +++ b/website/package.json @@ -16,6 +16,6 @@ "highlight.js": "^9.12.0" }, "devDependencies": { - "docusaurus": "^1.0.7" + "docusaurus": "^1.0.9" } } diff --git a/website/siteConfig.js b/website/siteConfig.js index 72da4a12..9ee20387 100644 --- a/website/siteConfig.js +++ b/website/siteConfig.js @@ -42,6 +42,7 @@ const siteConfig = { highlight: { theme: 'default', }, + onPageNav: 'separate', scripts: ['https://buttons.github.io/buttons.js'], repoUrl: 'https://github.com/PaulLeCam/react-leaflet', cname: 'react-leaflet.js.org', diff --git a/website/yarn.lock b/website/yarn.lock index 6d56feef..11149079 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -846,9 +846,9 @@ detect-indent@^4.0.0: dependencies: repeating "^2.0.0" -docusaurus@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/docusaurus/-/docusaurus-1.0.7.tgz#54fc4ae0c25e510b0a3a2742f8c555cbf2083e94" +docusaurus@^1.0.9: + version "1.0.9" + resolved "https://registry.yarnpkg.com/docusaurus/-/docusaurus-1.0.9.tgz#1f703ca9e7f9319f690630fe7eee6381843dc761" dependencies: babel-plugin-transform-class-properties "^6.24.1" babel-plugin-transform-object-rest-spread "^6.26.0" diff --git a/yarn.lock b/yarn.lock index 51084f3f..1e6dd9f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -148,6 +148,10 @@ ajv-keywords@^1.0.0: version "1.5.1" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.5.1.tgz#314dd0a4b3368fad3dfcdc54ede6171b886daf3c" +ajv-keywords@^2.1.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.1.tgz#617997fc5f60576894c435f940d819e135b80762" + ajv-keywords@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.1.0.tgz#ac2b27939c543e95d2c06e7f7f5c27be4aa543be" @@ -159,7 +163,7 @@ ajv@^4.7.0, ajv@^4.9.1: co "^4.6.0" json-stable-stringify "^1.0.1" -ajv@^5.1.0: +ajv@^5.1.0, ajv@^5.2.3: version "5.5.2" resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965" dependencies: @@ -387,7 +391,7 @@ async@^1.4.0: version "1.5.2" resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" -async@^2.1.2, async@^2.1.4: +async@^2.1.4: version "2.5.0" resolved "https://registry.yarnpkg.com/async/-/async-2.5.0.tgz#843190fd6b7357a0b9e1c956edddd5ec8462b54d" dependencies: @@ -630,9 +634,9 @@ babel-jest@^22.4.1: babel-plugin-istanbul "^4.1.5" babel-preset-jest "^22.4.1" -babel-loader@^7.1.3: - version "7.1.3" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-7.1.3.tgz#ff5b440da716e9153abb946251a9ab7670037b16" +babel-loader@^7.1.4: + version "7.1.4" + resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-7.1.4.tgz#e3463938bd4e6d55d1c174c5485d406a188ed015" dependencies: find-cache-dir "^1.0.0" loader-utils "^1.0.2" @@ -1397,10 +1401,14 @@ buffer@^4.3.0: ieee754 "^1.1.4" isarray "^1.0.0" -builtin-modules@^1.0.0, builtin-modules@^1.1.0, builtin-modules@^1.1.1: +builtin-modules@^1.0.0, builtin-modules@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" +builtin-modules@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-2.0.0.tgz#60b7ef5ae6546bd7deefa74b08b62a43a232648e" + 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" @@ -1512,7 +1520,7 @@ chalk@^2.3.0: escape-string-regexp "^1.0.5" supports-color "^5.2.0" -chokidar@^1.6.1, chokidar@^1.7.0: +chokidar@^1.6.1: version "1.7.0" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" dependencies: @@ -1544,6 +1552,24 @@ chokidar@^2.0.0: optionalDependencies: fsevents "^1.0.0" +chokidar@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.0.2.tgz#4dc65139eeb2714977735b6a35d06e97b494dfd7" + dependencies: + anymatch "^2.0.0" + async-each "^1.0.0" + braces "^2.3.0" + glob-parent "^3.1.0" + inherits "^2.0.1" + is-binary-path "^1.0.0" + is-glob "^4.0.0" + normalize-path "^2.1.1" + path-is-absolute "^1.0.0" + readdirp "^2.0.0" + upath "^1.0.0" + optionalDependencies: + fsevents "^1.0.0" + chownr@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181" @@ -1766,6 +1792,15 @@ core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" +cosmiconfig@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-4.0.0.tgz#760391549580bbd2df1e562bc177b13c290972dc" + dependencies: + is-directory "^0.3.1" + js-yaml "^3.9.0" + parse-json "^4.0.0" + require-from-string "^2.0.1" + create-ecdh@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.0.tgz#888c723596cdf7612f6498233eebd7a35301737d" @@ -1799,9 +1834,9 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: safe-buffer "^5.0.1" sha.js "^2.4.8" -cross-env@^5.1.3: - version "5.1.3" - resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.1.3.tgz#f8ae18faac87692b0a8b4d2f7000d4ec3a85dfd7" +cross-env@^5.1.4: + version "5.1.4" + resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.1.4.tgz#f61c14291f7cc653bb86457002ea80a04699d022" dependencies: cross-spawn "^5.1.0" is-windows "^1.0.0" @@ -2243,9 +2278,9 @@ eslint-plugin-prettier@^2.6.0: fast-diff "^1.1.1" jest-docblock "^21.0.0" -eslint-plugin-promise@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-3.6.0.tgz#54b7658c8f454813dc2a870aff8152ec4969ba75" +eslint-plugin-promise@^3.7.0: + version "3.7.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-3.7.0.tgz#f4bde5c2c77cdd69557a8f69a24d1ad3cfc9e67e" eslint-plugin-react@^7.7.0: version "7.7.0" @@ -2309,9 +2344,9 @@ eslint@^4.0.0: table "^4.0.1" text-table "~0.2.0" -eslint@^4.18.1: - version "4.18.1" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.18.1.tgz#b9138440cb1e98b2f44a0d578c6ecf8eae6150b0" +eslint@^4.18.2: + version "4.18.2" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.18.2.tgz#0f81267ad1012e7d2051e186a9004cc2267b8d45" dependencies: ajv "^5.3.0" babel-code-frame "^6.22.0" @@ -2348,7 +2383,7 @@ eslint@^4.18.1: semver "^5.3.0" strip-ansi "^4.0.0" strip-json-comments "~2.0.1" - table "^4.0.1" + table "4.0.2" text-table "~0.2.0" espree@^3.5.2: @@ -2391,9 +2426,9 @@ estree-walker@^0.3.0: version "0.3.1" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.3.1.tgz#e6b1a51cf7292524e7237c312e5fe6660c1ce1aa" -estree-walker@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.5.0.tgz#aae3b57c42deb8010e349c892462f0e71c5dd1aa" +estree-walker@^0.5.1: + version "0.5.1" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.5.1.tgz#64fc375053abc6f57d73e9bd2f004644ad3c5854" esutils@^2.0.2: version "2.0.2" @@ -2647,9 +2682,9 @@ flat-cache@^1.2.1: graceful-fs "^4.1.2" write "^0.2.1" -flow-bin@^0.66.0: - version "0.66.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.66.0.tgz#a96dde7015dc3343fd552a7b4963c02be705ca26" +flow-bin@^0.67.1: + version "0.67.1" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.67.1.tgz#eabb7197cce870ac9442cfd04251c7ddc30377db" flow-copy-source@^1.3.0: version "1.3.0" @@ -3272,6 +3307,10 @@ is-descriptor@^1.0.0, is-descriptor@^1.0.2: is-data-descriptor "^1.0.0" kind-of "^6.0.2" +is-directory@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" + is-dotfile@^1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" @@ -3860,6 +3899,13 @@ js-yaml@^3.7.0, js-yaml@^3.9.1: argparse "^1.0.7" esprima "^4.0.0" +js-yaml@^3.9.0: + version "3.11.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.11.0.tgz#597c1a8bd57152f26d622ce4117851a51f5ebaef" + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + jsbn@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" @@ -4019,14 +4065,14 @@ koa-is-json@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/koa-is-json/-/koa-is-json-1.0.0.tgz#273c07edcdcb8df6a2c1ab7d59ee76491451ec14" -koa-webpack@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/koa-webpack/-/koa-webpack-2.0.3.tgz#7ac8deb0c23b2183e9431e4d85aaf36ed7096380" +koa-webpack@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/koa-webpack/-/koa-webpack-3.0.2.tgz#5a0604d476ec5ab3f12f02fd5bf8406a77b49ed2" dependencies: app-root-path "^2.0.1" merge-options "^1.0.0" - webpack-dev-middleware "^2.0.3" - webpack-hot-client "^1.0.1" + webpack-dev-middleware "^3.0.0" + webpack-hot-client "^2.0.0" webpack-log "^1.1.1" koa@^2.4.1: @@ -4166,6 +4212,10 @@ lodash@^4.0.0, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.4, l version "4.17.4" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" +lodash@^4.17.5: + version "4.17.5" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511" + log-symbols@^2.1.0: version "2.2.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a" @@ -5017,9 +5067,9 @@ prettier-eslint@^8.8.1: typescript "^2.5.1" typescript-eslint-parser "^11.0.0" -prettier@^1.11.0: - version "1.11.0" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.11.0.tgz#c024f70cab158c993f50fc0c25ffe738cb8b0f85" +prettier@^1.11.1: + version "1.11.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.11.1.tgz#61e43fc4cd44e68f2b0dfc2c38cd4bb0fccdcc75" prettier@^1.7.0: version "1.9.2" @@ -5455,6 +5505,10 @@ require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" +require-from-string@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.1.tgz#c545233e9d7da6616e9d59adfb39fc9f588676ff" + require-main-filename@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" @@ -5503,12 +5557,18 @@ resolve@1.1.7: version "1.1.7" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" -resolve@^1.1.6, resolve@^1.2.0, resolve@^1.3.3, resolve@^1.4.0, resolve@~1.4.0: +resolve@^1.1.6, resolve@^1.2.0, resolve@^1.3.3, resolve@~1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.4.0.tgz#a75be01c53da25d934a98ebd0e4c4a7312f92a86" dependencies: path-parse "^1.0.5" +resolve@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36" + dependencies: + path-parse "^1.0.5" + restore-cursor@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" @@ -5553,21 +5613,20 @@ rollup-plugin-babel@^3.0.3: dependencies: rollup-pluginutils "^1.5.0" -rollup-plugin-commonjs@^8.3.0: - version "8.3.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-commonjs/-/rollup-plugin-commonjs-8.3.0.tgz#91b4ba18f340951e39ed7b1901f377a80ab3f9c3" +rollup-plugin-commonjs@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/rollup-plugin-commonjs/-/rollup-plugin-commonjs-9.1.0.tgz#468341aab32499123ee9a04b22f51d9bf26fdd94" dependencies: - acorn "^5.2.1" - estree-walker "^0.5.0" + estree-walker "^0.5.1" magic-string "^0.22.4" - resolve "^1.4.0" + resolve "^1.5.0" rollup-pluginutils "^2.0.1" -rollup-plugin-node-resolve@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-3.0.3.tgz#8f57b253edd00e5b0ad0aed7b7e9cf5982e98fa4" +rollup-plugin-node-resolve@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-3.2.0.tgz#31534952f3ab21f9473c1d092be7ed43937ea4d4" dependencies: - builtin-modules "^1.1.0" + builtin-modules "^2.0.0" is-module "^1.0.0" resolve "^1.1.6" @@ -5599,9 +5658,9 @@ rollup-pluginutils@^2.0.1: estree-walker "^0.3.0" micromatch "^2.3.11" -rollup@^0.56.3: - version "0.56.3" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.56.3.tgz#7900695531afa1badd3235f285cc4aa0d49ce254" +rollup@^0.56.5: + version "0.56.5" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.56.5.tgz#40fe3cf0cd1659d469baad11f4d5b6336c14ce84" run-async@^2.2.0: version "2.3.0" @@ -5744,6 +5803,12 @@ slice-ansi@0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" +slice-ansi@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-1.0.0.tgz#044f1a49d8842ff307aad6b505ed178bd950134d" + dependencies: + is-fullwidth-code-point "^2.0.0" + snapdragon-node@^2.0.1: version "2.1.1" resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" @@ -6030,6 +6095,17 @@ symbol-tree@^3.2.1: version "3.2.2" resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6" +table@4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/table/-/table-4.0.2.tgz#a33447375391e766ad34d3486e6e2aedc84d2e36" + dependencies: + ajv "^5.2.3" + ajv-keywords "^2.1.0" + chalk "^2.1.0" + lodash "^4.17.4" + slice-ansi "1.0.0" + string-width "^2.1.1" + table@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/table/-/table-4.0.1.tgz#a8116c133fac2c61f4a420ab6cdf5c4d61f0e435" @@ -6131,6 +6207,10 @@ through@^2.3.6, through@~2.3.4, through@~2.3.8: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" +time-fix-plugin@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/time-fix-plugin/-/time-fix-plugin-2.0.0.tgz#d112f1e415b6ed269e008a42990ddbf8053fc315" + timed-out@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" @@ -6346,6 +6426,10 @@ unzip-response@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" +upath@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/upath/-/upath-1.0.4.tgz#ee2321ba0a786c50973db043a50b7bcba822361d" + update-notifier@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-2.3.0.tgz#4e8827a6bb915140ab093559d7014e3ebb837451" @@ -6364,14 +6448,14 @@ urix@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" -url-join@^2.0.2: - version "2.0.5" - resolved "https://registry.yarnpkg.com/url-join/-/url-join-2.0.5.tgz#5af22f18c052a000a48d7b82c5e9c2e2feeda728" - url-join@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/url-join/-/url-join-3.0.0.tgz#26e8113ace195ea30d0fc38186e45400f9cea672" +url-join@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/url-join/-/url-join-4.0.0.tgz#4d3340e807d3773bda9991f8305acdcc2a665d2a" + url-parse-lax@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73" @@ -6473,33 +6557,33 @@ watch@~0.10.0: version "0.10.0" resolved "https://registry.yarnpkg.com/watch/-/watch-0.10.0.tgz#77798b2da0f9910d595f1ace5b0c2258521f21dc" -watchpack@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.4.0.tgz#4a1472bcbb952bd0a9bb4036801f954dfb39faac" +watchpack@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.5.0.tgz#231e783af830a22f8966f65c4c4bacc814072eed" dependencies: - async "^2.1.2" - chokidar "^1.7.0" + chokidar "^2.0.2" graceful-fs "^4.1.2" + neo-async "^2.5.0" webidl-conversions@^4.0.1, webidl-conversions@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" -webpack-dev-middleware@^2.0.3: - version "2.0.6" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-2.0.6.tgz#a51692801e8310844ef3e3790e1eacfe52326fd4" +webpack-dev-middleware@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.0.1.tgz#7ffd6d0192883c83d3f262e8d7dec822493c6166" dependencies: loud-rejection "^1.6.0" memory-fs "~0.4.1" mime "^2.1.0" path-is-absolute "^1.0.0" range-parser "^1.0.3" - url-join "^2.0.2" + url-join "^4.0.0" webpack-log "^1.0.1" -webpack-hot-client@^1.0.1, webpack-hot-client@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/webpack-hot-client/-/webpack-hot-client-1.2.5.tgz#d8f24dcec1f3684375e60776641564dfbf4f213b" +webpack-hot-client@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/webpack-hot-client/-/webpack-hot-client-2.0.0.tgz#295dd692e2e120b5d4f9ab47302c9d3f59016e0c" dependencies: json-stringify-safe "^5.0.1" loglevelnext "^1.0.2" @@ -6516,28 +6600,30 @@ webpack-log@^1.0.1, webpack-log@^1.1.1, webpack-log@^1.1.2: loglevelnext "^1.0.1" uuid "^3.1.0" -webpack-serve@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/webpack-serve/-/webpack-serve-0.1.4.tgz#c4ce183fadeb5b0546b0aef08d4147678df31ee9" +webpack-serve@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/webpack-serve/-/webpack-serve-0.2.0.tgz#3378c1b7fcf5766dd30ddae262b12c77bf98ac8c" dependencies: "@shellscape/koa-static" "^4.0.2" chalk "^2.3.0" clipboardy "^1.2.2" + cosmiconfig "^4.0.0" debug "^3.1.0" find-up "^2.1.0" get-port "^3.2.0" import-local "^1.0.0" killable "^1.0.0" koa "^2.4.1" - koa-webpack "^2.0.3" + koa-webpack "^3.0.0" + lodash "^4.17.5" loud-rejection "^1.6.0" meow "^4.0.0" nanobus "^4.3.1" opn "^5.1.0" + time-fix-plugin "^2.0.0" update-notifier "^2.3.0" url-join "^3.0.0" v8-compile-cache "^1.1.0" - webpack-hot-client "^1.2.5" webpack-log "^1.1.2" webpack-sources@^1.0.1: @@ -6554,9 +6640,9 @@ webpack-sources@^1.1.0: source-list-map "^2.0.0" source-map "~0.6.1" -webpack@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.0.1.tgz#768d708beeca4c5f77f6c2d38a240fb6ff50ba5d" +webpack@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.1.1.tgz#44e4d6a869dd36fdfc0b227f9bd865a4bccfd81c" dependencies: acorn "^5.0.0" acorn-dynamic-import "^3.0.0" @@ -6575,7 +6661,7 @@ webpack@^4.0.1: schema-utils "^0.4.2" tapable "^1.0.0" uglifyjs-webpack-plugin "^1.1.1" - watchpack "^1.4.0" + watchpack "^1.5.0" webpack-sources "^1.0.1" whatwg-encoding@^1.0.1: