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

docs-and-graphs

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docs-and-graphs - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

2

package.json
{
"name": "docs-and-graphs",
"version": "0.1.9",
"version": "0.1.10",
"type": "module",

@@ -5,0 +5,0 @@ "description": "",

@@ -48,2 +48,3 @@ import yaml from 'js-yaml'

function arrayToObject (arr) {

@@ -50,0 +51,0 @@ if (arr.length === 0) return {}

@@ -27,10 +27,7 @@ import { parseWikilink, parseExternalLinks } from '../text/links.js'

const text = getText({ astNode: node, fullText })
if (node.type === 'wikiLink') {
return {
type: 'wikiLink', ...parseWikilink(text),
}
} else if (node.type === 'link') {
} else if (node.type === 'link' || node.type === 'image') {
const link = parseExternalLinks(text)

@@ -42,3 +39,2 @@ if (!link) {

}
return {

@@ -48,3 +44,2 @@ type: 'link', ...link,

}
return node

@@ -51,0 +46,0 @@ })

@@ -94,7 +94,2 @@ import { getText } from './markdown/markdownAst.js'

const tags = extractTags(value)
if (tags.length) {
block.tags = tags
}
annotateTags({ value, currentNode: block }, options)

@@ -101,0 +96,0 @@ annotateInlineFields({ value, currentNode: block }, options)

export default {
title: 'Links', markdown: `
has image :: ![Lovely image](../houses/img.png)
[[link 1]]

@@ -5,0 +7,0 @@

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