@radix-ui/react-compose-refs
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -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
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
0
8158
19
+ Added@babel/runtime@^7.13.10
+ Added@babel/runtime@7.26.0(transitive)
- Removed@babel/runtime-corejs3@^7.13.10
- Removed@babel/runtime-corejs3@7.26.0(transitive)
- Removedcore-js-pure@3.39.0(transitive)