IO-3183-Dependency-Updates-and-maintenance - Minor front end dep bump, logging clean up on OS

This commit is contained in:
Dave Richer
2025-03-24 13:23:41 -04:00
parent f3b9c6399f
commit 922aaaf4b2
3 changed files with 20 additions and 14 deletions

View File

@@ -28,7 +28,7 @@
"@vitejs/plugin-react": "^4.3.4", "@vitejs/plugin-react": "^4.3.4",
"antd": "^5.24.5", "antd": "^5.24.5",
"apollo-link-logger": "^2.0.1", "apollo-link-logger": "^2.0.1",
"apollo-link-sentry": "^4.1.0", "apollo-link-sentry": "^4.2.0",
"autosize": "^6.0.1", "autosize": "^6.0.1",
"axios": "^1.8.4", "axios": "^1.8.4",
"classnames": "^2.5.1", "classnames": "^2.5.1",
@@ -113,12 +113,12 @@
"vite-plugin-babel": "^1.3.0", "vite-plugin-babel": "^1.3.0",
"vite-plugin-eslint": "^1.8.1", "vite-plugin-eslint": "^1.8.1",
"vite-plugin-node-polyfills": "^0.23.0", "vite-plugin-node-polyfills": "^0.23.0",
"vite-plugin-pwa": "^0.21.1", "vite-plugin-pwa": "^0.21.2",
"vite-plugin-style-import": "^2.0.0", "vite-plugin-style-import": "^2.0.0",
"workbox-window": "^7.3.0" "workbox-window": "^7.3.0"
}, },
"engines": { "engines": {
"node": ">=18.18.2" "node": ">=22.0.0"
}, },
"optionalDependencies": { "optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.6.1" "@rollup/rollup-linux-x64-gnu": "4.6.1"
@@ -6180,20 +6180,20 @@
} }
}, },
"node_modules/apollo-link-sentry": { "node_modules/apollo-link-sentry": {
"version": "4.1.0", "version": "4.2.0",
"resolved": "https://registry.npmjs.org/apollo-link-sentry/-/apollo-link-sentry-4.1.0.tgz", "resolved": "https://registry.npmjs.org/apollo-link-sentry/-/apollo-link-sentry-4.2.0.tgz",
"integrity": "sha512-wHiJXZ9OzmRbV3famykszz0E0SZyCBpa3Rt0EVrdOKDN9qQQaE63xQB2lFa3mUkZb95GMc+6ugPt8bVIkwsRPQ==", "integrity": "sha512-w8EUM4aEw1/VxIB3KOP11T8qz44oWRcbXRd2vJq/qHnfRMKS5HkMerSIYwKN2e8k9H8ubfkwBvStH51CVf4wwg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"deepmerge": "^4.2.2", "deepmerge": "^4.2.2",
"dot-prop": "^6.0.0", "dot-prop": "^6",
"tslib": "^2.0.3", "tslib": "^2.0.3",
"zen-observable-ts": "^1.2.5" "zen-observable-ts": "^1.2.5"
}, },
"peerDependencies": { "peerDependencies": {
"@apollo/client": "^3.2.3", "@apollo/client": "^3.2.3",
"@sentry/core": "^8.33.0", "@sentry/core": "^8.33 || ^9",
"graphql": "15 - 16" "graphql": "^15 || ^16"
} }
}, },
"node_modules/argparse": { "node_modules/argparse": {
@@ -17009,9 +17009,9 @@
} }
}, },
"node_modules/vite-plugin-pwa": { "node_modules/vite-plugin-pwa": {
"version": "0.21.1", "version": "0.21.2",
"resolved": "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-0.21.1.tgz", "resolved": "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-0.21.2.tgz",
"integrity": "sha512-rkTbKFbd232WdiRJ9R3u+hZmf5SfQljX1b45NF6oLA6DSktEKpYllgTo1l2lkiZWMWV78pABJtFjNXfBef3/3Q==", "integrity": "sha512-vFhH6Waw8itNu37hWUJxL50q+CBbNcMVzsKaYHQVrfxTt3ihk3PeLO22SbiP1UNWzcEPaTQv+YVxe4G0KOjAkg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

View File

@@ -27,7 +27,7 @@
"@vitejs/plugin-react": "^4.3.4", "@vitejs/plugin-react": "^4.3.4",
"antd": "^5.24.5", "antd": "^5.24.5",
"apollo-link-logger": "^2.0.1", "apollo-link-logger": "^2.0.1",
"apollo-link-sentry": "^4.1.0", "apollo-link-sentry": "^4.2.0",
"autosize": "^6.0.1", "autosize": "^6.0.1",
"axios": "^1.8.4", "axios": "^1.8.4",
"classnames": "^2.5.1", "classnames": "^2.5.1",
@@ -147,7 +147,7 @@
"vite-plugin-babel": "^1.3.0", "vite-plugin-babel": "^1.3.0",
"vite-plugin-eslint": "^1.8.1", "vite-plugin-eslint": "^1.8.1",
"vite-plugin-node-polyfills": "^0.23.0", "vite-plugin-node-polyfills": "^0.23.0",
"vite-plugin-pwa": "^0.21.1", "vite-plugin-pwa": "^0.21.2",
"vite-plugin-style-import": "^2.0.0", "vite-plugin-style-import": "^2.0.0",
"workbox-window": "^7.3.0" "workbox-window": "^7.3.0"
} }

View File

@@ -160,6 +160,11 @@ async function OpenSearchUpdateHandler(req, res) {
res.status(200).json(response.body); res.status(200).json(response.body);
} }
} catch (error) { } catch (error) {
// We don't want this spam message existing in development/test,
if (process.env?.NODE_ENV !== "production" && error?.message === "Invalid URL") {
return res.status(400).json(JSON.stringify(error));
}
logger.log("os-handler-error", "ERROR", null, null, { logger.log("os-handler-error", "ERROR", null, null, {
id: req.body.event.data.new.id, id: req.body.event.data.new.id,
index: req.body.table.name, index: req.body.table.name,
@@ -167,6 +172,7 @@ async function OpenSearchUpdateHandler(req, res) {
stack: error.stack stack: error.stack
// body: document // body: document
}); });
res.status(400).json(JSON.stringify(error)); res.status(400).json(JSON.stringify(error));
} }
} }