Skip to content

Commit

Permalink
feat: [Snyk] Upgrade @faker-js/faker from 8.3.1 to 8.4.1 (#1547)
Browse files Browse the repository at this point in the history
* Update configuration (#1523)

* fix: upgrade @faker-js/faker from 8.3.1 to 8.4.1

Snyk has created this PR to upgrade @faker-js/faker from 8.3.1 to 8.4.1.

See this package in npm:
@faker-js/faker

See this project in Snyk:
https://app.snyk.io/org/city-of-helsinki/project/aed93529-486e-499e-9b12-5815057dc0ec?utm_source=github&utm_medium=referral&page=upgrade-pr

* Update e2e tests

---------

Co-authored-by: hel-platta-automation <95360595+hel-platta-automation@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
  • Loading branch information
3 people authored Nov 6, 2024
1 parent 96fa0f6 commit 5676c84
Show file tree
Hide file tree
Showing 15 changed files with 57 additions and 56 deletions.
9 changes: 5 additions & 4 deletions e2e/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@faker-js/faker": "^8.3.1",
"@faker-js/faker": "^8.4.1",
"@playwright/test": "^1.48.0",
"@types/lodash.clonedeep": "^4.5.9",
"@types/node": "^20.16.11",
Expand Down
12 changes: 6 additions & 6 deletions e2e/utils/data/application/application_data_29.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const baseForm_29: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -207,7 +207,7 @@ const baseForm_29: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -287,7 +287,7 @@ const baseForm_29: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -339,7 +339,7 @@ const baseForm_29: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -400,15 +400,15 @@ const baseForm_29: FormData = {
value: faker.number.float({
min: 100,
max: 1000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
"edit-fee-community": {
value: faker.number.float({
min: 100,
max: 1000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down
8 changes: 4 additions & 4 deletions e2e/utils/data/application/application_data_48.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const baseForm_48: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -231,7 +231,7 @@ const baseForm_48: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -287,7 +287,7 @@ const baseForm_48: FormData = {
value: faker.number.float({
min: 1,
max: 100,
precision: 2
multipleOf: 2
}).toString(),
},
"edit-osa-aikainen-henkilosto": {
Expand All @@ -299,7 +299,7 @@ const baseForm_48: FormData = {
value: faker.number.float({
min: 1,
max: 100,
precision: 2
multipleOf: 2
}).toString(),
},
"edit-vapaaehtoinen-henkilosto": {
Expand Down
4 changes: 2 additions & 2 deletions e2e/utils/data/application/application_data_49.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ const baseForm_49: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -257,7 +257,7 @@ const baseForm_49: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down
8 changes: 4 additions & 4 deletions e2e/utils/data/application/application_data_51.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const baseFormRegisteredCommunity_51: FormData = {
// value: faker.number.float({
// min: 1000,
// max: 10000,
// precision: 2
// multipleOf: 2
// }).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -198,7 +198,7 @@ const baseFormRegisteredCommunity_51: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -260,15 +260,15 @@ const baseFormRegisteredCommunity_51: FormData = {
value: faker.number.float({
min: 100,
max: 1000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
"edit-fee-community": {
value: faker.number.float({
min: 100,
max: 1000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down
6 changes: 3 additions & 3 deletions e2e/utils/data/application/application_data_52.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const baseFormRegisteredCommunity_52: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -192,7 +192,7 @@ const baseFormRegisteredCommunity_52: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -363,7 +363,7 @@ const baseFormRegisteredCommunity_52: FormData = {
value: faker.number.float({
min: 100,
max: 1000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency
},
Expand Down
12 changes: 6 additions & 6 deletions e2e/utils/data/application/application_data_54.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const baseFormRegisteredCommunity_54: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -211,7 +211,7 @@ const baseFormRegisteredCommunity_54: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -292,7 +292,7 @@ const baseFormRegisteredCommunity_54: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -344,7 +344,7 @@ const baseFormRegisteredCommunity_54: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -411,15 +411,15 @@ const baseFormRegisteredCommunity_54: FormData = {
value: faker.number.float({
min: 100,
max: 1000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
"edit-fee-community": {
value: faker.number.float({
min: 100,
max: 1000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down
8 changes: 4 additions & 4 deletions e2e/utils/data/application/application_data_57.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const baseFormRegisteredCommunity_57: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -207,7 +207,7 @@ const baseFormRegisteredCommunity_57: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -288,7 +288,7 @@ const baseFormRegisteredCommunity_57: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -340,7 +340,7 @@ const baseFormRegisteredCommunity_57: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down
4 changes: 2 additions & 2 deletions e2e/utils/data/application/application_data_60.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ const baseFormRegisteredCommunity_60: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -220,7 +220,7 @@ const baseFormRegisteredCommunity_60: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down
8 changes: 4 additions & 4 deletions e2e/utils/data/application/application_data_61.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const baseFormRegisteredCommunity_61: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -190,7 +190,7 @@ const baseFormRegisteredCommunity_61: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -256,15 +256,15 @@ const baseFormRegisteredCommunity_61: FormData = {
value: faker.number.float({
min: 100,
max: 1000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
"edit-fee-community": {
value: faker.number.float({
min: 100,
max: 1000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down
8 changes: 4 additions & 4 deletions e2e/utils/data/application/application_data_62.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const baseFormRegisteredCommunity_62: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -197,7 +197,7 @@ const baseFormRegisteredCommunity_62: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -278,7 +278,7 @@ const baseFormRegisteredCommunity_62: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down Expand Up @@ -330,7 +330,7 @@ const baseFormRegisteredCommunity_62: FormData = {
value: faker.number.float({
min: 1000,
max: 10000,
precision: 2
multipleOf: 2
}).toString(),
viewPageFormatter: viewPageFormatCurrency,
},
Expand Down
Loading

0 comments on commit 5676c84

Please sign in to comment.