Socket
Socket
Sign inDemoInstall

@reactflow/node-toolbar

Package Overview
Dependencies
54
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.4 to 1.3.5

4

dist/esm/index.js
import React, { useCallback } from 'react';
import { useStore, useNodeId, getRectOfNodes, internalsSymbol, Position } from '@reactflow/core';
import { useStore, useNodeId, getNodesBounds, internalsSymbol, Position } from '@reactflow/core';
import cc from 'classcat';

@@ -86,3 +86,3 @@ import { shallow } from 'zustand/shallow';

}
const nodeRect = getRectOfNodes(nodes, nodeOrigin);
const nodeRect = getNodesBounds(nodes, nodeOrigin);
const zIndex = Math.max(...nodes.map((node) => (node[internalsSymbol]?.z || 1) + 1));

@@ -89,0 +89,0 @@ const wrapperStyle = {

{
"name": "@reactflow/node-toolbar",
"version": "1.3.4",
"version": "1.3.5",
"description": "A toolbar component for React Flow that can be attached to a node.",

@@ -33,3 +33,3 @@ "keywords": [

"type": "git",
"url": "https://github.com/wbkd/react-flow.git",
"url": "https://github.com/xyflow/xyflow.git",
"directory": "packages/node-toolbar"

@@ -40,3 +40,3 @@ },

"zustand": "^4.4.1",
"@reactflow/core": "11.9.4"
"@reactflow/core": "11.10.0"
},

@@ -53,4 +53,4 @@ "peerDependencies": {

"typescript": "^4.9.4",
"@reactflow/rollup-config": "0.0.0",
"@reactflow/eslint-config": "0.0.0",
"@reactflow/rollup-config": "0.0.0",
"@reactflow/tsconfig": "0.0.0"

@@ -57,0 +57,0 @@ },

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc