Skip to content

Commit

Permalink
chore(deps): update dependency @types/node to v22.5.4 (#974)
Browse files Browse the repository at this point in the history
Signed-off-by: Giovanni Ravalico <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Giovanni Ravalico <[email protected]>
  • Loading branch information
renovate[bot] and suddenlyGiovanni authored Sep 6, 2024
1 parent 887aeef commit 2151889
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 95 deletions.
32 changes: 10 additions & 22 deletions apps/web/app/models/resume/meta/meta.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ describe('Meta', () => {
└─ Encoded side transformation failure
└─ Meta (Encoded side)
└─ ["canonical"]
└─ UrlString | undefined
├─ Invalid URL string; got: ''
└─ Expected undefined, actual ""`,
└─ Invalid URL string; got: ''`,
)

await expectEffectFailure(
Expand All @@ -36,9 +34,7 @@ describe('Meta', () => {
└─ Encoded side transformation failure
└─ Meta (Encoded side)
└─ ["canonical"]
└─ UrlString | undefined
├─ Invalid URL string; got: ' '
└─ Expected undefined, actual " "`,
└─ Invalid URL string; got: ' '`,
)

await expectEffectSuccess(Meta.decode({ canonical: metaInput.canonical }), {
Expand All @@ -53,23 +49,19 @@ describe('Meta', () => {
└─ Encoded side transformation failure
└─ Meta (Encoded side)
└─ ["lastModified"]
└─ Date | undefined
├─ Date
│ └─ Predicate refinement failure
│ └─ Expected Date, actual Invalid Date
└─ Expected undefined, actual ""`,
└─ Date
└─ Predicate refinement failure
└─ Expected Date, actual Invalid Date`,
)
await expectEffectFailure(
Meta.decode({ lastModified: ' ' }),
`(Meta (Encoded side) <-> Meta)
└─ Encoded side transformation failure
└─ Meta (Encoded side)
└─ ["lastModified"]
└─ Date | undefined
├─ Date
│ └─ Predicate refinement failure
│ └─ Expected Date, actual Invalid Date
└─ Expected undefined, actual " "`,
└─ Date
└─ Predicate refinement failure
└─ Expected Date, actual Invalid Date`,
)

await expectEffectSuccess(Meta.decode({ lastModified: metaInput.lastModified }), {
Expand All @@ -84,9 +76,7 @@ describe('Meta', () => {
└─ Encoded side transformation failure
└─ Meta (Encoded side)
└─ ["version"]
└─ TrimmedNonEmpty | undefined
├─ expected a non-empty string with no leading or trailing whitespace, got ""
└─ Expected undefined, actual ""`,
└─ expected a non-empty string with no leading or trailing whitespace, got ""`,
)

await expectEffectFailure(
Expand All @@ -95,9 +85,7 @@ describe('Meta', () => {
└─ Encoded side transformation failure
└─ Meta (Encoded side)
└─ ["version"]
└─ TrimmedNonEmpty | undefined
├─ expected a non-empty string with no leading or trailing whitespace, got " "
└─ Expected undefined, actual " "`,
└─ expected a non-empty string with no leading or trailing whitespace, got " "`,
)

await expectEffectSuccess(Meta.decode({ version: metaInput.version }), {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@suddenlygiovanni/config-typescript": "workspace:*",
"@total-typescript/ts-reset": "0.6.1",
"@types/cookie": "0.6.0",
"@types/node": "22.5.3",
"@types/node": "22.5.4",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0",
"@vitest/coverage-v8": "2.0.5",
Expand Down
Loading

0 comments on commit 2151889

Please sign in to comment.