From 08aae5c767f51aa4dd7888170a3043655e0b5cd1 Mon Sep 17 00:00:00 2001 From: Kari Salminen Date: Mon, 12 Feb 2024 16:58:22 +0200 Subject: [PATCH] chore: update hds-(design-tokens|react)->2.17.1, unwhitelist lodash.pick --- frontend/audit-ci.jsonc | 3 +- frontend/benefit/applicant/package.json | 4 +- frontend/benefit/handler/package.json | 4 +- frontend/benefit/shared/package.json | 2 +- frontend/kesaseteli/employer/package.json | 4 +- frontend/kesaseteli/handler/package.json | 4 +- frontend/kesaseteli/youth/package.json | 4 +- frontend/shared/package.json | 2 +- frontend/tet/admin/package.json | 4 +- frontend/tet/shared/package.json | 2 +- frontend/tet/youth/package.json | 4 +- frontend/yarn.lock | 82 ++++------------------- 12 files changed, 32 insertions(+), 87 deletions(-) diff --git a/frontend/audit-ci.jsonc b/frontend/audit-ci.jsonc index 1bc0bfc0dc..b0bdb3f61a 100644 --- a/frontend/audit-ci.jsonc +++ b/frontend/audit-ci.jsonc @@ -6,7 +6,6 @@ "http-cache-semantics", // testcafe "decode-uri-component", // testcafe "@babel/traverse", // jest - "follow-redirects", // axios - "lodash.pick" // HDS + "follow-redirects" // axios ] } diff --git a/frontend/benefit/applicant/package.json b/frontend/benefit/applicant/package.json index 00b0a62fa9..47994ac2f6 100644 --- a/frontend/benefit/applicant/package.json +++ b/frontend/benefit/applicant/package.json @@ -27,8 +27,8 @@ "dotenv": "^16.0.0", "finnish-ssn": "^2.1.2", "formik": "^2.2.9", - "hds-design-tokens": "^2.17.0", - "hds-react": "^2.17.0", + "hds-design-tokens": "^2.17.1", + "hds-react": "^2.17.1", "lodash": "^4.17.21", "next": "14.0.3", "next-compose-plugins": "^2.2.1", diff --git a/frontend/benefit/handler/package.json b/frontend/benefit/handler/package.json index 3bf3ed1dbb..f60e9069e4 100644 --- a/frontend/benefit/handler/package.json +++ b/frontend/benefit/handler/package.json @@ -26,8 +26,8 @@ "finnish-ssn": "^2.1.2", "formik": "^2.2.9", "fuse.js": "^6.6.2", - "hds-design-tokens": "^2.17.0", - "hds-react": "^2.17.0", + "hds-design-tokens": "^2.17.1", + "hds-react": "^2.17.1", "ibantools": "^4.3.4", "lodash": "^4.17.21", "next": "14.0.3", diff --git a/frontend/benefit/shared/package.json b/frontend/benefit/shared/package.json index b16424701d..ab304641d3 100644 --- a/frontend/benefit/shared/package.json +++ b/frontend/benefit/shared/package.json @@ -16,7 +16,7 @@ "@frontend/shared": "*", "camelcase-keys": "^7.0.1", "date-fns": "^2.24.0", - "hds-react": "^2.17.0", + "hds-react": "^2.17.1", "ibantools": "^4.1.5", "next": "14.0.3", "react": "^18.2.0", diff --git a/frontend/kesaseteli/employer/package.json b/frontend/kesaseteli/employer/package.json index 1148bdcd48..d5420d9b70 100644 --- a/frontend/kesaseteli/employer/package.json +++ b/frontend/kesaseteli/employer/package.json @@ -23,8 +23,8 @@ "@sentry/nextjs": "^7.16.0", "axios": "^0.27.2", "dotenv": "^16.0.0", - "hds-design-tokens": "^2.17.0", - "hds-react": "^2.17.0", + "hds-design-tokens": "^2.17.1", + "hds-react": "^2.17.1", "ibantools": "^4.1.5", "lodash": "^4.17.21", "next": "14.0.3", diff --git a/frontend/kesaseteli/handler/package.json b/frontend/kesaseteli/handler/package.json index bdfa81c4fb..0a151bb267 100644 --- a/frontend/kesaseteli/handler/package.json +++ b/frontend/kesaseteli/handler/package.json @@ -24,8 +24,8 @@ "axios": "^0.27.2", "dotenv": "^16.0.0", "finnish-ssn": "^2.1.2", - "hds-design-tokens": "^2.17.0", - "hds-react": "^2.17.0", + "hds-design-tokens": "^2.17.1", + "hds-react": "^2.17.1", "lodash": "^4.17.21", "next": "14.0.3", "next-compose-plugins": "^2.2.1", diff --git a/frontend/kesaseteli/youth/package.json b/frontend/kesaseteli/youth/package.json index 9f1829bb74..9cabfb1a5f 100644 --- a/frontend/kesaseteli/youth/package.json +++ b/frontend/kesaseteli/youth/package.json @@ -25,8 +25,8 @@ "axios": "^0.27.2", "dotenv": "^16.0.0", "finnish-ssn": "^2.1.2", - "hds-design-tokens": "^2.17.0", - "hds-react": "^2.17.0", + "hds-design-tokens": "^2.17.1", + "hds-react": "^2.17.1", "lodash": "^4.17.21", "next": "14.0.3", "next-compose-plugins": "^2.2.1", diff --git a/frontend/shared/package.json b/frontend/shared/package.json index 7d1793449f..01a89ed478 100644 --- a/frontend/shared/package.json +++ b/frontend/shared/package.json @@ -22,7 +22,7 @@ "express": "^4.17.1", "fast-deep-equal": "^3.1.3", "finnish-ssn": "^2.1.2", - "hds-react": "^2.17.0", + "hds-react": "^2.17.1", "js-file-download": "^0.4.12", "lodash": "^4.17.21", "next": "14.0.3", diff --git a/frontend/tet/admin/package.json b/frontend/tet/admin/package.json index f8965a54dd..6ecbdfab5f 100644 --- a/frontend/tet/admin/package.json +++ b/frontend/tet/admin/package.json @@ -24,8 +24,8 @@ "axios": "^0.27.2", "date-fns": "^2.24.0", "dotenv": "^16.0.0", - "hds-design-tokens": "^2.17.0", - "hds-react": "^2.17.0", + "hds-design-tokens": "^2.17.1", + "hds-react": "^2.17.1", "leaflet": "^1.7.1", "next": "14.0.3", "next-compose-plugins": "^2.2.1", diff --git a/frontend/tet/shared/package.json b/frontend/tet/shared/package.json index 2f81627ba3..9be513a300 100644 --- a/frontend/tet/shared/package.json +++ b/frontend/tet/shared/package.json @@ -16,7 +16,7 @@ "dependencies": { "@frontend/shared": "*", "axios": "^0.27.2", - "hds-react": "^2.17.0", + "hds-react": "^2.17.1", "next": "14.0.3", "next-i18next": "^13.0.3", "react": "^18.2.0", diff --git a/frontend/tet/youth/package.json b/frontend/tet/youth/package.json index 90f2ca92b8..5aedc38ed7 100644 --- a/frontend/tet/youth/package.json +++ b/frontend/tet/youth/package.json @@ -23,8 +23,8 @@ "@sentry/nextjs": "^7.16.0", "axios": "^0.27.2", "dotenv": "^16.0.0", - "hds-design-tokens": "^2.17.0", - "hds-react": "^2.17.0", + "hds-design-tokens": "^2.17.1", + "hds-react": "^2.17.1", "leaflet": "^1.7.1", "leaflet.markercluster": "^1.5.3", "next": "14.0.3", diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 3e8bf0be80..a3ff18a159 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -7923,20 +7923,20 @@ hast-util-whitespace@^2.0.0: resolved "https://registry.yarnpkg.com/hast-util-whitespace/-/hast-util-whitespace-2.0.1.tgz#0ec64e257e6fc216c7d14c8a1b74d27d650b4557" integrity sha512-nAxA0v8+vXSBDt3AnRUNjyRIQ0rD+ntpbAp4LnPkumc5M9yUbSMa4XDU9Q6etY4f1Wp4bNgvc1yjiZtsTTrSng== -hds-core@2.17.0: - version "2.17.0" - resolved "https://registry.yarnpkg.com/hds-core/-/hds-core-2.17.0.tgz#05bb9febbaea6314df86e6930dfd485950daf37f" - integrity sha512-OKYAU3bGsogDXAuJ40WMaGDxNfSXPp4zvgIrHM/O/f2lenQTqVjdL2zJTMcIFufXevwxdiY1bmJ1qXyksMmtBw== +hds-core@2.17.1: + version "2.17.1" + resolved "https://registry.yarnpkg.com/hds-core/-/hds-core-2.17.1.tgz#3ed9dd22de0db1d1454b32311cdf3fdc6463b0c4" + integrity sha512-Ii9hHyrGofstuy58qMg+lTqwhj/jjaIOwJsieeFJ36C6Ewv6qdvkEP3wvaGW/38hIycoWosCTLMCSqQ5XRvF5A== -hds-design-tokens@^2.17.0: - version "2.17.0" - resolved "https://registry.yarnpkg.com/hds-design-tokens/-/hds-design-tokens-2.17.0.tgz#13e755728424b6cb91fee30e72202b7911630866" - integrity sha512-Ad3PJ6ta4ALStt8rDjZxb4SMu/IBkr6vl1ZWY7hp2TfyIFpXrzB/Q0TWcaH99MUgO0S1OuFwhAp70ZzCwpkI/Q== +hds-design-tokens@^2.17.1: + version "2.17.1" + resolved "https://registry.yarnpkg.com/hds-design-tokens/-/hds-design-tokens-2.17.1.tgz#d5ae14917299251c4a8a1cea5002e76fea4f622c" + integrity sha512-EM87DUAgAVQ2ahourNyyfOSCzYHyCxNkYhJPftSe1W2CS2vHXrskWgP4PWPbGIZbYvIZeEFuHA3TqobCXmy1aw== -hds-react@^2.17.0: - version "2.17.0" - resolved "https://registry.yarnpkg.com/hds-react/-/hds-react-2.17.0.tgz#7dfffc7dc6673bb59bd222699c2893cbaa0b0557" - integrity sha512-nfN6sCCGGkZpv9++9qf0X3Dn+grTI5hPNXFGbFWCrV0dlTYBrDEzV2P3rsJiT6uYs5Yl0kqGBbr+uxQWw3s3wg== +hds-react@^2.17.1: + version "2.17.1" + resolved "https://registry.yarnpkg.com/hds-react/-/hds-react-2.17.1.tgz#4c60b322676a9edb1657812c4cabb99a98989190" + integrity sha512-Gcqr2NtVs8Vh35fZArGFwzQ2wvsjhX64q+ijHeFzdozYLZzQ47f6YD8NlpG2qnZvfMsZdUqKdMcg1+/jmHgQ5A== dependencies: "@babel/runtime" "7.17.9" "@emotion/styled-base" "^11.0.0" @@ -7950,18 +7950,9 @@ hds-react@^2.17.0: crc-32 "1.2.0" date-fns "2.16.1" downshift "6.0.6" - hds-core "2.17.0" + hds-core "2.17.1" kashe "1.0.4" - lodash.get "^4.4.2" - lodash.isequal "4.5.0" - lodash.isfunction "3.0.9" - lodash.isobject "3.0.2" - lodash.isundefined "3.0.1" - lodash.pick "^4.4.0" - lodash.pickby "^4.6.0" - lodash.throttle "^4.1.1" - lodash.uniqueid "4.0.1" - lodash.xor "^4.5.0" + lodash "^4.17.21" memoize-one "5.2.1" react-hook-form "^7.43.3" react-merge-refs "1.1.0" @@ -10035,31 +10026,11 @@ lodash.get@^4.3.0, lodash.get@^4.4.2: resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk= -lodash.isequal@4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" - integrity sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ== - -lodash.isfunction@3.0.9: - version "3.0.9" - resolved "https://registry.yarnpkg.com/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz#06de25df4db327ac931981d1bdb067e5af68d051" - integrity sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw== - lodash.ismatch@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37" integrity sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g== -lodash.isobject@3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/lodash.isobject/-/lodash.isobject-3.0.2.tgz#3c8fb8d5b5bf4bf90ae06e14f2a530a4ed935e1d" - integrity sha512-3/Qptq2vr7WeJbB4KHUSKlq8Pl7ASXi3UG6CMbBm8WRtXi8+GHm7mKaU3urfpSEzWe2wCIChs6/sdocUsTKJiA== - -lodash.isundefined@3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/lodash.isundefined/-/lodash.isundefined-3.0.1.tgz#23ef3d9535565203a66cefd5b830f848911afb48" - integrity sha512-MXB1is3s899/cD8jheYYE2V9qTHwKvt+npCwpD+1Sxm3Q3cECXCiYHjeHWXNwr6Q0SOBPrYUDxendrO6goVTEA== - lodash.last@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/lodash.last/-/lodash.last-3.0.0.tgz#242f663112dd4c6e63728c60a3c909d1bdadbd4c" @@ -10075,31 +10046,6 @@ lodash.merge@4.6.2, lodash.merge@^4.6.2: resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== -lodash.pick@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3" - integrity sha512-hXt6Ul/5yWjfklSGvLQl8vM//l3FtyHZeuelpzK6mm99pNvN9yTDruNZPEJZD1oWrqo+izBmB7oUfWgcCX7s4Q== - -lodash.pickby@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/lodash.pickby/-/lodash.pickby-4.6.0.tgz#7dea21d8c18d7703a27c704c15d3b84a67e33aff" - integrity sha512-AZV+GsS/6ckvPOVQPXSiFFacKvKB4kOQu6ynt9wz0F3LO4R9Ij4K1ddYsIytDpSgLz88JHd9P+oaLeej5/Sl7Q== - -lodash.throttle@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4" - integrity sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ== - -lodash.uniqueid@4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/lodash.uniqueid/-/lodash.uniqueid-4.0.1.tgz#3268f26a7c88e4f4b1758d679271814e31fa5b26" - integrity sha512-GQQWaIeGlL6DIIr06kj1j6sSmBxyNMwI8kaX9aKpHR/XsMTiaXDVPNPAkiboOTK9OJpTJF/dXT3xYoFQnj386Q== - -lodash.xor@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.xor/-/lodash.xor-4.5.0.tgz#4d48ed7e98095b0632582ba714d3ff8ae8fb1db6" - integrity sha512-sVN2zimthq7aZ5sPGXnSz32rZPuqcparVW50chJQe+mzTYV+IsxSsl/2gnkWWE2Of7K3myBQBqtLKOUEHJKRsQ== - lodash.zip@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/lodash.zip/-/lodash.zip-4.2.0.tgz#ec6662e4896408ed4ab6c542a3990b72cc080020"