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.14 to 3.1.15

1

es/createUniversalPortal.js

@@ -11,3 +11,2 @@ /**

import React from 'react';
import ReactDOM from 'react-dom';

@@ -14,0 +13,0 @@ import { jsx as _jsx } from "@emotion/react/jsx-runtime";

2

es/nossr/NoSSR.js

@@ -14,3 +14,3 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }

*/
import React, { useEffect, useState } from 'react';
import { useEffect, useState } from 'react';
import { Fragment as _Fragment } from "@emotion/react/jsx-runtime";

@@ -17,0 +17,0 @@ import { jsx as _jsx } from "@emotion/react/jsx-runtime";

@@ -15,3 +15,2 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }

import React from 'react';
import NoSSR from './NoSSR';

@@ -18,0 +17,0 @@

@@ -7,3 +7,2 @@ "use strict";

exports.createUniversalPortal = createUniversalPortal;
var _react = _interopRequireDefault(require("react"));
var _reactDom = _interopRequireDefault(require("react-dom"));

@@ -10,0 +9,0 @@ var _jsxRuntime = require("@emotion/react/jsx-runtime");

"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
Object.defineProperty(exports, "__esModule", {

@@ -8,6 +7,4 @@ value: true

exports.default = void 0;
var _react = _interopRequireWildcard(require("react"));
var _react = require("react");
var _jsxRuntime = require("@emotion/react/jsx-runtime");
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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }

@@ -14,0 +11,0 @@ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }

@@ -7,3 +7,2 @@ "use strict";

exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _NoSSR = _interopRequireDefault(require("./NoSSR"));

@@ -10,0 +9,0 @@ var _jsxRuntime = require("@emotion/react/jsx-runtime");

{
"name": "@ndla/util",
"version": "3.1.14",
"version": "3.1.15",
"description": "Collection of util functions used by NDLA",

@@ -40,3 +40,3 @@ "license": "GPL-3.0",

},
"gitHead": "01511e002ccec48113b64d59fa4af86f39f25521"
"gitHead": "6f18d70d6d1cc3e21697da608ab1f136a1fd53aa"
}
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