Skip to content

Commit

Permalink
refactor: upgrade @vinejs/vine@2
Browse files Browse the repository at this point in the history
  • Loading branch information
Harminder Virk authored and Harminder Virk committed Apr 15, 2024
1 parent 94f894c commit a986b0c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions package.json
Expand Up @@ -85,36 +85,36 @@
"@adonisjs/tsconfig": "^1.3.0",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@japa/assert": "^2.1.0",
"@japa/expect-type": "^2.0.1",
"@japa/file-system": "^2.2.0",
"@japa/assert": "^3.0.0",
"@japa/expect-type": "^2.0.2",
"@japa/file-system": "^2.3.0",
"@japa/runner": "^3.1.2",
"@swc/core": "^1.4.11",
"@types/node": "^20.12.2",
"@swc/core": "^1.4.13",
"@types/node": "^20.12.7",
"@types/pretty-hrtime": "^1.0.3",
"@types/sinon": "^17.0.3",
"@types/supertest": "^6.0.2",
"@types/test-console": "^2.0.3",
"@vinejs/vine": "^1.7.0",
"@vinejs/vine": "^2.0.0",
"argon2": "^0.40.1",
"bcrypt": "^5.1.1",
"c8": "^9.1.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"del-cli": "^5.1.0",
"edge.js": "^6.0.2",
"eslint": "^8.57.0",
"eslint": "^9.0.0",
"execa": "^8.0.1",
"get-port": "^7.1.0",
"github-label-sync": "^2.3.1",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"release-it": "^17.1.1",
"release-it": "^17.2.0",
"sinon": "^17.0.1",
"supertest": "^6.3.4",
"test-console": "^2.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.3"
"typescript": "^5.4.5"
},
"dependencies": {
"@adonisjs/ace": "^13.0.0",
Expand All @@ -124,7 +124,7 @@
"@adonisjs/encryption": "^6.0.1",
"@adonisjs/env": "^6.0.0",
"@adonisjs/events": "^9.0.1",
"@adonisjs/fold": "^10.0.1",
"@adonisjs/fold": "^10.1.0",
"@adonisjs/hash": "^9.0.2",
"@adonisjs/http-server": "^7.2.0",
"@adonisjs/logger": "^6.0.2",
Expand All @@ -144,7 +144,7 @@
},
"peerDependencies": {
"@adonisjs/assembler": "^7.1.0",
"@vinejs/vine": "^1.7.0",
"@vinejs/vine": "^2.0.0",
"argon2": "^0.31.2 || ^0.40.0",
"bcrypt": "^5.1.1",
"edge.js": "^6.0.1"
Expand Down
2 changes: 1 addition & 1 deletion providers/vinejs_provider.ts
Expand Up @@ -94,7 +94,7 @@ const isMultipartFile = vine.createRule<FileRuleValidationOptions>((file, option
* Represents a multipart file uploaded via multipart/form-data HTTP
* request.
*/
class VineMultipartFile extends BaseLiteralType<MultipartFile, MultipartFile> {
class VineMultipartFile extends BaseLiteralType<MultipartFile, MultipartFile, MultipartFile> {
#validationOptions?: FileRuleValidationOptions

constructor(
Expand Down

0 comments on commit a986b0c

Please sign in to comment.