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

dom-lib

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-lib - npm Package Compare versions

Comparing version 3.2.0 to 3.3.0

cjs/PointerMoveTracker.d.ts

2

cjs/addClass.js

@@ -8,3 +8,3 @@ "use strict";

var _hasClass = _interopRequireDefault(require("./hasClass"));
var _hasClass = _interopRequireDefault(require("./hasClass.js"));

@@ -11,0 +11,0 @@ /**

@@ -8,5 +8,5 @@ "use strict";

var _hyphenateStyleName = _interopRequireDefault(require("./utils/hyphenateStyleName"));
var _hyphenateStyleName = _interopRequireDefault(require("./utils/hyphenateStyleName.js"));
var _removeStyle = _interopRequireDefault(require("./removeStyle"));
var _removeStyle = _interopRequireDefault(require("./removeStyle.js"));

@@ -13,0 +13,0 @@ function addStyle(node, property, value) {

@@ -8,3 +8,3 @@ "use strict";

var _getGlobal = _interopRequireDefault(require("./utils/getGlobal"));
var _getGlobal = _interopRequireDefault(require("./utils/getGlobal.js"));

@@ -11,0 +11,0 @@ var g = (0, _getGlobal["default"])();

@@ -8,3 +8,3 @@ "use strict";

var _canUseDOM = _interopRequireDefault(require("./canUseDOM"));
var _canUseDOM = _interopRequireDefault(require("./canUseDOM.js"));

@@ -11,0 +11,0 @@ var fallback = function fallback(context, node) {

@@ -8,7 +8,7 @@ "use strict";

var _on = _interopRequireDefault(require("./on"));
var _on = _interopRequireDefault(require("./on.js"));
var _cancelAnimationFramePolyfill = _interopRequireDefault(require("./cancelAnimationFramePolyfill"));
var _cancelAnimationFramePolyfill = _interopRequireDefault(require("./cancelAnimationFramePolyfill.js"));
var _requestAnimationFramePolyfill = _interopRequireDefault(require("./requestAnimationFramePolyfill"));
var _requestAnimationFramePolyfill = _interopRequireDefault(require("./requestAnimationFramePolyfill.js"));

@@ -15,0 +15,0 @@ /**

@@ -8,3 +8,3 @@ "use strict";

var _canUseDOM = _interopRequireDefault(require("./canUseDOM"));
var _canUseDOM = _interopRequireDefault(require("./canUseDOM.js"));

@@ -11,0 +11,0 @@ var vendorMap = {

@@ -8,5 +8,5 @@ "use strict";

var _getWindow = _interopRequireDefault(require("./getWindow"));
var _getWindow = _interopRequireDefault(require("./getWindow.js"));
var _getOffset = _interopRequireDefault(require("./getOffset"));
var _getOffset = _interopRequireDefault(require("./getOffset.js"));

@@ -13,0 +13,0 @@ /**

@@ -8,7 +8,7 @@ "use strict";

var _ownerDocument = _interopRequireDefault(require("./ownerDocument"));
var _ownerDocument = _interopRequireDefault(require("./ownerDocument.js"));
var _getWindow = _interopRequireDefault(require("./getWindow"));
var _getWindow = _interopRequireDefault(require("./getWindow.js"));
var _contains = _interopRequireDefault(require("./contains"));
var _contains = _interopRequireDefault(require("./contains.js"));

@@ -15,0 +15,0 @@ /**

@@ -8,7 +8,7 @@ "use strict";

var _ownerDocument = _interopRequireDefault(require("./ownerDocument"));
var _ownerDocument = _interopRequireDefault(require("./ownerDocument.js"));
var _nodeName = _interopRequireDefault(require("./nodeName"));
var _nodeName = _interopRequireDefault(require("./nodeName.js"));
var _getStyle = _interopRequireDefault(require("./getStyle"));
var _getStyle = _interopRequireDefault(require("./getStyle.js"));

@@ -15,0 +15,0 @@ /**

@@ -10,13 +10,13 @@ "use strict";

var _getOffsetParent = _interopRequireDefault(require("./getOffsetParent"));
var _getOffsetParent = _interopRequireDefault(require("./getOffsetParent.js"));
var _getOffset = _interopRequireDefault(require("./getOffset"));
var _getOffset = _interopRequireDefault(require("./getOffset.js"));
var _getStyle = _interopRequireDefault(require("./getStyle"));
var _getStyle = _interopRequireDefault(require("./getStyle.js"));
var _scrollTop = _interopRequireDefault(require("./scrollTop"));
var _scrollTop = _interopRequireDefault(require("./scrollTop.js"));
var _scrollLeft = _interopRequireDefault(require("./scrollLeft"));
var _scrollLeft = _interopRequireDefault(require("./scrollLeft.js"));
var _nodeName = _interopRequireDefault(require("./nodeName"));
var _nodeName = _interopRequireDefault(require("./nodeName.js"));

@@ -23,0 +23,0 @@ /**

@@ -8,3 +8,3 @@ "use strict";

var _canUseDOM = _interopRequireDefault(require("./canUseDOM"));
var _canUseDOM = _interopRequireDefault(require("./canUseDOM.js"));

@@ -11,0 +11,0 @@ var size;

@@ -8,7 +8,7 @@ "use strict";

var _camelizeStyleName = _interopRequireDefault(require("./utils/camelizeStyleName"));
var _camelizeStyleName = _interopRequireDefault(require("./utils/camelizeStyleName.js"));
var _getComputedStyle = _interopRequireDefault(require("./utils/getComputedStyle"));
var _getComputedStyle = _interopRequireDefault(require("./utils/getComputedStyle.js"));
var _hyphenateStyleName = _interopRequireDefault(require("./utils/hyphenateStyleName"));
var _hyphenateStyleName = _interopRequireDefault(require("./utils/hyphenateStyleName.js"));

@@ -15,0 +15,0 @@ /**

@@ -8,3 +8,3 @@ "use strict";

var _getTransitionProperties = _interopRequireDefault(require("./getTransitionProperties"));
var _getTransitionProperties = _interopRequireDefault(require("./getTransitionProperties.js"));

@@ -11,0 +11,0 @@ function getTransitionEnd() {

@@ -8,3 +8,3 @@ "use strict";

var _canUseDOM = _interopRequireDefault(require("./canUseDOM"));
var _canUseDOM = _interopRequireDefault(require("./canUseDOM.js"));

@@ -11,0 +11,0 @@ function getTransitionProperties() {

@@ -8,5 +8,5 @@ "use strict";

var _getWindow = _interopRequireDefault(require("./getWindow"));
var _getWindow = _interopRequireDefault(require("./getWindow.js"));
var _getOffset = _interopRequireDefault(require("./getOffset"));
var _getOffset = _interopRequireDefault(require("./getOffset.js"));

@@ -13,0 +13,0 @@ /**

@@ -6,2 +6,3 @@ /** events */

export { default as DOMMouseMoveTracker } from './DOMMouseMoveTracker';
export { default as PointerMoveTracker } from './PointerMoveTracker';
/** classNames */

@@ -8,0 +9,0 @@ export { default as addClass } from './addClass';

@@ -6,130 +6,134 @@ "use strict";

exports.__esModule = true;
exports.translateDOMPositionXY = exports.toggleClass = exports.scrollTop = exports.scrollLeft = exports.requestAnimationFramePolyfill = exports.removeStyle = exports.removeClass = exports.ownerWindow = exports.ownerDocument = exports.on = exports.off = exports.nodeName = exports.isOverflowing = exports.isFocusable = exports.hasClass = exports.getWindow = exports.getWidth = exports.getStyle = exports.getScrollbarSize = exports.getPosition = exports.getOffsetParent = exports.getOffset = exports.getHeight = exports.getContainer = exports.getAnimationEnd = exports.contains = exports.cancelAnimationFramePolyfill = exports.canUseDOM = exports.addStyle = exports.addClass = exports.WheelHandler = exports.DOMMouseMoveTracker = void 0;
exports.translateDOMPositionXY = exports.toggleClass = exports.scrollTop = exports.scrollLeft = exports.requestAnimationFramePolyfill = exports.removeStyle = exports.removeClass = exports.ownerWindow = exports.ownerDocument = exports.on = exports.off = exports.nodeName = exports.isOverflowing = exports.isFocusable = exports.hasClass = exports.getWindow = exports.getWidth = exports.getStyle = exports.getScrollbarSize = exports.getPosition = exports.getOffsetParent = exports.getOffset = exports.getHeight = exports.getContainer = exports.getAnimationEnd = exports.contains = exports.cancelAnimationFramePolyfill = exports.canUseDOM = exports.addStyle = exports.addClass = exports.WheelHandler = exports.PointerMoveTracker = exports.DOMMouseMoveTracker = void 0;
var _on = _interopRequireDefault(require("./on"));
var _on = _interopRequireDefault(require("./on.js"));
exports.on = _on["default"];
var _off = _interopRequireDefault(require("./off"));
var _off = _interopRequireDefault(require("./off.js"));
exports.off = _off["default"];
var _WheelHandler = _interopRequireDefault(require("./WheelHandler"));
var _WheelHandler = _interopRequireDefault(require("./WheelHandler.js"));
exports.WheelHandler = _WheelHandler["default"];
var _DOMMouseMoveTracker = _interopRequireDefault(require("./DOMMouseMoveTracker"));
var _DOMMouseMoveTracker = _interopRequireDefault(require("./DOMMouseMoveTracker.js"));
exports.DOMMouseMoveTracker = _DOMMouseMoveTracker["default"];
var _addClass = _interopRequireDefault(require("./addClass"));
var _PointerMoveTracker = _interopRequireDefault(require("./PointerMoveTracker.js"));
exports.PointerMoveTracker = _PointerMoveTracker["default"];
var _addClass = _interopRequireDefault(require("./addClass.js"));
exports.addClass = _addClass["default"];
var _removeClass = _interopRequireDefault(require("./removeClass"));
var _removeClass = _interopRequireDefault(require("./removeClass.js"));
exports.removeClass = _removeClass["default"];
var _hasClass = _interopRequireDefault(require("./hasClass"));
var _hasClass = _interopRequireDefault(require("./hasClass.js"));
exports.hasClass = _hasClass["default"];
var _toggleClass = _interopRequireDefault(require("./toggleClass"));
var _toggleClass = _interopRequireDefault(require("./toggleClass.js"));
exports.toggleClass = _toggleClass["default"];
var _cancelAnimationFramePolyfill = _interopRequireDefault(require("./cancelAnimationFramePolyfill"));
var _cancelAnimationFramePolyfill = _interopRequireDefault(require("./cancelAnimationFramePolyfill.js"));
exports.cancelAnimationFramePolyfill = _cancelAnimationFramePolyfill["default"];
var _requestAnimationFramePolyfill = _interopRequireDefault(require("./requestAnimationFramePolyfill"));
var _requestAnimationFramePolyfill = _interopRequireDefault(require("./requestAnimationFramePolyfill.js"));
exports.requestAnimationFramePolyfill = _requestAnimationFramePolyfill["default"];
var _getAnimationEnd = _interopRequireDefault(require("./getAnimationEnd"));
var _getAnimationEnd = _interopRequireDefault(require("./getAnimationEnd.js"));
exports.getAnimationEnd = _getAnimationEnd["default"];
var _ownerDocument = _interopRequireDefault(require("./ownerDocument"));
var _ownerDocument = _interopRequireDefault(require("./ownerDocument.js"));
exports.ownerDocument = _ownerDocument["default"];
var _ownerWindow = _interopRequireDefault(require("./ownerWindow"));
var _ownerWindow = _interopRequireDefault(require("./ownerWindow.js"));
exports.ownerWindow = _ownerWindow["default"];
var _getWindow = _interopRequireDefault(require("./getWindow"));
var _getWindow = _interopRequireDefault(require("./getWindow.js"));
exports.getWindow = _getWindow["default"];
var _getContainer = _interopRequireDefault(require("./getContainer"));
var _getContainer = _interopRequireDefault(require("./getContainer.js"));
exports.getContainer = _getContainer["default"];
var _canUseDOM = _interopRequireDefault(require("./canUseDOM"));
var _canUseDOM = _interopRequireDefault(require("./canUseDOM.js"));
exports.canUseDOM = _canUseDOM["default"];
var _contains = _interopRequireDefault(require("./contains"));
var _contains = _interopRequireDefault(require("./contains.js"));
exports.contains = _contains["default"];
var _scrollTop = _interopRequireDefault(require("./scrollTop"));
var _scrollTop = _interopRequireDefault(require("./scrollTop.js"));
exports.scrollTop = _scrollTop["default"];
var _scrollLeft = _interopRequireDefault(require("./scrollLeft"));
var _scrollLeft = _interopRequireDefault(require("./scrollLeft.js"));
exports.scrollLeft = _scrollLeft["default"];
var _getOffset = _interopRequireDefault(require("./getOffset"));
var _getOffset = _interopRequireDefault(require("./getOffset.js"));
exports.getOffset = _getOffset["default"];
var _nodeName = _interopRequireDefault(require("./nodeName"));
var _nodeName = _interopRequireDefault(require("./nodeName.js"));
exports.nodeName = _nodeName["default"];
var _getOffsetParent = _interopRequireDefault(require("./getOffsetParent"));
var _getOffsetParent = _interopRequireDefault(require("./getOffsetParent.js"));
exports.getOffsetParent = _getOffsetParent["default"];
var _getPosition = _interopRequireDefault(require("./getPosition"));
var _getPosition = _interopRequireDefault(require("./getPosition.js"));
exports.getPosition = _getPosition["default"];
var _isOverflowing = _interopRequireDefault(require("./isOverflowing"));
var _isOverflowing = _interopRequireDefault(require("./isOverflowing.js"));
exports.isOverflowing = _isOverflowing["default"];
var _getScrollbarSize = _interopRequireDefault(require("./getScrollbarSize"));
var _getScrollbarSize = _interopRequireDefault(require("./getScrollbarSize.js"));
exports.getScrollbarSize = _getScrollbarSize["default"];
var _getHeight = _interopRequireDefault(require("./getHeight"));
var _getHeight = _interopRequireDefault(require("./getHeight.js"));
exports.getHeight = _getHeight["default"];
var _getWidth = _interopRequireDefault(require("./getWidth"));
var _getWidth = _interopRequireDefault(require("./getWidth.js"));
exports.getWidth = _getWidth["default"];
var _isFocusable = _interopRequireDefault(require("./isFocusable"));
var _isFocusable = _interopRequireDefault(require("./isFocusable.js"));
exports.isFocusable = _isFocusable["default"];
var _getStyle = _interopRequireDefault(require("./getStyle"));
var _getStyle = _interopRequireDefault(require("./getStyle.js"));
exports.getStyle = _getStyle["default"];
var _removeStyle = _interopRequireDefault(require("./removeStyle"));
var _removeStyle = _interopRequireDefault(require("./removeStyle.js"));
exports.removeStyle = _removeStyle["default"];
var _addStyle = _interopRequireDefault(require("./addStyle"));
var _addStyle = _interopRequireDefault(require("./addStyle.js"));
exports.addStyle = _addStyle["default"];
var _translateDOMPositionXY = _interopRequireDefault(require("./translateDOMPositionXY"));
var _translateDOMPositionXY = _interopRequireDefault(require("./translateDOMPositionXY.js"));
exports.translateDOMPositionXY = _translateDOMPositionXY["default"];

@@ -8,5 +8,5 @@ "use strict";

var _getWindow = _interopRequireDefault(require("./getWindow"));
var _getWindow = _interopRequireDefault(require("./getWindow.js"));
var _ownerDocument = _interopRequireDefault(require("./ownerDocument"));
var _ownerDocument = _interopRequireDefault(require("./ownerDocument.js"));

@@ -13,0 +13,0 @@ function bodyIsOverflowing(node) {

@@ -8,3 +8,3 @@ "use strict";

var _ownerDocument = _interopRequireDefault(require("./ownerDocument"));
var _ownerDocument = _interopRequireDefault(require("./ownerDocument.js"));

@@ -11,0 +11,0 @@ /**

@@ -8,5 +8,5 @@ "use strict";

var _emptyFunction = _interopRequireDefault(require("./utils/emptyFunction"));
var _emptyFunction = _interopRequireDefault(require("./utils/emptyFunction.js"));
var _getGlobal = _interopRequireDefault(require("./utils/getGlobal"));
var _getGlobal = _interopRequireDefault(require("./utils/getGlobal.js"));

@@ -13,0 +13,0 @@ var g = (0, _getGlobal["default"])();

@@ -8,3 +8,3 @@ "use strict";

var _getWindow = _interopRequireDefault(require("./getWindow"));
var _getWindow = _interopRequireDefault(require("./getWindow.js"));

@@ -11,0 +11,0 @@ function scrollLeft(node, val) {

@@ -8,3 +8,3 @@ "use strict";

var _getWindow = _interopRequireDefault(require("./getWindow"));
var _getWindow = _interopRequireDefault(require("./getWindow.js"));

@@ -11,0 +11,0 @@ function scrollTop(node, val) {

@@ -8,7 +8,7 @@ "use strict";

var _hasClass = _interopRequireDefault(require("./hasClass"));
var _hasClass = _interopRequireDefault(require("./hasClass.js"));
var _addClass = _interopRequireDefault(require("./addClass"));
var _addClass = _interopRequireDefault(require("./addClass.js"));
var _removeClass = _interopRequireDefault(require("./removeClass"));
var _removeClass = _interopRequireDefault(require("./removeClass.js"));

@@ -15,0 +15,0 @@ /**

@@ -8,7 +8,7 @@ "use strict";

var _BrowserSupportCore = _interopRequireDefault(require("./utils/BrowserSupportCore"));
var _BrowserSupportCore = _interopRequireDefault(require("./utils/BrowserSupportCore.js"));
var _getVendorPrefixedName = _interopRequireDefault(require("./utils/getVendorPrefixedName"));
var _getVendorPrefixedName = _interopRequireDefault(require("./utils/getVendorPrefixedName.js"));
var _getGlobal = _interopRequireDefault(require("./utils/getGlobal"));
var _getGlobal = _interopRequireDefault(require("./utils/getGlobal.js"));

@@ -15,0 +15,0 @@ /**

@@ -8,3 +8,3 @@ "use strict";

var _getVendorPrefixedName = _interopRequireDefault(require("./getVendorPrefixedName"));
var _getVendorPrefixedName = _interopRequireDefault(require("./getVendorPrefixedName.js"));

@@ -11,0 +11,0 @@ var _default = {

@@ -6,3 +6,3 @@ "use strict";

var _stringFormatter = require("./stringFormatter");
var _stringFormatter = require("./stringFormatter.js");

@@ -9,0 +9,0 @@ var msPattern = /^-ms-/;

@@ -8,5 +8,5 @@ "use strict";

var _canUseDOM = _interopRequireDefault(require("../canUseDOM"));
var _canUseDOM = _interopRequireDefault(require("../canUseDOM.js"));
var _stringFormatter = require("./stringFormatter");
var _stringFormatter = require("./stringFormatter.js");

@@ -13,0 +13,0 @@ var memoized = {};

@@ -6,3 +6,3 @@ "use strict";

var _stringFormatter = require("./stringFormatter");
var _stringFormatter = require("./stringFormatter.js");

@@ -9,0 +9,0 @@ var msPattern = /^ms-/;

@@ -8,3 +8,3 @@ "use strict";

var _canUseDOM = _interopRequireDefault(require("../canUseDOM"));
var _canUseDOM = _interopRequireDefault(require("../canUseDOM.js"));

@@ -11,0 +11,0 @@ var useHasFeature;

@@ -8,5 +8,5 @@ "use strict";

var _UserAgent = _interopRequireDefault(require("./UserAgent"));
var _UserAgent = _interopRequireDefault(require("./UserAgent.js"));
var _isEventSupported = _interopRequireDefault(require("./isEventSupported"));
var _isEventSupported = _interopRequireDefault(require("./isEventSupported.js"));

@@ -13,0 +13,0 @@ // Reasonable defaults

@@ -8,7 +8,7 @@ "use strict";

var _emptyFunction = _interopRequireDefault(require("./utils/emptyFunction"));
var _emptyFunction = _interopRequireDefault(require("./utils/emptyFunction.js"));
var _normalizeWheel = _interopRequireDefault(require("./utils/normalizeWheel"));
var _normalizeWheel = _interopRequireDefault(require("./utils/normalizeWheel.js"));
var _requestAnimationFramePolyfill = _interopRequireDefault(require("./requestAnimationFramePolyfill"));
var _requestAnimationFramePolyfill = _interopRequireDefault(require("./requestAnimationFramePolyfill.js"));

@@ -15,0 +15,0 @@ var swapWheelAxis = function swapWheelAxis(normalizedEvent) {

@@ -1,2 +0,2 @@

import hasClass from './hasClass';
import hasClass from "./hasClass.js";
/**

@@ -3,0 +3,0 @@ * Adds specific class to a given element

@@ -1,3 +0,3 @@

import hyphenateStyleName from './utils/hyphenateStyleName';
import removeStyle from './removeStyle';
import hyphenateStyleName from "./utils/hyphenateStyleName.js";
import removeStyle from "./removeStyle.js";

@@ -4,0 +4,0 @@ function addStyle(node, property, value) {

@@ -1,2 +0,2 @@

import getGlobal from './utils/getGlobal';
import getGlobal from "./utils/getGlobal.js";
var g = getGlobal();

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import canUseDOM from './canUseDOM';
import canUseDOM from "./canUseDOM.js";

@@ -3,0 +3,0 @@ var fallback = function fallback(context, node) {

@@ -5,5 +5,5 @@ /**

*/
import on from './on';
import cancelAnimationFramePolyfill from './cancelAnimationFramePolyfill';
import requestAnimationFramePolyfill from './requestAnimationFramePolyfill';
import on from "./on.js";
import cancelAnimationFramePolyfill from "./cancelAnimationFramePolyfill.js";
import requestAnimationFramePolyfill from "./requestAnimationFramePolyfill.js";
/**

@@ -10,0 +10,0 @@ * Mouse drag tracker, get the coordinate value where the mouse moves in time.

@@ -1,2 +0,2 @@

import canUseDOM from './canUseDOM';
import canUseDOM from "./canUseDOM.js";
var vendorMap = {

@@ -3,0 +3,0 @@ animation: 'animationend',

@@ -1,3 +0,3 @@

import getWindow from './getWindow';
import getOffset from './getOffset';
import getWindow from "./getWindow.js";
import getOffset from "./getOffset.js";
/**

@@ -4,0 +4,0 @@ * Get the height of a DOM element

@@ -1,4 +0,4 @@

import ownerDocument from './ownerDocument';
import getWindow from './getWindow';
import contains from './contains';
import ownerDocument from "./ownerDocument.js";
import getWindow from "./getWindow.js";
import contains from "./contains.js";

@@ -5,0 +5,0 @@ /**

@@ -1,4 +0,4 @@

import ownerDocument from './ownerDocument';
import nodeName from './nodeName';
import getStyle from './getStyle';
import ownerDocument from "./ownerDocument.js";
import nodeName from "./nodeName.js";
import getStyle from "./getStyle.js";
/**

@@ -5,0 +5,0 @@ * Get the offset parent of a DOM element

import _extends from "@babel/runtime/helpers/esm/extends";
import getOffsetParent from './getOffsetParent';
import getOffset from './getOffset';
import getStyle from './getStyle';
import scrollTop from './scrollTop';
import scrollLeft from './scrollLeft';
import nodeName from './nodeName';
import getOffsetParent from "./getOffsetParent.js";
import getOffset from "./getOffset.js";
import getStyle from "./getStyle.js";
import scrollTop from "./scrollTop.js";
import scrollLeft from "./scrollLeft.js";
import nodeName from "./nodeName.js";
/**

@@ -9,0 +9,0 @@ * Get the position of a DOM element

@@ -1,2 +0,2 @@

import canUseDOM from './canUseDOM';
import canUseDOM from "./canUseDOM.js";
var size;

@@ -3,0 +3,0 @@ /**

@@ -1,4 +0,4 @@

import camelizeStyleName from './utils/camelizeStyleName';
import getComputedStyle from './utils/getComputedStyle';
import hyphenateStyleName from './utils/hyphenateStyleName';
import camelizeStyleName from "./utils/camelizeStyleName.js";
import getComputedStyle from "./utils/getComputedStyle.js";
import hyphenateStyleName from "./utils/hyphenateStyleName.js";
/**

@@ -5,0 +5,0 @@ * Gets the value for a style property

@@ -1,4 +0,4 @@

import getTransitionProperties from './getTransitionProperties';
import getTransitionProperties from "./getTransitionProperties.js";
export default function getTransitionEnd() {
return getTransitionProperties().end;
}

@@ -1,2 +0,2 @@

import canUseDOM from './canUseDOM';
import canUseDOM from "./canUseDOM.js";

@@ -3,0 +3,0 @@ function getTransitionProperties() {

@@ -1,3 +0,3 @@

import getWindow from './getWindow';
import getOffset from './getOffset';
import getWindow from "./getWindow.js";
import getOffset from "./getOffset.js";
/**

@@ -4,0 +4,0 @@ * Get the width of a DOM element

@@ -6,2 +6,3 @@ /** events */

export { default as DOMMouseMoveTracker } from './DOMMouseMoveTracker';
export { default as PointerMoveTracker } from './PointerMoveTracker';
/** classNames */

@@ -8,0 +9,0 @@ export { default as addClass } from './addClass';

/** events */
export { default as on } from './on';
export { default as off } from './off';
export { default as WheelHandler } from './WheelHandler';
export { default as DOMMouseMoveTracker } from './DOMMouseMoveTracker';
export { default as on } from "./on.js";
export { default as off } from "./off.js";
export { default as WheelHandler } from "./WheelHandler.js";
export { default as DOMMouseMoveTracker } from "./DOMMouseMoveTracker.js";
export { default as PointerMoveTracker } from "./PointerMoveTracker.js";
/** classNames */
export { default as addClass } from './addClass';
export { default as removeClass } from './removeClass';
export { default as hasClass } from './hasClass';
export { default as toggleClass } from './toggleClass';
export { default as addClass } from "./addClass.js";
export { default as removeClass } from "./removeClass.js";
export { default as hasClass } from "./hasClass.js";
export { default as toggleClass } from "./toggleClass.js";
/** animation */
export { default as cancelAnimationFramePolyfill } from './cancelAnimationFramePolyfill';
export { default as requestAnimationFramePolyfill } from './requestAnimationFramePolyfill';
export { default as getAnimationEnd } from './getAnimationEnd';
export { default as cancelAnimationFramePolyfill } from "./cancelAnimationFramePolyfill.js";
export { default as requestAnimationFramePolyfill } from "./requestAnimationFramePolyfill.js";
export { default as getAnimationEnd } from "./getAnimationEnd.js";
/** DOM query */
export { default as ownerDocument } from './ownerDocument';
export { default as ownerWindow } from './ownerWindow';
export { default as getWindow } from './getWindow';
export { default as getContainer } from './getContainer';
export { default as canUseDOM } from './canUseDOM';
export { default as contains } from './contains';
export { default as scrollTop } from './scrollTop';
export { default as scrollLeft } from './scrollLeft';
export { default as getOffset } from './getOffset';
export { default as nodeName } from './nodeName';
export { default as getOffsetParent } from './getOffsetParent';
export { default as getPosition } from './getPosition';
export { default as isOverflowing } from './isOverflowing';
export { default as getScrollbarSize } from './getScrollbarSize';
export { default as getHeight } from './getHeight';
export { default as getWidth } from './getWidth';
export { default as isFocusable } from './isFocusable';
export { default as ownerDocument } from "./ownerDocument.js";
export { default as ownerWindow } from "./ownerWindow.js";
export { default as getWindow } from "./getWindow.js";
export { default as getContainer } from "./getContainer.js";
export { default as canUseDOM } from "./canUseDOM.js";
export { default as contains } from "./contains.js";
export { default as scrollTop } from "./scrollTop.js";
export { default as scrollLeft } from "./scrollLeft.js";
export { default as getOffset } from "./getOffset.js";
export { default as nodeName } from "./nodeName.js";
export { default as getOffsetParent } from "./getOffsetParent.js";
export { default as getPosition } from "./getPosition.js";
export { default as isOverflowing } from "./isOverflowing.js";
export { default as getScrollbarSize } from "./getScrollbarSize.js";
export { default as getHeight } from "./getHeight.js";
export { default as getWidth } from "./getWidth.js";
export { default as isFocusable } from "./isFocusable.js";
/** styles */
export { default as getStyle } from './getStyle';
export { default as removeStyle } from './removeStyle';
export { default as addStyle } from './addStyle';
export { default as translateDOMPositionXY } from './translateDOMPositionXY';
export { default as getStyle } from "./getStyle.js";
export { default as removeStyle } from "./removeStyle.js";
export { default as addStyle } from "./addStyle.js";
export { default as translateDOMPositionXY } from "./translateDOMPositionXY.js";

@@ -1,3 +0,3 @@

import getWindow from './getWindow';
import ownerDocument from './ownerDocument';
import getWindow from "./getWindow.js";
import ownerDocument from "./ownerDocument.js";

@@ -4,0 +4,0 @@ function bodyIsOverflowing(node) {

@@ -1,2 +0,2 @@

import ownerDocument from './ownerDocument';
import ownerDocument from "./ownerDocument.js";
/**

@@ -3,0 +3,0 @@ * Returns the top-level window object of the node.

@@ -1,3 +0,3 @@

import emptyFunction from './utils/emptyFunction';
import getGlobal from './utils/getGlobal';
import emptyFunction from "./utils/emptyFunction.js";
import getGlobal from "./utils/getGlobal.js";
var g = getGlobal();

@@ -4,0 +4,0 @@ var lastTime = 0;

@@ -1,2 +0,2 @@

import getWindow from './getWindow';
import getWindow from "./getWindow.js";
/**

@@ -3,0 +3,0 @@ * Gets the number of pixels to scroll the element's content from the left edge.

@@ -1,2 +0,2 @@

import getWindow from './getWindow';
import getWindow from "./getWindow.js";
/**

@@ -3,0 +3,0 @@ * Gets the number of pixels that an element's content is scrolled vertically.

@@ -1,4 +0,4 @@

import hasClass from './hasClass';
import addClass from './addClass';
import removeClass from './removeClass';
import hasClass from "./hasClass.js";
import addClass from "./addClass.js";
import removeClass from "./removeClass.js";
/**

@@ -5,0 +5,0 @@ * Toggle a class on an element

@@ -5,5 +5,5 @@ /**

*/
import BrowserSupportCore from './utils/BrowserSupportCore';
import getVendorPrefixedName from './utils/getVendorPrefixedName';
import getGlobal from './utils/getGlobal';
import BrowserSupportCore from "./utils/BrowserSupportCore.js";
import getVendorPrefixedName from "./utils/getVendorPrefixedName.js";
import getGlobal from "./utils/getGlobal.js";
var g = getGlobal();

@@ -10,0 +10,0 @@ var TRANSFORM = getVendorPrefixedName('transform');

@@ -1,2 +0,2 @@

import getVendorPrefixedName from './getVendorPrefixedName';
import getVendorPrefixedName from "./getVendorPrefixedName.js";
export default {

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import { camelize } from './stringFormatter';
import { camelize } from "./stringFormatter.js";
var msPattern = /^-ms-/;

@@ -3,0 +3,0 @@ export default function camelizeStyleName(name) {

@@ -1,3 +0,3 @@

import canUseDOM from '../canUseDOM';
import { camelize } from './stringFormatter';
import canUseDOM from "../canUseDOM.js";
import { camelize } from "./stringFormatter.js";
var memoized = {};

@@ -4,0 +4,0 @@ var prefixes = ['Webkit', 'ms', 'Moz', 'O'];

@@ -1,2 +0,2 @@

import { hyphenate } from './stringFormatter';
import { hyphenate } from "./stringFormatter.js";
var msPattern = /^ms-/;

@@ -3,0 +3,0 @@ export default (function (string) {

@@ -1,2 +0,2 @@

import canUseDOM from '../canUseDOM';
import canUseDOM from "../canUseDOM.js";
var useHasFeature;

@@ -3,0 +3,0 @@

@@ -1,3 +0,3 @@

import UserAgent from './UserAgent';
import isEventSupported from './isEventSupported'; // Reasonable defaults
import UserAgent from "./UserAgent.js";
import isEventSupported from "./isEventSupported.js"; // Reasonable defaults

@@ -4,0 +4,0 @@ var PIXEL_STEP = 10;

@@ -1,4 +0,4 @@

import emptyFunction from './utils/emptyFunction';
import normalizeWheel from './utils/normalizeWheel';
import requestAnimationFramePolyfill from './requestAnimationFramePolyfill';
import emptyFunction from "./utils/emptyFunction.js";
import normalizeWheel from "./utils/normalizeWheel.js";
import requestAnimationFramePolyfill from "./requestAnimationFramePolyfill.js";

@@ -5,0 +5,0 @@ var swapWheelAxis = function swapWheelAxis(normalizedEvent) {

{
"name": "dom-lib",
"version": "3.2.0",
"version": "3.3.0",
"description": "DOM helper library",

@@ -5,0 +5,0 @@ "main": "cjs/index.js",

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