Skip to content

Commit

Permalink
fix(zodResolver): no exported member ParseParamsNoData (#264)
Browse files Browse the repository at this point in the history
* chore: update deps

* chore: update deps
  • Loading branch information
jorisre committed Nov 2, 2021
1 parent 72aa95c commit 14683e5
Show file tree
Hide file tree
Showing 6 changed files with 509 additions and 459 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ dist
.rpt2_cache
.coveralls.yml
package-lock.json
.history
4 changes: 2 additions & 2 deletions class-validator/src/__tests__/Form-native-validation.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { render, screen, act } from '@testing-library/react';
import user from '@testing-library/user-event';
import { useForm } from 'react-hook-form';
import { SubmitHandler, useForm } from 'react-hook-form';
import { classValidatorResolver } from '..';
import { IsNotEmpty } from 'class-validator';

Expand All @@ -14,7 +14,7 @@ class Schema {
}

interface Props {
onSubmit: (data: FormData) => void;
onSubmit: SubmitHandler<FormData>;
}

function TestComponent({ onSubmit }: Props) {
Expand Down
4 changes: 2 additions & 2 deletions class-validator/src/__tests__/Form.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { render, screen, act } from '@testing-library/react';
import user from '@testing-library/user-event';
import { useForm } from 'react-hook-form';
import { SubmitHandler, useForm } from 'react-hook-form';
import { classValidatorResolver } from '..';
import { IsNotEmpty } from 'class-validator';

Expand All @@ -14,7 +14,7 @@ class Schema {
}

interface Props {
onSubmit: (data: FormData) => void;
onSubmit: SubmitHandler<FormData>;
}

function TestComponent({ onSubmit }: Props) {
Expand Down
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,43 +164,43 @@
},
"homepage": "https://react-hook-form.com",
"devDependencies": {
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.2.1",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.0.2",
"@types/react": "^17.0.27",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@types/react": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"check-export-map": "^1.1.1",
"class-transformer": "^0.4.0",
"class-validator": "^0.13.1",
"computed-types": "^1.7.0",
"computed-types": "^1.11.1",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"fp-ts": "^2.11.1",
"husky": "^7.0.1",
"fp-ts": "^2.11.5",
"husky": "^7.0.4",
"io-ts": "^2.0.0",
"io-ts-types": "^0.5.16",
"jest": "^27.2.4",
"jest": "^27.3.1",
"joi": "^17.4.2",
"lint-staged": "^11.2.0",
"microbundle": "^0.14.0",
"lint-staged": "^11.2.6",
"microbundle": "^0.14.1",
"monocle-ts": "^2.3.10",
"newtype-ts": "^0.3.4",
"nope-validator": "^1.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hook-form": "7.17.1",
"react-hook-form": "7.18.1",
"reflect-metadata": "^0.1.13",
"superstruct": "^0.15.2",
"ts-jest": "^27.0.4",
"typanion": "^3.3.2",
"typescript": "^4.4.3",
"vest": "^3.2.5",
"yup": "^0.32.9",
"zod": "^3.9.8"
"superstruct": "^0.15.3",
"ts-jest": "^27.0.7",
"typanion": "^3.7.1",
"typescript": "^4.4.4",
"vest": "^3.2.7",
"yup": "^0.32.11",
"zod": "^3.11.6"
},
"peerDependencies": {
"react-hook-form": "^7.0.0"
Expand Down
Loading

0 comments on commit 14683e5

Please sign in to comment.