New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

graphology-types

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphology-types - npm Package Compare versions

Comparing version 0.24.2 to 0.24.3

20

index.d.ts

@@ -15,3 +15,5 @@ /**

type UpdateHints = {attributes?: Array<string>};
type UpdateHints<ItemAttributes extends Attributes = Attributes> = {
attributes?: Array<keyof ItemAttributes>;
};

@@ -281,4 +283,8 @@ type GraphOptions = {

edgeAttributesUpdated(payload: AttributeUpdatePayload<EdgeAttributes>): void;
eachNodeAttributesUpdated(payload: {hints: UpdateHints}): void;
eachEdgeAttributesUpdated(payload: {hints: UpdateHints}): void;
eachNodeAttributesUpdated(payload: {
hints: UpdateHints<NodeAttributes>;
}): void;
eachEdgeAttributesUpdated(payload: {
hints: UpdateHints<EdgeAttributes>;
}): void;
};

@@ -686,4 +692,4 @@

updateEachNodeAttributes(
updater: NodeMapper<NodeAttributes>,
hints?: UpdateHints
updater: NodeMapper<NodeAttributes, NodeAttributes>,
hints?: UpdateHints<NodeAttributes>
): void;

@@ -725,4 +731,4 @@

updateEachEdgeAttributes(
updater: EdgeMapper<EdgeAttributes>,
hints?: UpdateHints
updater: EdgeMapper<EdgeAttributes, NodeAttributes, EdgeAttributes>,
hints?: UpdateHints<EdgeAttributes>
): void;

@@ -729,0 +735,0 @@

{
"name": "graphology-types",
"version": "0.24.2",
"version": "0.24.3",
"description": "TypeScript declaration for graphology.",

@@ -5,0 +5,0 @@ "main": "index.d.ts",

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