Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@spark-ui/use-merge-refs

Package Overview
Dependencies
Maintainers
7
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spark-ui/use-merge-refs - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## [0.3.4](https://github.com/adevinta/spark/compare/@spark-ui/use-merge-refs@0.3.3...@spark-ui/use-merge-refs@0.3.4) (2023-06-01)
**Note:** Version bump only for package @spark-ui/use-merge-refs
## [0.3.3](https://github.com/adevinta/spark/compare/@spark-ui/use-merge-refs@0.3.2...@spark-ui/use-merge-refs@0.3.3) (2023-05-10)

@@ -8,0 +12,0 @@

6

dist/useMergeRefs.d.ts
import { LegacyRef, MutableRefObject, RefCallback } from 'react';
export type ReactRef<T> = RefCallback<T> | MutableRefObject<T> | LegacyRef<T>;
export declare function assignRef<T = any>(ref: ReactRef<T> | null | undefined, value: T): void;
export declare function mergeRefs<T = any>(...refs: (MutableRefObject<T> | LegacyRef<T> | null | undefined)[]): RefCallback<T>;
export declare function useMergeRefs<T = any>(...refs: (ReactRef<T> | null | undefined)[]): (instance: T | null) => void;
export declare function assignRef<T>(ref: ReactRef<T> | null | undefined, value: T): void;
export declare function mergeRefs<T>(...refs: (MutableRefObject<T> | LegacyRef<T> | null | undefined)[]): RefCallback<T>;
export declare function useMergeRefs<T>(...refs: (ReactRef<T> | null | undefined)[]): (instance: T | null) => void;
{
"name": "@spark-ui/use-merge-refs",
"version": "0.3.3",
"version": "0.3.4",
"description": "merge and sync the passed references into a single one",

@@ -28,3 +28,3 @@ "publishConfig": {

"license": "MIT",
"gitHead": "f83534112dc0eaf1fea3b747e5570fff39397b96"
"gitHead": "6c0c93a7fea372a3ac07244d50ba654dcc4107ed"
}
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