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

@interactjs/utils

Package Overview
Dependencies
Maintainers
2
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@interactjs/utils - npm Package Compare versions

Comparing version 1.9.0 to 1.9.1

arr.min.js

6

browser.js

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

import domObjects from "./domObjects.js";
import * as is from "./is.js";
import win from "./window.js";
import domObjects from "domObjects.js";
import * as is from "is.js";
import win from "window.js";
const browser = {

@@ -5,0 +5,0 @@ init,

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

import * as arr from "./arr.js";
import * as is from "./is.js"; // tslint:disable-next-line ban-types
import * as arr from "arr.js";
import * as is from "is.js"; // tslint:disable-next-line ban-types

@@ -4,0 +4,0 @@ export default function clone(source) {

@@ -1,5 +0,5 @@

import browser from "./browser.js";
import domObjects from "./domObjects.js";
import * as is from "./is.js";
import win, { getWindow } from "./window.js";
import browser from "browser.js";
import domObjects from "domObjects.js";
import * as is from "is.js";
import win, { getWindow } from "window.js";
export function nodeContains(parent, child) {

@@ -6,0 +6,0 @@ while (child) {

@@ -1,8 +0,6 @@

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
import { contains } from "./arr.js";
import * as domUtils from "./domUtils.js";
import * as is from "./is.js";
import pExtend from "./pointerExtend.js";
import * as pointerUtils from "./pointerUtils.js";
import { contains } from "arr.js";
import * as domUtils from "domUtils.js";
import * as is from "is.js";
import pExtend from "pointerExtend.js";
import * as pointerUtils from "pointerUtils.js";
const elements = [];

@@ -217,5 +215,3 @@ const targets = [];

this.originalEvent = originalEvent;
_defineProperty(this, "currentTarget", void 0);
this.currentTarget = void 0;
// duplicate the event so that currentTarget can be changed

@@ -222,0 +218,0 @@ pExtend(this, originalEvent);

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

import { rectToXY, resolveRectLike } from "./rect.js";
import { rectToXY, resolveRectLike } from "rect.js";
export default function (target, element, actionName) {

@@ -3,0 +3,0 @@ const actionOptions = target.options[actionName];

@@ -1,7 +0,7 @@

import * as arr from "./arr.js";
import * as dom from "./domUtils.js";
import * as is from "./is.js";
import * as pointer from "./pointerUtils.js";
import * as rect from "./rect.js";
import win from "./window.js";
import * as arr from "arr.js";
import * as dom from "domUtils.js";
import * as is from "is.js";
import * as pointer from "pointerUtils.js";
import * as rect from "rect.js";
import win from "window.js";
export function warnOnce(method, message) {

@@ -25,11 +25,11 @@ let warned = false; // eslint-disable-next-line no-shadow

}
export { default as browser } from "./browser.js";
export { default as clone } from "./clone.js";
export { default as events } from "./events.js";
export { default as extend } from "./extend.js";
export { default as getOriginXY } from "./getOriginXY.js";
export { default as hypot } from "./hypot.js";
export { default as normalizeListeners } from "./normalizeListeners.js";
export { default as raf } from "./raf.js";
export { default as browser } from "browser.js";
export { default as clone } from "clone.js";
export { default as events } from "events.js";
export { default as extend } from "extend.js";
export { default as getOriginXY } from "getOriginXY.js";
export { default as hypot } from "hypot.js";
export { default as normalizeListeners } from "normalizeListeners.js";
export { default as raf } from "raf.js";
export { win, arr, dom, is, pointer, rect };
//# sourceMappingURL=index.js.map
// tslint:disable variable-name
import isWindow from "./isWindow.js";
import win from "./window.js";
import isWindow from "isWindow.js";
import win from "window.js";
export const window = thing => thing === win.window || isWindow(thing);

@@ -5,0 +5,0 @@ export const docFrag = thing => object(thing) && thing.nodeType === 11;

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

import extend from "./extend.js";
import * as is from "./is.js";
import extend from "extend.js";
import * as is from "is.js";
export default function normalize(type, listeners, result) {

@@ -4,0 +4,0 @@ result = result || {};

{
"name": "@interactjs/utils",
"version": "1.9.0",
"version": "1.9.1",
"license": "MIT",
"devDependencies": {
"@interactjs/_dev": "1.9.0"
"@interactjs/_dev": "1.9.1"
},

@@ -11,3 +11,3 @@ "publishConfig": {

},
"gitHead": "cbd58434"
"gitHead": "523820c6"
}

@@ -1,7 +0,7 @@

import browser from "./browser.js";
import dom from "./domObjects.js";
import * as domUtils from "./domUtils.js";
import hypot from "./hypot.js";
import * as is from "./is.js";
import pointerExtend from "./pointerExtend.js";
import browser from "browser.js";
import dom from "domObjects.js";
import * as domUtils from "domUtils.js";
import hypot from "hypot.js";
import * as is from "is.js";
import pointerExtend from "pointerExtend.js";
export function copyCoords(dest, src) {

@@ -8,0 +8,0 @@ dest.page = dest.page || {};

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

import { closest, getElementRect, parentNode } from "./domUtils.js";
import extend from "./extend.js";
import * as is from "./is.js";
import { closest, getElementRect, parentNode } from "domUtils.js";
import extend from "extend.js";
import * as is from "is.js";
export function getStringOptionResult(value, target, element) {

@@ -5,0 +5,0 @@ if (value === 'parent') {

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

import grid from "./grid.js";
import grid from "grid.js";
export { grid };
//# sourceMappingURL=index.js.map

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

import isWindow from "./isWindow.js";
import isWindow from "isWindow.js";
const win = {

@@ -3,0 +3,0 @@ realWindow: undefined,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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