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

cmarked

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmarked - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

11

lib/cmarked.js

@@ -42,2 +42,3 @@ 'use strict'

this.options = options || cmarked.default
this.renderer.options = options || cmarked.default
}

@@ -241,6 +242,5 @@

list(text, ordered) {
debugger
var bull = ordered ? 'ol' : 'ul'
if(ordered) {
if(this.options.smartOrderList) {
return '<'

@@ -350,10 +350,5 @@ + bull

if(cap = this.rules.list.exec(src)) {
debugger
src = src.substring(cap[0].length)
bull = cap[2]
ordered = parseInt(bull)
debugger
if(this.options.smartOrderList && !ordered) {
ordered = false
}

@@ -469,3 +464,3 @@ this.tokens.push({

gap: '-',
smartOrderList: true
smartOrderList: false
}

@@ -472,0 +467,0 @@

{
"name": "cmarked",
"version": "1.0.8",
"version": "1.0.9",
"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