Interactive interface for browsing global, full-resolution satellite imagery
Merge Main into Develop (#4465)
Tom Carielloecbff6733e44
diff --git a/package-lock.json b/package-lock.jsonindex cbc6b16f3..8b52d03b3 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "worldview",- "version": "4.8.0",+ "version": "4.9.0","lockfileVersion": 2,"requires": true,"packages": {"": {"name": "worldview",- "version": "4.8.0",+ "version": "4.9.0","hasInstallScript": true,"license": "NASA-1.3","dependencies": {@@ -6965,9 +6965,9 @@}},"node_modules/eslint-plugin-es-x": {- "version": "6.2.1",- "resolved": "https://registry.npmjs.org/eslint-plugin-es-x/-/eslint-plugin-es-x-6.2.1.tgz",- "integrity": "sha512-uR34zUhZ9EBoiSD2DdV5kHLpydVEvwWqjteUr9sXRgJknwbKZJZhdJ7uFnaTtd+Nr/2G3ceJHnHXrFhJ67n3Tw==",+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/eslint-plugin-es-x/-/eslint-plugin-es-x-7.1.0.tgz",+ "integrity": "sha512-AhiaF31syh4CCQ+C5ccJA0VG6+kJK8+5mXKKE7Qs1xcPRg02CDPOj3mWlQxuWS/AYtg7kxrDNgW9YW3vc0Q+Mw==","dev": true,"dependencies": {"@eslint-community/eslint-utils": "^4.1.2",@@ -7085,19 +7085,19 @@}},"node_modules/eslint-plugin-n": {- "version": "16.0.0",- "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-16.0.0.tgz",- "integrity": "sha512-akkZTE3hsHBrq6CwmGuYCzQREbVUrA855kzcHqe6i0FLBkeY7Y/6tThCVkjUnjhvRBAlc+8lILcSe5QvvDpeZQ==",+ "version": "16.0.1",+ "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-16.0.1.tgz",+ "integrity": "sha512-CDmHegJN0OF3L5cz5tATH84RPQm9kG+Yx39wIqIwPR2C0uhBGMWfbbOtetR83PQjjidA5aXMu+LEFw1jaSwvTA==","dev": true,"dependencies": {"@eslint-community/eslint-utils": "^4.4.0","builtins": "^5.0.1",- "eslint-plugin-es-x": "^6.1.0",- "ignore": "^5.1.1",- "is-core-module": "^2.12.0",+ "eslint-plugin-es-x": "^7.1.0",+ "ignore": "^5.2.4",+ "is-core-module": "^2.12.1","minimatch": "^3.1.2","resolve": "^1.22.2",- "semver": "^7.5.0"+ "semver": "^7.5.3"},"engines": {"node": ">=16.0.0"@@ -7110,9 +7110,9 @@}},"node_modules/eslint-plugin-n/node_modules/semver": {- "version": "7.5.2",- "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.2.tgz",- "integrity": "sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ==",+ "version": "7.5.3",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz",+ "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==","dev": true,"dependencies": {"lru-cache": "^6.0.0"@@ -7999,8 +7999,10 @@},"node_modules/fsevents": {"version": "2.3.2",+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==","dev": true,- "license": "MIT",+ "hasInstallScript": true,"optional": true,"os": ["darwin"@@ -8135,16 +8137,16 @@}},"node_modules/glob": {- "version": "10.3.0",- "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.0.tgz",- "integrity": "sha512-AQ1/SB9HH0yCx1jXAT4vmCbTOPe5RQ+kCurjbel5xSCGhebumUv+GJZfa1rEqor3XIViqwSEmlkZCQD43RWrBg==",+ "version": "10.3.1",+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.1.tgz",+ "integrity": "sha512-9BKYcEeIs7QwlCYs+Y3GBvqAMISufUS0i2ELd11zpZjxI5V9iyRj0HgzB5/cLf2NY4vcYBTYzJ7GIui7j/4DOw==","dev": true,"dependencies": {"foreground-child": "^3.1.0","jackspeak": "^2.0.3","minimatch": "^9.0.1","minipass": "^5.0.0 || ^6.0.2",- "path-scurry": "^1.7.0"+ "path-scurry": "^1.10.0"},"bin": {"glob": "dist/cjs/src/bin.js"@@ -12548,12 +12550,13 @@"license": "MIT"},"node_modules/path-scurry": {- "version": "1.7.0",+ "version": "1.10.0",+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.0.tgz",+ "integrity": "sha512-tZFEaRQbMLjwrsmidsGJ6wDMv0iazJWk6SfIKnY4Xru8auXgmJkOBa5DUbYFcFD2Rzk2+KDlIiF0GVXNCbgC7g==","dev": true,- "license": "BlueOak-1.0.0","dependencies": {- "lru-cache": "^9.0.0",- "minipass": "^5.0.0"+ "lru-cache": "^9.1.1 || ^10.0.0",+ "minipass": "^5.0.0 || ^6.0.2"},"engines": {"node": ">=16 || 14 >=14.17"@@ -12563,19 +12566,21 @@}},"node_modules/path-scurry/node_modules/lru-cache": {- "version": "9.1.1",+ "version": "10.0.0",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.0.tgz",+ "integrity": "sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==","dev": true,- "license": "ISC","engines": {"node": "14 || >=16.14"}},"node_modules/path-scurry/node_modules/minipass": {- "version": "5.0.0",+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-6.0.2.tgz",+ "integrity": "sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w==","dev": true,- "license": "ISC","engines": {- "node": ">=8"+ "node": ">=16 || 14 >=14.17"}},"node_modules/path-to-regexp": {@@ -15422,9 +15427,9 @@}},"node_modules/stylelint": {- "version": "15.8.0",- "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.8.0.tgz",- "integrity": "sha512-x9qBk84F3MEjMEUNCE7MtWmfj9G9y5XzJ0cpQeJdy2l/IoqjC8Ih0N0ytmOTnXE4Yv0J7I1cmVRQUVNSPCxTsA==",+ "version": "15.9.0",+ "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.9.0.tgz",+ "integrity": "sha512-sXtAZi64CllWr6A+8ymDWnlIaYwuAa7XRmGnJxLQXFNnLjd3Izm4HAD+loKVaZ7cpK6SLxhAUX1lwPJKGCn0mg==","dev": true,"dependencies": {"@csstools/css-parser-algorithms": "^2.2.0",@@ -21708,9 +21713,9 @@}},"eslint-plugin-es-x": {- "version": "6.2.1",- "resolved": "https://registry.npmjs.org/eslint-plugin-es-x/-/eslint-plugin-es-x-6.2.1.tgz",- "integrity": "sha512-uR34zUhZ9EBoiSD2DdV5kHLpydVEvwWqjteUr9sXRgJknwbKZJZhdJ7uFnaTtd+Nr/2G3ceJHnHXrFhJ67n3Tw==",+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/eslint-plugin-es-x/-/eslint-plugin-es-x-7.1.0.tgz",+ "integrity": "sha512-AhiaF31syh4CCQ+C5ccJA0VG6+kJK8+5mXKKE7Qs1xcPRg02CDPOj3mWlQxuWS/AYtg7kxrDNgW9YW3vc0Q+Mw==","dev": true,"requires": {"@eslint-community/eslint-utils": "^4.1.2",@@ -21786,25 +21791,25 @@}},"eslint-plugin-n": {- "version": "16.0.0",- "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-16.0.0.tgz",- "integrity": "sha512-akkZTE3hsHBrq6CwmGuYCzQREbVUrA855kzcHqe6i0FLBkeY7Y/6tThCVkjUnjhvRBAlc+8lILcSe5QvvDpeZQ==",+ "version": "16.0.1",+ "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-16.0.1.tgz",+ "integrity": "sha512-CDmHegJN0OF3L5cz5tATH84RPQm9kG+Yx39wIqIwPR2C0uhBGMWfbbOtetR83PQjjidA5aXMu+LEFw1jaSwvTA==","dev": true,"requires": {"@eslint-community/eslint-utils": "^4.4.0","builtins": "^5.0.1",- "eslint-plugin-es-x": "^6.1.0",- "ignore": "^5.1.1",- "is-core-module": "^2.12.0",+ "eslint-plugin-es-x": "^7.1.0",+ "ignore": "^5.2.4",+ "is-core-module": "^2.12.1","minimatch": "^3.1.2","resolve": "^1.22.2",- "semver": "^7.5.0"+ "semver": "^7.5.3"},"dependencies": {"semver": {- "version": "7.5.2",- "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.2.tgz",- "integrity": "sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ==",+ "version": "7.5.3",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz",+ "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==","dev": true,"requires": {"lru-cache": "^6.0.0"@@ -22263,6 +22268,8 @@},"fsevents": {"version": "2.3.2",+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==","dev": true,"optional": true},@@ -22342,16 +22349,16 @@}},"glob": {- "version": "10.3.0",- "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.0.tgz",- "integrity": "sha512-AQ1/SB9HH0yCx1jXAT4vmCbTOPe5RQ+kCurjbel5xSCGhebumUv+GJZfa1rEqor3XIViqwSEmlkZCQD43RWrBg==",+ "version": "10.3.1",+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.1.tgz",+ "integrity": "sha512-9BKYcEeIs7QwlCYs+Y3GBvqAMISufUS0i2ELd11zpZjxI5V9iyRj0HgzB5/cLf2NY4vcYBTYzJ7GIui7j/4DOw==","dev": true,"requires": {"foreground-child": "^3.1.0","jackspeak": "^2.0.3","minimatch": "^9.0.1","minipass": "^5.0.0 || ^6.0.2",- "path-scurry": "^1.7.0"+ "path-scurry": "^1.10.0"},"dependencies": {"brace-expansion": {@@ -25070,19 +25077,25 @@"version": "1.0.7"},"path-scurry": {- "version": "1.7.0",+ "version": "1.10.0",+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.0.tgz",+ "integrity": "sha512-tZFEaRQbMLjwrsmidsGJ6wDMv0iazJWk6SfIKnY4Xru8auXgmJkOBa5DUbYFcFD2Rzk2+KDlIiF0GVXNCbgC7g==","dev": true,"requires": {- "lru-cache": "^9.0.0",- "minipass": "^5.0.0"+ "lru-cache": "^9.1.1 || ^10.0.0",+ "minipass": "^5.0.0 || ^6.0.2"},"dependencies": {"lru-cache": {- "version": "9.1.1",+ "version": "10.0.0",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.0.tgz",+ "integrity": "sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==","dev": true},"minipass": {- "version": "5.0.0",+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-6.0.2.tgz",+ "integrity": "sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w==","dev": true}}@@ -26852,9 +26865,9 @@}},"stylelint": {- "version": "15.8.0",- "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.8.0.tgz",- "integrity": "sha512-x9qBk84F3MEjMEUNCE7MtWmfj9G9y5XzJ0cpQeJdy2l/IoqjC8Ih0N0ytmOTnXE4Yv0J7I1cmVRQUVNSPCxTsA==",+ "version": "15.9.0",+ "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.9.0.tgz",+ "integrity": "sha512-sXtAZi64CllWr6A+8ymDWnlIaYwuAa7XRmGnJxLQXFNnLjd3Izm4HAD+loKVaZ7cpK6SLxhAUX1lwPJKGCn0mg==","dev": true,"requires": {"@csstools/css-parser-algorithms": "^2.2.0",diff --git a/package.json b/package.jsonindex def97acdf..8815ee7b8 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "worldview",- "version": "4.8.0",+ "version": "4.9.0","description": "Interactive interface for browsing full-resolution, global satellite imagery","keywords": ["NASA",diff --git a/web/js/modules/palettes/actions.js b/web/js/modules/palettes/actions.jsindex bf4d10a97..931c2bb9e 100644--- a/web/js/modules/palettes/actions.js+++ b/web/js/modules/palettes/actions.js@@ -172,11 +172,14 @@ export function setToggledClassification(layerId, classIndex, index, groupName)state,);let hasDisabled = false;+ console.log('setToggledClassification');+ // if (Object.prototype.hasOwnProperty.call(newActivePalettesObj, layerId)) {newActivePalettesObj[layerId].maps.forEach((colorMap) => {if (colorMap.disabled && colorMap.disabled.length) {hasDisabled = true;}});+ // }// sometimes an active palette will be related to layers that we already removed during the// tour process. need to check if the layer is active to prevent errors when dispatchingconst getLayerIndex = () => {