From 86e2494386b9b28e1549f57c29dc98e7c781f2bf Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 30 Aug 2022 09:22:18 -0600 Subject: [PATCH] update nshmp-web-utils version --- example/package-lock.json | 178 ++++++++------------------------------ example/package.json | 2 +- 2 files changed, 36 insertions(+), 144 deletions(-) diff --git a/example/package-lock.json b/example/package-lock.json index c44e4cc..b271677 100644 --- a/example/package-lock.json +++ b/example/package-lock.json @@ -16,7 +16,7 @@ "@angular/platform-browser": "~13.2.6", "@angular/platform-browser-dynamic": "~13.2.6", "@angular/router": "~13.2.6", - "@ghsc/nshmp-web-utils": "^1.0.0", + "@ghsc/nshmp-web-utils": "^1.5.1", "@nshmp/disagg-d3": "file:..", "geojson": "^0.5.0", "rxjs": "~6.5.5", @@ -6523,18 +6523,17 @@ "license": "MIT" }, "node_modules/@ghsc/nshmp-web-utils": { - "version": "1.0.0", - "resolved": "https://code.usgs.gov/api/v4/projects/1414/packages/npm/@ghsc/nshmp-web-utils/-/@ghsc/nshmp-web-utils-1.0.0.tgz", - "integrity": "sha1-BxRLFVr980krTl7iEWrhxGYRmTE=", + "version": "1.5.1", + "resolved": "https://code.usgs.gov/api/v4/projects/1414/packages/npm/@ghsc/nshmp-web-utils/-/@ghsc/nshmp-web-utils-1.5.1.tgz", + "integrity": "sha1-Nr5nPcHA2spS++4vJ+4HvCVUNNw=", "dependencies": { - "@mapbox/geojson-extent": "^1.0.0", "@types/d3-format": "^1.4.1", - "@types/mapbox-gl": "^1.13.3", + "@types/leaflet": "^1.7.11", "@types/plotly.js": "^1.54.20", "change-case": "^4.1.2", "d3-format": "^1.4.5", "geojson": "^0.5.0", - "mapbox-gl": "^1.13.2", + "leaflet": "^1.7.1", "plotly.js": "^2.11.1" } }, @@ -8129,42 +8128,6 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, - "node_modules/@mapbox/extent": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@mapbox/extent/-/extent-0.4.0.tgz", - "integrity": "sha1-PlkfMuHww5gchkI597CsBuYQ+Kk=" - }, - "node_modules/@mapbox/geojson-coords": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/@mapbox/geojson-coords/-/geojson-coords-0.0.2.tgz", - "integrity": "sha512-YuVzpseee/P1T5BWyeVVPppyfmuXYHFwZHmybkqaMfu4BWlOf2cmMGKj2Rr92MwfSTOCSUA0PAsVGRG8akY0rg==", - "dependencies": { - "@mapbox/geojson-normalize": "0.0.1", - "geojson-flatten": "^1.0.4" - } - }, - "node_modules/@mapbox/geojson-extent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@mapbox/geojson-extent/-/geojson-extent-1.0.1.tgz", - "integrity": "sha512-hh8LEO3djT4fqfr8sSC6wKt+p0TMiu+KOLMBUiFOyj+zGq7+IXwQGl0ppCVDkyzCewyd9LoGe9zAvDxXrLfhLw==", - "dependencies": { - "@mapbox/extent": "0.4.0", - "@mapbox/geojson-coords": "0.0.2", - "rw": "~0.1.4", - "traverse": "~0.6.6" - }, - "bin": { - "geojson-extent": "bin/geojson-extent" - } - }, - "node_modules/@mapbox/geojson-normalize": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@mapbox/geojson-normalize/-/geojson-normalize-0.0.1.tgz", - "integrity": "sha1-HaHms6et060pkJsw9Dj2BYG3zYA=", - "bin": { - "geojson-normalize": "geojson-normalize" - } - }, "node_modules/@mapbox/geojson-rewind": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/@mapbox/geojson-rewind/-/geojson-rewind-0.5.1.tgz", @@ -9293,10 +9256,10 @@ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", "dev": true }, - "node_modules/@types/mapbox-gl": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@types/mapbox-gl/-/mapbox-gl-1.13.3.tgz", - "integrity": "sha512-qKcbA5ZKhGwqU5/ti8zC0nbqkxqBYi9EUo4bIjB7MK8ve+mBhbJBcYRjTYWYD7IhHCQfvPGVSnVlesH6yZ2Fiw==", + "node_modules/@types/leaflet": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@types/leaflet/-/leaflet-1.7.11.tgz", + "integrity": "sha512-VwAYom2pfIAf/pLj1VR5aLltd4tOtHyvfaJlNYCoejzP2nu52PrMi1ehsLRMUS+bgafmIIKBV1cMfKeS+uJ0Vg==", "dependencies": { "@types/geojson": "*" } @@ -15006,18 +14969,6 @@ "node": ">= 0.10" } }, - "node_modules/geojson-flatten": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/geojson-flatten/-/geojson-flatten-1.0.4.tgz", - "integrity": "sha512-PpscUXxO6dvvhZxtwuqiI5v+1C/IQYPJRMWoQeaF2oohJgfGYSHKVAe8L+yUqF34PH/hmq9JlwmO+juPw+95/Q==", - "dependencies": { - "get-stdin": "^7.0.0", - "minimist": "^1.2.5" - }, - "bin": { - "geojson-flatten": "geojson-flatten" - } - }, "node_modules/geojson-vt": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/geojson-vt/-/geojson-vt-3.2.1.tgz", @@ -15057,14 +15008,6 @@ "node": ">=8.0.0" } }, - "node_modules/get-stdin": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz", - "integrity": "sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ==", - "engines": { - "node": ">=8" - } - }, "node_modules/get-stream": { "version": "6.0.1", "license": "MIT", @@ -20849,6 +20792,11 @@ "node": ">=8" } }, + "node_modules/leaflet": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.8.0.tgz", + "integrity": "sha512-gwhMjFCQiYs3x/Sf+d49f10ERXaEFCPr+nVTryhAW8DWbMGqJqt9G4XuIaHmFW08zYvhgdzqXGr8AlW8v8dQkA==" + }, "node_modules/less": { "version": "4.1.2", "dev": true, @@ -21269,6 +21217,7 @@ "version": "1.13.2", "resolved": "https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-1.13.2.tgz", "integrity": "sha512-CPjtWygL+f7naL+sGHoC2JQR0DG7u+9ik6WdkjjVmz2uy0kBC2l+aKfdi3ZzUR7VKSQJ6Mc/CeCN+6iVNah+ww==", + "peer": true, "dependencies": { "@mapbox/geojson-rewind": "^0.5.0", "@mapbox/geojson-types": "^1.0.2", @@ -21301,7 +21250,8 @@ "node_modules/mapbox-gl/node_modules/rw": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz", - "integrity": "sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q=" + "integrity": "sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q=", + "peer": true }, "node_modules/math-log2": { "version": "1.0.1", @@ -24913,11 +24863,6 @@ "queue-microtask": "^1.2.2" } }, - "node_modules/rw": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/rw/-/rw-0.1.4.tgz", - "integrity": "sha1-SQPL2AJIrg7eaFv1j9I2p6mymj4=" - }, "node_modules/rxjs": { "version": "6.5.5", "license": "Apache-2.0", @@ -26517,11 +26462,6 @@ "node": ">=12" } }, - "node_modules/traverse": { - "version": "0.6.6", - "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.6.tgz", - "integrity": "sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc=" - }, "node_modules/tree-kill": { "version": "1.2.2", "dev": true, @@ -29758,18 +29698,17 @@ "dev": true }, "@ghsc/nshmp-web-utils": { - "version": "1.0.0", - "resolved": "https://code.usgs.gov/api/v4/projects/1414/packages/npm/@ghsc/nshmp-web-utils/-/@ghsc/nshmp-web-utils-1.0.0.tgz", - "integrity": "sha1-BxRLFVr980krTl7iEWrhxGYRmTE=", + "version": "1.5.1", + "resolved": "https://code.usgs.gov/api/v4/projects/1414/packages/npm/@ghsc/nshmp-web-utils/-/@ghsc/nshmp-web-utils-1.5.1.tgz", + "integrity": "sha1-Nr5nPcHA2spS++4vJ+4HvCVUNNw=", "requires": { - "@mapbox/geojson-extent": "^1.0.0", "@types/d3-format": "^1.4.1", - "@types/mapbox-gl": "^1.13.3", + "@types/leaflet": "^1.7.11", "@types/plotly.js": "^1.54.20", "change-case": "^4.1.2", "d3-format": "^1.4.5", "geojson": "^0.5.0", - "mapbox-gl": "^1.13.2", + "leaflet": "^1.7.1", "plotly.js": "^2.11.1" } }, @@ -30967,36 +30906,6 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, - "@mapbox/extent": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@mapbox/extent/-/extent-0.4.0.tgz", - "integrity": "sha1-PlkfMuHww5gchkI597CsBuYQ+Kk=" - }, - "@mapbox/geojson-coords": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/@mapbox/geojson-coords/-/geojson-coords-0.0.2.tgz", - "integrity": "sha512-YuVzpseee/P1T5BWyeVVPppyfmuXYHFwZHmybkqaMfu4BWlOf2cmMGKj2Rr92MwfSTOCSUA0PAsVGRG8akY0rg==", - "requires": { - "@mapbox/geojson-normalize": "0.0.1", - "geojson-flatten": "^1.0.4" - } - }, - "@mapbox/geojson-extent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@mapbox/geojson-extent/-/geojson-extent-1.0.1.tgz", - "integrity": "sha512-hh8LEO3djT4fqfr8sSC6wKt+p0TMiu+KOLMBUiFOyj+zGq7+IXwQGl0ppCVDkyzCewyd9LoGe9zAvDxXrLfhLw==", - "requires": { - "@mapbox/extent": "0.4.0", - "@mapbox/geojson-coords": "0.0.2", - "rw": "~0.1.4", - "traverse": "~0.6.6" - } - }, - "@mapbox/geojson-normalize": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@mapbox/geojson-normalize/-/geojson-normalize-0.0.1.tgz", - "integrity": "sha1-HaHms6et060pkJsw9Dj2BYG3zYA=" - }, "@mapbox/geojson-rewind": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/@mapbox/geojson-rewind/-/geojson-rewind-0.5.1.tgz", @@ -34720,10 +34629,10 @@ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", "dev": true }, - "@types/mapbox-gl": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@types/mapbox-gl/-/mapbox-gl-1.13.3.tgz", - "integrity": "sha512-qKcbA5ZKhGwqU5/ti8zC0nbqkxqBYi9EUo4bIjB7MK8ve+mBhbJBcYRjTYWYD7IhHCQfvPGVSnVlesH6yZ2Fiw==", + "@types/leaflet": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@types/leaflet/-/leaflet-1.7.11.tgz", + "integrity": "sha512-VwAYom2pfIAf/pLj1VR5aLltd4tOtHyvfaJlNYCoejzP2nu52PrMi1ehsLRMUS+bgafmIIKBV1cMfKeS+uJ0Vg==", "requires": { "@types/geojson": "*" } @@ -38801,15 +38710,6 @@ "geojson": { "version": "0.5.0" }, - "geojson-flatten": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/geojson-flatten/-/geojson-flatten-1.0.4.tgz", - "integrity": "sha512-PpscUXxO6dvvhZxtwuqiI5v+1C/IQYPJRMWoQeaF2oohJgfGYSHKVAe8L+yUqF34PH/hmq9JlwmO+juPw+95/Q==", - "requires": { - "get-stdin": "^7.0.0", - "minimist": "^1.2.5" - } - }, "geojson-vt": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/geojson-vt/-/geojson-vt-3.2.1.tgz", @@ -38837,11 +38737,6 @@ "version": "0.1.0", "dev": true }, - "get-stdin": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz", - "integrity": "sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ==" - }, "get-stream": { "version": "6.0.1" }, @@ -43073,6 +42968,11 @@ "package-json": "^6.3.0" } }, + "leaflet": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.8.0.tgz", + "integrity": "sha512-gwhMjFCQiYs3x/Sf+d49f10ERXaEFCPr+nVTryhAW8DWbMGqJqt9G4XuIaHmFW08zYvhgdzqXGr8AlW8v8dQkA==" + }, "less": { "version": "4.1.2", "dev": true, @@ -43367,6 +43267,7 @@ "version": "1.13.2", "resolved": "https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-1.13.2.tgz", "integrity": "sha512-CPjtWygL+f7naL+sGHoC2JQR0DG7u+9ik6WdkjjVmz2uy0kBC2l+aKfdi3ZzUR7VKSQJ6Mc/CeCN+6iVNah+ww==", + "peer": true, "requires": { "@mapbox/geojson-rewind": "^0.5.0", "@mapbox/geojson-types": "^1.0.2", @@ -43396,7 +43297,8 @@ "rw": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz", - "integrity": "sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q=" + "integrity": "sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q=", + "peer": true } } }, @@ -45911,11 +45813,6 @@ "queue-microtask": "^1.2.2" } }, - "rw": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/rw/-/rw-0.1.4.tgz", - "integrity": "sha1-SQPL2AJIrg7eaFv1j9I2p6mymj4=" - }, "rxjs": { "version": "6.5.5", "requires": { @@ -47095,11 +46992,6 @@ "punycode": "^2.1.1" } }, - "traverse": { - "version": "0.6.6", - "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.6.tgz", - "integrity": "sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc=" - }, "tree-kill": { "version": "1.2.2", "dev": true diff --git a/example/package.json b/example/package.json index 68867ea..dd4c7ef 100644 --- a/example/package.json +++ b/example/package.json @@ -20,7 +20,7 @@ "@angular/platform-browser": "~13.2.6", "@angular/platform-browser-dynamic": "~13.2.6", "@angular/router": "~13.2.6", - "@ghsc/nshmp-web-utils": "^1.0.0", + "@ghsc/nshmp-web-utils": "^1.5.1", "@nshmp/disagg-d3": "file:..", "geojson": "^0.5.0", "rxjs": "~6.5.5", -- GitLab