Socket
Socket
Sign inDemoInstall

@reactflow/minimap

Package Overview
Dependencies
54
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 11.7.4 to 11.7.5

4

dist/esm/index.js

@@ -6,3 +6,3 @@ import React, { memo, useRef, useEffect } from 'react';

import { select, pointer } from 'd3-selection';
import { useStore, getNodePositionWithOrigin, useStoreApi, Panel, getBoundsOfRects, getRectOfNodes } from '@reactflow/core';
import { useStore, getNodePositionWithOrigin, useStoreApi, Panel, getBoundsOfRects, getNodesBounds } from '@reactflow/core';

@@ -51,3 +51,3 @@ const MiniMapNode = ({ id, x, y, width, height, style, color, strokeColor, strokeWidth, className, borderRadius, shapeRendering, onClick, selected, }) => {

viewBB,
boundingRect: nodes.length > 0 ? getBoundsOfRects(getRectOfNodes(nodes, s.nodeOrigin), viewBB) : viewBB,
boundingRect: nodes.length > 0 ? getBoundsOfRects(getNodesBounds(nodes, s.nodeOrigin), viewBB) : viewBB,
rfId: s.rfId,

@@ -54,0 +54,0 @@ };

{
"name": "@reactflow/minimap",
"version": "11.7.4",
"version": "11.7.5",
"description": "Minimap component for React Flow.",

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

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

@@ -48,3 +48,3 @@ },

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

@@ -60,5 +60,5 @@ "peerDependencies": {

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

@@ -65,0 +65,0 @@ "rollup": {

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc