Socket
Socket
Sign inDemoInstall

micromark-extension-gfm

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

micromark-extension-gfm - npm Package Compare versions

Comparing version 2.0.3 to 3.0.0

2

index.d.ts

@@ -17,3 +17,3 @@ /**

* @param {HtmlOptions | null | undefined} [options]
* Configuration.
* Configuration (optional).
*

@@ -20,0 +20,0 @@ * Passed to `micromark-extens-gfm-footnote`.

@@ -41,7 +41,7 @@ /**

return combineExtensions([
gfmAutolinkLiteral,
gfmAutolinkLiteral(),
gfmFootnote(),
gfmStrikethrough(options),
gfmTable,
gfmTaskListItem
gfmTable(),
gfmTaskListItem()
])

@@ -54,3 +54,3 @@ }

* @param {HtmlOptions | null | undefined} [options]
* Configuration.
* Configuration (optional).
*

@@ -64,9 +64,9 @@ * Passed to `micromark-extens-gfm-footnote`.

return combineHtmlExtensions([
gfmAutolinkLiteralHtml,
gfmAutolinkLiteralHtml(),
gfmFootnoteHtml(options),
gfmStrikethroughHtml,
gfmTableHtml,
gfmTagfilterHtml,
gfmTaskListItemHtml
gfmStrikethroughHtml(),
gfmTableHtml(),
gfmTagfilterHtml(),
gfmTaskListItemHtml()
])
}
{
"name": "micromark-extension-gfm",
"version": "2.0.3",
"version": "3.0.0",
"description": "micromark extension to support GFM (GitHub Flavored Markdown)",

@@ -32,4 +32,3 @@ "license": "MIT",

"type": "module",
"main": "index.js",
"types": "index.d.ts",
"exports": "./index.js",
"files": [

@@ -40,14 +39,14 @@ "index.d.ts",

"dependencies": {
"micromark-extension-gfm-autolink-literal": "^1.0.0",
"micromark-extension-gfm-footnote": "^1.0.0",
"micromark-extension-gfm-strikethrough": "^1.0.0",
"micromark-extension-gfm-table": "^1.0.0",
"micromark-extension-gfm-tagfilter": "^1.0.0",
"micromark-extension-gfm-task-list-item": "^1.0.0",
"micromark-util-combine-extensions": "^1.0.0",
"micromark-util-types": "^1.0.0"
"micromark-extension-gfm-autolink-literal": "^2.0.0",
"micromark-extension-gfm-footnote": "^2.0.0",
"micromark-extension-gfm-strikethrough": "^2.0.0",
"micromark-extension-gfm-table": "^2.0.0",
"micromark-extension-gfm-tagfilter": "^2.0.0",
"micromark-extension-gfm-task-list-item": "^2.0.0",
"micromark-util-combine-extensions": "^2.0.0",
"micromark-util-types": "^2.0.0"
},
"devDependencies": {
"@types/node": "^20.0.0",
"c8": "^7.0.0",
"c8": "^8.0.0",
"create-gfm-fixtures": "^1.0.0",

@@ -57,3 +56,3 @@ "hast-util-from-html": "^1.0.0",

"hast-util-to-text": "^3.0.0",
"micromark": "^3.0.0",
"micromark": "^4.0.0",
"prettier": "^2.0.0",

@@ -80,9 +79,20 @@ "rehype": "^12.0.0",

"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
},
"remarkConfig": {
"plugins": [
"remark-preset-wooorm"
]
},
"typeCoverage": {
"atLeast": 100,
"detail": true,
"ignoreCatch": true,
"strict": true
},
"xo": {

@@ -100,14 +110,3 @@ "prettier": true,

]
},
"remarkConfig": {
"plugins": [
"preset-wooorm"
]
},
"typeCoverage": {
"atLeast": 100,
"detail": true,
"strict": true,
"ignoreCatch": true
}
}

@@ -80,3 +80,3 @@ # micromark-extension-gfm

```js
import {gfm, gfmHtml} from 'https://esm.sh/micromark-extension-gfm@2'
import {gfm, gfmHtml} from 'https://esm.sh/micromark-extension-gfm@3'
```

@@ -88,3 +88,3 @@

<script type="module">
import {gfm, gfmHtml} from 'https://esm.sh/micromark-extension-gfm@2?bundle'
import {gfm, gfmHtml} from 'https://esm.sh/micromark-extension-gfm@3?bundle'
</script>

@@ -310,9 +310,12 @@ ```

Projects maintained by the unified collective are compatible with all maintained
Projects maintained by the unified collective are compatible with maintained
versions of Node.js.
As of now, that is Node.js 16+.
Our projects sometimes work with older versions, but this is not guaranteed.
These extensions work with `micromark` version 3+.
When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`micromark-extension-gfm@^3`, compatible with Node.js 16.
This package works with `micromark` version `3` and later.
## Security

@@ -353,5 +356,5 @@

[size-badge]: https://img.shields.io/bundlephobia/minzip/micromark-extension-gfm.svg
[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=micromark-extension-gfm
[size]: https://bundlephobia.com/result?p=micromark-extension-gfm
[size]: https://bundlejs.com/?q=micromark-extension-gfm

@@ -358,0 +361,0 @@ [sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg

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