Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(deps): bump remark-gfm from 2.0.0 to 3.0.0 #72

Merged
merged 1 commit into from
Nov 2, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 1, 2021

Bumps remark-gfm from 2.0.0 to 3.0.0.

Release notes

Sourced from remark-gfm's releases.

3.0.0

  • 890005e Add support for GFM footnotes ✨ (if you were using remark-footnotes before, you should remove it!) (how footnotes are turned to HTML is done in remark-rehype, please update that too)

Full Changelog: remarkjs/remark-gfm@2.0.0...3.0.0

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [remark-gfm](https://github.com/remarkjs/remark-gfm) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/remarkjs/remark-gfm/releases)
- [Commits](remarkjs/remark-gfm@2.0.0...3.0.0)

---
updated-dependencies:
- dependency-name: remark-gfm
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 1, 2021
@ybiquitous ybiquitous self-assigned this Nov 2, 2021
@ybiquitous ybiquitous changed the title chore(deps): bump remark-gfm from 2.0.0 to 3.0.0 feat(deps): bump remark-gfm from 2.0.0 to 3.0.0 Nov 2, 2021
@github-actions
Copy link

github-actions bot commented Nov 2, 2021

npm diff --diff=remark-gfm@2.0.0 --diff=remark-gfm@3.0.0 --diff-unified=2
diff --git a/index.js b/index.js
index v2.0.0..v3.0.0 100644
--- a/index.js
+++ b/index.js
@@ -16,5 +16,5 @@
 
   add('micromarkExtensions', gfm(options))
-  add('fromMarkdownExtensions', gfmFromMarkdown)
+  add('fromMarkdownExtensions', gfmFromMarkdown())
   add('toMarkdownExtensions', gfmToMarkdown(options))
 
diff --git a/package.json b/package.json
index v2.0.0..v3.0.0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "remark-gfm",
-  "version": "2.0.0",
-  "description": "remark plugin to support GFM (autolink literals, strikethrough, tables, tasklists)",
+  "version": "3.0.0",
+  "description": "remark plugin to support GFM (autolink literals, footnotes, strikethrough, tables, tasklists)",
   "license": "MIT",
   "keywords": [
@@ -15,4 +15,5 @@
     "tasklist",
     "autolink",
+    "footnote",
     "github",
     "gfm"
@@ -38,6 +39,6 @@
   "dependencies": {
     "@types/mdast": "^3.0.0",
-    "mdast-util-gfm": "^1.0.0",
-    "micromark-extension-gfm": "^1.0.0",
+    "mdast-util-gfm": "^2.0.0",
+    "micromark-extension-gfm": "^2.0.0",
     "unified": "^10.0.0"
   },
@@ -45,10 +46,9 @@
     "@types/tape": "^4.0.0",
     "c8": "^7.0.0",
-    "dtslint": "^4.0.0",
     "is-hidden": "^2.0.0",
     "prettier": "^2.0.0",
     "remark": "^14.0.0",
     "remark-cli": "^10.0.0",
-    "remark-preset-wooorm": "^8.0.0",
+    "remark-preset-wooorm": "^9.0.0",
     "rimraf": "^3.0.0",
     "string-width": "^5.0.0",
@@ -57,5 +57,5 @@
     "type-coverage": "^2.0.0",
     "typescript": "^4.0.0",
-    "xo": "^0.43.0"
+    "xo": "^0.45.0"
   },
   "scripts": {
diff --git a/readme.md b/readme.md
index v2.0.0..v3.0.0 100644
--- a/readme.md
+++ b/readme.md
@@ -41,4 +41,10 @@
 www.example.com, https://example.com, and contact@example.com.
 
+## Footnote
+
+A note[^1]
+
+[^1]: Big note.
+
 ## Strikethrough
 
@@ -81,9 +87,14 @@
 Now, running `node example` yields:
 
+```txt
+example.md: no issues found
+```
+
 ```html
-example.md: no issues found
 <h1>GFM</h1>
 <h2>Autolink literals</h2>
 <p><a href="http://www.example.com">www.example.com</a>, <a href="https://example.com">https://example.com</a>, and <a href="mailto:contact@example.com">contact@example.com</a>.</p>
+<h2>Footnote</h2>
+<p>A note<sup><a href="#user-content-fn-1" id="user-content-fnref-1" data-footnote-ref aria-describedby="footnote-label">1</a></sup></p>
 <h2>Strikethrough</h2>
 <p><del>one</del> or <del>two</del> tildes.</p>
@@ -104,4 +115,11 @@
 <li class="task-list-item"><input type="checkbox" checked disabled> done</li>
 </ul>
+<section data-footnotes class="footnotes"><h2 id="footnote-label" class="sr-only">Footnotes</h2>
+<ol>
+<li id="user-content-fn-1">
+<p>Big note. <a href="#user-content-fnref-1" data-footnote-backref class="data-footnote-backref" aria-label="Back to content">↩</a></p>
+</li>
+</ol>
+</section>
 ```
 
@@ -114,5 +132,5 @@
 
 Configures remark so that it can parse and serialize GFM (autolink literals,
-strikethrough, tables, tasklists).
+footnotes, strikethrough, tables, tasklists).
 
 ##### `options`
@@ -156,6 +174,4 @@
 *   [`remark-github`](https://github.com/remarkjs/remark-github)
     — Autolink references like in GitHub issues, PRs, and comments
-*   [`remark-footnotes`](https://github.com/remarkjs/remark-footnotes)
-    — Footnotes
 *   [`remark-frontmatter`](https://github.com/remarkjs/remark-frontmatter)
     — Frontmatter (YAML, TOML, and more)
  • Size: 10.8 KB → 11.2 KB (+426 B)
  • Files: 5 → 5 (±0)

Posted by ybiquitous/npm-diff-action

@ybiquitous ybiquitous merged commit a31c2ff into main Nov 2, 2021
@ybiquitous ybiquitous deleted the dependabot/npm_and_yarn/remark-gfm-3.0.0 branch November 2, 2021 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant