From 8e705c9e278fa03fb6b71e71fbd77f442988fce4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2024 22:53:39 +0000 Subject: [PATCH 1/2] Bump ol from 10.1.0 to 10.2.0 Bumps [ol](https://github.com/openlayers/openlayers) from 10.1.0 to 10.2.0. - [Release notes](https://github.com/openlayers/openlayers/releases) - [Commits](https://github.com/openlayers/openlayers/compare/v10.1.0...v10.2.0) --- updated-dependencies: - dependency-name: ol dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8cc83e3..72f96ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2849,9 +2849,9 @@ "license": "MIT" }, "node_modules/@types/rbush": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/rbush/-/rbush-3.0.4.tgz", - "integrity": "sha512-knSt9cCW8jj1ZSFcFeBZaX++OucmfPxxHiRwTahZfJlnQsek7O0bazTJHWD2RVj9LEoejUYF2de3/stf+QXcXw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/rbush/-/rbush-3.0.3.tgz", + "integrity": "sha512-lX55lR0iYCgapxD3IrgujpQA1zDxwZI5qMRelKvmKAsSMplFVr7wmMpG7/6+Op2tjrgEex8o3vjg8CRDrRNYxg==", "dev": true }, "node_modules/@types/react": { @@ -9734,12 +9734,12 @@ } }, "node_modules/ol": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/ol/-/ol-10.1.0.tgz", - "integrity": "sha512-/efepydpzhFoeczA9KAN5t7G0WpFhP46ZXEfSl6JbZ7ipQZ2axpkYB2qt0qcOUlPFYMt7/XQFApH652KB08tTg==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/ol/-/ol-10.2.0.tgz", + "integrity": "sha512-yYFNV8LzN3uOP9qDecMdq07IKlD5P3KfbT+pfOje/XlsnMNLXOb3ZjCZN86wtbew8aq+RfdJ+XylVI8MZsp4Vw==", "dev": true, "dependencies": { - "@types/rbush": "^3.0.3", + "@types/rbush": "3.0.3", "color-rgba": "^3.0.0", "color-space": "^2.0.1", "earcut": "^3.0.0", From 5f85b416fccd383746daa8aa35012bf6d117ea0f Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 24 Sep 2024 17:18:28 -0600 Subject: [PATCH 2/2] Flow layer --- lib/layer/Flow.js | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 lib/layer/Flow.js diff --git a/lib/layer/Flow.js b/lib/layer/Flow.js new file mode 100644 index 0000000..666021b --- /dev/null +++ b/lib/layer/Flow.js @@ -0,0 +1,29 @@ +// This file is generated by tools/generate.js. DO NOT EDIT. +/** + * Copyright Planet Labs PBC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import OLFlow from 'ol/layer/Flow.js'; +import propTypes from 'prop-types'; +import {createElement, forwardRef} from 'react'; + +const Flow = forwardRef(({children, ...props}, ref) => { + return createElement('layer', {cls: OLFlow, ref, ...props}, children); +}); + +Flow.propTypes = { + children: propTypes.node, +}; + +export default Flow;