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

@ndla/util

Package Overview
Dependencies
Maintainers
9
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 3.1.15 to 3.2.0

es/usePrevious.js

3

es/index.js

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