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

@instructure/ui-utils

Package Overview
Dependencies
Maintainers
29
Versions
2023
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/ui-utils - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

12

es/dom/focusManager.js

@@ -28,8 +28,8 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

*/
import findDOMNode from '@instructure/ui-utils/lib/dom/findDOMNode';
import ownerDocument from '@instructure/ui-utils/lib/dom/ownerDocument';
import ownerWindow from '@instructure/ui-utils/lib/dom/ownerWindow';
import getActiveElement from '@instructure/ui-utils/lib/dom/getActiveElement';
import addEventListener from '@instructure/ui-utils/lib/dom/addEventListener';
import containsActiveElement from '@instructure/ui-utils/lib/dom/containsActiveElement';
import findDOMNode from '../dom/findDOMNode';
import ownerDocument from '../dom/ownerDocument';
import ownerWindow from '../dom/ownerWindow';
import getActiveElement from '../dom/getActiveElement';
import addEventListener from '../dom/addEventListener';
import containsActiveElement from '../dom/containsActiveElement';

@@ -36,0 +36,0 @@ import { changedPackageWarning } from '../react/deprecated';

@@ -39,7 +39,7 @@ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();

import addResizeListener from '@instructure/ui-utils/lib/dom/addResizeListener';
import debounce from '@instructure/ui-utils/lib/debounce';
import { warnDeprecatedComponent } from '@instructure/ui-utils/lib/react/deprecated';
import findDOMNode from '@instructure/ui-utils/lib/dom/findDOMNode';
import getDisplayName from '@instructure/ui-utils/lib/react/getDisplayName';
import addResizeListener from '../dom/addResizeListener';
import debounce from '../debounce';
import { warnDeprecatedComponent } from '../react/deprecated';
import findDOMNode from '../dom/findDOMNode';
import getDisplayName from '../react/getDisplayName';

@@ -46,0 +46,0 @@ import parseQuery from '../../../ui-layout/lib/utils/parseQuery';

@@ -32,23 +32,23 @@ 'use strict';

var _findDOMNode = require('@instructure/ui-utils/lib/dom/findDOMNode');
var _findDOMNode = require('../dom/findDOMNode');
var _findDOMNode2 = _interopRequireDefault(_findDOMNode);
var _ownerDocument = require('@instructure/ui-utils/lib/dom/ownerDocument');
var _ownerDocument = require('../dom/ownerDocument');
var _ownerDocument2 = _interopRequireDefault(_ownerDocument);
var _ownerWindow = require('@instructure/ui-utils/lib/dom/ownerWindow');
var _ownerWindow = require('../dom/ownerWindow');
var _ownerWindow2 = _interopRequireDefault(_ownerWindow);
var _getActiveElement = require('@instructure/ui-utils/lib/dom/getActiveElement');
var _getActiveElement = require('../dom/getActiveElement');
var _getActiveElement2 = _interopRequireDefault(_getActiveElement);
var _addEventListener = require('@instructure/ui-utils/lib/dom/addEventListener');
var _addEventListener = require('../dom/addEventListener');
var _addEventListener2 = _interopRequireDefault(_addEventListener);
var _containsActiveElement = require('@instructure/ui-utils/lib/dom/containsActiveElement');
var _containsActiveElement = require('../dom/containsActiveElement');

@@ -55,0 +55,0 @@ var _containsActiveElement2 = _interopRequireDefault(_containsActiveElement);

@@ -19,17 +19,17 @@ 'use strict';

var _addResizeListener = require('@instructure/ui-utils/lib/dom/addResizeListener');
var _addResizeListener = require('../dom/addResizeListener');
var _addResizeListener2 = _interopRequireDefault(_addResizeListener);
var _debounce = require('@instructure/ui-utils/lib/debounce');
var _debounce = require('../debounce');
var _debounce2 = _interopRequireDefault(_debounce);
var _deprecated = require('@instructure/ui-utils/lib/react/deprecated');
var _deprecated = require('../react/deprecated');
var _findDOMNode = require('@instructure/ui-utils/lib/dom/findDOMNode');
var _findDOMNode = require('../dom/findDOMNode');
var _findDOMNode2 = _interopRequireDefault(_findDOMNode);
var _getDisplayName = require('@instructure/ui-utils/lib/react/getDisplayName');
var _getDisplayName = require('../react/getDisplayName');

@@ -36,0 +36,0 @@ var _getDisplayName2 = _interopRequireDefault(_getDisplayName);

{
"name": "@instructure/ui-utils",
"version": "5.0.0",
"version": "5.0.1",
"description": "A collection of utilities for UI components",

@@ -25,3 +25,3 @@ "author": "Instructure, Inc. Engineering and Product Design",

"devDependencies": {
"@instructure/ui-presets": "^5.0.0",
"@instructure/ui-presets": "^5.0.1",
"react": "15.6.2",

@@ -28,0 +28,0 @@ "react-dom": "15.6.2"

@@ -24,8 +24,8 @@ /*

*/
import findDOMNode from '@instructure/ui-utils/lib/dom/findDOMNode'
import ownerDocument from '@instructure/ui-utils/lib/dom/ownerDocument'
import ownerWindow from '@instructure/ui-utils/lib/dom/ownerWindow'
import getActiveElement from '@instructure/ui-utils/lib/dom/getActiveElement'
import addEventListener from '@instructure/ui-utils/lib/dom/addEventListener'
import containsActiveElement from '@instructure/ui-utils/lib/dom/containsActiveElement'
import findDOMNode from '../dom/findDOMNode'
import ownerDocument from '../dom/ownerDocument'
import ownerWindow from '../dom/ownerWindow'
import getActiveElement from '../dom/getActiveElement'
import addEventListener from '../dom/addEventListener'
import containsActiveElement from '../dom/containsActiveElement'

@@ -32,0 +32,0 @@ import { changedPackageWarning } from '../react/deprecated'

@@ -27,7 +27,7 @@ /*

import addResizeListener from '@instructure/ui-utils/lib/dom/addResizeListener'
import debounce from '@instructure/ui-utils/lib/debounce'
import { warnDeprecatedComponent } from '@instructure/ui-utils/lib/react/deprecated'
import findDOMNode from '@instructure/ui-utils/lib/dom/findDOMNode'
import getDisplayName from '@instructure/ui-utils/lib/react/getDisplayName'
import addResizeListener from '../dom/addResizeListener'
import debounce from '../debounce'
import { warnDeprecatedComponent } from '../react/deprecated'
import findDOMNode from '../dom/findDOMNode'
import getDisplayName from '../react/getDisplayName'

@@ -34,0 +34,0 @@ import parseQuery from '../../../ui-layout/lib/utils/parseQuery'

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