@ndla/util
Advanced tools
Comparing version 3.1.15 to 3.2.0
@@ -24,2 +24,3 @@ /** | ||
export { default as NoSSR } from './nossr/NoSSR'; | ||
export { default as withNoSSR } from './nossr/withNoSSR'; | ||
export { default as withNoSSR } from './nossr/withNoSSR'; | ||
export { default as usePrevious } from './usePrevious'; |
@@ -24,1 +24,2 @@ /** | ||
export { default as withNoSSR } from './nossr/withNoSSR'; | ||
export { default as usePrevious } from './usePrevious'; |
@@ -109,2 +109,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "usePrevious", { | ||
enumerable: true, | ||
get: function get() { | ||
return _usePrevious.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "uuid", { | ||
@@ -144,4 +150,5 @@ enumerable: true, | ||
var _withNoSSR = _interopRequireDefault(require("./nossr/withNoSSR")); | ||
var _usePrevious = _interopRequireDefault(require("./usePrevious")); | ||
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": "3.1.15", | ||
"version": "3.2.0", | ||
"description": "Collection of util functions used by NDLA", | ||
@@ -40,3 +40,3 @@ "license": "GPL-3.0", | ||
}, | ||
"gitHead": "6f18d70d6d1cc3e21697da608ab1f136a1fd53aa" | ||
"gitHead": "5acc97933b03a599d9ad83a4e3a6d305b573f83c" | ||
} |
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
104309
57
1489