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

graphology-canvas

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphology-canvas - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

6

index.d.ts

@@ -1,2 +0,2 @@

import Graph, {Attributes, NodeKey, EdgeKey} from 'graphology-types';
import Graph, {Attributes} from 'graphology-types';

@@ -13,7 +13,7 @@ export type CanvasRendererSettings<

defaultColor?: string;
reducer?: (settings: CanvasRendererSettings, node: NodeKey, attributes: NodeAttributes) => Attributes;
reducer?: (settings: CanvasRendererSettings, node: string, attributes: NodeAttributes) => Attributes;
},
edges?: {
defaultColor?: string;
reducer?: (settings: CanvasRendererSettings, edge: EdgeKey, attributes: EdgeAttributes) => Attributes;
reducer?: (settings: CanvasRendererSettings, edge: string, attributes: EdgeAttributes) => Attributes;
}

@@ -20,0 +20,0 @@ };

The MIT License (MIT)
Copyright (c) 2017-2020 Guillaume Plique (Yomguithereal)
Copyright (c) 2017-2021 Guillaume Plique (Yomguithereal)

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "graphology-canvas",
"version": "0.3.2",
"version": "0.3.3",
"description": "Canvas rendering routines for graphology.",

@@ -45,17 +45,4 @@ "main": "index.js",

"homepage": "https://github.com/graphology/graphology-canvas#readme",
"devDependencies": {
"@yomguithereal/eslint-config": "^4.0.0",
"canvas": "^2.6.1",
"eslint": "^7.17.0",
"fs-extra": "^9.0.1",
"graphology": "^0.19.3",
"graphology-gexf": "^0.7.2",
"graphology-types": "^0.19.2",
"mocha": "^8.2.1"
},
"eslintConfig": {
"extends": "@yomguithereal/eslint-config",
"globals": {
"Set": true
}
"extends": "@yomguithereal/eslint-config"
},

@@ -66,5 +53,8 @@ "dependencies": {

},
"devDependencies": {
"canvas": "^2.8.0"
},
"peerDependencies": {
"canvas": "^2.6.1",
"graphology-types": ">=0.19.0"
"graphology-types": ">=0.20.0"
},

@@ -71,0 +61,0 @@ "peerDependenciesMeta": {

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