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.2 to 0.0.3

2

dist/index.js

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

function e(e,r,n){Object.defineProperty(e,r,{get:n,enumerable:!0})}var r,n=require("react").useCallback,t=(r=require("@babel/runtime-corejs3/core-js-stable/instance/for-each"))&&r.__esModule?r.default:r,o={};function u(e,r){"function"==typeof e?e(r):null!=e&&(e.current=r)}function c(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(e){return t(r).call(r,(function(r){return u(r,e)}))}}function f(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return n(c.apply(void 0,r),r)}exports.composeRefs=c,exports.useComposedRefs=f,e(o,"useComposedRefs",(function(){return f})),e(o,"composeRefs",(function(){return c}));
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}));
//# sourceMappingURL=index.js.map

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

function e(e,o,r){Object.defineProperty(e,o,{get:r,enumerable:!0})}import{useCallback as o}from"react";import r from"@babel/runtime-corejs3/core-js-stable/instance/for-each";var n={};function t(e,o){"function"==typeof e?e(o):null!=e&&(e.current=o)}export function composeRefs(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return function(e){return r(o).call(o,(function(o){return t(o,e)}))}}export function useComposedRefs(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return o(composeRefs.apply(void 0,r),r)}e(n,"useComposedRefs",(function(){return useComposedRefs})),e(n,"composeRefs",(function(){return composeRefs}));
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}));
//# sourceMappingURL=index.module.js.map
{
"name": "@radix-ui/react-compose-refs",
"version": "0.0.2",
"version": "0.0.3",
"license": "MIT",

@@ -31,4 +31,4 @@ "source": "src/index.ts",

"dependencies": {
"@babel/runtime-corejs3": "^7.13.10"
"@babel/runtime": "^7.13.10"
}
}

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