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

graphology-gexf

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphology-gexf - npm Package Compare versions

Comparing version 0.7.4 to 0.7.5

2

common/helpers.js

@@ -48,3 +48,3 @@ /**

exports.sanitizeTagName = function sanitizeTagName(tagName) {
return tagName.replace(SANITIZE_PATTERN, '');
return tagName.replace(SANITIZE_PATTERN, '').trim();
};

@@ -9,2 +9,3 @@ /* eslint no-self-compare: 0 */

var isGraph = require('graphology-utils/is-graph'),
inferType = require('graphology-utils/infer-type'),
XMLWriter = require('xml-writer'),

@@ -484,5 +485,8 @@ sanitizeTagName = require('./helpers.js').sanitizeTagName;

writer.startElement('graph');
writer.defaultEdgeType = graph.type === 'mixed' ?
var type = inferType(graph);
writer.defaultEdgeType = type === 'mixed' ?
'directed' :
graph.type;
type;

@@ -489,0 +493,0 @@ writer.writeAttribute(

{
"name": "graphology-gexf",
"version": "0.7.4",
"version": "0.7.5",
"description": "GEXF parser & writer for graphology.",

@@ -40,6 +40,6 @@ "main": "index.js",

"@yomguithereal/eslint-config": "^4.0.0",
"eslint": "^7.18.0",
"eslint": "^7.21.0",
"graphology": "^0.19.3",
"graphology-types": "^0.19.2",
"mocha": "^8.2.1"
"mocha": "^8.3.1"
},

@@ -57,5 +57,5 @@ "eslintConfig": {

"graphology-utils": "^2.0.0",
"xmldom": "^0.4.0",
"xmldom": "^0.5.0",
"xml-writer": "^1.7.0"
}
}
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