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

@ts-graphviz/common

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ts-graphviz/common - npm Package Compare versions

Comparing version 2.1.3-next-7d7352bb3819522ba16763503aa6bc923f550408 to 2.1.3-next-a1de944c70af32f17428537ec0b096de2d68388d

4

CHANGELOG.md
# @ts-graphviz/common
## 2.1.3-next-7d7352bb3819522ba16763503aa6bc923f550408
## 2.1.3-next-a1de944c70af32f17428537ec0b096de2d68388d
### Patch Changes
- [#1158](https://github.com/ts-graphviz/ts-graphviz/pull/1158) [`883f7b3`](https://github.com/ts-graphviz/ts-graphviz/commit/883f7b3c65794b3ab2b01c422b6231079bb6c28d) Thanks [@kamiazya](https://github.com/kamiazya)! - Fix EdgeTargets validation in toNodeRefGroup function
- [#1088](https://github.com/ts-graphviz/ts-graphviz/pull/1088) [`7d7352b`](https://github.com/ts-graphviz/ts-graphviz/commit/7d7352bb3819522ba16763503aa6bc923f550408) Thanks [@kamiazya](https://github.com/kamiazya)! - Update Snapshot release configuration

@@ -8,0 +10,0 @@

@@ -75,5 +75,10 @@ function _pipe(...args) {

function toNodeRefGroup(targets) {
if (targets.length < 2 && (isNodeRefLike(targets[0]) && isNodeRefLike(targets[1])) === false) {
throw Error("EdgeTargets must have at least 2 elements.");
if (targets.length < 1) {
throw Error("EdgeTargets must have at least 1 elements.");
}
if (!targets.every((target) => isNodeRefLike(target))) {
throw Error(
"The element of Edge target is missing or not satisfied as Edge target."
);
}
return targets.map((t) => toNodeRef(t));

@@ -80,0 +85,0 @@ }

{
"name": "@ts-graphviz/common",
"version": "2.1.3-next-7d7352bb3819522ba16763503aa6bc923f550408",
"version": "2.1.3-next-a1de944c70af32f17428537ec0b096de2d68388d",
"description": "Graphviz Types and Utilities",

@@ -5,0 +5,0 @@ "keywords": [

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