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

@eramux/graph-structure

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eramux/graph-structure - npm Package Compare versions

Comparing version 0.1.5 to 0.2.0

3

dist/Graph.d.ts

@@ -39,4 +39,5 @@ declare type NodeId = string;

serialize(): Serialized;
deserialize(serialized: Serialized): void;
reset(): void;
deserialize(serialized: Serialized, reset?: boolean): void;
}
export {};

@@ -293,3 +293,9 @@ "use strict";

}
deserialize(serialized) {
reset() {
this.edges.clear();
}
deserialize(serialized, reset = false) {
if (reset) {
this.reset();
}
serialized.nodes.forEach((node) => {

@@ -296,0 +302,0 @@ this.addNode(node.id);

{
"name": "@eramux/graph-structure",
"version": "0.1.5",
"version": "0.2.0",
"description": "Typescript graph structure library for common graph operations",

@@ -5,0 +5,0 @@ "main": "dist/Graph.js",

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