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

@ndla/util

Package Overview
Dependencies
Maintainers
8
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 4.0.0 to 4.0.1

es/composeRefs.js

4

es/index.js

@@ -24,2 +24,4 @@ /**

export { default as withNoSSR } from './nossr/withNoSSR';
export { default as usePrevious } from './usePrevious';
export { default as usePrevious } from './usePrevious';
export { composeRefs } from './composeRefs';
export { polymorphicForwardRef } from './polymorphicForwardRef';

@@ -24,1 +24,4 @@ /**

export { default as usePrevious } from './usePrevious';
export { composeRefs } from './composeRefs';
export { polymorphicForwardRef } from './polymorphicForwardRef';
export type { PolymorphicProps } from './polymorphicForwardRef';

@@ -19,2 +19,8 @@ "use strict";

});
Object.defineProperty(exports, "composeRefs", {
enumerable: true,
get: function get() {
return _composeRefs.composeRefs;
}
});
Object.defineProperty(exports, "copyTextToClipboard", {

@@ -80,2 +86,8 @@ enumerable: true,

});
Object.defineProperty(exports, "polymorphicForwardRef", {
enumerable: true,
get: function get() {
return _polymorphicForwardRef.polymorphicForwardRef;
}
});
Object.defineProperty(exports, "printPage", {

@@ -145,4 +157,6 @@ enumerable: true,

var _usePrevious = _interopRequireDefault(require("./usePrevious"));
var _composeRefs = require("./composeRefs");
var _polymorphicForwardRef = require("./polymorphicForwardRef");
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
{
"name": "@ndla/util",
"version": "4.0.0",
"version": "4.0.1",
"description": "Collection of util functions used by NDLA",

@@ -30,12 +30,8 @@ "license": "GPL-3.0",

"peerDependencies": {
"@emotion/react": "^11.10.4",
"react": ">= 16.8.0"
},
"dependencies": {
"html-react-parser": "^4.2.2"
},
"publishConfig": {
"access": "public"
},
"gitHead": "7b9ab5e858be896e97c8360f92b2385adceabf7a"
"gitHead": "bd8cacb31ca60fcb4a67120418ad88ca9dd4658d"
}
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