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

@menome/document-to-graph

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@menome/document-to-graph - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

6

DocumentToGraph.js

@@ -63,6 +63,5 @@

const segmentDefinitions = [];
let rootSegment= rootNode;
// first - clear out any blank or 0 length text lines

@@ -88,3 +87,4 @@ var textSegmentArray=filter_array(segments);

if (segmentDefinition.textSegment.match(hr.HeaderRegex.Heading1)) {
segmentDefinition.connectionNodeType = ct.connectionType.TopicHeading
// Base headings map to Root connection type Parent
segmentDefinition.connectionNodeType = rootNode.connectionNodeType;
segmentDefinition.type = ht.HeaderType.HEADING1

@@ -91,0 +91,0 @@ segmentDefinition.indexName = segmentDefinition.textSegment.match(hr.HeaderRegex.Heading1)[0]

{
"name": "@menome/document-to-graph",
"version": "1.1.3",
"version": "1.1.4",
"description": "Menome Technologies Inc: takes incoming text and turns it into a structure suitable for a graph",

@@ -5,0 +5,0 @@ "repository": "https://github.com/menome/DocumentToGraph",

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