@twilio-labs/match-hooks
Advanced tools
Comparing version 1.0.0-alpha.8 to 1.0.0-alpha.9
@@ -1,1 +0,1 @@ | ||
import*as r from"react";function t(...t){return r.useCallback((r=>{t.map((t=>{"function"==typeof t?t(r):t&&!Object.isFrozen(t)&&(t.current=r)}))}),[t])}export{t as useMergedRefs}; | ||
"use strict";function e(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(require("react"));exports.useMergedRefs=function(...e){return r.useCallback((r=>{e.map((e=>{"function"==typeof e?e(r):e&&!Object.isFrozen(e)&&(e.current=r)}))}),[e])}; |
{ | ||
"name": "@twilio-labs/match-hooks", | ||
"version": "1.0.0-alpha.8", | ||
"version": "1.0.0-alpha.9", | ||
"description": "Twilio Match Design System React Hooks", | ||
@@ -8,3 +8,2 @@ "author": "Twilio Inc.", | ||
"main": "dist/index.js", | ||
"type": "module", | ||
"files": [ | ||
@@ -20,2 +19,3 @@ "dist" | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
@@ -47,3 +47,4 @@ "access": "public" | ||
}, | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts" | ||
} |
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
2728
7
7
3
No