Socket
Socket
Sign inDemoInstall

mdast-util-gfm-strikethrough

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdast-util-gfm-strikethrough - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

8

package.json
{
"name": "mdast-util-gfm-strikethrough",
"version": "0.1.0",
"version": "0.2.0",
"description": "mdast extension to parse and serialize GFM strikethrough",

@@ -38,7 +38,7 @@ "license": "MIT",

"dependencies": {
"mdast-util-to-markdown": "^0.2.0"
"mdast-util-to-markdown": "^0.3.0"
},
"devDependencies": {
"mdast-util-from-markdown": "^0.3.0",
"micromark-extension-gfm-strikethrough": "^0.1.0",
"mdast-util-from-markdown": "^0.5.0",
"micromark-extension-gfm-strikethrough": "^0.4.0",
"nyc": "^15.0.0",

@@ -45,0 +45,0 @@ "prettier": "^2.0.0",

@@ -15,3 +15,3 @@ # mdast-util-gfm-strikethrough

When parsing (`from-markdown`), must be combined with
[`micromark-extension-gfm-strikethrough`][extension-strikethrough].
[`micromark-extension-gfm-strikethrough`][extension].

@@ -36,3 +36,3 @@ You probably shouldn’t use this package directly, but instead use `remark-gfm`

var toMarkdown = require('mdast-util-to-markdown')
var strikethroughSyntax = require('micromark-extension-gfm-strikethrough')
var syntax = require('micromark-extension-gfm-strikethrough')
var strikethrough = require('mdast-util-gfm-strikethrough')

@@ -43,3 +43,3 @@

var tree = fromMarkdown(doc, {
extensions: [strikethroughSyntax],
extensions: [syntax()],
mdastExtensions: [strikethrough.fromMarkdown]

@@ -103,3 +103,3 @@ })

— the smallest commonmark-compliant markdown parser that exists
* [`micromark/micromark-extension-gfm-strikethrough`][extension-strikethrough]
* [`micromark/micromark-extension-gfm-strikethrough`][extension]
— micromark extension to parse GFM strikethrough

@@ -175,2 +175,2 @@ * [`syntax-tree/mdast-util-from-markdown`][from-markdown]

[extension-strikethrough]: https://github.com/micromark/micromark-extension-gfm-strikethrough
[extension]: https://github.com/micromark/micromark-extension-gfm-strikethrough
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