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

@vue-flow/core

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue-flow/core - npm Package Compare versions

Comparing version 1.17.0 to 1.17.1

6

dist/composables/useKeyPress.d.ts
import type { Ref } from 'vue'
import type { KeyFilter, MaybeRef } from '@vueuse/core'
export declare function isInputDOMNode(event: KeyboardEvent): boolean
/**
* Reactive key press state
*
* @param keyFilter - Can be a boolean, a string or an array of strings. If it's a boolean, it will always return that value. If it's a string, it will return true if the key is pressed. If it's an array of strings, it will return true if any of the keys are pressed, or a combination is pressed (e.g. ['ctrl+a', 'ctrl+b'])
* @param onChange - Callback function that will be called when the key state changes
*/
declare const _default: (

@@ -5,0 +11,0 @@ keyFilter: MaybeRef<KeyFilter | null>,

10

dist/container/VueFlow/VueFlow.vue.d.ts

@@ -20,2 +20,3 @@ import type { D3ZoomEvent } from 'd3-zoom'

} from '../../types'
import type { VueFlowError } from '../../utils/errors'
declare const _default: __VLS_WithTemplateSlots<

@@ -123,3 +124,3 @@ import('vue').DefineComponent<

edgeUpdateEnd: import('@vueuse/shared').EventHookTrigger<EdgeMouseEvent>
error: import('@vueuse/shared').EventHookTrigger<import('../..').VueFlowError<import('../..').ErrorCode>>
error: import('@vueuse/shared').EventHookTrigger<VueFlowError<import('../../utils/errors').ErrorCode>>
}>

@@ -191,3 +192,3 @@ onNodesChange: import('@vueuse/shared').EventHookOn<NodeChange[]>

onEdgeUpdateEnd: import('@vueuse/shared').EventHookOn<EdgeMouseEvent>
onError: import('@vueuse/shared').EventHookOn<import('../..').VueFlowError<import('../..').ErrorCode>>
onError: import('@vueuse/shared').EventHookOn<VueFlowError<import('../../utils/errors').ErrorCode>>
vueFlowRef: import('vue').Ref<HTMLDivElement | null>

@@ -262,3 +263,3 @@ viewportRef: import('vue').Ref<HTMLDivElement | null>

edgeUpdateEnd: import('@vueuse/shared').EventHook<EdgeMouseEvent>
error: import('@vueuse/shared').EventHook<import('../..').VueFlowError<import('../..').ErrorCode>>
error: import('@vueuse/shared').EventHook<VueFlowError<import('../../utils/errors').ErrorCode>>
}>

@@ -519,2 +520,4 @@ >

} & {
error: (error: VueFlowError<import('../../utils/errors').ErrorCode>) => void
} & {
'update:modelValue': (value: FlowElements<any, any, any, any>) => void

@@ -564,2 +567,3 @@ } & {

> & {
'onError'?: ((error: VueFlowError<import('../../utils/errors').ErrorCode>) => any) | undefined
'onMove'?: ((moveEvent: { event: D3ZoomEvent<HTMLDivElement, any>; flowTransform: ViewportTransform }) => any) | undefined

@@ -566,0 +570,0 @@ 'onNodesChange'?: ((changes: NodeChange[]) => any) | undefined

@@ -11,2 +11,3 @@ import type {

Elements,
FlowElements,
GraphEdge,

@@ -34,10 +35,10 @@ GraphNode,

export declare function parseEdge(edge: Edge, defaults?: Partial<GraphEdge>): GraphEdge
export declare const getOutgoers: (
node: GraphNode,
elements: Elements<any, any, any, any>,
) => import('../types').Element<any, any, any, any>[]
export declare const getIncomers: (
node: GraphNode,
elements: Elements<any, any, any, any>,
) => import('../types').Element<any, any, any, any>[]
export declare const getOutgoers: <T extends Elements<any, any, any, any> = FlowElements<any, any, any, any>>(
node: Node,
elements: T,
) => T extends FlowElements<any, any, any, any> ? GraphNode<any, any, string>[] : Node<any, any>[]
export declare const getIncomers: <T extends Elements<any, any, any, any> = FlowElements<any, any, any, any>>(
node: Node,
elements: T,
) => T extends FlowElements<any, any, any, any> ? GraphNode<any, any, string>[] : Node<any, any>[]
export declare const getEdgeId: ({ source, sourceHandle, target, targetHandle }: Connection) => string

@@ -44,0 +45,0 @@ export declare const connectionExists: (edge: Edge | Connection, elements: Elements<any, any, any, any>) => boolean

{
"name": "@vue-flow/core",
"version": "1.17.0",
"version": "1.17.1",
"private": false,

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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