From 5b6413881e9d882259acc3473e7014b4bd062ab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Barbeau?= Date: Wed, 5 Aug 2020 14:29:05 -0400 Subject: [PATCH] feat(libs): upgrade librairies (#696) --- package-lock.json | 50 +++++++++++++++++++ .../feature/shared/strategies/selection.ts | 2 +- packages/utils/package.json | 4 ++ 3 files changed, 55 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 9666137529..e6b6f30c1c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5126,6 +5126,56 @@ "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=", "dev": true }, + "caller-callsite": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", + "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", + "dev": true, + "requires": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^3.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^4.1.0", + "responselike": "^1.0.2" + }, + "dependencies": { + "get-stream": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz", + "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==", + "dev": true, + "requires": { + "pump": "^3.0.0" + } + }, + "http-cache-semantics": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", + "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", + "dev": true + }, + "lowercase-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", + "dev": true + }, + "normalize-url": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz", + "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==", + "dev": true + } + } + }, + "call-me-maybe": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", + "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=", + "dev": true + }, "caller-callsite": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", diff --git a/packages/geo/src/lib/feature/shared/strategies/selection.ts b/packages/geo/src/lib/feature/shared/strategies/selection.ts index 3680382256..8269208471 100644 --- a/packages/geo/src/lib/feature/shared/strategies/selection.ts +++ b/packages/geo/src/lib/feature/shared/strategies/selection.ts @@ -238,7 +238,7 @@ export class FeatureStoreSelectionStrategy extends EntityStoreStrategy { const reverse = !exclusive; const olFeatures = event.map.getFeaturesAtPixel(event.pixel, { hitTolerance: this.options.hitTolerance || 0, - layerFilter: (olLayer) => { + layerFilter: olLayer => { const storeOlLayer = this.stores.find((store: FeatureStore) => { return store.layer.ol === olLayer; }); diff --git a/packages/utils/package.json b/packages/utils/package.json index 4b5c5eae42..ba509af2c2 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -16,7 +16,11 @@ "url": "https://github.com/infra-geo-ouverte/igo2-lib/issues" }, "dependencies": { +<<<<<<< HEAD "bowser": "^2.10.0", +======= + "bowser": "^1.9.2", +>>>>>>> feat(libs): upgrade librairies (#696) "tslib": "^2.0.0" }, "peerDependencies": {