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

@radix-ui/react-compose-refs

Package Overview
Dependencies
Maintainers
5
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radix-ui/react-compose-refs - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

dist/index.js

@@ -1,2 +0,2 @@

function e(e,n,o){Object.defineProperty(e,n,{get:o,enumerable:!0})}var n=require("react").useCallback,o={};function r(...e){return n=>e.forEach((e=>function(e,n){"function"==typeof e?e(n):null!=e&&(e.current=n)}(e,n)))}function t(...e){return n(r(...e),e)}exports.composeRefs=r,exports.useComposedRefs=t,e(o,"useComposedRefs",(function(){return t})),e(o,"composeRefs",(function(){return r}));
var e,n,r=(e={},n=require("react"),Object.keys(n).forEach((function(r){"default"!==r&&"__esModule"!==r&&Object.defineProperty(e,r,{enumerable:!0,get:function(){return n[r]}})})),e);function t(...e){return n=>e.forEach((e=>function(e,n){"function"==typeof e?e(n):null!=e&&(e.current=n)}(e,n)))}exports.composeRefs=t,exports.useComposedRefs=function(...e){return r.useCallback(t(...e),e)};
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

function e(e,n,r){Object.defineProperty(e,n,{get:r,enumerable:!0})}import{useCallback as n}from"react";var r={};function t(...e){return n=>e.forEach((e=>function(e,n){"function"==typeof e?e(n):null!=e&&(e.current=n)}(e,n)))}export{t as composeRefs};function o(...e){return n(t(...e),e)}export{o as useComposedRefs};e(r,"useComposedRefs",(function(){return o})),e(r,"composeRefs",(function(){return t}));
import*as o from"react";export function composeRefs(...o){return e=>o.forEach((o=>function(o,e){"function"==typeof o?o(e):null!=o&&(o.current=e)}(o,e)))}export function useComposedRefs(...e){return o.useCallback(composeRefs(...e),e)}
//# sourceMappingURL=index.module.js.map
{
"name": "@radix-ui/react-compose-refs",
"version": "0.0.3",
"version": "0.0.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "source": "src/index.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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