Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit a0beabb

Browse files
committed
chore: update dependencies
1 parent 0e38adc commit a0beabb

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,26 @@
3434
},
3535
"devDependencies": {
3636
"@adonisjs/application": "^7.1.2-3",
37-
"@adonisjs/bodyparser": "^9.3.2-4",
37+
"@adonisjs/bodyparser": "^9.3.2-5",
3838
"@adonisjs/encryption": "^5.1.2-1",
3939
"@adonisjs/events": "^8.4.9-2",
4040
"@adonisjs/fold": "^9.9.3-4",
4141
"@adonisjs/http-server": "^6.8.2-5",
4242
"@adonisjs/logger": "^5.4.2-1",
43-
"@commitlint/cli": "^17.5.0",
44-
"@commitlint/config-conventional": "^17.4.4",
43+
"@commitlint/cli": "^17.6.1",
44+
"@commitlint/config-conventional": "^17.6.1",
4545
"@japa/assert": "^1.4.1",
4646
"@japa/run-failed-tests": "^1.1.1",
4747
"@japa/runner": "^2.5.1",
4848
"@japa/spec-reporter": "^1.3.3",
49-
"@swc/core": "^1.3.42",
49+
"@swc/core": "^1.3.50",
5050
"@types/benchmark": "^2.1.2",
51-
"@types/node": "^18.15.10",
51+
"@types/node": "^18.15.11",
5252
"benchmark": "^2.1.4",
5353
"c8": "^7.13.0",
5454
"class-validator": "^0.14.0",
5555
"del-cli": "^5.0.0",
56-
"eslint": "^8.36.0",
56+
"eslint": "^8.38.0",
5757
"eslint-config-prettier": "^8.8.0",
5858
"eslint-plugin-adonis": "^3.0.3",
5959
"eslint-plugin-prettier": "^4.2.1",
@@ -62,23 +62,23 @@
6262
"husky": "^8.0.3",
6363
"joi": "^17.9.1",
6464
"kleur": "^4.1.5",
65-
"np": "^7.6.4",
65+
"np": "^7.7.0",
6666
"prettier": "^2.8.7",
6767
"ts-node": "^10.9.1",
68-
"typescript": "^5.0.2",
68+
"typescript": "^5.0.4",
6969
"zod": "^3.21.4"
7070
},
7171
"dependencies": {
7272
"@poppinss/utils": "^6.5.0-2",
73-
"@types/luxon": "^3.2.0",
74-
"@types/validator": "^13.7.14",
73+
"@types/luxon": "^3.3.0",
74+
"@types/validator": "^13.7.15",
7575
"luxon": "^3.3.0",
7676
"normalize-url": "^8.0.0",
7777
"tmp-cache": "^1.1.0",
7878
"validator": "^13.9.0"
7979
},
8080
"peerDependencies": {
81-
"@adonisjs/bodyparser": "^9.3.2-4"
81+
"@adonisjs/bodyparser": "^9.3.2-5"
8282
},
8383
"keywords": [
8484
"validator",

tests/validations/after_or_equal.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,14 +493,14 @@ test.group('Date | After Or Equal | Ref', () => {
493493

494494
test('work fine when date is after or equal to the defined ref', ({ assert }) => {
495495
const reporter = new ApiErrorReporter(new MessagesBag({}), false)
496-
const afterDate = DateTime.local().plus({ days: 11 }).toISODate()
496+
const afterDate = DateTime.local().plus({ days: 11 }).toISODate()!
497497

498498
/*
499499
Using toISO because toISODate will not include hours, minutes, seconds, ...
500500
So if later when it get converted to datetime again, the test will fail
501501
because `publishedAtSameDate` would then have 0 in hours, minutes, seconds, ... but datetime in ref is not.
502502
*/
503-
const sameDate = DateTime.local().plus({ days: 10 }).plus({ hour: 1 }).toISO()
503+
const sameDate = DateTime.local().plus({ days: 10 }).plus({ hour: 1 }).toISO()!
504504

505505
const validator = {
506506
errorReporter: reporter,

0 commit comments

Comments
 (0)