From 8ba94bac6656483952ba2f0853516d9d36e1cdb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Thu, 1 Dec 2022 13:45:50 +0100 Subject: [PATCH] Update react-router-dom + minor updates --- api/package.json | 6 +- package.json | 4 +- server/package.json | 2 +- site/package.json | 12 +- site/prerender.ts | 4 +- site/source/pages/Nouveautes/Nouveautes.tsx | 3 +- site/source/sitePaths.ts | 11 +- yarn.lock | 345 ++++++++++---------- 8 files changed, 186 insertions(+), 201 deletions(-) diff --git a/api/package.json b/api/package.json index 7e9155947..a89f5b2b7 100644 --- a/api/package.json +++ b/api/package.json @@ -32,8 +32,8 @@ "@koa/cors": "^4.0.0", "@koa/router": "^12.0.0", "@publicodes/api": "^1.0.0-beta.62", - "@sentry/node": "^7.21.1", - "@sentry/tracing": "^7.21.1", + "@sentry/node": "^7.22.0", + "@sentry/tracing": "^7.22.0", "got": "^12.5.3", "ioredis": "^5.2.4", "koa": "^2.13.4", @@ -50,7 +50,7 @@ "@types/koa-static": "^4.0.2", "@types/koa__cors": "^3.3.0", "@types/koa__router": "^12.0.0", - "@types/node": "^18.11.9", + "@types/node": "^18.11.10", "@types/swagger-ui-dist": "^3.30.1", "chai-http": "^4.3.0", "rimraf": "^3.0.2", diff --git a/package.json b/package.json index 7eb600d3e..74fb622c6 100644 --- a/package.json +++ b/package.json @@ -39,8 +39,8 @@ "@actions/github": "^5.1.1", "@ianvs/prettier-plugin-sort-imports": "^3.7.1", "@types/got": "^9.6.12", - "@typescript-eslint/eslint-plugin": "^5.44.0", - "@typescript-eslint/parser": "^5.44.0", + "@typescript-eslint/eslint-plugin": "^5.45.0", + "@typescript-eslint/parser": "^5.45.0", "eslint": "^8.28.0", "eslint-config-prettier": "^8.5.0", "eslint-config-standard": "^17.0.0", diff --git a/server/package.json b/server/package.json index 7f8778c3e..45eb836a2 100644 --- a/server/package.json +++ b/server/package.json @@ -32,7 +32,7 @@ "@types/koa": "^2.13.5", "@types/koa__cors": "^3.3.0", "@types/koa__router": "^12.0.0", - "@types/node": "^18.11.9", + "@types/node": "^18.11.10", "@types/safe-timers": "^1.1.0", "ts-node": "^10.9.1", "typescript": "^4.9.3" diff --git a/site/package.json b/site/package.json index 6f4e42d90..b61579525 100644 --- a/site/package.json +++ b/site/package.json @@ -69,9 +69,9 @@ "@react-stately/searchfield": "^3.3.3", "@react-stately/toggle": "^3.4.3", "@react-stately/tree": "^3.4.0", - "@sentry/integrations": "^7.21.1", - "@sentry/react": "^7.21.1", - "@sentry/tracing": "^7.21.1", + "@sentry/integrations": "^7.22.0", + "@sentry/react": "^7.22.0", + "@sentry/tracing": "^7.22.0", "algoliasearch": "^4.14.2", "exoneration-covid": "workspace:^", "fuse.js": "^6.6.2", @@ -90,7 +90,7 @@ "react-instantsearch": "^6.38.1", "react-instantsearch-dom": "^6.38.1", "react-redux": "^8.0.5", - "react-router-dom": "=6.3.0", + "react-router-dom": "^6.4.4", "react-signature-pad-wrapper": "^3.3.1", "react-spring": "^9.5.5", "react-use-measure": "^2.1.1", @@ -108,7 +108,7 @@ "@redux-devtools/extension": "^3.2.3", "@rollup/plugin-replace": "^4.0.0", "@rollup/plugin-yaml": "^3.1.0", - "@rushstack/package-deps-hash": "^3.2.63", + "@rushstack/package-deps-hash": "^3.2.64", "@storybook/addon-actions": "^6.5.13", "@storybook/addon-essentials": "^6.5.13", "@storybook/addon-interactions": "^6.5.13", @@ -132,7 +132,7 @@ "cypress-wait-until": "^1.7.2", "dotenv": "^16.0.3", "i18next-parser": "^7.0.3", - "netlify-cli": "^12.2.7", + "netlify-cli": "^12.2.8", "rimraf": "^3.0.2", "rollup-plugin-toml": "^1.0.0", "serve-static": "^1.15.0", diff --git a/site/prerender.ts b/site/prerender.ts index 05d45e460..33c40c4ae 100644 --- a/site/prerender.ts +++ b/site/prerender.ts @@ -28,12 +28,12 @@ export const pagesToPrerender: { '/iframes/simulateur-embauche', '/iframes/simulateur-independant', '/iframes/pamc', - ], + ].map((val) => encodeURI(val)), infrance: [ sitePathEn.index, sitePathEn.simulateurs.salarié, '/iframes/simulateur-embauche', - ], + ].map((val) => encodeURI(val)), } const dev = argv.findIndex((val) => val === '--dev') > -1 diff --git a/site/source/pages/Nouveautes/Nouveautes.tsx b/site/source/pages/Nouveautes/Nouveautes.tsx index 4860f2485..dee3c9e34 100644 --- a/site/source/pages/Nouveautes/Nouveautes.tsx +++ b/site/source/pages/Nouveautes/Nouveautes.tsx @@ -30,7 +30,8 @@ export default function Nouveautés() { const { data } = useFetchData('/data/releases.json') const navigate = useNavigate() const { absoluteSitePaths } = useSitePaths() - const slug = useMatch(`${absoluteSitePaths.nouveautés}/:slug`)?.params?.slug + const slug = useMatch(`${encodeURI(absoluteSitePaths.nouveautés)}/:slug`) + ?.params?.slug useHideNewsBanner() const { t } = useTranslation() diff --git a/site/source/sitePaths.ts b/site/source/sitePaths.ts index 8e478448c..b787494ce 100644 --- a/site/source/sitePaths.ts +++ b/site/source/sitePaths.ts @@ -219,10 +219,7 @@ const encodeRelativeSitePaths = (base: T): T => { const sitepaths = Object.entries(base).reduce( (obj, [key, val]) => ({ ...obj, - [key]: - // Remove encodeURI next release of react router - // Wait next version after v6.4.3, cf https://github.com/remix-run/react-router/issues/9580 - typeof val === 'string' ? encodeURI(val) : encodeRelativeSitePaths(val), + [key]: typeof val === 'string' ? val : encodeRelativeSitePaths(val), }), {} as T ) @@ -286,7 +283,7 @@ function constructAbsoluteSitePaths( entries.map(([k, value]) => [ k, typeof value === 'string' - ? encodeURI(root + (k === 'index' ? value : index + '/' + value)) || '/' + ? root + (k === 'index' ? value : index + '/' + value) || '/' : constructAbsoluteSitePaths(value, root + index + '/'), ]) ) as SitePathBuilt @@ -329,10 +326,10 @@ export const alternateLinks = () => { : import.meta.env.VITE_EN_BASE_URL ?? '' const enSiteMap = generateSiteMap(absoluteSitePaths.en).map( - (path) => basePathEn + path + (path) => basePathEn + encodeURI(path) ) const frSiteMap = generateSiteMap(absoluteSitePaths.fr).map( - (path) => basePathFr + path + (path) => basePathFr + encodeURI(path) ) return { diff --git a/yarn.lock b/yarn.lock index 588a99feb..1fd498797 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3691,19 +3691,19 @@ __metadata: languageName: node linkType: hard -"@netlify/build@npm:^28.4.2": - version: 28.4.2 - resolution: "@netlify/build@npm:28.4.2" +"@netlify/build@npm:^28.4.5": + version: 28.4.5 + resolution: "@netlify/build@npm:28.4.5" dependencies: "@bugsnag/js": ^7.0.0 "@netlify/cache-utils": ^5.0.2 "@netlify/config": ^20.0.2 - "@netlify/edge-bundler": 4.4.2 - "@netlify/functions-utils": ^5.0.4 + "@netlify/edge-bundler": 5.0.0 + "@netlify/functions-utils": ^5.0.5 "@netlify/git-utils": ^5.0.2 "@netlify/plugins-list": ^6.54.0 "@netlify/run-utils": ^5.0.2 - "@netlify/zip-it-and-ship-it": ^7.1.2 + "@netlify/zip-it-and-ship-it": ^7.1.3 "@sindresorhus/slugify": ^2.0.0 ansi-escapes: ^5.0.0 chalk: ^5.0.0 @@ -3750,7 +3750,7 @@ __metadata: yargs: ^17.6.0 bin: netlify-build: bin.js - checksum: 59dee4954f2dc295cd7e7ceb54c46452f93e45a185a23816e2dfd8123ac83803abd5131490000456a822e171824141af62a41ab6793d19752bd4fd0d115bd358 + checksum: 215e3a02a10a775c57ed13708ff769b2fdeeaf66ef4e11ffffc704a24590d14433dba72aaf7916fd327e88de0eca75b2772cadcfae89817f3707cdce969a8298 languageName: node linkType: hard @@ -3805,9 +3805,9 @@ __metadata: languageName: node linkType: hard -"@netlify/edge-bundler@npm:4.4.2": - version: 4.4.2 - resolution: "@netlify/edge-bundler@npm:4.4.2" +"@netlify/edge-bundler@npm:5.0.0, @netlify/edge-bundler@npm:^5.0.0": + version: 5.0.0 + resolution: "@netlify/edge-bundler@npm:5.0.0" dependencies: "@import-maps/resolve": ^1.0.1 ajv: ^8.11.2 @@ -3828,34 +3828,7 @@ __metadata: semver: ^7.3.5 tmp-promise: ^3.0.3 uuid: ^9.0.0 - checksum: 28ab2a6f2f3ab2e40442c01723a42a927f7061533b6486a462f69623e3348dda635194c3be4bb9f6461722d491bdf731644dddcfc3a82a6012c680abd4b9e30c - languageName: node - linkType: hard - -"@netlify/edge-bundler@npm:^4.4.2": - version: 4.4.3 - resolution: "@netlify/edge-bundler@npm:4.4.3" - dependencies: - "@import-maps/resolve": ^1.0.1 - ajv: ^8.11.2 - ajv-errors: ^3.0.0 - better-ajv-errors: ^1.2.0 - common-path-prefix: ^3.0.0 - del: ^7.0.0 - env-paths: ^3.0.0 - execa: ^6.0.0 - find-up: ^6.3.0 - get-port: ^6.1.2 - glob-to-regexp: ^0.4.1 - node-fetch: ^3.1.1 - node-stream-zip: ^1.15.0 - p-retry: ^5.1.1 - p-wait-for: ^4.1.0 - path-key: ^4.0.0 - semver: ^7.3.5 - tmp-promise: ^3.0.3 - uuid: ^9.0.0 - checksum: 3038fe571fe93e12eeee97876d67c718a295af9c363bf4fac5ac8c033e3ca161ca84d21a4c153464bcfc2ac008ffd650efa8786cffd696c46d55a1cfb9f655e4 + checksum: b22134386f0a143b7f5bde47bad873ebf63c403dcb756ce560b07dd690decd32e85d3c6cd13eb86195f8581e86a00f61b1b38bbe74c9be44ea800d01011a045f languageName: node linkType: hard @@ -4090,14 +4063,14 @@ __metadata: languageName: node linkType: hard -"@netlify/functions-utils@npm:^5.0.4": - version: 5.0.4 - resolution: "@netlify/functions-utils@npm:5.0.4" +"@netlify/functions-utils@npm:^5.0.5": + version: 5.0.5 + resolution: "@netlify/functions-utils@npm:5.0.5" dependencies: - "@netlify/zip-it-and-ship-it": ^7.1.2 + "@netlify/zip-it-and-ship-it": ^7.1.3 cpy: ^8.1.0 path-exists: ^5.0.0 - checksum: 9f205f803bd18bd36c9c1f647d8d2e8db54273bf4503a6c3ba7ad3e1521d6e5d4fc815291e56de1dfe8b55f2d85eed2baca666f2c50d6eb732ec454d8b4ba44b + checksum: 41e93db45ffa59fb3f826f30e3a8e2188a9de9576ce6640b47b19e9337c4ee0c9568a7f57006d9712fb36244d9fbc230daf3065521a836976e32c1b8860faf69 languageName: node linkType: hard @@ -4290,9 +4263,9 @@ __metadata: languageName: node linkType: hard -"@netlify/zip-it-and-ship-it@npm:^7.1.2": - version: 7.1.2 - resolution: "@netlify/zip-it-and-ship-it@npm:7.1.2" +"@netlify/zip-it-and-ship-it@npm:^7.1.3": + version: 7.1.3 + resolution: "@netlify/zip-it-and-ship-it@npm:7.1.3" dependencies: "@babel/parser": 7.16.8 "@netlify/binary-info": ^1.0.0 @@ -4328,7 +4301,7 @@ __metadata: yargs: ^17.0.0 bin: zip-it-and-ship-it: dist/bin.js - checksum: 8bbf839d1aaad077c5e97c5f030792f15360c2da6da1745b6675eb3884e36b10bf2c52ec96b15f7dd223a5c945e6ec84127310837307970f0c82b79845961041 + checksum: 42ec0d7658cf6e93c3f5bab95e4b57eb6671bfea507254e4f51b90f0b62783fbff8a5f62d1bc0fe07b858a183dffd8c443a5f0070af9f0ac1eff4b3f03df9ad7 languageName: node linkType: hard @@ -6063,6 +6036,13 @@ __metadata: languageName: node linkType: hard +"@remix-run/router@npm:1.0.4": + version: 1.0.4 + resolution: "@remix-run/router@npm:1.0.4" + checksum: db6b1e111fb6e7e22c3d274bd6cef3054a0a989245894fde5735efd9cb46d18511e528e813ff50bcbdd7eda1c559f4e76e9d0c54396624e33396168d80b09c42 + languageName: node + linkType: hard + "@rollup/plugin-babel@npm:^5.2.0": version: 5.3.1 resolution: "@rollup/plugin-babel@npm:5.3.1" @@ -6172,12 +6152,12 @@ __metadata: languageName: node linkType: hard -"@rushstack/package-deps-hash@npm:^3.2.63": - version: 3.2.63 - resolution: "@rushstack/package-deps-hash@npm:3.2.63" +"@rushstack/package-deps-hash@npm:^3.2.64": + version: 3.2.64 + resolution: "@rushstack/package-deps-hash@npm:3.2.64" dependencies: "@rushstack/node-core-library": 3.53.2 - checksum: 2c646135ab4423a306fc079479efc41bb8e23c14b60d2a9ce769e565c481c401126c4883215b4878055a59d891393a2e0ed981a1f86b657a6054b64d5029809d + checksum: cb7694d538af2a9f4e6c6b26505323ecbea5a328a16c94ac8cdd610dc712d8d6357c6b12fe8e954d49c7d15d4cf46c2e20b65d91d0a53f24a7181a9062fd403f languageName: node linkType: hard @@ -6195,97 +6175,97 @@ __metadata: languageName: node linkType: hard -"@sentry/browser@npm:7.21.1": - version: 7.21.1 - resolution: "@sentry/browser@npm:7.21.1" +"@sentry/browser@npm:7.22.0": + version: 7.22.0 + resolution: "@sentry/browser@npm:7.22.0" dependencies: - "@sentry/core": 7.21.1 - "@sentry/types": 7.21.1 - "@sentry/utils": 7.21.1 + "@sentry/core": 7.22.0 + "@sentry/types": 7.22.0 + "@sentry/utils": 7.22.0 tslib: ^1.9.3 - checksum: 270448b4f99e9eb99a081c285ba454e06375fe7b3ff6c27f8064c174f46d8550a96696a3a6285c04a4cb0e3a93d84a3483f212335f8aaf546cdcba406f290fe3 + checksum: ea42becadc87e86f2c81a8dc3c6c7265c27bcf9d65cef8976e73ea7c5a19df5d217eb75be70e57ad5893ea5d9a221d54d71e3e7a976a29a5db5304b347263257 languageName: node linkType: hard -"@sentry/core@npm:7.21.1": - version: 7.21.1 - resolution: "@sentry/core@npm:7.21.1" +"@sentry/core@npm:7.22.0": + version: 7.22.0 + resolution: "@sentry/core@npm:7.22.0" dependencies: - "@sentry/types": 7.21.1 - "@sentry/utils": 7.21.1 + "@sentry/types": 7.22.0 + "@sentry/utils": 7.22.0 tslib: ^1.9.3 - checksum: 96d493ddde5624cfd06146a72758eae979eee974e450f0748cca63973ffc1e0575467fbaa9df2e25e4291d5344845b9413a075390f37e89eea3f9a0cc2d95122 + checksum: 17105152c8c255d8a3208d2eb78b732b549565514e7bf30ce451e2232d1681d2d64c80025b3193486ccc93205bca4647d103ab286c303f2b8f6c970fa88ac8c2 languageName: node linkType: hard -"@sentry/integrations@npm:^7.21.1": - version: 7.21.1 - resolution: "@sentry/integrations@npm:7.21.1" +"@sentry/integrations@npm:^7.22.0": + version: 7.22.0 + resolution: "@sentry/integrations@npm:7.22.0" dependencies: - "@sentry/types": 7.21.1 - "@sentry/utils": 7.21.1 + "@sentry/types": 7.22.0 + "@sentry/utils": 7.22.0 localforage: ^1.8.1 tslib: ^1.9.3 - checksum: 34ede46c043a8f799a24d115575a293bbe09495e8c3f67f78b7ceb4a69a9f65380142741271edda16de45b8b485d5fc3c17b9fc757982eba804b90f370c8f13c + checksum: 96d02e57e1491b8b2e1041d14ddfaa1f409ba2901b55b24c443404ff1b005cbe2f7e7e050019d46f461cd0a9a2706877acac83dc0cd161cf30caf0301ed4d477 languageName: node linkType: hard -"@sentry/node@npm:^7.21.1": - version: 7.21.1 - resolution: "@sentry/node@npm:7.21.1" +"@sentry/node@npm:^7.22.0": + version: 7.22.0 + resolution: "@sentry/node@npm:7.22.0" dependencies: - "@sentry/core": 7.21.1 - "@sentry/types": 7.21.1 - "@sentry/utils": 7.21.1 + "@sentry/core": 7.22.0 + "@sentry/types": 7.22.0 + "@sentry/utils": 7.22.0 cookie: ^0.4.1 https-proxy-agent: ^5.0.0 lru_map: ^0.3.3 tslib: ^1.9.3 - checksum: 45f99ca9c3dd5a2aeef4d1366c31f4cca3dc5bfc79698aeaf2ff2e966165702e26a395b0fecca807b672f7fdec523a92ddb37def09728b16b39f8aef7776179f + checksum: 95f5967692bb1d962b500b128281e9d51cccdf36a2a59f0fe6aa383b1d57ee7312b4d0fd22552c0cd8db88895fbe3e5fffbeee84ad887ab1b53a4cac59890cfb languageName: node linkType: hard -"@sentry/react@npm:^7.21.1": - version: 7.21.1 - resolution: "@sentry/react@npm:7.21.1" +"@sentry/react@npm:^7.22.0": + version: 7.22.0 + resolution: "@sentry/react@npm:7.22.0" dependencies: - "@sentry/browser": 7.21.1 - "@sentry/types": 7.21.1 - "@sentry/utils": 7.21.1 + "@sentry/browser": 7.22.0 + "@sentry/types": 7.22.0 + "@sentry/utils": 7.22.0 hoist-non-react-statics: ^3.3.2 tslib: ^1.9.3 peerDependencies: react: 15.x || 16.x || 17.x || 18.x - checksum: f140795178b42db2a90a621cf7c5099b417b068ea2e66eb00dad1328f466c18159ebc6c8acd8f39b84bb97b45d9cc594c9eeba3bdc492f38b59ff8b3321e9db5 + checksum: 39bd0ef3ae537f5b5c5c0932b46c31d5b721f5c38cb0c4ea226fa07884fcc767c1c5d93022657252dfa4e267649a6c261d51f6061327112cfde260829177b1a1 languageName: node linkType: hard -"@sentry/tracing@npm:^7.21.1": - version: 7.21.1 - resolution: "@sentry/tracing@npm:7.21.1" +"@sentry/tracing@npm:^7.22.0": + version: 7.22.0 + resolution: "@sentry/tracing@npm:7.22.0" dependencies: - "@sentry/core": 7.21.1 - "@sentry/types": 7.21.1 - "@sentry/utils": 7.21.1 + "@sentry/core": 7.22.0 + "@sentry/types": 7.22.0 + "@sentry/utils": 7.22.0 tslib: ^1.9.3 - checksum: 5cfaace3416dcfd404f2468485e2819b5392536eb044bfcb330d2604f7e33182b30ff1571b3f54aea655b2762f9bc45124f2e680176a446facb3029e645235b7 + checksum: 33cc169ac1a2a95fcdeb46f4e8d8b6a1e00e36b4585fe495abbedd5796136d1d2a969a41a61691341bda4a9c1036847481316b081602ddaa6c699ce8d64b1b40 languageName: node linkType: hard -"@sentry/types@npm:7.21.1": - version: 7.21.1 - resolution: "@sentry/types@npm:7.21.1" - checksum: 0c89b3077aae599d4f4d918449c98b2da6be3820ec99036bb600c6e977ec0a6a906cc12bcb373ef42408b2e081163088c97f185cb349d1fdb2fc704a73de259b +"@sentry/types@npm:7.22.0": + version: 7.22.0 + resolution: "@sentry/types@npm:7.22.0" + checksum: eec788104d3a8ed8b8bf57d95e6c1ec8ec48212a94914e4e1d8bc110fe6b88825ce2a299439d10bd2f0c69778afedabcc6cbf38c4850345e6954d8bc3be0060b languageName: node linkType: hard -"@sentry/utils@npm:7.21.1": - version: 7.21.1 - resolution: "@sentry/utils@npm:7.21.1" +"@sentry/utils@npm:7.22.0": + version: 7.22.0 + resolution: "@sentry/utils@npm:7.22.0" dependencies: - "@sentry/types": 7.21.1 + "@sentry/types": 7.22.0 tslib: ^1.9.3 - checksum: caf6d913c1dcd10b03aa1bb143dc2e3f5d681714b52ad8e83155f9db0be998fb4014251bfa4434975a42df74201f1a83cef06e2ad9ab35a15bbdd1fd5a1594bf + checksum: c125c848037d2b3cb7f93822e47dd7d16e8b92dbd10109703eb5d569aef257342ec201539a86c6910497e9374891e8554ff9b7a17d8d97387675d4967f6cb590 languageName: node linkType: hard @@ -8284,7 +8264,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:^18.11.9": +"@types/node@npm:*": version: 18.11.9 resolution: "@types/node@npm:18.11.9" checksum: cc0aae109e9b7adefc32eecb838d6fad931663bb06484b5e9cbbbf74865c721b03d16fd8d74ad90e31dbe093d956a7c2c306ba5429ba0c00f3f7505103d7a496 @@ -8312,6 +8292,13 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:^18.11.10": + version: 18.11.10 + resolution: "@types/node@npm:18.11.10" + checksum: 0f60cb090b2ee91fcd3dc4311bc1ed7889b92f14644c0069f100776f86474c12eebbcc6c75bc0d7d96b975a103b4d5d6b3c22b4e88bea6e7f4e2b1bb0daf5ea8 + languageName: node + linkType: hard + "@types/normalize-package-data@npm:^2.4.0, @types/normalize-package-data@npm:^2.4.1": version: 2.4.1 resolution: "@types/normalize-package-data@npm:2.4.1" @@ -8696,13 +8683,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.44.0": - version: 5.44.0 - resolution: "@typescript-eslint/eslint-plugin@npm:5.44.0" +"@typescript-eslint/eslint-plugin@npm:^5.45.0": + version: 5.45.0 + resolution: "@typescript-eslint/eslint-plugin@npm:5.45.0" dependencies: - "@typescript-eslint/scope-manager": 5.44.0 - "@typescript-eslint/type-utils": 5.44.0 - "@typescript-eslint/utils": 5.44.0 + "@typescript-eslint/scope-manager": 5.45.0 + "@typescript-eslint/type-utils": 5.45.0 + "@typescript-eslint/utils": 5.45.0 debug: ^4.3.4 ignore: ^5.2.0 natural-compare-lite: ^1.4.0 @@ -8715,24 +8702,24 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 88784e77e8e35ea50ca9c49d46df94cabc3447f4b332f3ca53974d3b5370cb5dcd85cc9ee0e317b91083812012369209574725dcfc3b2b4056b60371b68ca854 + checksum: 7cff671a9ba33afa86f0ece6d0ebaeb5fc16596fc659ef230f6f65bfddfef2ffb6434310e3a4444fb852e79e40c85c5e62c559df6ddc9312aac235a18afdd269 languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.44.0": - version: 5.44.0 - resolution: "@typescript-eslint/parser@npm:5.44.0" +"@typescript-eslint/parser@npm:^5.45.0": + version: 5.45.0 + resolution: "@typescript-eslint/parser@npm:5.45.0" dependencies: - "@typescript-eslint/scope-manager": 5.44.0 - "@typescript-eslint/types": 5.44.0 - "@typescript-eslint/typescript-estree": 5.44.0 + "@typescript-eslint/scope-manager": 5.45.0 + "@typescript-eslint/types": 5.45.0 + "@typescript-eslint/typescript-estree": 5.45.0 debug: ^4.3.4 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 2d09a1a1547a7ae3f76c9a33a54e11d79a194fbb9dbae69988e7aed3370bdf12bafde669211152769d89db822e0cdee4173affc126664fa6f17abba56daa7261 + checksum: b8ce3af72de3ff22bb206c3299e728d37a836dbe1f75bcb66ad3bb7962204174b7fff834992b84f0e661de507729c01c7ad71ad2707c217cccc3c0f798a9dc23 languageName: node linkType: hard @@ -8746,22 +8733,22 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.44.0": - version: 5.44.0 - resolution: "@typescript-eslint/scope-manager@npm:5.44.0" +"@typescript-eslint/scope-manager@npm:5.45.0": + version: 5.45.0 + resolution: "@typescript-eslint/scope-manager@npm:5.45.0" dependencies: - "@typescript-eslint/types": 5.44.0 - "@typescript-eslint/visitor-keys": 5.44.0 - checksum: 4cfe4b55eb428eda740e6b967e3a87f3e1f9c4bbd8e1d6b8d64a11666abe33ffe7a21e4e614444ccde2da6930fa85f3e0ffca43d6e339943ff7a4fbccb09c8fc + "@typescript-eslint/types": 5.45.0 + "@typescript-eslint/visitor-keys": 5.45.0 + checksum: 8f686be8ee0c7ac49ee2a313570cddf86a1364b1ec129f50f8a531038a3bb241429734dc5e2c4e5dd76cc3ed149628aa3e8425cc092f37ca6885b1995c99c2d1 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.44.0": - version: 5.44.0 - resolution: "@typescript-eslint/type-utils@npm:5.44.0" +"@typescript-eslint/type-utils@npm:5.45.0": + version: 5.45.0 + resolution: "@typescript-eslint/type-utils@npm:5.45.0" dependencies: - "@typescript-eslint/typescript-estree": 5.44.0 - "@typescript-eslint/utils": 5.44.0 + "@typescript-eslint/typescript-estree": 5.45.0 + "@typescript-eslint/utils": 5.45.0 debug: ^4.3.4 tsutils: ^3.21.0 peerDependencies: @@ -8769,7 +8756,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 4c7b594f8afa52d57d0512951a874fa390eb791dcefcd0e1efff8817872293b2e4e04eff3c54d1595c1720a34d5fd315729af4e459882033d13cb6069ae9d28f + checksum: be96c89b91116b8fbed160631f3cdd345d47e34248a38e8a730fa9e09a4aa21184259414547d3c7a741b83fa68d4a14f77e9fc93b84aba4752f67bd5a772bf27 languageName: node linkType: hard @@ -8780,10 +8767,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:5.44.0": - version: 5.44.0 - resolution: "@typescript-eslint/types@npm:5.44.0" - checksum: ced7d32abecfc62ccb67cf27e30c0785b9c153ec7b1a05153ced58fa5a2031ab3845bc2e477b83e4cebdcc5881c5845d23053c6739c62549d41ae6208e547e85 +"@typescript-eslint/types@npm:5.45.0": + version: 5.45.0 + resolution: "@typescript-eslint/types@npm:5.45.0" + checksum: 43d533622995f002221e439ea517aa07dbce2067cc880a6eb9d26307c505b746975f334d76b35501a2f4dd06d7aaf79964d86ce5a95e76a4f309d6e54faf5213 languageName: node linkType: hard @@ -8805,12 +8792,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.44.0": - version: 5.44.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.44.0" +"@typescript-eslint/typescript-estree@npm:5.45.0": + version: 5.45.0 + resolution: "@typescript-eslint/typescript-estree@npm:5.45.0" dependencies: - "@typescript-eslint/types": 5.44.0 - "@typescript-eslint/visitor-keys": 5.44.0 + "@typescript-eslint/types": 5.45.0 + "@typescript-eslint/visitor-keys": 5.45.0 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -8819,25 +8806,25 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 758731108497cca7ff81cf0a78d086b5a85757a983979d6bb25ad8252b7acbc738c642ecb5f5df82f925a45926b9846e431d5cf9fee5ed2613300b4d0c5d6c3f + checksum: 8f48b3c75c155491ee49436c470e491f9fe48e6e7c95190c4d0c0ab64ce24e8bc6715de86996baf57fc9f0c6dae986ce9ae075e656664489bfa1dc706eaafcd7 languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.44.0": - version: 5.44.0 - resolution: "@typescript-eslint/utils@npm:5.44.0" +"@typescript-eslint/utils@npm:5.45.0": + version: 5.45.0 + resolution: "@typescript-eslint/utils@npm:5.45.0" dependencies: "@types/json-schema": ^7.0.9 "@types/semver": ^7.3.12 - "@typescript-eslint/scope-manager": 5.44.0 - "@typescript-eslint/types": 5.44.0 - "@typescript-eslint/typescript-estree": 5.44.0 + "@typescript-eslint/scope-manager": 5.45.0 + "@typescript-eslint/types": 5.45.0 + "@typescript-eslint/typescript-estree": 5.45.0 eslint-scope: ^5.1.1 eslint-utils: ^3.0.0 semver: ^7.3.7 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: bc5bb28e41898464d35b8eb47cc452103852541e3b6be56252c15a5a81c45e10aad3db4c749eb92d752b0c358df8074e23ec6f9e65f8089baadeda7f395c7e31 + checksum: 33a383881efb6c6e0ecd32f74810ca18bb5e85d4839f607409047d6e3d64a98b3cd1e811d027638d051b3741981de50a652c3abe0fcbb70fac80d7d93cd3e36f languageName: node linkType: hard @@ -8869,13 +8856,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.44.0": - version: 5.44.0 - resolution: "@typescript-eslint/visitor-keys@npm:5.44.0" +"@typescript-eslint/visitor-keys@npm:5.45.0": + version: 5.45.0 + resolution: "@typescript-eslint/visitor-keys@npm:5.45.0" dependencies: - "@typescript-eslint/types": 5.44.0 + "@typescript-eslint/types": 5.45.0 eslint-visitor-keys: ^3.3.0 - checksum: a012c888209e1d6ae684b2a44fd460ae5a80f5faf07bca4bda6c9c0d8c063ad3297d4c53f7151ae86cf1a43dee09625dc3ee72183323c91089c7288fd573c6f4 + checksum: 050cc4275d8a3638a106c2915410710e775382996130a6b2af732269e55cbbc4ed438c8662ddf409635d2d8bd0d8a4389b3980bc2cb38c6105c77c6835222af0 languageName: node linkType: hard @@ -9774,13 +9761,13 @@ __metadata: "@koa/cors": ^4.0.0 "@koa/router": ^12.0.0 "@publicodes/api": ^1.0.0-beta.62 - "@sentry/node": ^7.21.1 - "@sentry/tracing": ^7.21.1 + "@sentry/node": ^7.22.0 + "@sentry/tracing": ^7.22.0 "@types/koa": ^2.13.5 "@types/koa-static": ^4.0.2 "@types/koa__cors": ^3.3.0 "@types/koa__router": ^12.0.0 - "@types/node": ^18.11.9 + "@types/node": ^18.11.10 "@types/swagger-ui-dist": ^3.30.1 chai-http: ^4.3.0 got: ^12.5.3 @@ -17416,7 +17403,7 @@ __metadata: languageName: node linkType: hard -"history@npm:*, history@npm:^5.2.0": +"history@npm:*": version: 5.3.0 resolution: "history@npm:5.3.0" dependencies: @@ -21492,13 +21479,13 @@ __metadata: languageName: node linkType: hard -"netlify-cli@npm:^12.2.7": - version: 12.2.7 - resolution: "netlify-cli@npm:12.2.7" +"netlify-cli@npm:^12.2.8": + version: 12.2.8 + resolution: "netlify-cli@npm:12.2.8" dependencies: - "@netlify/build": ^28.4.2 + "@netlify/build": ^28.4.5 "@netlify/config": ^20.0.2 - "@netlify/edge-bundler": ^4.4.2 + "@netlify/edge-bundler": ^5.0.0 "@netlify/framework-info": ^9.5.2 "@netlify/local-functions-proxy": ^1.1.1 "@netlify/zip-it-and-ship-it": ^8.1.0 @@ -21604,7 +21591,7 @@ __metadata: bin: netlify: bin/run.mjs ntl: bin/run.mjs - checksum: f81346186570cb8bf27f5b9a8bbadd16ac1427943084b49009cc81961896d59e42af1632d0c0f86852813ed9e567902237670af3b20bdbf6c5531358b16e199e + checksum: 6c728ce9e0823f8197dc9c3a3edcba44ae879df323716a94c3b473b4848a02fedce20ca73afed71851d385bd2ebaa36e2ce8e6f29d6538e78ad045f47fd81c59 languageName: node linkType: hard @@ -24345,27 +24332,27 @@ __metadata: languageName: node linkType: hard -"react-router-dom@npm:=6.3.0": - version: 6.3.0 - resolution: "react-router-dom@npm:6.3.0" +"react-router-dom@npm:^6.4.4": + version: 6.4.4 + resolution: "react-router-dom@npm:6.4.4" dependencies: - history: ^5.2.0 - react-router: 6.3.0 + "@remix-run/router": 1.0.4 + react-router: 6.4.4 peerDependencies: react: ">=16.8" react-dom: ">=16.8" - checksum: 77603a654f8a8dc7f65535a2e5917a65f8d9ffcb06546d28dd297e52adcc4b8a84377e0115f48dca330b080af2da3e78f29d590c89307094d36927d2b1751ec3 + checksum: 95f31ae84979b404db7483309e1063fbf724046103dc8b7be7e6df79f7b81e4e63dcdb587f11d8be38e3aaf62b71f9e0d83344ef8d8c5e962de7819c793de781 languageName: node linkType: hard -"react-router@npm:6.3.0": - version: 6.3.0 - resolution: "react-router@npm:6.3.0" +"react-router@npm:6.4.4": + version: 6.4.4 + resolution: "react-router@npm:6.4.4" dependencies: - history: ^5.2.0 + "@remix-run/router": 1.0.4 peerDependencies: react: ">=16.8" - checksum: 7be673f5e72104be01e6ab274516bdb932efd93305243170690f6560e3bd1035dd1df3d3c9ce1e0f452638a2529f43a1e77dcf0934fc8031c4783da657be13ca + checksum: d82cc8b8bdf10e02e07d089f9d82987fa161c2f07583c973126f5f8a052c02b3d2339891ddbda1738f877755a407e2c35f0dc1ac52aaa1d2c853774d19753ea7 languageName: node linkType: hard @@ -25321,8 +25308,8 @@ __metadata: "@actions/github": ^5.1.1 "@ianvs/prettier-plugin-sort-imports": ^3.7.1 "@types/got": ^9.6.12 - "@typescript-eslint/eslint-plugin": ^5.44.0 - "@typescript-eslint/parser": ^5.44.0 + "@typescript-eslint/eslint-plugin": ^5.45.0 + "@typescript-eslint/parser": ^5.45.0 eslint: ^8.28.0 eslint-config-prettier: ^8.5.0 eslint-config-standard: ^17.0.0 @@ -25721,7 +25708,7 @@ __metadata: "@types/koa": ^2.13.5 "@types/koa__cors": ^3.3.0 "@types/koa__router": ^12.0.0 - "@types/node": ^18.11.9 + "@types/node": ^18.11.10 "@types/safe-timers": ^1.1.0 bree: ^9.1.3 crisp-api: 7.1.0 @@ -25917,10 +25904,10 @@ __metadata: "@redux-devtools/extension": ^3.2.3 "@rollup/plugin-replace": ^4.0.0 "@rollup/plugin-yaml": ^3.1.0 - "@rushstack/package-deps-hash": ^3.2.63 - "@sentry/integrations": ^7.21.1 - "@sentry/react": ^7.21.1 - "@sentry/tracing": ^7.21.1 + "@rushstack/package-deps-hash": ^3.2.64 + "@sentry/integrations": ^7.22.0 + "@sentry/react": ^7.22.0 + "@sentry/tracing": ^7.22.0 "@storybook/addon-actions": ^6.5.13 "@storybook/addon-essentials": ^6.5.13 "@storybook/addon-interactions": ^6.5.13 @@ -25951,7 +25938,7 @@ __metadata: isbot: ^3.6.5 markdown-to-jsx: ^7.1.7 modele-social: "workspace:^" - netlify-cli: ^12.2.7 + netlify-cli: ^12.2.8 publicodes: ^1.0.0-beta.62 publicodes-react: ^1.0.0-beta.62 react: ^18.2.0 @@ -25963,7 +25950,7 @@ __metadata: react-instantsearch: ^6.38.1 react-instantsearch-dom: ^6.38.1 react-redux: ^8.0.5 - react-router-dom: =6.3.0 + react-router-dom: ^6.4.4 react-signature-pad-wrapper: ^3.3.1 react-spring: ^9.5.5 react-use-measure: ^2.1.1