diff --git a/package-lock.json b/package-lock.json index d061593f45..b5d11cb734 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "worldview", - "version": "4.5.0", + "version": "4.5.0c", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "worldview", - "version": "4.5.0", + "version": "4.5.0c", "hasInstallScript": true, "license": "NASA-1.3", "dependencies": { - "@elastic/react-search-ui": "^1.19.1", - "@elastic/react-search-ui-views": "^1.19.1", + "@elastic/react-search-ui": "^1.20.2", + "@elastic/react-search-ui-views": "^1.20.2", "@fortawesome/fontawesome-svg-core": "^6.4.0", "@fortawesome/free-brands-svg-icons": "^6.4.0", "@fortawesome/free-solid-svg-icons": "^6.4.0", @@ -74,13 +74,13 @@ }, "devDependencies": { "@babel/core": "^7.21.8", - "@babel/eslint-parser": "^7.21.3", + "@babel/eslint-parser": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/preset-env": "^7.21.5", "@babel/preset-react": "^7.18.6", "@playwright/test": "^1.33.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10", - "@webpack-cli/serve": "^2.0.2", + "@webpack-cli/serve": "^2.0.4", "ajv": "^8.12.0", "autoprefixer": "^10.4.14", "axios": "^1.4.0", @@ -92,7 +92,7 @@ "css-minimizer-webpack-plugin": "^5.0.0", "css-url-relative-plugin": "^1.1.0", "cssnano": "^6.0.1", - "eslint": "^8.39.0", + "eslint": "^8.40.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-standard": "^17.0.0", "eslint-import-resolver-webpack": "^0.13.2", @@ -108,7 +108,7 @@ "express": "^4.18.2", "fetch-mock": "^9.11.0", "geckodriver": "^3.2.0", - "glob": "^10.2.2", + "glob": "^10.2.3", "husky": "^8.0.3", "jest": "^29.5.0", "jest-canvas-mock": "^2.5.0", @@ -132,13 +132,13 @@ "stylelint": "^15.6.1", "stylelint-config-standard-scss": "^9.0.0", "stylelint-high-performance-animation": "^1.8.0", - "tar": "^6.1.13", - "terser-webpack-plugin": "^5.3.7", - "webpack": "^5.82.0", + "tar": "^6.1.14", + "terser-webpack-plugin": "^5.3.8", + "webpack": "^5.82.1", "webpack-bundle-analyzer": "^4.8.0", "webpack-cli": "^5.0.2", "webpack-dev-middleware": "^6.1.0", - "webpack-dev-server": "^4.13.3", + "webpack-dev-server": "^4.15.0", "xml-js": "^1.6.11", "xml2js": "^0.5.0", "yargs": "^17.7.2" @@ -210,9 +210,10 @@ } }, "node_modules/@babel/eslint-parser": { - "version": "7.21.3", + "version": "7.21.8", + "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.21.8.tgz", + "integrity": "sha512-HLhI+2q+BP3sf78mFUZNCGc10KEmoUqtUT1OCdMZsN+qr4qFeLUod62/zAnF3jNQstwyasDkZnVXwfK2Bml7MQ==", "dev": true, - "license": "MIT", "dependencies": { "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1", "eslint-visitor-keys": "^2.1.0", @@ -1936,11 +1937,12 @@ } }, "node_modules/@elastic/react-search-ui": { - "version": "1.19.1", - "license": "Apache-2.0", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/@elastic/react-search-ui/-/react-search-ui-1.20.2.tgz", + "integrity": "sha512-riVo1Dja4TpI3WFuQVQUmMiRPSV+nAxdkF05UCA/4H5P2IAqzrRjEw4jVpR4vcj+4gAHJcLppYwmtjcn3h1dKw==", "dependencies": { - "@elastic/react-search-ui-views": "1.19.1", - "@elastic/search-ui": "1.19.1" + "@elastic/react-search-ui-views": "1.20.2", + "@elastic/search-ui": "1.20.2" }, "peerDependencies": { "react": ">= 16.8.0 <= 18", @@ -1948,11 +1950,11 @@ } }, "node_modules/@elastic/react-search-ui-views": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/@elastic/react-search-ui-views/-/react-search-ui-views-1.19.1.tgz", - "integrity": "sha512-1IOVoG5GYKvrKoYZL247bd7eKVQAR4iJaYBkA4KOa8CEXdc3+N0Z63uAit+4+pAH6Z6IONNwk2iQPMDf2zjQGA==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/@elastic/react-search-ui-views/-/react-search-ui-views-1.20.2.tgz", + "integrity": "sha512-nx2XOxQ9ONIrd9MhJ1/z0p7AXYYXUr4Tqx8TPUqQd6m/yTa55qrCdEcBm59+MGSBFtVCRsix8KBMiOij+/afxQ==", "dependencies": { - "@elastic/search-ui": "1.19.1", + "@elastic/search-ui": "1.20.2", "downshift": "^3.2.10", "rc-pagination": "^1.20.1", "react-select": "^5.0.0" @@ -1963,8 +1965,9 @@ } }, "node_modules/@elastic/search-ui": { - "version": "1.19.1", - "license": "Apache-2.0", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/@elastic/search-ui/-/search-ui-1.20.2.tgz", + "integrity": "sha512-48O0jKeMbhohxnVB6oOxT5R+x4nrwG0UWvFTCWPZJ4hKCLsPZZOWIFHziMaxhR8f0ckZCoiif+eD6FAgDW6kwA==", "dependencies": { "date-fns": "^1.30.1", "deep-equal": "^1.0.1", @@ -3144,16 +3147,18 @@ } }, "node_modules/@jridgewell/source-map": { - "version": "0.3.2", - "license": "MIT", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.3.tgz", + "integrity": "sha512-b+fsZXeLYi9fEULmfBrhxn4IrPlINf8fiNarzTof004v3lFdntdwa9PF7vFJqm3mg7s+ScJMxXaE3Acp1irZcg==", "dependencies": { "@jridgewell/gen-mapping": "^0.3.0", "@jridgewell/trace-mapping": "^0.3.9" } }, "node_modules/@jridgewell/source-map/node_modules/@jridgewell/gen-mapping": { - "version": "0.3.2", - "license": "MIT", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", "dependencies": { "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -4164,9 +4169,9 @@ } }, "node_modules/@webpack-cli/serve": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-2.0.3.tgz", - "integrity": "sha512-Bwxd73pHuYc0cyl7vulPp2I6kAYtmJPkfUivbts7by6wDAVyFdKzGX3AksbvCRyNVFUJu7o2ZTcWXdT90T3qbg==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-2.0.4.tgz", + "integrity": "sha512-0xRgjgDLdz6G7+vvDLlaRpFatJaJ69uTalZLRSMX5B3VUrDmXcrVA3+6fXXQgmYz7bY9AAgs348XQdmtLsK41A==", "dev": true, "engines": { "node": ">=14.15.0" @@ -8395,9 +8400,9 @@ } }, "node_modules/glob": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.2.2.tgz", - "integrity": "sha512-Xsa0BcxIC6th9UwNjZkhrMtNo/MnyRL8jGCP+uEwhA5oFOCY1f2s1/oNKY47xQ0Bg5nkjsfAEIej1VeH62bDDQ==", + "version": "10.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.2.3.tgz", + "integrity": "sha512-Kb4rfmBVE3eQTAimgmeqc2LwSnN0wIOkkUL6HmxEFxNJ4fHghYHVbFba/HcGcRjE6s9KoMNK3rSOwkL4PioZjg==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", @@ -15561,7 +15566,8 @@ }, "node_modules/source-map-support": { "version": "0.5.21", - "license": "MIT", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -15569,7 +15575,8 @@ }, "node_modules/source-map-support/node_modules/source-map": { "version": "0.6.1", - "license": "BSD-3-Clause", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "engines": { "node": ">=0.10.0" } @@ -16274,13 +16281,14 @@ } }, "node_modules/tar": { - "version": "6.1.13", + "version": "6.1.14", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.14.tgz", + "integrity": "sha512-piERznXu0U7/pW7cdSn7hjqySIVTYT6F76icmFk7ptU7dDYlXTm5r9A6K04R2vU3olYgoKeo1Cg3eeu5nhftAw==", "dev": true, - "license": "ISC", "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", - "minipass": "^4.0.0", + "minipass": "^5.0.0", "minizlib": "^2.1.1", "mkdirp": "^1.0.3", "yallist": "^4.0.0" @@ -16290,16 +16298,18 @@ } }, "node_modules/tar/node_modules/minipass": { - "version": "4.0.3", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", "dev": true, - "license": "ISC", "engines": { "node": ">=8" } }, "node_modules/terser": { - "version": "5.16.6", - "license": "BSD-2-Clause", + "version": "5.17.3", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.17.3.tgz", + "integrity": "sha512-AudpAZKmZHkG9jueayypz4duuCFJMMNGRMwaPvQKWfxKedh8Z2x3OCoDqIIi1xx5+iwx1u6Au8XQcc9Lke65Yg==", "dependencies": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", @@ -16314,14 +16324,15 @@ } }, "node_modules/terser-webpack-plugin": { - "version": "5.3.7", - "license": "MIT", + "version": "5.3.8", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.8.tgz", + "integrity": "sha512-WiHL3ElchZMsK27P8uIUh4604IgJyAW47LVXGbEoB21DbQcZ+OuMpGjVYnEUaqcWM6dO8uS2qUbA7LSCWqvsbg==", "dependencies": { "@jridgewell/trace-mapping": "^0.3.17", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", "serialize-javascript": "^6.0.1", - "terser": "^5.16.5" + "terser": "^5.16.8" }, "engines": { "node": ">= 10.13.0" @@ -16379,7 +16390,8 @@ }, "node_modules/terser/node_modules/commander": { "version": "2.20.3", - "license": "MIT" + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" }, "node_modules/test-exclude": { "version": "6.0.0", @@ -16967,9 +16979,9 @@ } }, "node_modules/webpack": { - "version": "5.82.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.0.tgz", - "integrity": "sha512-iGNA2fHhnDcV1bONdUu554eZx+XeldsaeQ8T67H6KKHl2nUSwX8Zm7cmzOA46ox/X1ARxf7Bjv8wQ/HsB5fxBg==", + "version": "5.82.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.1.tgz", + "integrity": "sha512-C6uiGQJ+Gt4RyHXXYt+v9f+SN1v83x68URwgxNQ98cvH8kxiuywWGP4XeNZ1paOzZ63aY3cTciCEQJNFUljlLw==", "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -16980,7 +16992,7 @@ "acorn-import-assertions": "^1.7.6", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.13.0", + "enhanced-resolve": "^5.14.0", "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", @@ -17388,9 +17400,9 @@ } }, "node_modules/webpack/node_modules/enhanced-resolve": { - "version": "5.13.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.13.0.tgz", - "integrity": "sha512-eyV8f0y1+bzyfh8xAwW/WTSZpLbjhqc4ne9eGSH4Zo2ejdyiNG9pU6mf9DG8a7+Auk6MFTlNOT4Y2y/9k8GKVg==", + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.14.0.tgz", + "integrity": "sha512-+DCows0XNwLDcUhbFJPdlQEVnT2zXlCv7hPxemTz86/O+B/hCQ+mb7ydkPKiflpVraqLPCAfu7lDy+hBXueojw==", "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -17849,7 +17861,9 @@ } }, "@babel/eslint-parser": { - "version": "7.21.3", + "version": "7.21.8", + "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.21.8.tgz", + "integrity": "sha512-HLhI+2q+BP3sf78mFUZNCGc10KEmoUqtUT1OCdMZsN+qr4qFeLUod62/zAnF3jNQstwyasDkZnVXwfK2Bml7MQ==", "dev": true, "requires": { "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1", @@ -18926,25 +18940,29 @@ "dev": true }, "@elastic/react-search-ui": { - "version": "1.19.1", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/@elastic/react-search-ui/-/react-search-ui-1.20.2.tgz", + "integrity": "sha512-riVo1Dja4TpI3WFuQVQUmMiRPSV+nAxdkF05UCA/4H5P2IAqzrRjEw4jVpR4vcj+4gAHJcLppYwmtjcn3h1dKw==", "requires": { - "@elastic/react-search-ui-views": "1.19.1", - "@elastic/search-ui": "1.19.1" + "@elastic/react-search-ui-views": "1.20.2", + "@elastic/search-ui": "1.20.2" } }, "@elastic/react-search-ui-views": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/@elastic/react-search-ui-views/-/react-search-ui-views-1.19.1.tgz", - "integrity": "sha512-1IOVoG5GYKvrKoYZL247bd7eKVQAR4iJaYBkA4KOa8CEXdc3+N0Z63uAit+4+pAH6Z6IONNwk2iQPMDf2zjQGA==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/@elastic/react-search-ui-views/-/react-search-ui-views-1.20.2.tgz", + "integrity": "sha512-nx2XOxQ9ONIrd9MhJ1/z0p7AXYYXUr4Tqx8TPUqQd6m/yTa55qrCdEcBm59+MGSBFtVCRsix8KBMiOij+/afxQ==", "requires": { - "@elastic/search-ui": "1.19.1", + "@elastic/search-ui": "1.20.2", "downshift": "^3.2.10", "rc-pagination": "^1.20.1", "react-select": "^5.0.0" } }, "@elastic/search-ui": { - "version": "1.19.1", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/@elastic/search-ui/-/search-ui-1.20.2.tgz", + "integrity": "sha512-48O0jKeMbhohxnVB6oOxT5R+x4nrwG0UWvFTCWPZJ4hKCLsPZZOWIFHziMaxhR8f0ckZCoiif+eD6FAgDW6kwA==", "requires": { "date-fns": "^1.30.1", "deep-equal": "^1.0.1", @@ -19758,14 +19776,18 @@ "version": "1.1.0" }, "@jridgewell/source-map": { - "version": "0.3.2", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.3.tgz", + "integrity": "sha512-b+fsZXeLYi9fEULmfBrhxn4IrPlINf8fiNarzTof004v3lFdntdwa9PF7vFJqm3mg7s+ScJMxXaE3Acp1irZcg==", "requires": { "@jridgewell/gen-mapping": "^0.3.0", "@jridgewell/trace-mapping": "^0.3.9" }, "dependencies": { "@jridgewell/gen-mapping": { - "version": "0.3.2", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", "requires": { "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -20535,9 +20557,9 @@ "requires": {} }, "@webpack-cli/serve": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-2.0.3.tgz", - "integrity": "sha512-Bwxd73pHuYc0cyl7vulPp2I6kAYtmJPkfUivbts7by6wDAVyFdKzGX3AksbvCRyNVFUJu7o2ZTcWXdT90T3qbg==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-2.0.4.tgz", + "integrity": "sha512-0xRgjgDLdz6G7+vvDLlaRpFatJaJ69uTalZLRSMX5B3VUrDmXcrVA3+6fXXQgmYz7bY9AAgs348XQdmtLsK41A==", "dev": true, "requires": {} }, @@ -23243,9 +23265,9 @@ } }, "glob": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.2.2.tgz", - "integrity": "sha512-Xsa0BcxIC6th9UwNjZkhrMtNo/MnyRL8jGCP+uEwhA5oFOCY1f2s1/oNKY47xQ0Bg5nkjsfAEIej1VeH62bDDQ==", + "version": "10.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.2.3.tgz", + "integrity": "sha512-Kb4rfmBVE3eQTAimgmeqc2LwSnN0wIOkkUL6HmxEFxNJ4fHghYHVbFba/HcGcRjE6s9KoMNK3rSOwkL4PioZjg==", "dev": true, "requires": { "foreground-child": "^3.1.0", @@ -27783,13 +27805,17 @@ }, "source-map-support": { "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", "requires": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" }, "dependencies": { "source-map": { - "version": "0.6.1" + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" } } }, @@ -28282,25 +28308,31 @@ "dev": true }, "tar": { - "version": "6.1.13", + "version": "6.1.14", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.14.tgz", + "integrity": "sha512-piERznXu0U7/pW7cdSn7hjqySIVTYT6F76icmFk7ptU7dDYlXTm5r9A6K04R2vU3olYgoKeo1Cg3eeu5nhftAw==", "dev": true, "requires": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", - "minipass": "^4.0.0", + "minipass": "^5.0.0", "minizlib": "^2.1.1", "mkdirp": "^1.0.3", "yallist": "^4.0.0" }, "dependencies": { "minipass": { - "version": "4.0.3", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", "dev": true } } }, "terser": { - "version": "5.16.6", + "version": "5.17.3", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.17.3.tgz", + "integrity": "sha512-AudpAZKmZHkG9jueayypz4duuCFJMMNGRMwaPvQKWfxKedh8Z2x3OCoDqIIi1xx5+iwx1u6Au8XQcc9Lke65Yg==", "requires": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", @@ -28309,18 +28341,22 @@ }, "dependencies": { "commander": { - "version": "2.20.3" + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" } } }, "terser-webpack-plugin": { - "version": "5.3.7", + "version": "5.3.8", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.8.tgz", + "integrity": "sha512-WiHL3ElchZMsK27P8uIUh4604IgJyAW47LVXGbEoB21DbQcZ+OuMpGjVYnEUaqcWM6dO8uS2qUbA7LSCWqvsbg==", "requires": { "@jridgewell/trace-mapping": "^0.3.17", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", "serialize-javascript": "^6.0.1", - "terser": "^5.16.5" + "terser": "^5.16.8" }, "dependencies": { "has-flag": { @@ -28702,9 +28738,9 @@ "dev": true }, "webpack": { - "version": "5.82.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.0.tgz", - "integrity": "sha512-iGNA2fHhnDcV1bONdUu554eZx+XeldsaeQ8T67H6KKHl2nUSwX8Zm7cmzOA46ox/X1ARxf7Bjv8wQ/HsB5fxBg==", + "version": "5.82.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.1.tgz", + "integrity": "sha512-C6uiGQJ+Gt4RyHXXYt+v9f+SN1v83x68URwgxNQ98cvH8kxiuywWGP4XeNZ1paOzZ63aY3cTciCEQJNFUljlLw==", "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -28715,7 +28751,7 @@ "acorn-import-assertions": "^1.7.6", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.13.0", + "enhanced-resolve": "^5.14.0", "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", @@ -28737,9 +28773,9 @@ "requires": {} }, "enhanced-resolve": { - "version": "5.13.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.13.0.tgz", - "integrity": "sha512-eyV8f0y1+bzyfh8xAwW/WTSZpLbjhqc4ne9eGSH4Zo2ejdyiNG9pU6mf9DG8a7+Auk6MFTlNOT4Y2y/9k8GKVg==", + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.14.0.tgz", + "integrity": "sha512-+DCows0XNwLDcUhbFJPdlQEVnT2zXlCv7hPxemTz86/O+B/hCQ+mb7ydkPKiflpVraqLPCAfu7lDy+hBXueojw==", "requires": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" diff --git a/package.json b/package.json index ffdcbc9432..27ed8e9a6e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "worldview", - "version": "4.5.0", + "version": "4.5.0c", "description": "Interactive interface for browsing full-resolution, global satellite imagery", "keywords": [ "NASA", @@ -76,13 +76,13 @@ }, "devDependencies": { "@babel/core": "^7.21.8", - "@babel/eslint-parser": "^7.21.3", + "@babel/eslint-parser": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/preset-env": "^7.21.5", "@babel/preset-react": "^7.18.6", "@playwright/test": "^1.33.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10", - "@webpack-cli/serve": "^2.0.2", + "@webpack-cli/serve": "^2.0.4", "ajv": "^8.12.0", "autoprefixer": "^10.4.14", "axios": "^1.4.0", @@ -94,7 +94,7 @@ "css-minimizer-webpack-plugin": "^5.0.0", "css-url-relative-plugin": "^1.1.0", "cssnano": "^6.0.1", - "eslint": "^8.39.0", + "eslint": "^8.40.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-standard": "^17.0.0", "eslint-import-resolver-webpack": "^0.13.2", @@ -110,7 +110,7 @@ "express": "^4.18.2", "fetch-mock": "^9.11.0", "geckodriver": "^3.2.0", - "glob": "^10.2.2", + "glob": "^10.2.3", "husky": "^8.0.3", "jest": "^29.5.0", "jest-canvas-mock": "^2.5.0", @@ -134,20 +134,20 @@ "stylelint": "^15.6.1", "stylelint-config-standard-scss": "^9.0.0", "stylelint-high-performance-animation": "^1.8.0", - "tar": "^6.1.13", - "terser-webpack-plugin": "^5.3.7", - "webpack": "^5.82.0", + "tar": "^6.1.14", + "terser-webpack-plugin": "^5.3.8", + "webpack": "^5.82.1", "webpack-bundle-analyzer": "^4.8.0", "webpack-cli": "^5.0.2", "webpack-dev-middleware": "^6.1.0", - "webpack-dev-server": "^4.13.3", + "webpack-dev-server": "^4.15.0", "xml-js": "^1.6.11", "xml2js": "^0.5.0", "yargs": "^17.7.2" }, "dependencies": { - "@elastic/react-search-ui": "^1.19.1", - "@elastic/react-search-ui-views": "^1.19.1", + "@elastic/react-search-ui": "^1.20.2", + "@elastic/react-search-ui-views": "^1.20.2", "@fortawesome/fontawesome-svg-core": "^6.4.0", "@fortawesome/free-brands-svg-icons": "^6.4.0", "@fortawesome/free-solid-svg-icons": "^6.4.0", diff --git a/web/js/containers/share.js b/web/js/containers/share.js index afad8a1211..20ae208ff1 100644 --- a/web/js/containers/share.js +++ b/web/js/containers/share.js @@ -69,6 +69,7 @@ class ShareLinkContainer extends Component { this.unlisten = history.listen((location, action) => { const newString = location.search; const { queryString } = this.state; + if (newString === undefined) { return; } if (queryString !== newString) { this.setState({ queryString: newString, diff --git a/web/js/containers/toolbar.js b/web/js/containers/toolbar.js index 3e51506215..2a47be9c7f 100644 --- a/web/js/containers/toolbar.js +++ b/web/js/containers/toolbar.js @@ -394,13 +394,14 @@ class toolbarContainer extends Component { } render() { + const { isKioskModeActive } = this.props; return ( - {this.renderDistractionFreeExitButton()} + {!isKioskModeActive && this.renderDistractionFreeExitButton()} {this.renderLocationSearchButtonComponent()} {this.renderShareButton()} {this.renderProjectionButton()} @@ -429,7 +430,7 @@ const mapStateToProps = (state) => { sidebar, ui, } = state; - const { isDistractionFreeModeActive } = ui; + const { isDistractionFreeModeActive, isKioskModeActive } = ui; const { number, type } = notifications; const { activeString } = compare; const activeLayersForProj = getAllActiveLayers(state); @@ -472,6 +473,7 @@ const mapStateToProps = (state) => { visibleLayersForProj, isRotated: Boolean(map.rotation !== 0), isDistractionFreeModeActive, + isKioskModeActive, }; }; @@ -565,6 +567,7 @@ toolbarContainer.propTypes = { isAboutOpen: PropTypes.bool, isCompareActive: PropTypes.bool, isDistractionFreeModeActive: PropTypes.bool, + isKioskModeActive: PropTypes.bool, isLocationSearchExpanded: PropTypes.bool, isImageDownloadActive: PropTypes.bool, isMobile: PropTypes.bool,