New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.20 to 0.1.21

2

package.json
{
"name": "docs-and-graphs",
"version": "0.1.20",
"version": "0.1.21",
"type": "module",

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

@@ -44,4 +44,4 @@ const PARENTHESIS_TYPES = [

const result = []
for (const line of str.split('\n')) {
function extract (line) {
const result = []
for (const inline of parseWithParenthesis(line)) {

@@ -59,5 +59,7 @@ if (inline.chunks.length > 1) {

}
return result
}
return result
return str.split('\n').map(extract).flat()
}

@@ -64,0 +66,0 @@

@@ -29,3 +29,3 @@ import { expect } from 'expect'

'a::b\nc::d\nafter',
'lives in :: [Test with relative](../houses/BobHouse.md)'
'lives in :: [Test with relative](../houses/BobHouse.md)',
]

@@ -32,0 +32,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