Comparing version 5.39.1 to 5.39.2
import type * as React from 'react'; | ||
import { ReactNode } from 'react'; | ||
export declare function fillRef<T>(ref: React.Ref<T>, node: T): void; | ||
@@ -10,2 +9,2 @@ /** | ||
export declare function supportRef(nodeOrComponent: any): boolean; | ||
export declare function supportNodeRef(node: ReactNode): boolean; | ||
export declare function supportNodeRef<T = any>(node: React.ReactNode): node is React.ReactElement & React.RefAttributes<T>; |
import type * as React from 'react'; | ||
import { ReactNode } from 'react'; | ||
export declare function fillRef<T>(ref: React.Ref<T>, node: T): void; | ||
@@ -10,2 +9,2 @@ /** | ||
export declare function supportRef(nodeOrComponent: any): boolean; | ||
export declare function supportNodeRef(node: ReactNode): boolean; | ||
export declare function supportNodeRef<T = any>(node: React.ReactNode): node is React.ReactElement & React.RefAttributes<T>; |
{ | ||
"name": "rc-util", | ||
"version": "5.39.1", | ||
"version": "5.39.2", | ||
"description": "Common Utils For React Component", | ||
@@ -46,6 +46,7 @@ "keywords": [ | ||
"@rc-component/father-plugin": "1.0.0", | ||
"@testing-library/react": "^14.1.2", | ||
"@testing-library/react": "^15.0.4", | ||
"@types/jest": "^29.4.0", | ||
"@types/react": "^18.0.0", | ||
"@types/react-dom": "^18.0.0", | ||
"@types/react-is": "^18.3.0", | ||
"@types/responselike": "^1.0.0", | ||
@@ -58,4 +59,4 @@ "@types/warning": "^3.0.0", | ||
"eslint": "^8.54.0", | ||
"eslint-plugin-jest": "^27.6.0", | ||
"eslint-plugin-unicorn": "^50.0.1", | ||
"eslint-plugin-jest": "^28.2.0", | ||
"eslint-plugin-unicorn": "^52.0.0", | ||
"father": "^4.1.3", | ||
@@ -65,3 +66,3 @@ "glob": "^9.2.1", | ||
"lint-staged": "^15.1.0", | ||
"np": "^9.0.0", | ||
"np": "^10.0.2", | ||
"rc-test": "^7.0.14", | ||
@@ -68,0 +69,0 @@ "react": "^18.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
232914
24
2
80
7108