@hookform/devtools
Advanced tools
Comparing version 4.1.1 to 4.1.2-beta.0
import { Control, FieldValues } from 'react-hook-form'; | ||
import type { PLACEMENT } from './position'; | ||
export declare const DevTool: <T extends FieldValues>(props?: { | ||
control?: Control<T, object> | undefined; | ||
control?: Control<T, any> | undefined; | ||
placement?: PLACEMENT | undefined; | ||
} | undefined) => JSX.Element; | ||
} | undefined) => JSX.Element | null; | ||
export type { PLACEMENT }; |
@@ -0,7 +1,9 @@ | ||
import * as React from 'react'; | ||
import { Control } from 'react-hook-form'; | ||
import { PLACEMENT } from './position'; | ||
export declare type Props = { | ||
interface DevtoolUIProps { | ||
control: Control<any>; | ||
placement?: PLACEMENT; | ||
}; | ||
export declare const DevToolUI: ({ control, placement }: Props) => JSX.Element; | ||
} | ||
export declare const DevToolUI: React.FC<DevtoolUIProps>; | ||
export {}; |
{ | ||
"name": "@hookform/devtools", | ||
"version": "4.1.1", | ||
"version": "4.1.2-beta.0", | ||
"description": "React Hook Form dev tool to help debugging forms", | ||
@@ -66,3 +66,5 @@ "main": "dist/index.js", | ||
"lodash": "^4.17.21", | ||
"react-simple-animate": "^3.3.12" | ||
"nanoid": "^4.0.0", | ||
"react-simple-animate": "^3.3.12", | ||
"use-deep-compare-effect": "^1.8.1" | ||
}, | ||
@@ -99,3 +101,3 @@ "devDependencies": { | ||
"react-dom": "^17.0.2", | ||
"react-hook-form": "7.13.0", | ||
"react-hook-form": "^7.33.1", | ||
"rimraf": "^3.0.2", | ||
@@ -112,4 +114,3 @@ "rollup": "^2.45.2", | ||
"react": ">=17.0.2", | ||
"react-dom": ">=17.0.2", | ||
"react-hook-form": "^7.33.1" | ||
"react-dom": ">=17.0.2" | ||
}, | ||
@@ -116,0 +117,0 @@ "husky": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2679845
28
25122
10
1
3
+ Addednanoid@^4.0.0
+ Addeddequal@2.0.3(transitive)
+ Addednanoid@4.0.2(transitive)
+ Addedpicocolors@1.0.0(transitive)
+ Addeduse-deep-compare-effect@1.8.1(transitive)
- Removedpicocolors@1.0.1(transitive)
- Removedreact-hook-form@7.51.4(transitive)