From 000b497528d994dcc1ce4760c81ac0145aebc64a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 27 Apr 2024 01:38:34 +0000 Subject: [PATCH 01/12] Bump cropperjs from 1.6.1 to 1.6.2 in /webapp Bumps [cropperjs](https://github.com/fengyuanchen/cropperjs) from 1.6.1 to 1.6.2. - [Release notes](https://github.com/fengyuanchen/cropperjs/releases) - [Changelog](https://github.com/fengyuanchen/cropperjs/blob/main/CHANGELOG.md) - [Commits](https://github.com/fengyuanchen/cropperjs/compare/v1.6.1...v1.6.2) --- updated-dependencies: - dependency-name: cropperjs dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- webapp/package.json | 2 +- webapp/yarn.lock | 42 ++++++++++++++++++++++++++++++++---------- 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/webapp/package.json b/webapp/package.json index 04d27c70a..3a9ac816d 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -33,7 +33,7 @@ "apollo-cache-inmemory": "~1.6.6", "apollo-client": "~2.6.8", "cookie-universal-nuxt": "~2.2.2", - "cropperjs": "^1.6.1", + "cropperjs": "^1.6.2", "cross-env": "~7.0.3", "date-fns": "2.22.1", "express": "~4.19.2", diff --git a/webapp/yarn.lock b/webapp/yarn.lock index 26cb5e40b..8bbf2a285 100644 --- a/webapp/yarn.lock +++ b/webapp/yarn.lock @@ -7668,10 +7668,10 @@ create-react-context@^0.2.1: fbjs "^0.8.0" gud "^1.0.0" -cropperjs@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/cropperjs/-/cropperjs-1.6.1.tgz#fd132021d93b824b1b0f2c2c3b763419fb792d89" - integrity sha512-F4wsi+XkDHCOMrHMYjrTEE4QBOrsHHN5/2VsVAaRq8P7E5z7xQpT75S+f/9WikmBEailas3+yo+6zPIomW+NOA== +cropperjs@^1.6.2: + version "1.6.2" + resolved "https://registry.yarnpkg.com/cropperjs/-/cropperjs-1.6.2.tgz#d1a5d627d880581cca41b7901f06923500e4201b" + integrity sha512-nhymn9GdnV3CqiEHJVai54TULFAE3VshJTXSqSJKa8yXAKyBKDWdhHarnlIPrshJ0WMFTGuFvG02YjLXfPiuOA== cross-env@~7.0.3: version "7.0.3" @@ -17341,8 +17341,7 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.2.3: - name string-width-cjs +"string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -17395,6 +17394,15 @@ string-width@^4.2.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.0" +string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" @@ -17434,8 +17442,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.1: - name strip-ansi-cjs +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -17470,6 +17477,13 @@ strip-ansi@^6.0.0: dependencies: ansi-regex "^5.0.0" +strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -19420,8 +19434,7 @@ worker-farm@^1.7.0: dependencies: errno "~0.1.7" -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: - name wrap-ansi-cjs +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -19473,6 +19486,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" From 0f8c503128eaee9d52c9fbab43fabf8d5e4b33dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 27 Apr 2024 10:50:18 +0000 Subject: [PATCH 02/12] Bump @cucumber/cucumber from 10.4.0 to 10.6.0 Bumps [@cucumber/cucumber](https://github.com/cucumber/cucumber-js) from 10.4.0 to 10.6.0. - [Release notes](https://github.com/cucumber/cucumber-js/releases) - [Changelog](https://github.com/cucumber/cucumber-js/blob/main/CHANGELOG.md) - [Commits](https://github.com/cucumber/cucumber-js/compare/v10.4.0...v10.6.0) --- updated-dependencies: - dependency-name: "@cucumber/cucumber" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- yarn.lock | 40 ++++++++++++++++++++++++++++++++-------- 3 files changed, 37 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1fc1b2447..1ecfe3a21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@babel/preset-env": "^7.24.4", "@babel/register": "^7.23.7", "@badeball/cypress-cucumber-preprocessor": "^20.0.3", - "@cucumber/cucumber": "10.4.0", + "@cucumber/cucumber": "10.6.0", "@cypress/browserify-preprocessor": "^3.0.2", "@faker-js/faker": "8.4.1", "auto-changelog": "^2.3.0", @@ -2145,9 +2145,9 @@ "dev": true }, "node_modules/@cucumber/cucumber": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/@cucumber/cucumber/-/cucumber-10.4.0.tgz", - "integrity": "sha512-pFPu4tCzHJUm1S4GfWUlhJYYqfbVPCmYCADehuhNU+MR29mvy49DQE6WS6aVdwABPawzpBs0H8EuQYA8Vh9Yqw==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/@cucumber/cucumber/-/cucumber-10.6.0.tgz", + "integrity": "sha512-1ui/PDJelSRioZGYZdxeNepnCetbjbv16FUDdWi6WdjAeMqfCsuiJHjN++b7Wjxd1xKhXdSLfMntqpuNcPTIug==", "dev": true, "dependencies": { "@cucumber/ci-environment": "10.0.1", diff --git a/package.json b/package.json index f5b9c2560..7b686a172 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "@babel/preset-env": "^7.24.4", "@babel/register": "^7.23.7", "@badeball/cypress-cucumber-preprocessor": "^20.0.3", - "@cucumber/cucumber": "10.4.0", + "@cucumber/cucumber": "10.6.0", "@cypress/browserify-preprocessor": "^3.0.2", "@faker-js/faker": "8.4.1", "auto-changelog": "^2.3.0", diff --git a/yarn.lock b/yarn.lock index 0dac8c9e8..4c79da218 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1157,10 +1157,10 @@ dependencies: regexp-match-indices "1.0.2" -"@cucumber/cucumber@10.4.0", "@cucumber/cucumber@^10.0.0": - version "10.4.0" - resolved "https://registry.yarnpkg.com/@cucumber/cucumber/-/cucumber-10.4.0.tgz#e65fb751d7bfbe1d62d91215672e6d9158358487" - integrity sha512-pFPu4tCzHJUm1S4GfWUlhJYYqfbVPCmYCADehuhNU+MR29mvy49DQE6WS6aVdwABPawzpBs0H8EuQYA8Vh9Yqw== +"@cucumber/cucumber@10.6.0", "@cucumber/cucumber@^10.0.0": + version "10.6.0" + resolved "https://registry.yarnpkg.com/@cucumber/cucumber/-/cucumber-10.6.0.tgz#836c912f836ada6c440eb8808c642f192e05b921" + integrity sha512-1ui/PDJelSRioZGYZdxeNepnCetbjbv16FUDdWi6WdjAeMqfCsuiJHjN++b7Wjxd1xKhXdSLfMntqpuNcPTIug== dependencies: "@cucumber/ci-environment" "10.0.1" "@cucumber/cucumber-expressions" "17.1.0" @@ -7119,7 +7119,16 @@ string-argv@0.3.1: resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da" integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg== -"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0: +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^4.1.0, string-width@^4.2.0: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -7160,7 +7169,14 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -7841,8 +7857,7 @@ workerpool@6.2.1: resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343" integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: - name wrap-ansi-cjs +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -7860,6 +7875,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" From bb6bc288799708617d6b7684017d3647a30d4596 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 27 Apr 2024 11:11:58 +0000 Subject: [PATCH 03/12] Bump cypress from 13.7.3 to 13.8.1 Bumps [cypress](https://github.com/cypress-io/cypress) from 13.7.3 to 13.8.1. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md) - [Commits](https://github.com/cypress-io/cypress/compare/v13.7.3...v13.8.1) --- updated-dependencies: - dependency-name: cypress dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1ecfe3a21..3e4e18f40 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "auto-changelog": "^2.3.0", "bcryptjs": "^2.4.3", "cross-env": "^7.0.3", - "cypress": "^13.7.3", + "cypress": "^13.8.1", "cypress-network-idle": "^1.14.2", "date-fns": "^3.3.1", "dotenv": "^16.4.5", @@ -6575,9 +6575,9 @@ "optional": true }, "node_modules/cypress": { - "version": "13.7.3", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.7.3.tgz", - "integrity": "sha512-uoecY6FTCAuIEqLUYkTrxamDBjMHTYak/1O7jtgwboHiTnS1NaMOoR08KcTrbRZFCBvYOiS4tEkQRmsV+xcrag==", + "version": "13.8.1", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.8.1.tgz", + "integrity": "sha512-Uk6ovhRbTg6FmXjeZW/TkbRM07KPtvM5gah1BIMp4Y2s+i/NMxgaLw0+PbYTOdw1+egE0FP3mWRiGcRkjjmhzA==", "dev": true, "hasInstallScript": true, "dependencies": { diff --git a/package.json b/package.json index 7b686a172..f3851eede 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "auto-changelog": "^2.3.0", "bcryptjs": "^2.4.3", "cross-env": "^7.0.3", - "cypress": "^13.7.3", + "cypress": "^13.8.1", "cypress-network-idle": "^1.14.2", "date-fns": "^3.3.1", "dotenv": "^16.4.5", diff --git a/yarn.lock b/yarn.lock index 4c79da218..4085bb8b5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3775,10 +3775,10 @@ cypress-network-idle@^1.14.2: resolved "https://registry.yarnpkg.com/cypress-network-idle/-/cypress-network-idle-1.14.2.tgz#0837100861feeb5a18f4c2d9815be079f8590f4d" integrity sha512-xAdR8dH58KFPv8eCDWjviScITrJOcUpuMXYfYTc175nk2/NvnJ+I6ylSn1CM7yZmoV/gLbFa36QLiH5NfNEaLQ== -cypress@^13.7.3: - version "13.7.3" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-13.7.3.tgz#3e7dcd32e007676a6c8e972293c50d6ef329d991" - integrity sha512-uoecY6FTCAuIEqLUYkTrxamDBjMHTYak/1O7jtgwboHiTnS1NaMOoR08KcTrbRZFCBvYOiS4tEkQRmsV+xcrag== +cypress@^13.8.1: + version "13.8.1" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-13.8.1.tgz#f558e51b770a409e2360031bbd36c3f4fb3f2db4" + integrity sha512-Uk6ovhRbTg6FmXjeZW/TkbRM07KPtvM5gah1BIMp4Y2s+i/NMxgaLw0+PbYTOdw1+egE0FP3mWRiGcRkjjmhzA== dependencies: "@cypress/request" "^3.0.0" "@cypress/xvfb" "^1.2.4" From 59c9c94e62d1e9ac5d5f6edcf58184c967c04fa7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 27 Apr 2024 11:30:28 +0000 Subject: [PATCH 04/12] Bump @badeball/cypress-cucumber-preprocessor from 20.0.3 to 20.0.4 Bumps [@badeball/cypress-cucumber-preprocessor](https://github.com/badeball/cypress-cucumber-preprocessor) from 20.0.3 to 20.0.4. - [Release notes](https://github.com/badeball/cypress-cucumber-preprocessor/releases) - [Changelog](https://github.com/badeball/cypress-cucumber-preprocessor/blob/master/CHANGELOG.md) - [Commits](https://github.com/badeball/cypress-cucumber-preprocessor/compare/v20.0.3...v20.0.4) --- updated-dependencies: - dependency-name: "@badeball/cypress-cucumber-preprocessor" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3e4e18f40..b685d1d3b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@babel/core": "^7.24.0", "@babel/preset-env": "^7.24.4", "@babel/register": "^7.23.7", - "@badeball/cypress-cucumber-preprocessor": "^20.0.3", + "@badeball/cypress-cucumber-preprocessor": "^20.0.4", "@cucumber/cucumber": "10.6.0", "@cypress/browserify-preprocessor": "^3.0.2", "@faker-js/faker": "8.4.1", @@ -2029,9 +2029,9 @@ } }, "node_modules/@badeball/cypress-cucumber-preprocessor": { - "version": "20.0.3", - "resolved": "https://registry.npmjs.org/@badeball/cypress-cucumber-preprocessor/-/cypress-cucumber-preprocessor-20.0.3.tgz", - "integrity": "sha512-cc7rYEFEVRAZ13LQ2WEnG84VJNO+ErpNsNBP/5eP2JC+2v8WvcVgm8fcqKLOiNgyEWaRuiT+MkU3DXKbBbFVSg==", + "version": "20.0.4", + "resolved": "https://registry.npmjs.org/@badeball/cypress-cucumber-preprocessor/-/cypress-cucumber-preprocessor-20.0.4.tgz", + "integrity": "sha512-1izlopsaJLPVjPN4XV3WhviZOgwXleVMsiTuDYHbJq3QiTUdHUzbticy8cMxtUTKa2dKZZSJTzZIGcXP5wEuag==", "dev": true, "funding": [ { diff --git a/package.json b/package.json index f3851eede..c0ef798d2 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@babel/core": "^7.24.0", "@babel/preset-env": "^7.24.4", "@babel/register": "^7.23.7", - "@badeball/cypress-cucumber-preprocessor": "^20.0.3", + "@badeball/cypress-cucumber-preprocessor": "^20.0.4", "@cucumber/cucumber": "10.6.0", "@cypress/browserify-preprocessor": "^3.0.2", "@faker-js/faker": "8.4.1", diff --git a/yarn.lock b/yarn.lock index 4085bb8b5..08ffb02ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1109,10 +1109,10 @@ minimatch "^3.0.4" node-hook "^1.0.0" -"@badeball/cypress-cucumber-preprocessor@^20.0.3": - version "20.0.3" - resolved "https://registry.yarnpkg.com/@badeball/cypress-cucumber-preprocessor/-/cypress-cucumber-preprocessor-20.0.3.tgz#73f53d021bb8ff11aaa003fbd33337bd7d4e5338" - integrity sha512-cc7rYEFEVRAZ13LQ2WEnG84VJNO+ErpNsNBP/5eP2JC+2v8WvcVgm8fcqKLOiNgyEWaRuiT+MkU3DXKbBbFVSg== +"@badeball/cypress-cucumber-preprocessor@^20.0.4": + version "20.0.4" + resolved "https://registry.yarnpkg.com/@badeball/cypress-cucumber-preprocessor/-/cypress-cucumber-preprocessor-20.0.4.tgz#3d07e015ed9535a76f42537389c5015e6e072589" + integrity sha512-1izlopsaJLPVjPN4XV3WhviZOgwXleVMsiTuDYHbJq3QiTUdHUzbticy8cMxtUTKa2dKZZSJTzZIGcXP5wEuag== dependencies: "@badeball/cypress-configuration" "^6.1.0" "@cucumber/ci-environment" "^10.0.0" From 8c35728968e09da2bc578e518656ee922c74f607 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 05:25:00 +0000 Subject: [PATCH 05/12] Bump @faker-js/faker from 5.1.0 to 8.4.1 in /webapp Bumps [@faker-js/faker](https://github.com/faker-js/faker) from 5.1.0 to 8.4.1. - [Release notes](https://github.com/faker-js/faker/releases) - [Changelog](https://github.com/faker-js/faker/blob/next/CHANGELOG.md) - [Commits](https://github.com/faker-js/faker/compare/v5.1.0...v8.4.1) --- updated-dependencies: - dependency-name: "@faker-js/faker" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- webapp/package.json | 2 +- webapp/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/webapp/package.json b/webapp/package.json index 3a9ac816d..ce954cf74 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -71,7 +71,7 @@ "@babel/core": "^7.24.4", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/preset-env": "^7.22.4", - "@faker-js/faker": "5.1.0", + "@faker-js/faker": "8.4.1", "@nuxtjs/composition-api": "0.32.0", "@storybook/addon-a11y": "^8.0.8", "@storybook/addon-actions": "^5.3.21", diff --git a/webapp/yarn.lock b/webapp/yarn.lock index 8bbf2a285..e67a90f7b 100644 --- a/webapp/yarn.lock +++ b/webapp/yarn.lock @@ -2270,10 +2270,10 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" -"@faker-js/faker@5.1.0": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@faker-js/faker/-/faker-5.1.0.tgz#cee1d77ada0d0dbbe77201d18b1ebabf432d9c0f" - integrity sha512-0VonSKh7fBCqvY+V2FLN2ZW4pR4ZtWJalWmwSaiaB7yK7y4qp8vDfuaq9QdLjf/cdZGx3M7Wc4Q+x4fZHxI21Q== +"@faker-js/faker@8.4.1": + version "8.4.1" + resolved "https://registry.yarnpkg.com/@faker-js/faker/-/faker-8.4.1.tgz#5d5e8aee8fce48f5e189bf730ebd1f758f491451" + integrity sha512-XQ3cU+Q8Uqmrbf2e0cIC/QN43sTBSC8KF12u29Mb47tWrt2hAgBXSgpZMj4Ao8Uk0iJcU99QsOCaIL8934obCg== "@hapi/address@2.x.x": version "2.0.0" From d8e47238bb6ad1c857d8efcf7e787dc7ee74a815 Mon Sep 17 00:00:00 2001 From: mahula Date: Mon, 29 Apr 2024 07:44:49 +0200 Subject: [PATCH 06/12] adapt faker import in webapp to package update --- webapp/components/CommentList/CommentList.story.js | 2 +- .../components/_new/generic/TabNavigation/TabNavigator.story.js | 2 +- webapp/storybook/helpers.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/components/CommentList/CommentList.story.js b/webapp/components/CommentList/CommentList.story.js index 50a2b1d1b..0a8ebfd70 100644 --- a/webapp/components/CommentList/CommentList.story.js +++ b/webapp/components/CommentList/CommentList.story.js @@ -1,4 +1,4 @@ -import faker from '@faker-js/faker' +import { faker } from '@faker-js/faker' import { storiesOf } from '@storybook/vue' import { withA11y } from '@storybook/addon-a11y' import HcCommentList from './CommentList.vue' diff --git a/webapp/components/_new/generic/TabNavigation/TabNavigator.story.js b/webapp/components/_new/generic/TabNavigation/TabNavigator.story.js index 6da7a5763..ab6ee87f3 100644 --- a/webapp/components/_new/generic/TabNavigation/TabNavigator.story.js +++ b/webapp/components/_new/generic/TabNavigation/TabNavigator.story.js @@ -1,4 +1,4 @@ -import faker from '@faker-js/faker' +import { faker } from '@faker-js/faker' import { storiesOf } from '@storybook/vue' import { withA11y } from '@storybook/addon-a11y' import HcEmpty from '~/components/Empty/Empty' diff --git a/webapp/storybook/helpers.js b/webapp/storybook/helpers.js index bc42d5ac7..a6c20743c 100644 --- a/webapp/storybook/helpers.js +++ b/webapp/storybook/helpers.js @@ -2,7 +2,7 @@ import Vue from 'vue' import Vuex from 'vuex' import vuexI18n from 'vuex-i18n/dist/vuex-i18n.umd.js' import Styleguide from '@human-connection/styleguide' -import faker from '@faker-js/faker' +import { faker } from '@faker-js/faker' import Filters from '~/plugins/vue-filters' import Directives from '~/plugins/vue-directives' import IziToast from '~/plugins/izi-toast' From 47d79544c6372572969ea591bca39401309ce6bc Mon Sep 17 00:00:00 2001 From: mahula Date: Mon, 29 Apr 2024 08:18:00 +0200 Subject: [PATCH 07/12] adapt name and random faking to updates faker api --- webapp/components/CommentList/CommentList.story.js | 2 +- .../generic/TabNavigation/TabNavigator.story.js | 4 ++-- webapp/storybook/helpers.js | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/webapp/components/CommentList/CommentList.story.js b/webapp/components/CommentList/CommentList.story.js index 0a8ebfd70..d0133ef8d 100644 --- a/webapp/components/CommentList/CommentList.story.js +++ b/webapp/components/CommentList/CommentList.story.js @@ -8,7 +8,7 @@ helpers.init() const commentMock = (fields) => { return { - id: faker.random.uuid(), + id: faker.string.uuid(), title: faker.lorem.sentence(), content: faker.lorem.paragraph(), createdAt: faker.date.past(), diff --git a/webapp/components/_new/generic/TabNavigation/TabNavigator.story.js b/webapp/components/_new/generic/TabNavigation/TabNavigator.story.js index ab6ee87f3..fcd4a067a 100644 --- a/webapp/components/_new/generic/TabNavigation/TabNavigator.story.js +++ b/webapp/components/_new/generic/TabNavigation/TabNavigator.story.js @@ -17,7 +17,7 @@ helpers.init() const postMock = (fields) => { return { ...post, - id: faker.random.uuid(), + id: faker.string.uuid(), createdAt: faker.date.past(), updatedAt: faker.date.recent(), deleted: false, @@ -30,7 +30,7 @@ const postMock = (fields) => { const userMock = (fields) => { return { ...user, - id: faker.random.uuid(), + id: faker.string.uuid(), createdAt: faker.date.past(), updatedAt: faker.date.recent(), deleted: false, diff --git a/webapp/storybook/helpers.js b/webapp/storybook/helpers.js index a6c20743c..e52fb03ed 100644 --- a/webapp/storybook/helpers.js +++ b/webapp/storybook/helpers.js @@ -61,9 +61,9 @@ const helpers = { }, fakeUser(n) { return new Array(n || 1).fill(0).map(() => { - const name = faker.name.findName() + const name = faker.person.person.fullName() return { - id: faker.random.uuid(), + id: faker.string.uuid(), name, slug: faker.helpers.slugify(name), } @@ -74,14 +74,14 @@ const helpers = { const title = faker.lorem.words() const content = faker.lorem.paragraph() return { - id: faker.random.uuid(), + id: faker.string.uuid(), title, content, slug: faker.lorem.slug(title), - shoutedCount: faker.random.number(), - commentsCount: faker.random.number(), - clickedCount: faker.random.number(), - viewedTeaserCount: faker.random.number(), + shoutedCount: faker.number.int(), + commentsCount: faker.number.int(), + clickedCount: faker.number.int(), + viewedTeaserCount: faker.number.int(), postType: ['Article'], } }) From e2654de55d120187cdd184a1941b1f5bc79294ca Mon Sep 17 00:00:00 2001 From: mahula Date: Mon, 29 Apr 2024 08:36:34 +0200 Subject: [PATCH 08/12] adapt name and random faking to updates faker api --- backend/src/db/factories.ts | 2 +- webapp/storybook/helpers.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/db/factories.ts b/backend/src/db/factories.ts index 4ec34e289..6ba0b92bb 100644 --- a/backend/src/db/factories.ts +++ b/backend/src/db/factories.ts @@ -63,7 +63,7 @@ Factory.define('basicUser') .option('password', '1234') .attrs({ id: uuid, - name: faker.name.fullName, + name: faker.person.fullName, password: '1234', role: 'user', termsAndConditionsAgreedVersion: '0.0.1', diff --git a/webapp/storybook/helpers.js b/webapp/storybook/helpers.js index e52fb03ed..caa41dd86 100644 --- a/webapp/storybook/helpers.js +++ b/webapp/storybook/helpers.js @@ -61,7 +61,7 @@ const helpers = { }, fakeUser(n) { return new Array(n || 1).fill(0).map(() => { - const name = faker.person.person.fullName() + const name = faker.person.fullName() return { id: faker.string.uuid(), name, From 166094c4652c545f58ba8fe0e4e01cc0705037e3 Mon Sep 17 00:00:00 2001 From: mahula Date: Mon, 29 Apr 2024 09:21:33 +0200 Subject: [PATCH 09/12] adapt slug faking to updated faker api --- webapp/storybook/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/storybook/helpers.js b/webapp/storybook/helpers.js index caa41dd86..f389fc3f4 100644 --- a/webapp/storybook/helpers.js +++ b/webapp/storybook/helpers.js @@ -77,7 +77,7 @@ const helpers = { id: faker.string.uuid(), title, content, - slug: faker.lorem.slug(title), + slug: faker.lorem.slug({ min: 1, max: 3 }, title), shoutedCount: faker.number.int(), commentsCount: faker.number.int(), clickedCount: faker.number.int(), From 01c8c2a57bf961d71c613a78ce2a907327313941 Mon Sep 17 00:00:00 2001 From: mahula Date: Mon, 29 Apr 2024 14:50:20 +0200 Subject: [PATCH 10/12] adapt backend avatar faking due to deprecation warning --- backend/src/db/factories.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/db/factories.ts b/backend/src/db/factories.ts index 6ba0b92bb..049b71f4a 100644 --- a/backend/src/db/factories.ts +++ b/backend/src/db/factories.ts @@ -107,7 +107,7 @@ Factory.define('user') .option('email', faker.internet.exampleEmail) .option('avatar', () => Factory.build('image', { - url: faker.internet.avatar(), + url: faker.image.avatar(), }), ) .after(async (buildObject, options) => { From 7b3ed63bc91928a6fd6d2800b0f7343a711ef70b Mon Sep 17 00:00:00 2001 From: mahula Date: Mon, 29 Apr 2024 15:29:46 +0200 Subject: [PATCH 11/12] adapt backend image faking due to deprecation warning --- backend/src/db/factories.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/db/factories.ts b/backend/src/db/factories.ts index 049b71f4a..f410e8b29 100644 --- a/backend/src/db/factories.ts +++ b/backend/src/db/factories.ts @@ -2,7 +2,7 @@ import { v4 as uuid } from 'uuid' import slugify from 'slug' import { hashSync } from 'bcryptjs' import { Factory } from 'rosie' -import { faker } from '@faker-js/faker' +import { faker } from '@faker-js/faker' import { getDriver, getNeode } from './neo4j' import CONFIG from '../config/index' import generateInviteCode from '../schema/resolvers/helpers/generateInviteCode' @@ -49,7 +49,7 @@ Factory.define('badge') }) Factory.define('image') - .attr('url', faker.image.unsplash.imageUrl) + .attr('url', faker.image.url) .attr('aspectRatio', 1.3333333333333333) .attr('alt', faker.lorem.sentence) .attr('type', 'image/jpeg') From 6cecd3662f7760f201f6d088e96213f738f6364e Mon Sep 17 00:00:00 2001 From: mahula Date: Mon, 29 Apr 2024 17:48:41 +0200 Subject: [PATCH 12/12] adapt backend image faking due to deprecation warning --- backend/src/db/factories.ts | 2 +- backend/src/db/seed.ts | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/backend/src/db/factories.ts b/backend/src/db/factories.ts index f410e8b29..c75c92fdd 100644 --- a/backend/src/db/factories.ts +++ b/backend/src/db/factories.ts @@ -2,7 +2,7 @@ import { v4 as uuid } from 'uuid' import slugify from 'slug' import { hashSync } from 'bcryptjs' import { Factory } from 'rosie' -import { faker } from '@faker-js/faker' +import { faker } from '@faker-js/faker' import { getDriver, getNeode } from './neo4j' import CONFIG from '../config/index' import generateInviteCode from '../schema/resolvers/helpers/generateInviteCode' diff --git a/backend/src/db/seed.ts b/backend/src/db/seed.ts index 53cd4cea6..bff236f64 100644 --- a/backend/src/db/seed.ts +++ b/backend/src/db/seed.ts @@ -632,7 +632,7 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] categoryIds: ['cat16'], author: peterLustig, image: Factory.build('image', { - url: faker.image.unsplash.food(300, 169), + url: faker.image.urlLoremFlickr({ category: 'food', width: 300, height: 169 }), sensitive: true, aspectRatio: 300 / 169, }), @@ -648,7 +648,7 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] categoryIds: ['cat1'], author: bobDerBaumeister, image: Factory.build('image', { - url: faker.image.unsplash.technology(300, 1500), + url: faker.image.urlLoremFlickr({ category: 'technics', width: 300, height: 1500 }), aspectRatio: 300 / 1500, }), }, @@ -696,7 +696,7 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] categoryIds: ['cat6'], author: peterLustig, image: Factory.build('image', { - url: faker.image.unsplash.buildings(300, 857), + url: faker.image.urlLoremFlickr({ category: 'city', width: 300, height: 857 }), aspectRatio: 300 / 857, }), }, @@ -735,7 +735,7 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] categoryIds: ['cat11'], author: louie, image: Factory.build('image', { - url: faker.image.unsplash.people(300, 901), + url: faker.image.urlLoremFlickr({ category: 'people', width: 300, height: 901 }), aspectRatio: 300 / 901, }), }, @@ -761,7 +761,7 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] categoryIds: ['cat14'], author: jennyRostock, image: Factory.build('image', { - url: faker.image.unsplash.objects(300, 200), + url: faker.image.urlLoremFlickr({ category: 'abstract', width: 300, height: 200 }), aspectRatio: 300 / 450, }), }, @@ -821,7 +821,7 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] mutation: createPostMutation(), variables: { id: 'p8', - image: faker.image.unsplash.nature(), + image: faker.image.urlLoremFlickr({ category: 'nature' }), title: `Quantum Flow Theory explains Quantum Gravity`, content: hashtagAndMention1, categoryIds: ['cat8'], @@ -1178,7 +1178,7 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] categoryIds: ['cat1'], author: jennyRostock, image: Factory.build('image', { - url: faker.image.unsplash.objects(), + url: faker.image.urlLoremFlickr({ category: 'abstract' }), }), }, ) @@ -1229,7 +1229,7 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] categoryIds: ['cat1'], author: peterLustig, image: Factory.build('image', { - url: faker.image.unsplash.buildings(), + url: faker.image.urlLoremFlickr({ category: 'city' }), }), }, ) @@ -1280,7 +1280,7 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] categoryIds: ['cat1'], author: dewey, image: Factory.build('image', { - url: faker.image.unsplash.food(), + url: faker.image.urlLoremFlickr({ category: 'food' }), }), }, ) @@ -1331,7 +1331,7 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] categoryIds: ['cat1'], author: louie, image: Factory.build('image', { - url: faker.image.unsplash.technology(), + url: faker.image.urlLoremFlickr({ category: 'technics' }), }), }, ) @@ -1382,7 +1382,7 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] categoryIds: ['cat1'], author: bobDerBaumeister, image: Factory.build('image', { - url: faker.image.unsplash.people(), + url: faker.image.urlLoremFlickr({ category: 'people' }), }), }, ) @@ -1433,7 +1433,7 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] categoryIds: ['cat1'], author: huey, image: Factory.build('image', { - url: faker.image.unsplash.nature(), + url: faker.image.urlLoremFlickr({ category: 'nature' }), }), }, )