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

@reactflow/minimap

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/minimap - npm Package Compare versions

Comparing version 11.3.1 to 11.3.2

0

dist/esm/index.d.ts
export { default as MiniMap } from './MiniMap';
export * from './types';
//# sourceMappingURL=index.d.ts.map

2

dist/esm/index.js
import { jsx, jsxs } from 'react/jsx-runtime';
import { memo, useRef, useEffect } from 'react';
import cc from 'classcat';
import shallow from 'zustand/shallow';
import { shallow } from 'zustand/shallow';
import { zoom, zoomIdentity } from 'd3-zoom';

@@ -6,0 +6,0 @@ import { select, pointer } from 'd3-selection';

@@ -0,0 +0,0 @@ /// <reference types="react" />

@@ -0,0 +0,0 @@ import type { CSSProperties, MouseEvent } from 'react';

import type { HTMLAttributes, MouseEvent } from 'react';
import type { Node, PanelPosition, XYPosition } from '@reactflow/core';
export declare type GetMiniMapNodeAttribute<NodeData = any> = (node: Node<NodeData>) => string;
export declare type MiniMapProps<NodeData = any> = Omit<HTMLAttributes<SVGSVGElement>, 'onClick'> & {
export type GetMiniMapNodeAttribute<NodeData = any> = (node: Node<NodeData>) => string;
export type MiniMapProps<NodeData = any> = Omit<HTMLAttributes<SVGSVGElement>, 'onClick'> & {
nodeColor?: string | GetMiniMapNodeAttribute<NodeData>;

@@ -6,0 +6,0 @@ nodeStrokeColor?: string | GetMiniMapNodeAttribute<NodeData>;

export { default as MiniMap } from './MiniMap';
export * from './types';
//# sourceMappingURL=index.d.ts.map

@@ -0,0 +0,0 @@ /// <reference types="react" />

@@ -0,0 +0,0 @@ import type { CSSProperties, MouseEvent } from 'react';

import type { HTMLAttributes, MouseEvent } from 'react';
import type { Node, PanelPosition, XYPosition } from '@reactflow/core';
export declare type GetMiniMapNodeAttribute<NodeData = any> = (node: Node<NodeData>) => string;
export declare type MiniMapProps<NodeData = any> = Omit<HTMLAttributes<SVGSVGElement>, 'onClick'> & {
export type GetMiniMapNodeAttribute<NodeData = any> = (node: Node<NodeData>) => string;
export type MiniMapProps<NodeData = any> = Omit<HTMLAttributes<SVGSVGElement>, 'onClick'> & {
nodeColor?: string | GetMiniMapNodeAttribute<NodeData>;

@@ -6,0 +6,0 @@ nodeStrokeColor?: string | GetMiniMapNodeAttribute<NodeData>;

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

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

"dependencies": {
"@babel/runtime": "^7.18.9",
"@reactflow/core": "11.4.1",
"@reactflow/core": "11.4.2",
"@types/d3-selection": "^3.0.3",

@@ -41,3 +40,3 @@ "@types/d3-zoom": "^3.0.1",

"d3-zoom": "^3.0.0",
"zustand": "^4.1.1"
"zustand": "^4.3.1"
},

@@ -49,3 +48,3 @@ "peerDependencies": {

"devDependencies": {
"@reactflow/eslint-config": "^0.0.0",
"@reactflow/eslint-config": "0.0.0",
"@reactflow/rollup-config": "0.0.0",

@@ -56,3 +55,3 @@ "@reactflow/tsconfig": "0.0.0",

"react": "^18.2.0",
"typescript": "^4.8.3"
"typescript": "^4.9.4"
},

@@ -59,0 +58,0 @@ "rollup": {

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 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

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