Socket
Socket
Sign inDemoInstall

rc-util

Package Overview
Dependencies
Maintainers
9
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-util - npm Package Compare versions

Comparing version 5.39.1 to 5.39.2

3

es/ref.d.ts
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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc