Skip to content

Commit 04905d3

Browse files
committed
Updates OL related libraries
Signed-off-by: Daniel Kastl <[email protected]>
1 parent 5c259d0 commit 04905d3

File tree

3 files changed

+37
-48
lines changed

3 files changed

+37
-48
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
"@juggle/resize-observer": "^3.4.0",
2424
"@material-design-icons/font": "^0.12.1",
2525
"geojson": "^0.5.0",
26-
"ol": "^6.14.1",
27-
"ol-ext": "^3.2.22"
26+
"ol": "^6.15.1",
27+
"ol-ext": "^3.2.30"
2828
},
2929
"devDependencies": {
30-
"@types/geojson": "^7946.0.8",
30+
"@types/geojson": "^7946.0.10",
3131
"@types/jquery": "^3.5.14",
3232
"@types/jqueryui": "^1.12.16",
3333
"@types/ol-ext": "npm:@siedlerchr/types-ol-ext",

src/components/gtt-client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ interface FilterOption {
6161

6262
interface TileLayerSource {
6363
layer: typeof Tile
64-
source: typeof OSM | typeof XYZ
64+
source: typeof OSM | typeof XYZ | typeof TileWMS
6565
}
6666

6767
interface ImageLayerSource {
@@ -166,7 +166,7 @@ export class GttClient {
166166
if (tileLayerSource) {
167167
const l = new (tileLayerSource.layer)({
168168
visible: false,
169-
source: new (tileLayerSource.source)(layer.options)
169+
source: new (tileLayerSource.source)(layer.options as any)
170170
})
171171

172172
l.set('lid', layer.id)
@@ -450,7 +450,7 @@ export class GttClient {
450450
})
451451
mainbar.addControl(editbar)
452452

453-
types.forEach((type, idx) => {
453+
types.forEach((type: any, idx) => {
454454
const draw = new Draw({
455455
type: type,
456456
source: this.vector.getSource()

yarn.lock

Lines changed: 31 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@
6464
resolved "https://registry.npmjs.org/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz"
6565
integrity sha1-zlblOfg1UrWNENZy6k1vya3HsjQ=
6666

67-
"@mapbox/mapbox-gl-style-spec@^13.20.1":
68-
version "13.24.0"
69-
resolved "https://registry.npmjs.org/@mapbox/mapbox-gl-style-spec/-/mapbox-gl-style-spec-13.24.0.tgz"
70-
integrity sha512-9yhRSqnKX+59MrG647x2pACfR2Ewk8Ii5X75Ag8oToEKZU+PSY0+r10EirIVCTDwuHPzp/VuuN3j6n+Hv/gGpQ==
67+
"@mapbox/mapbox-gl-style-spec@^13.23.1":
68+
version "13.26.0"
69+
resolved "https://registry.yarnpkg.com/@mapbox/mapbox-gl-style-spec/-/mapbox-gl-style-spec-13.26.0.tgz#11114c5b434bc54ff5edf481ebeb8a3f2905dda4"
70+
integrity sha512-Ya1WiNz1qYau7xPYPQUbionrw9pjgZAIebGQdDXgwJuSAWeVCr02P7rqbYFHbXqX5TeAaq4qVpcaJb9oZtgaVQ==
7171
dependencies:
7272
"@mapbox/jsonlint-lines-primitives" "~2.0.2"
7373
"@mapbox/point-geometry" "^0.1.0"
7474
"@mapbox/unitbezier" "^0.0.0"
7575
csscolorparser "~1.0.2"
7676
json-stringify-pretty-compact "^2.0.0"
77-
minimist "^1.2.5"
77+
minimist "^1.2.6"
7878
rw "^1.3.3"
7979
sort-object "^0.3.2"
8080

@@ -119,10 +119,10 @@
119119
resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz"
120120
integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==
121121

122-
"@types/geojson@^7946.0.8":
123-
version "7946.0.8"
124-
resolved "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.8.tgz"
125-
integrity sha512-1rkryxURpr6aWP7R786/UQOkJ3PcpQiWkAXBmdWc7ryFWqN6a4xfK7BtjXvFBKO9LjQ+MWQSWxYeZX1OApnArA==
122+
"@types/geojson@^7946.0.10":
123+
version "7946.0.10"
124+
resolved "https://registry.yarnpkg.com/@types/geojson/-/geojson-7946.0.10.tgz#6dfbf5ea17142f7f9a043809f1cd4c448cb68249"
125+
integrity sha512-Nmh0K3iWQJzniTuPRcJn5hxXkfB1T1pgB89SBig5PlJQU5yocazeu4jATJlaA0GYFKWMqDdvYemoSnF2pXgLVA==
126126

127127
"@types/jquery@*", "@types/jquery@^3.5.14":
128128
version "3.5.14"
@@ -642,16 +642,16 @@ geojson@^0.5.0:
642642
resolved "https://registry.npmjs.org/geojson/-/geojson-0.5.0.tgz"
643643
integrity sha1-PNbJY5m+ZbVu5VWWEW/pGRznAcA=
644644

645-
geotiff@^2.0.2:
646-
version "2.0.5"
647-
resolved "https://registry.npmjs.org/geotiff/-/geotiff-2.0.5.tgz"
648-
integrity sha512-U5kVYm118YAmw2swiLu8rhfrYnDKOFI7VaMjuQwcq6Intuuid9Pyb4jjxYUxxkq8kOu2r7Am0Rmb52PObGp4pQ==
645+
646+
version "2.0.4"
647+
resolved "https://registry.yarnpkg.com/geotiff/-/geotiff-2.0.4.tgz#d6f231fdd76186aba21c61823ed759fcbf5d4f86"
648+
integrity sha512-aG8h9bJccGusioPsEWsEqx8qdXpZN71A20WCvRKGxcnHSOWLKmC5ZmsAmodfxb9TRQvs+89KikGuPzxchhA+Uw==
649649
dependencies:
650650
"@petamoriken/float16" "^3.4.7"
651651
lerc "^3.0.0"
652+
lru-cache "^6.0.0"
652653
pako "^2.0.4"
653654
parse-headers "^2.0.2"
654-
quick-lru "^6.1.0"
655655
web-worker "^1.2.0"
656656
xml-utils "^1.0.2"
657657

@@ -871,9 +871,9 @@ mime-types@^2.1.27:
871871
dependencies:
872872
mime-db "1.52.0"
873873

874-
minimist@^1.2.5:
874+
minimist@^1.2.6:
875875
version "1.2.6"
876-
resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz"
876+
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44"
877877
integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==
878878

879879
nanoid@^3.3.4:
@@ -896,27 +896,26 @@ normalize-path@^3.0.0, normalize-path@~3.0.0:
896896
resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz"
897897
integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==
898898

899-
ol-ext@^3.2.22:
900-
version "3.2.22"
901-
resolved "https://registry.npmjs.org/ol-ext/-/ol-ext-3.2.22.tgz"
902-
integrity sha512-A7OCPeN74NZ8ijwZLcC2+TckaFE4gL4QTOXQPdVWFRFnh7VuAWn60UX9l6e76IFwNo8ee/7dlXCTckIMSkdY6Q==
899+
ol-ext@^3.2.30:
900+
version "3.2.30"
901+
resolved "https://registry.yarnpkg.com/ol-ext/-/ol-ext-3.2.30.tgz#d747b937dc95ef8f6a8ef1fc26162fed3d9b38db"
902+
integrity sha512-2Ls6FxfSRHzn7RzBAdeooiwcgA+dfR5a7it9xKLMgzIdVJhqSC1IyVSnPMmaX8yoLFEwywQHEzTQXlfGzUoEOw==
903903

904-
ol-mapbox-style@^7.1.1:
905-
version "7.1.1"
906-
resolved "https://registry.npmjs.org/ol-mapbox-style/-/ol-mapbox-style-7.1.1.tgz"
907-
integrity sha512-GLTEYiH/Ec9Zn1eS4S/zXyR2sierVrUc+OLVP8Ra0FRyqRhoYbXdko0b7OIeSHWdtJfHssWYefDOGxfTRUUZ/A==
904+
ol-mapbox-style@^8.0.5:
905+
version "8.2.1"
906+
resolved "https://registry.yarnpkg.com/ol-mapbox-style/-/ol-mapbox-style-8.2.1.tgz#0f0c252b6495853a137d7e4dd3f915fab664b356"
907+
integrity sha512-3kBBuZC627vDL8vnUdfVbCbfkhkcZj2kXPHQcuLhC4JJEA+XkEVEtEde8x8+AZctRbHwBkSiubTPaRukgLxIRw==
908908
dependencies:
909-
"@mapbox/mapbox-gl-style-spec" "^13.20.1"
909+
"@mapbox/mapbox-gl-style-spec" "^13.23.1"
910910
mapbox-to-css-font "^2.4.1"
911-
webfont-matcher "^1.1.0"
912911

913-
ol@^6.14.1:
914-
version "6.14.1"
915-
resolved "https://registry.npmjs.org/ol/-/ol-6.14.1.tgz"
916-
integrity sha512-sIcUWkGud3Y2gT3TJubSHlkyMXiPVh1yxfCPHxmY8+qtm79bB9oRnei9xHVIbRRG0Ro6Ldp5E+BMVSvYCxSpaA==
912+
ol@^6.15.1:
913+
version "6.15.1"
914+
resolved "https://registry.yarnpkg.com/ol/-/ol-6.15.1.tgz#364f459939ef71f970b2376a821a896529f65e3a"
915+
integrity sha512-ZG2CKTpJ8Q+tPywYysVwPk+yevwJzlbwjRKhoCvd7kLVWMbfBl1O/+Kg/yrZZrhG9FNXbFH4GeOZ5yVRqo3P4w==
917916
dependencies:
918-
geotiff "^2.0.2"
919-
ol-mapbox-style "^7.1.1"
917+
geotiff "2.0.4"
918+
ol-mapbox-style "^8.0.5"
920919
pbf "3.2.1"
921920
rbush "^3.0.1"
922921

@@ -1054,11 +1053,6 @@ punycode@^2.1.0:
10541053
resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz"
10551054
integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
10561055

1057-
quick-lru@^6.1.0:
1058-
version "6.1.1"
1059-
resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-6.1.1.tgz"
1060-
integrity sha512-S27GBT+F0NTRiehtbrgaSE1idUAJ5bX8dPAQTdylEyNlrdcH5X4Lz7Edz3DYzecbsCluD5zO8ZNEe04z3D3u6Q==
1061-
10621056
quickselect@^2.0.0:
10631057
version "2.0.0"
10641058
resolved "https://registry.npmjs.org/quickselect/-/quickselect-2.0.0.tgz"
@@ -1363,11 +1357,6 @@ web-worker@^1.2.0:
13631357
resolved "https://registry.npmjs.org/web-worker/-/web-worker-1.2.0.tgz"
13641358
integrity sha512-PgF341avzqyx60neE9DD+XS26MMNMoUQRz9NOZwW32nPQrF6p77f1htcnjBSEV8BGMKZ16choqUG4hyI0Hx7mA==
13651359

1366-
webfont-matcher@^1.1.0:
1367-
version "1.1.0"
1368-
resolved "https://registry.npmjs.org/webfont-matcher/-/webfont-matcher-1.1.0.tgz"
1369-
integrity sha1-mM6VCXsp4x++czBT4Q5XFkLRxsc=
1370-
13711360
webpack-cli@^4.10.0:
13721361
version "4.10.0"
13731362
resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.10.0.tgz#37c1d69c8d85214c5a65e589378f53aec64dab31"

0 commit comments

Comments
 (0)