@ndla/util
Advanced tools
Comparing version 5.0.3-alpha.0 to 5.0.4-alpha.0
@@ -26,2 +26,3 @@ /** | ||
export { polymorphicForwardRef } from "./polymorphicForwardRef"; | ||
export { contains } from "./contains"; | ||
export { contains } from "./contains"; | ||
export { humanFileSize } from "./humanFileSize"; |
@@ -26,2 +26,3 @@ /** | ||
export { contains } from "./contains"; | ||
export { humanFileSize } from "./humanFileSize"; | ||
export type { PolymorphicProps } from "./polymorphicForwardRef"; |
@@ -60,2 +60,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "humanFileSize", { | ||
enumerable: true, | ||
get: function () { | ||
return _humanFileSize.humanFileSize; | ||
} | ||
}); | ||
Object.defineProperty(exports, "isFunction", { | ||
@@ -157,4 +163,5 @@ enumerable: true, | ||
var _contains = require("./contains"); | ||
var _humanFileSize = require("./humanFileSize"); | ||
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } |
@@ -9,3 +9,3 @@ /** | ||
import { type ForwardedRef } from "react"; | ||
declare const useForwardedRef: <T>(ref?: ForwardedRef<T>) => import("react").MutableRefObject<T | null>; | ||
declare const useForwardedRef: <T>(ref?: ForwardedRef<T>) => import("react").RefObject<T | null>; | ||
export default useForwardedRef; |
{ | ||
"name": "@ndla/util", | ||
"version": "5.0.3-alpha.0", | ||
"version": "5.0.4-alpha.0", | ||
"description": "Collection of util functions used by NDLA", | ||
@@ -35,3 +35,3 @@ "license": "GPL-3.0", | ||
}, | ||
"gitHead": "fae121b0e1c9b7e12e46b4e9a90e2334389f30fa" | ||
"gitHead": "e1109fda9f34b6ab504a45ce844b2f7fbfa374a9" | ||
} |
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
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
89597
63
1586