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

@byai/topology

Package Overview
Dependencies
Maintainers
3
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@byai/topology - npm Package Compare versions

Comparing version 1.9.5 to 1.9.6

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [1.9.6](https://github.com/byai/topology/compare/v1.9.5...v1.9.6) (2023-12-22)
### Bug Fixes
* fix computeAnchorPoWithNodeBottom ([ce00270](https://github.com/byai/topology/commit/ce0027008230ef80f75cd319581e77b73ac5b0e6))
### [1.9.5](https://github.com/byai/topology/compare/v1.9.4...v1.9.5) (2023-12-22)

@@ -7,0 +14,0 @@

2

dist/lib/utils/index.d.ts

@@ -32,3 +32,3 @@ import { IPosition, ITopologyNode } from '../declare';

};
export declare const computeAnchorPoWithNodeBottom: (parentNode: ITopologyNode) => {
export declare const computeAnchorPoWithNodeBottom: (anchor: string, parentNode: ITopologyNode) => {
x: number;

@@ -35,0 +35,0 @@ y: number;

@@ -166,3 +166,7 @@ var __assign = (this && this.__assign) || function () {

// 锚点始终位于节点底部
export var computeAnchorPoWithNodeBottom = function (parentNode) {
export var computeAnchorPoWithNodeBottom = function (anchor, parentNode) {
var $anchor = document.getElementById(anchor);
if (!$anchor) {
return null;
}
var parentSize = getNodeSize(parentNode.id);

@@ -169,0 +173,0 @@ var parentPosition = parentNode.position || { x: 0, y: 0 };

{
"name": "@byai/topology",
"version": "1.9.5",
"version": "1.9.6",
"description": "拓扑图组件",

@@ -5,0 +5,0 @@ "bugs": {

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

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