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

@reactflow/core

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reactflow/core - npm Package Compare versions

Comparing version 11.7.3 to 11.7.4

14

dist/esm/components/Handle/utils.d.ts

@@ -6,3 +6,3 @@ import { MouseEvent as ReactMouseEvent, TouchEvent as ReactTouchEvent } from 'react';

id: string | null;
type: HandleType;
type: HandleType | null;
nodeId: string;

@@ -14,4 +14,10 @@ x: number;

export declare function getHandles(node: Node, handleBounds: NodeHandleBounds, type: HandleType, currentHandle: string): ConnectionHandle[];
export declare function getClosestHandle(pos: XYPosition, connectionRadius: number, handles: ConnectionHandle[], validator: (handle: ConnectionHandle) => Result): {
handle: ConnectionHandle;
export declare function getClosestHandle(event: MouseEvent | TouchEvent | ReactMouseEvent | ReactTouchEvent, doc: Document | ShadowRoot, pos: XYPosition, connectionRadius: number, handles: ConnectionHandle[], validator: (handle: Pick<ConnectionHandle, 'nodeId' | 'id' | 'type'>) => Result): {
handle: {
id: string | null;
type: HandleType | null;
nodeId: string;
x: number;
y: number;
};
validHandleResult: Result;

@@ -28,3 +34,3 @@ } | {

};
export declare function isValidHandle(event: MouseEvent | TouchEvent | ReactMouseEvent | ReactTouchEvent, handle: Pick<ConnectionHandle, 'nodeId' | 'id' | 'type'> | null, connectionMode: ConnectionMode, fromNodeId: string, fromHandleId: string | null, fromType: HandleType, isValidConnection: ValidConnectionFunc, doc: Document | ShadowRoot): {
export declare function isValidHandle(handle: Pick<ConnectionHandle, 'nodeId' | 'id' | 'type'>, connectionMode: ConnectionMode, fromNodeId: string, fromHandleId: string | null, fromType: HandleType, isValidConnection: ValidConnectionFunc, doc: Document | ShadowRoot): {
handleDomNode: Element | null;

@@ -31,0 +37,0 @@ isValid: boolean;

@@ -6,3 +6,3 @@ import { MouseEvent as ReactMouseEvent, TouchEvent as ReactTouchEvent } from 'react';

id: string | null;
type: HandleType;
type: HandleType | null;
nodeId: string;

@@ -14,4 +14,10 @@ x: number;

export declare function getHandles(node: Node, handleBounds: NodeHandleBounds, type: HandleType, currentHandle: string): ConnectionHandle[];
export declare function getClosestHandle(pos: XYPosition, connectionRadius: number, handles: ConnectionHandle[], validator: (handle: ConnectionHandle) => Result): {
handle: ConnectionHandle;
export declare function getClosestHandle(event: MouseEvent | TouchEvent | ReactMouseEvent | ReactTouchEvent, doc: Document | ShadowRoot, pos: XYPosition, connectionRadius: number, handles: ConnectionHandle[], validator: (handle: Pick<ConnectionHandle, 'nodeId' | 'id' | 'type'>) => Result): {
handle: {
id: string | null;
type: HandleType | null;
nodeId: string;
x: number;
y: number;
};
validHandleResult: Result;

@@ -28,3 +34,3 @@ } | {

};
export declare function isValidHandle(event: MouseEvent | TouchEvent | ReactMouseEvent | ReactTouchEvent, handle: Pick<ConnectionHandle, 'nodeId' | 'id' | 'type'> | null, connectionMode: ConnectionMode, fromNodeId: string, fromHandleId: string | null, fromType: HandleType, isValidConnection: ValidConnectionFunc, doc: Document | ShadowRoot): {
export declare function isValidHandle(handle: Pick<ConnectionHandle, 'nodeId' | 'id' | 'type'>, connectionMode: ConnectionMode, fromNodeId: string, fromHandleId: string | null, fromType: HandleType, isValidConnection: ValidConnectionFunc, doc: Document | ShadowRoot): {
handleDomNode: Element | null;

@@ -31,0 +37,0 @@ isValid: boolean;

{
"name": "@reactflow/core",
"version": "11.7.3",
"version": "11.7.4",
"description": "Core components and util functions of React Flow.",

@@ -5,0 +5,0 @@ "keywords": [

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 too big to display

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 too big to display

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