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

@zhennann/markdown

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zhennann/markdown - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

5

index.js

@@ -34,5 +34,8 @@ const markdown_it = require('markdown-it');

// content
const content = tokenContent.content;
let content = tokenContent.content;
// clear
tokenContent.content = '';
tokenContent.children = [];
// for safe
content = JSON.stringify(JSON.parse(content), null, 2);
// element

@@ -39,0 +42,0 @@ const id = `aplayer-${(new Date()).getTime()}${idx}`;

2

package.json
{
"name": "@zhennann/markdown",
"version": "1.0.4",
"version": "1.0.5",
"description": "markdown",

@@ -5,0 +5,0 @@ "main": "index.js",

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