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

@ndla/util

Package Overview
Dependencies
Maintainers
0
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ndla/util - npm Package Compare versions

Comparing version 5.0.3-alpha.0 to 5.0.4-alpha.0

es/humanFileSize.js

3

es/index.js

@@ -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"
}
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