Socket
Socket
Sign inDemoInstall

@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.8.2 to 1.8.3

1

arr.d.ts

@@ -9,2 +9,1 @@ declare type Filter<T> = (element: T, index: number, array: T[]) => boolean;

export {};
//# sourceMappingURL=arr.d.ts.map

@@ -22,2 +22,1 @@ declare const browser: {

export default browser;
//# sourceMappingURL=browser.d.ts.map
export default function clone<T extends {
[key: string]: any;
}>(source: T): Partial<T>;
//# sourceMappingURL=clone.d.ts.map

@@ -15,2 +15,1 @@ declare const domObjects: {

export default domObjects;
//# sourceMappingURL=domObjects.d.ts.map

@@ -30,2 +30,1 @@ export declare function nodeContains(parent: Node | Interact.EventTarget, child: Node | Interact.EventTarget): boolean;

export declare function trySelector(value: any): boolean;
//# sourceMappingURL=domUtils.d.ts.map
export {};
//# sourceMappingURL=domUtils.spec.d.ts.map

@@ -43,2 +43,1 @@ declare type Listener = (event: Event | FakeEvent) => any;

export default events;
//# sourceMappingURL=events.d.ts.map
export default function extend<T, U extends object>(dest: U, source: T): T & U;
//# sourceMappingURL=extend.d.ts.map

@@ -7,2 +7,1 @@ export default function (target: Interact.HasGetRect & {

};
//# sourceMappingURL=getOriginXY.d.ts.map
declare const _default: (x: number, y: number) => number;
export default _default;
//# sourceMappingURL=hypot.d.ts.map

3

index.d.ts

@@ -7,3 +7,3 @@ import * as arr from './arr';

import win from './window';
export declare function warnOnce<T>(this: T, method: (...args: any) => any, message: string): (this: T) => any;
export declare function warnOnce<T>(this: T, method: (...args: any[]) => any, message: string): (this: T) => any;
export declare function _getQBezierValue(t: number, p1: number, p2: number, p3: number): number;

@@ -25,2 +25,1 @@ export declare function getQuadraticCurvePoint(startX: number, startY: number, cpX: number, cpY: number, endX: number, endY: number, position: number): {

export { win, arr, dom, is, pointer, rect };
//# sourceMappingURL=index.d.ts.map

@@ -6,3 +6,3 @@ export declare const window: (thing: any) => thing is Window;

};
export declare const func: (thing: any) => thing is (...args: any) => any;
export declare const func: (thing: any) => thing is (...args: any[]) => any;
export declare const number: (thing: any) => thing is number;

@@ -14,2 +14,1 @@ export declare const bool: (thing: any) => thing is boolean;

export declare const array: <T extends unknown>(thing: any) => thing is T[];
//# sourceMappingURL=is.d.ts.map
declare const _default: (thing: any) => boolean;
export default _default;
//# sourceMappingURL=isWindow.d.ts.map

@@ -5,2 +5,1 @@ export interface NormalizedListeners {

export default function normalize(type: Interact.EventTypes, listeners?: Interact.ListenersArg | Interact.ListenersArg[], result?: NormalizedListeners): NormalizedListeners;
//# sourceMappingURL=normalizeListeners.d.ts.map
export {};
//# sourceMappingURL=normalizeListeners.spec.d.ts.map
{
"name": "@interactjs/utils",
"version": "1.8.2",
"version": "1.8.3",
"license": "MIT",
"devDependencies": {
"@interactjs/_dev": "1.8.2"
"@interactjs/_dev": "1.8.3"
},

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

},
"gitHead": "b9b4d24c"
"gitHead": "1bc0c176"
}

@@ -13,2 +13,1 @@ export interface PointerExtend {

export default pointerExtend;
//# sourceMappingURL=pointerExtend.d.ts.map

@@ -398,2 +398,1 @@ import pointerExtend from './pointerExtend';

export { pointerExtend };
//# sourceMappingURL=pointerUtils.d.ts.map

@@ -8,2 +8,1 @@ declare function init(window: any): void;

export default _default;
//# sourceMappingURL=raf.d.ts.map

@@ -10,2 +10,1 @@ export declare function getStringOptionResult(value: any, target: Interact.HasGetRect, element: any): (Node & ParentNode) | import("@interactjs/types/types").Rect;

export declare function addEdges(edges: Interact.EdgeOptions, rect: Interact.Rect, delta: Interact.Point): void;
//# sourceMappingURL=rect.d.ts.map

@@ -18,2 +18,1 @@ declare function createGrid(grid: (Partial<Interact.Rect> | Interact.Point) & {

export default createGrid;
//# sourceMappingURL=grid.d.ts.map
import grid from './grid';
export { grid };
//# sourceMappingURL=index.d.ts.map

@@ -8,6 +8,5 @@ declare const win: {

export declare function init(window: Window & {
wrap?: (...args: any) => any;
wrap?: (...args: any[]) => any;
}): void;
export declare function getWindow(node: any): any;
export default win;
//# sourceMappingURL=window.d.ts.map

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc