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

yeast-markdown-parser

Package Overview
Dependencies
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yeast-markdown-parser - npm Package Compare versions

Comparing version 1.4.1-devengage-2533-custom-component-parser.510 to 1.4.1-devengage-2533-custom-component-parser.511

8

dist/index.js

@@ -732,9 +732,3 @@ import { YeastBlockNodeTypes, YeastNodeFactory, ContentGroupType, isYeastNodeType, YeastParser } from 'yeast-core';

const attribute = attr.slice(2);
const attributeChildren = parser.parseInline(rootNode[p][attr]);
if (attributeChildren.length === 1 && attributeChildren[0]['text']) {
node[attribute] = rootNode[p][attr];
}
else {
node[attribute] = attributeChildren;
}
node[attribute] = rootNode[p][attr];
}

@@ -741,0 +735,0 @@ }

2

package.json
{
"name": "yeast-markdown-parser",
"version": "1.4.1-devengage-2533-custom-component-parser.510",
"version": "1.4.1-devengage-2533-custom-component-parser.511",
"description": "Parses markdown to yeAST (Yuri's Empathetic Arbitrary Syntax Tree) documents",

@@ -5,0 +5,0 @@ "exports": {

@@ -120,9 +120,3 @@ import { BlockParserPlugin, YeastParser, BlockParserPluginResult, YeastNode } from 'yeast-core';

const attribute = attr.slice(2); //remove prefix "@_"
const attributeChildren = parser.parseInline(rootNode[p][attr]);
//Dont set `parseInline` result to attribute if it's bare text
if (attributeChildren.length === 1 && attributeChildren[0]['text']) {
node[attribute] = rootNode[p][attr];
} else {
node[attribute] = attributeChildren;
}
node[attribute] = rootNode[p][attr];
}

@@ -129,0 +123,0 @@ }

Sorry, the diff of this file is not supported yet

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