diff --git a/package.json b/package.json
index 9d53f1f196e2f..40378f10d10db 100644
--- a/package.json
+++ b/package.json
@@ -64,15 +64,15 @@
"npm-run-all": "4.1.5",
"plop": "^1.9.1",
"prettier": "2.1.2",
- "remark": "^12.0.1",
- "remark-cli": "^8.0.1",
- "remark-frontmatter": "^2.0.0",
- "remark-lint": "^7.0.1",
+ "remark": "^13.0.0",
+ "remark-cli": "^9.0.0",
+ "remark-frontmatter": "^3.0.0",
+ "remark-lint": "^8.0.0",
"remark-lint-first-heading-level": "^2.0.1",
"remark-lint-no-duplicate-headings-in-section": "^2.0.2",
"remark-lint-no-reference-like-url": "^2.0.1",
- "remark-preset-lint-markdown-style-guide": "^3.0.1",
- "remark-preset-lint-recommended": "^4.0.1",
+ "remark-preset-lint-markdown-style-guide": "^4.0.0",
+ "remark-preset-lint-recommended": "^5.0.0",
"remark-retext": "^4.0.0",
"retext": "^7.0.1",
"retext-diacritics": "^3.0.0",
diff --git a/packages/gatsby-remark-autolink-headers/package.json b/packages/gatsby-remark-autolink-headers/package.json
index 5039939061643..ae7ac18e661c5 100644
--- a/packages/gatsby-remark-autolink-headers/package.json
+++ b/packages/gatsby-remark-autolink-headers/package.json
@@ -10,8 +10,8 @@
"@babel/runtime": "^7.12.5",
"github-slugger": "^1.3.0",
"lodash": "^4.17.21",
- "mdast-util-to-string": "^1.1.0",
- "unist-util-visit": "^1.4.1"
+ "mdast-util-to-string": "^2.0.0",
+ "unist-util-visit": "^2.0.3"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
diff --git a/packages/gatsby-remark-autolink-headers/src/__tests__/__snapshots__/index.js.snap b/packages/gatsby-remark-autolink-headers/src/__tests__/__snapshots__/index.js.snap
index 45b4182438a97..71e6da32ac43e 100644
--- a/packages/gatsby-remark-autolink-headers/src/__tests__/__snapshots__/index.js.snap
+++ b/packages/gatsby-remark-autolink-headers/src/__tests__/__snapshots__/index.js.snap
@@ -22,13 +22,12 @@ Object {
"url": "#heading-uno",
},
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
- "indent": Array [],
"start": Object {
"column": 3,
"line": 1,
@@ -50,13 +49,12 @@ Object {
"id": "heading-uno",
},
"depth": 1,
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -89,13 +87,12 @@ Object {
"url": "#heading-uno",
},
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
- "indent": Array [],
"start": Object {
"column": 3,
"line": 1,
@@ -117,13 +114,12 @@ Object {
"id": "heading-uno",
},
"depth": 1,
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -156,13 +152,12 @@ Object {
"url": "#heading-uno",
},
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
- "indent": Array [],
"start": Object {
"column": 3,
"line": 1,
@@ -184,13 +179,12 @@ Object {
"id": "heading-uno",
},
"depth": 1,
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -205,13 +199,12 @@ exports[`gatsby-remark-autolink-headers adds id to a markdown header with no ico
Object {
"children": Array [
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
- "indent": Array [],
"start": Object {
"column": 3,
"line": 1,
@@ -232,13 +225,12 @@ Object {
"id": "heading-uno",
},
"depth": 1,
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -271,13 +263,12 @@ Object {
"url": "#heading-uno",
},
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
- "indent": Array [],
"start": Object {
"column": 3,
"line": 1,
@@ -299,13 +290,12 @@ Object {
"id": "heading-uno",
},
"depth": 1,
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -320,13 +310,12 @@ exports[`gatsby-remark-autolink-headers adds places anchor after header when isI
Object {
"children": Array [
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
- "indent": Array [],
"start": Object {
"column": 3,
"line": 1,
@@ -366,13 +355,12 @@ Object {
"id": "heading-uno",
},
"depth": 1,
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -387,13 +375,12 @@ exports[`gatsby-remark-autolink-headers does not add data to a markdown heading
Object {
"children": Array [
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
- "indent": Array [],
"start": Object {
"column": 3,
"line": 1,
@@ -405,13 +392,12 @@ Object {
},
],
"depth": 1,
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -426,13 +412,12 @@ exports[`gatsby-remark-autolink-headers does not add data to a markdown heading
Object {
"children": Array [
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 27,
"line": 1,
"offset": 26,
},
- "indent": Array [],
"start": Object {
"column": 3,
"line": 1,
@@ -444,13 +429,12 @@ Object {
},
],
"depth": 1,
- "position": Position {
+ "position": Object {
"end": Object {
"column": 27,
"line": 1,
"offset": 26,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -483,13 +467,12 @@ Object {
"url": "#Heading-One",
},
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 2,
"offset": 14,
},
- "indent": Array [],
"start": Object {
"column": 3,
"line": 2,
@@ -511,13 +494,12 @@ Object {
"id": "Heading-One",
},
"depth": 1,
- "position": Position {
+ "position": Object {
"end": Object {
"column": 14,
"line": 2,
"offset": 14,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 2,
@@ -550,13 +532,12 @@ Object {
"url": "#Heading-Two",
},
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 15,
"line": 4,
"offset": 30,
},
- "indent": Array [],
"start": Object {
"column": 4,
"line": 4,
@@ -578,13 +559,12 @@ Object {
"id": "Heading-Two",
},
"depth": 2,
- "position": Position {
+ "position": Object {
"end": Object {
"column": 15,
"line": 4,
"offset": 30,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 4,
@@ -617,13 +597,12 @@ Object {
"url": "#Heading-Three",
},
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 18,
"line": 6,
"offset": 49,
},
- "indent": Array [],
"start": Object {
"column": 5,
"line": 6,
@@ -645,13 +624,12 @@ Object {
"id": "Heading-Three",
},
"depth": 3,
- "position": Position {
+ "position": Object {
"end": Object {
"column": 18,
"line": 6,
"offset": 49,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 6,
diff --git a/packages/gatsby-remark-autolink-headers/src/__tests__/index.js b/packages/gatsby-remark-autolink-headers/src/__tests__/index.js
index af6e9b9e19306..23c439581efd6 100644
--- a/packages/gatsby-remark-autolink-headers/src/__tests__/index.js
+++ b/packages/gatsby-remark-autolink-headers/src/__tests__/index.js
@@ -192,7 +192,7 @@ describe(`gatsby-remark-autolink-headers`, () => {
# With *Bold* {#custom-withbold}
-# Invalid {#this_is_italic}
+# Not italic {#not_italic_here}
# No custom ID
@@ -222,8 +222,8 @@ describe(`gatsby-remark-autolink-headers`, () => {
text: `With Bold`,
},
{
- id: `invalid-thisisitalic`,
- text: `Invalid {#thisisitalic}`,
+ id: `not_italic_here`,
+ text: `Not italic`,
},
{
id: `no-custom-id`,
@@ -294,9 +294,9 @@ describe(`gatsby-remark-autolink-headers`, () => {
it(`only adds ids to markdown headings whose heading type is included in the passed elements prop`, () => {
const markdownAST = remark.parse(`
# Heading One
-
+
## Heading Two
-
+
### Heading Three
`)
@@ -314,9 +314,9 @@ describe(`gatsby-remark-autolink-headers`, () => {
it(`does not add data to markdown headings when an empty array elements prop is passed`, () => {
const markdownAST = remark.parse(`
# Heading One
-
+
## Heading Two
-
+
### Heading Three
`)
@@ -330,15 +330,15 @@ describe(`gatsby-remark-autolink-headers`, () => {
it(`allows all six heading depths to be passed in the elements prop`, () => {
const markdownAST = remark.parse(`
# Heading One
-
+
## Heading Two
-
+
### Heading Three
#### Heading Four
-
+
##### Heading Five
-
+
###### Heading Six
`)
diff --git a/packages/gatsby-remark-code-repls/package.json b/packages/gatsby-remark-code-repls/package.json
index 744de8e56cee5..480f40b63d051 100644
--- a/packages/gatsby-remark-code-repls/package.json
+++ b/packages/gatsby-remark-code-repls/package.json
@@ -10,9 +10,9 @@
"@babel/runtime": "^7.12.5",
"lz-string": "^1.4.4",
"normalize-path": "^3.0.0",
- "npm-package-arg": "^6.1.1",
+ "npm-package-arg": "^8.1.1",
"recursive-readdir": "^2.2.2",
- "unist-util-map": "^1.0.5",
+ "unist-util-map": "^2.0.1",
"urijs": "^1.19.2"
},
"devDependencies": {
diff --git a/packages/gatsby-remark-code-repls/src/__tests__/__snapshots__/index.js.snap b/packages/gatsby-remark-code-repls/src/__tests__/__snapshots__/index.js.snap
index a67b88ba8baf5..f8deed1431ba3 100644
--- a/packages/gatsby-remark-code-repls/src/__tests__/__snapshots__/index.js.snap
+++ b/packages/gatsby-remark-code-repls/src/__tests__/__snapshots__/index.js.snap
@@ -10,13 +10,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 35,
"line": 1,
"offset": 34,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -52,13 +51,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 20,
"line": 1,
"offset": 19,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -94,13 +92,12 @@ Object {
"value": "Click me",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 20,
"line": 1,
"offset": 19,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -136,13 +133,12 @@ Object {
"value": "Custom link text",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 36,
"line": 1,
"offset": 35,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -178,13 +174,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 20,
"line": 1,
"offset": 19,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -220,13 +215,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 41,
"line": 1,
"offset": 40,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -262,13 +256,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 26,
"line": 1,
"offset": 25,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -304,13 +297,12 @@ Object {
"value": "Click me",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 26,
"line": 1,
"offset": 25,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -346,13 +338,12 @@ Object {
"value": "Custom link text",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 42,
"line": 1,
"offset": 41,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -388,13 +379,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 26,
"line": 1,
"offset": 25,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -430,13 +420,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 41,
"line": 1,
"offset": 40,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -472,13 +461,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 41,
"line": 1,
"offset": 40,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -514,13 +502,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 95,
"line": 1,
"offset": 94,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -556,13 +543,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 37,
"line": 1,
"offset": 36,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -598,13 +584,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 22,
"line": 1,
"offset": 21,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -640,13 +625,12 @@ Object {
"value": "Click me",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 22,
"line": 1,
"offset": 21,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -682,13 +666,12 @@ Object {
"value": "Custom link text",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 38,
"line": 1,
"offset": 37,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -724,13 +707,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 22,
"line": 1,
"offset": 21,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -766,13 +748,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 35,
"line": 1,
"offset": 34,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -808,13 +789,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 20,
"line": 1,
"offset": 19,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -850,13 +830,12 @@ Object {
"value": "Click me",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 20,
"line": 1,
"offset": 19,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -892,13 +871,12 @@ Object {
"value": "Custom link text",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 36,
"line": 1,
"offset": 35,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -934,13 +912,12 @@ Object {
"value": "REPL",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 20,
"line": 1,
"offset": 19,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
diff --git a/packages/gatsby-remark-copy-linked-files/package.json b/packages/gatsby-remark-copy-linked-files/package.json
index 4f7906bb1117a..1f8b772624a9d 100644
--- a/packages/gatsby-remark-copy-linked-files/package.json
+++ b/packages/gatsby-remark-copy-linked-files/package.json
@@ -14,14 +14,14 @@
"lodash": "^4.17.21",
"path-is-inside": "^1.0.2",
"probe-image-size": "^6.0.0",
- "unist-util-visit": "^1.4.1"
+ "unist-util-visit": "^2.0.3"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^1.3.0-next.1",
"cross-env": "^7.0.3",
- "remark": "^10.0.1",
+ "remark": "^13.0.0",
"remark-mdx": "^1.6.18"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-copy-linked-files#readme",
diff --git a/packages/gatsby-remark-custom-blocks/README.md b/packages/gatsby-remark-custom-blocks/README.md
index 2dd250894fd01..c987d450333e8 100644
--- a/packages/gatsby-remark-custom-blocks/README.md
+++ b/packages/gatsby-remark-custom-blocks/README.md
@@ -1,5 +1,14 @@
# gatsby-remark-custom-blocks
+> **Note**: this plugin is incompatible with `gatsby-transformer-remark@^4.0.0`
+> because the upstream [`remark-custom-blocks`](https://github.com/zestedesavoir/zmarkdown/tree/master/packages/remark-custom-blocks)
+> package is not upgraded to remark 13 yet.
+>
+> The work on upgrading to remark 13 is in progress, so follow [this issue](https://github.com/zestedesavoir/zmarkdown/issues/416)
+> for updates.
+>
+> The latest compatible version is `gatsby-transformer-remark@3.2.0`.
+
Adds custom blocks to `MarkdownRemark` using [remark-custom-blocks](https://github.com/zestedesavoir/zmarkdown/tree/master/packages/remark-custom-blocks).
Unlike in [gatsby-remark-component](https://www.gatsbyjs.org/packages/gatsby-remark-component/) where you can only use HTML within the custom component tag, custom blocks allow you to use markdown within the block.
diff --git a/packages/gatsby-remark-custom-blocks/src/__tests__/index.js b/packages/gatsby-remark-custom-blocks/src/__tests__/index.js
index cc3b2e3efdf37..1a8fdde50f6af 100644
--- a/packages/gatsby-remark-custom-blocks/src/__tests__/index.js
+++ b/packages/gatsby-remark-custom-blocks/src/__tests__/index.js
@@ -2,7 +2,8 @@ const Remark = require(`remark`)
const find = require(`unist-util-find`)
const plugin = require(`../index`)
-describe(`gatsby-remark-custom-blocks`, () => {
+// TODO: re-enable when https://github.com/zestedesavoir/zmarkdown/issues/416 is done
+describe.skip(`gatsby-remark-custom-blocks`, () => {
let remark
beforeEach(() => {
diff --git a/packages/gatsby-remark-embed-snippet/package.json b/packages/gatsby-remark-embed-snippet/package.json
index 183bb6353daa1..3bcff2dc9bb48 100644
--- a/packages/gatsby-remark-embed-snippet/package.json
+++ b/packages/gatsby-remark-embed-snippet/package.json
@@ -9,8 +9,8 @@
"dependencies": {
"@babel/runtime": "^7.12.5",
"normalize-path": "^3.0.0",
- "parse-numeric-range": "^0.0.2",
- "unist-util-map": "^1.0.5"
+ "parse-numeric-range": "^1.2.0",
+ "unist-util-map": "^2.0.1"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
diff --git a/packages/gatsby-remark-embed-snippet/src/__tests__/__snapshots__/index.js.snap b/packages/gatsby-remark-embed-snippet/src/__tests__/__snapshots__/index.js.snap
index 4684c1ab908d6..1f55564b25bfd 100644
--- a/packages/gatsby-remark-embed-snippet/src/__tests__/__snapshots__/index.js.snap
+++ b/packages/gatsby-remark-embed-snippet/src/__tests__/__snapshots__/index.js.snap
@@ -7,13 +7,12 @@ Object {
"children": Array [
Object {
"lang": "css",
- "position": Position {
+ "position": Object {
"end": Object {
"column": 24,
"line": 1,
"offset": 23,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -24,13 +23,12 @@ Object {
"value": "html { height: 100%; }",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 24,
"line": 1,
"offset": 23,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -63,13 +61,12 @@ Object {
"children": Array [
Object {
"lang": "html",
- "position": Position {
+ "position": Object {
"end": Object {
"column": 25,
"line": 1,
"offset": 24,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -80,13 +77,12 @@ Object {
"value": "",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 25,
"line": 1,
"offset": 24,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -119,13 +115,12 @@ Object {
"children": Array [
Object {
"lang": "jsx",
- "position": Position {
+ "position": Object {
"end": Object {
"column": 23,
"line": 1,
"offset": 22,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -136,13 +131,12 @@ Object {
"value": "const foo = \\"bar\\";",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 23,
"line": 1,
"offset": 22,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -175,13 +169,12 @@ Object {
"children": Array [
Object {
"lang": "markup",
- "position": Position {
+ "position": Object {
"end": Object {
"column": 23,
"line": 1,
"offset": 22,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -192,13 +185,12 @@ Object {
"value": "# Hi",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 23,
"line": 1,
"offset": 22,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -231,13 +223,12 @@ Object {
"children": Array [
Object {
"lang": "rust",
- "position": Position {
+ "position": Object {
"end": Object {
"column": 23,
"line": 1,
"offset": 22,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -248,13 +239,12 @@ Object {
"value": "extern crate lazy_static;",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 23,
"line": 1,
"offset": 22,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -287,13 +277,12 @@ Object {
"children": Array [
Object {
"lang": "yaml",
- "position": Position {
+ "position": Object {
"end": Object {
"column": 25,
"line": 1,
"offset": 24,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -304,13 +293,12 @@ Object {
"value": "name: Brian Vaughn",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 25,
"line": 1,
"offset": 24,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -343,13 +331,12 @@ Object {
"children": Array [
Object {
"lang": "bash",
- "position": Position {
+ "position": Object {
"end": Object {
"column": 23,
"line": 1,
"offset": 22,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -360,13 +347,12 @@ Object {
"value": "pwd",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 23,
"line": 1,
"offset": 22,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -399,13 +385,12 @@ Object {
"children": Array [
Object {
"lang": "none",
- "position": Position {
+ "position": Object {
"end": Object {
"column": 20,
"line": 1,
"offset": 19,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -416,13 +401,12 @@ Object {
"value": "const foo = \\"bar\\";",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 20,
"line": 1,
"offset": 19,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -455,13 +439,12 @@ Object {
"children": Array [
Object {
"lang": "jsx",
- "position": Position {
+ "position": Object {
"end": Object {
"column": 23,
"line": 1,
"offset": 22,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -472,13 +455,12 @@ Object {
"value": "const foo = \\"bar\\";",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 23,
"line": 1,
"offset": 22,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -512,13 +494,12 @@ Object {
Object {
"children": Array [
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 20,
"line": 1,
"offset": 19,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -529,13 +510,12 @@ Object {
"value": "console.log(\\"hi\\")",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 20,
"line": 1,
"offset": 19,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
diff --git a/packages/gatsby-remark-embed-snippet/src/index.js b/packages/gatsby-remark-embed-snippet/src/index.js
index 573dbaa2921c5..b10fcbef75ffa 100644
--- a/packages/gatsby-remark-embed-snippet/src/index.js
+++ b/packages/gatsby-remark-embed-snippet/src/index.js
@@ -59,7 +59,7 @@ module.exports = ({ markdownAST, markdownNode }, { directory } = {}) => {
if (range.length === 1) {
lines = [Number.parseInt(range, 10)]
} else {
- lines = rangeParser.parse(range)
+ lines = rangeParser(range)
}
// Remove everything after the range prefix from file path
snippetPath = snippetPath.slice(0, rangePrefixIndex)
diff --git a/packages/gatsby-remark-graphviz/package.json b/packages/gatsby-remark-graphviz/package.json
index 7997b1a5877a0..9cd40b23bdd63 100644
--- a/packages/gatsby-remark-graphviz/package.json
+++ b/packages/gatsby-remark-graphviz/package.json
@@ -9,7 +9,7 @@
"dependencies": {
"@babel/runtime": "^7.12.5",
"cheerio": "^1.0.0-rc.3",
- "unist-util-visit": "^1.4.1",
+ "unist-util-visit": "^2.0.3",
"viz.js": "^2.1.2"
},
"devDependencies": {
@@ -17,9 +17,9 @@
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^1.3.0-next.1",
"cross-env": "^7.0.3",
- "hast-util-to-html": "^4.0.1",
- "mdast-util-to-hast": "^3.0.4",
- "remark": "^9.0.0",
+ "hast-util-to-html": "^7.1.2",
+ "mdast-util-to-hast": "^10.2.0",
+ "remark": "^13.0.0",
"rimraf": "^3.0.2",
"unist-util-find": "^1.0.2"
},
diff --git a/packages/gatsby-remark-images-contentful/package.json b/packages/gatsby-remark-images-contentful/package.json
index 8bb02a85d9ef3..c74d23d312fa8 100644
--- a/packages/gatsby-remark-images-contentful/package.json
+++ b/packages/gatsby-remark-images-contentful/package.json
@@ -23,7 +23,7 @@
"lodash": "^4.17.21",
"semver": "^7.3.2",
"sharp": "^0.28.0",
- "unist-util-select": "^1.5.0"
+ "unist-util-select": "^3.0.4"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
diff --git a/packages/gatsby-remark-images-contentful/src/index.js b/packages/gatsby-remark-images-contentful/src/index.js
index b8730948a60ef..a8d3f4d028c6b 100644
--- a/packages/gatsby-remark-images-contentful/src/index.js
+++ b/packages/gatsby-remark-images-contentful/src/index.js
@@ -1,4 +1,4 @@
-const select = require(`unist-util-select`)
+const { selectAll } = require(`unist-util-select`)
const sharp = require(`./safe-sharp`)
const axios = require(`axios`)
const _ = require(`lodash`)
@@ -39,10 +39,10 @@ module.exports = async (
}
// This will only work for markdown syntax image tags
- const markdownImageNodes = select(markdownAST, `image`)
+ const markdownImageNodes = selectAll(`image`, markdownAST)
// This will also allow the use of html image tags
- const rawHtmlNodes = select(markdownAST, `html`)
+ const rawHtmlNodes = selectAll(`html`, markdownAST)
const generateImagesAndUpdateNode = async function (node) {
let originalImg = node.url
diff --git a/packages/gatsby-remark-images/package.json b/packages/gatsby-remark-images/package.json
index eaa44685b922c..daa5fca65f702 100644
--- a/packages/gatsby-remark-images/package.json
+++ b/packages/gatsby-remark-images/package.json
@@ -13,11 +13,11 @@
"gatsby-core-utils": "^2.3.0-next.1",
"is-relative-url": "^3.0.0",
"lodash": "^4.17.21",
- "mdast-util-definitions": "^1.2.5",
+ "mdast-util-definitions": "^4.0.0",
"potrace": "^2.1.8",
"query-string": "^6.13.3",
- "unist-util-select": "^1.5.0",
- "unist-util-visit-parents": "^2.1.2"
+ "unist-util-select": "^3.0.4",
+ "unist-util-visit-parents": "^3.1.1"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
@@ -25,8 +25,8 @@
"babel-preset-gatsby-package": "^1.3.0-next.1",
"cross-env": "^7.0.3",
"gatsby-plugin-utils": "^1.3.0-next.1",
- "hast-util-to-html": "^6.1.0",
- "mdast-util-to-hast": "^6.0.2"
+ "hast-util-to-html": "^7.1.2",
+ "mdast-util-to-hast": "^10.2.0"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-images#readme",
"keywords": [
diff --git a/packages/gatsby-remark-katex/package.json b/packages/gatsby-remark-katex/package.json
index 4a365241c38a0..511efae7154de 100644
--- a/packages/gatsby-remark-katex/package.json
+++ b/packages/gatsby-remark-katex/package.json
@@ -8,8 +8,8 @@
},
"dependencies": {
"@babel/runtime": "^7.12.5",
- "remark-math": "^1.0.6",
- "unist-util-visit": "^1.4.1"
+ "remark-math": "^4.0.0",
+ "unist-util-visit": "^2.0.3"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
@@ -29,7 +29,7 @@
"main": "index.js",
"peerDependencies": {
"gatsby": "^3.0.0-next.0",
- "katex": "^0.10.0"
+ "katex": "^0.12.0"
},
"repository": {
"type": "git",
diff --git a/packages/gatsby-remark-katex/src/__tests__/__snapshots__/index.js.snap b/packages/gatsby-remark-katex/src/__tests__/__snapshots__/index.js.snap
index 92fbc81f264b4..5bb93924e3240 100644
--- a/packages/gatsby-remark-katex/src/__tests__/__snapshots__/index.js.snap
+++ b/packages/gatsby-remark-katex/src/__tests__/__snapshots__/index.js.snap
@@ -15,16 +15,18 @@ Object {
],
"hName": "span",
"hProperties": Object {
- "className": "inlineMath",
+ "className": Array [
+ "math",
+ "math-inline",
+ ],
},
},
- "position": Position {
+ "position": Object {
"end": Object {
"column": 20,
"line": 1,
"offset": 19,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -35,13 +37,12 @@ Object {
"value": "a2+b2=c2",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 20,
"line": 1,
"offset": 19,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -82,16 +83,18 @@ Object {
],
"hName": "span",
"hProperties": Object {
- "className": "inlineMath",
+ "className": Array [
+ "math",
+ "math-inline",
+ ],
},
},
- "position": Position {
+ "position": Object {
"end": Object {
"column": 18,
"line": 1,
"offset": 17,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -102,13 +105,12 @@ Object {
"value": "a2+b2=c2",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 18,
"line": 1,
"offset": 17,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -147,19 +149,19 @@ Object {
],
"hName": "div",
"hProperties": Object {
- "className": "math",
+ "className": Array [
+ "math",
+ "math-display",
+ ],
},
},
- "position": Position {
+ "meta": null,
+ "position": Object {
"end": Object {
"column": 3,
"line": 3,
"offset": 21,
},
- "indent": Array [
- 1,
- 1,
- ],
"start": Object {
"column": 1,
"line": 1,
diff --git a/packages/gatsby-remark-prismjs/package.json b/packages/gatsby-remark-prismjs/package.json
index 60fd9657cca2b..8953775281bb3 100644
--- a/packages/gatsby-remark-prismjs/package.json
+++ b/packages/gatsby-remark-prismjs/package.json
@@ -8,8 +8,8 @@
},
"dependencies": {
"@babel/runtime": "^7.12.5",
- "parse-numeric-range": "^0.0.2",
- "unist-util-visit": "^1.4.1"
+ "parse-numeric-range": "^1.2.0",
+ "unist-util-visit": "^2.0.3"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
@@ -18,7 +18,7 @@
"cheerio": "^1.0.0-rc.3",
"cross-env": "^7.0.3",
"prismjs": "^1.21.0",
- "remark": "^9.0.0"
+ "remark": "^13.0.0"
},
"peerDependencies": {
"gatsby": "^3.0.0-next.0",
diff --git a/packages/gatsby-remark-prismjs/src/__tests__/__snapshots__/index.js.snap b/packages/gatsby-remark-prismjs/src/__tests__/__snapshots__/index.js.snap
index d5bb202e8e95b..04fe968cee858 100644
--- a/packages/gatsby-remark-prismjs/src/__tests__/__snapshots__/index.js.snap
+++ b/packages/gatsby-remark-prismjs/src/__tests__/__snapshots__/index.js.snap
@@ -5,19 +5,13 @@ Object {
"children": Array [
Object {
"lang": "diff-javascript",
- "position": Position {
+ "meta": null,
+ "position": Object {
"end": Object {
"column": 4,
"line": 6,
"offset": 141,
},
- "indent": Array [
- 1,
- 1,
- 1,
- 1,
- 1,
- ],
"start": Object {
"column": 1,
"line": 1,
@@ -53,13 +47,12 @@ Object {
Object {
"children": Array [
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 11,
"line": 1,
"offset": 10,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -70,13 +63,12 @@ Object {
"value": "some text ",
},
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 35,
"line": 1,
"offset": 34,
},
- "indent": Array [],
"start": Object {
"column": 11,
"line": 1,
@@ -87,13 +79,12 @@ Object {
"value": "containing inline code",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 35,
"line": 1,
"offset": 34,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -124,16 +115,13 @@ Object {
"children": Array [
Object {
"lang": "js",
- "position": Position {
+ "meta": null,
+ "position": Object {
"end": Object {
"column": 4,
"line": 3,
"offset": 17,
},
- "indent": Array [
- 1,
- 1,
- ],
"start": Object {
"column": 1,
"line": 1,
@@ -165,16 +153,13 @@ Object {
"children": Array [
Object {
"lang": "foobar",
- "position": Position {
+ "meta": null,
+ "position": Object {
"end": Object {
"column": 4,
"line": 3,
"offset": 21,
},
- "indent": Array [
- 1,
- 1,
- ],
"start": Object {
"column": 1,
"line": 1,
@@ -206,16 +191,13 @@ Object {
"children": Array [
Object {
"lang": "foobar",
- "position": Position {
+ "meta": null,
+ "position": Object {
"end": Object {
"column": 4,
"line": 3,
"offset": 21,
},
- "indent": Array [
- 1,
- 1,
- ],
"start": Object {
"column": 1,
"line": 1,
@@ -247,16 +229,13 @@ Object {
"children": Array [
Object {
"lang": "js",
- "position": Position {
+ "meta": null,
+ "position": Object {
"end": Object {
"column": 4,
"line": 3,
"offset": 17,
},
- "indent": Array [
- 1,
- 1,
- ],
"start": Object {
"column": 1,
"line": 1,
@@ -288,18 +267,13 @@ Object {
"children": Array [
Object {
"lang": "js{2}",
- "position": Position {
+ "meta": null,
+ "position": Object {
"end": Object {
"column": 4,
"line": 5,
"offset": 27,
},
- "indent": Array [
- 1,
- 1,
- 1,
- 1,
- ],
"start": Object {
"column": 1,
"line": 1,
@@ -333,13 +307,12 @@ Object {
Object {
"children": Array [
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 29,
"line": 1,
"offset": 28,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -350,13 +323,12 @@ Object {
"value": ".foo { color: red }
",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 29,
"line": 1,
"offset": 28,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -388,13 +360,12 @@ Object {
Object {
"children": Array [
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 10,
"line": 1,
"offset": 9,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -405,13 +376,12 @@ Object {
"value": "foo bar
",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 10,
"line": 1,
"offset": 9,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -443,13 +413,12 @@ Object {
Object {
"children": Array [
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 16,
"line": 1,
"offset": 15,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -460,13 +429,12 @@ Object {
"value": "Fake
",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 16,
"line": 1,
"offset": 15,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -498,13 +466,12 @@ Object {
Object {
"children": Array [
Object {
- "position": Position {
+ "position": Object {
"end": Object {
"column": 10,
"line": 1,
"offset": 9,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -515,13 +482,12 @@ Object {
"value": "foo bar
",
},
],
- "position": Position {
+ "position": Object {
"end": Object {
"column": 10,
"line": 1,
"offset": 9,
},
- "indent": Array [],
"start": Object {
"column": 1,
"line": 1,
@@ -552,17 +518,13 @@ Object {
"children": Array [
Object {
"lang": "js",
- "position": Position {
+ "meta": null,
+ "position": Object {
"end": Object {
"column": 4,
"line": 4,
"offset": 31,
},
- "indent": Array [
- 1,
- 1,
- 1,
- ],
"start": Object {
"column": 1,
"line": 1,
@@ -596,17 +558,13 @@ Object {
"children": Array [
Object {
"lang": "js{numberLines:5}",
- "position": Position {
+ "meta": null,
+ "position": Object {
"end": Object {
"column": 4,
"line": 4,
"offset": 46,
},
- "indent": Array [
- 1,
- 1,
- 1,
- ],
"start": Object {
"column": 1,
"line": 1,
@@ -640,17 +598,13 @@ Object {
"children": Array [
Object {
"lang": "js",
- "position": Position {
+ "meta": null,
+ "position": Object {
"end": Object {
"column": 4,
"line": 4,
"offset": 31,
},
- "indent": Array [
- 1,
- 1,
- 1,
- ],
"start": Object {
"column": 1,
"line": 1,
@@ -684,15 +638,13 @@ Object {
"children": Array [
Object {
"lang": "bash{promptHost:server}",
- "position": Position {
+ "meta": null,
+ "position": Object {
"end": Object {
"column": 15,
"line": 2,
"offset": 41,
},
- "indent": Array [
- 1,
- ],
"start": Object {
"column": 1,
"line": 1,
@@ -724,15 +676,13 @@ Object {
"children": Array [
Object {
"lang": "bash{promptUser:alice}{promptHost:server}",
- "position": Position {
+ "meta": null,
+ "position": Object {
"end": Object {
"column": 15,
"line": 2,
"offset": 59,
},
- "indent": Array [
- 1,
- ],
"start": Object {
"column": 1,
"line": 1,
@@ -764,15 +714,13 @@ Object {
"children": Array [
Object {
"lang": "bash{promptUser:alice}",
- "position": Position {
+ "meta": null,
+ "position": Object {
"end": Object {
"column": 15,
"line": 2,
"offset": 40,
},
- "indent": Array [
- 1,
- ],
"start": Object {
"column": 1,
"line": 1,
diff --git a/packages/gatsby-remark-prismjs/src/directives.js b/packages/gatsby-remark-prismjs/src/directives.js
index 787e8503a07df..eb1b02e89a37f 100644
--- a/packages/gatsby-remark-prismjs/src/directives.js
+++ b/packages/gatsby-remark-prismjs/src/directives.js
@@ -91,7 +91,7 @@ const parseLine = (line, code, index, actions) => {
if (directiveRange) {
const strippedDirectiveRange = directiveRange.slice(1, -1)
- const range = rangeParser.parse(strippedDirectiveRange)
+ const range = rangeParser(strippedDirectiveRange)
if (range.length > 0) {
range.forEach(relativeIndex => {
actions.flag(feature, index + relativeIndex, flagSource)
diff --git a/packages/gatsby-remark-prismjs/src/parse-options.js b/packages/gatsby-remark-prismjs/src/parse-options.js
index bf12821d42b6b..ba69b0608c142 100644
--- a/packages/gatsby-remark-prismjs/src/parse-options.js
+++ b/packages/gatsby-remark-prismjs/src/parse-options.js
@@ -19,8 +19,8 @@ module.exports = language => {
const splitOption = option.replace(/ /g, ``).split(`:`)
// Test if the option is for line highlighting
- if (splitOption.length === 1 && rangeParser.parse(option).length > 0) {
- highlightLines = rangeParser.parse(option).filter(n => n > 0)
+ if (splitOption.length === 1 && rangeParser(option).length > 0) {
+ highlightLines = rangeParser(option).filter(n => n > 0)
}
// Test if the option is for line numbering
// Option must look like `numberLines: true` or `numberLines: `
@@ -45,9 +45,7 @@ module.exports = language => {
promptUserLocal = splitOption[1]
}
if (splitOption.length === 2 && splitOption[0] === `outputLines`) {
- outputLines = rangeParser
- .parse(splitOption[1].trim())
- .filter(n => n > 0)
+ outputLines = rangeParser(splitOption[1].trim()).filter(n => n > 0)
}
})
diff --git a/packages/gatsby-remark-responsive-iframe/package.json b/packages/gatsby-remark-responsive-iframe/package.json
index 208b512f2d029..7fbb6b0ed774f 100644
--- a/packages/gatsby-remark-responsive-iframe/package.json
+++ b/packages/gatsby-remark-responsive-iframe/package.json
@@ -11,14 +11,14 @@
"cheerio": "^1.0.0-rc.3",
"common-tags": "^1.8.0",
"lodash": "^4.17.21",
- "unist-util-visit": "^1.4.1"
+ "unist-util-visit": "^2.0.3"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^1.3.0-next.1",
"cross-env": "^7.0.3",
- "remark": "^10.0.1",
+ "remark": "^13.0.0",
"remark-mdx": "^1.6.21",
"unist-util-find": "^1.0.2"
},
diff --git a/packages/gatsby-remark-responsive-iframe/src/__tests__/__snapshots__/index.js.snap b/packages/gatsby-remark-responsive-iframe/src/__tests__/__snapshots__/index.js.snap
index f5b8656954908..b6c63aae15859 100644
--- a/packages/gatsby-remark-responsive-iframe/src/__tests__/__snapshots__/index.js.snap
+++ b/packages/gatsby-remark-responsive-iframe/src/__tests__/__snapshots__/index.js.snap
@@ -2,45 +2,21 @@
exports[`gatsby-remark-responsive-iframe can copy JSX images 1`] = `"
"`;
-exports[`gatsby-remark-responsive-iframe doesn't transform an iframe with dimensions: '100%' '100' 1`] = `
-"
- "
-`;
-
-exports[`gatsby-remark-responsive-iframe doesn't transform an iframe with dimensions: '100' '100%' 1`] = `
-"
- "
-`;
-
-exports[`gatsby-remark-responsive-iframe doesn't transform an iframe with dimensions: '100' 'invalid' 1`] = `
-"
- "
-`;
-
-exports[`gatsby-remark-responsive-iframe doesn't transform an iframe with dimensions: 'invalid' '100' 1`] = `
-"
- "
-`;
-
-exports[`gatsby-remark-responsive-iframe doesn't transform an object with dimensions: '100%' '100' 1`] = `
-"
- "
-`;
-
-exports[`gatsby-remark-responsive-iframe doesn't transform an object with dimensions: '100' '100%' 1`] = `
-"
- "
-`;
-
-exports[`gatsby-remark-responsive-iframe doesn't transform an object with dimensions: '100' 'invalid' 1`] = `
-"
- "
-`;
-
-exports[`gatsby-remark-responsive-iframe doesn't transform an object with dimensions: 'invalid' '100' 1`] = `
-"
- "
-`;
+exports[`gatsby-remark-responsive-iframe doesn't transform an iframe with dimensions: '100%' '100' 1`] = `" "`;
+
+exports[`gatsby-remark-responsive-iframe doesn't transform an iframe with dimensions: '100' '100%' 1`] = `" "`;
+
+exports[`gatsby-remark-responsive-iframe doesn't transform an iframe with dimensions: '100' 'invalid' 1`] = `" "`;
+
+exports[`gatsby-remark-responsive-iframe doesn't transform an iframe with dimensions: 'invalid' '100' 1`] = `" "`;
+
+exports[`gatsby-remark-responsive-iframe doesn't transform an object with dimensions: '100%' '100' 1`] = `""`;
+
+exports[`gatsby-remark-responsive-iframe doesn't transform an object with dimensions: '100' '100%' 1`] = `""`;
+
+exports[`gatsby-remark-responsive-iframe doesn't transform an object with dimensions: '100' 'invalid' 1`] = `""`;
+
+exports[`gatsby-remark-responsive-iframe doesn't transform an object with dimensions: 'invalid' '100' 1`] = `""`;
exports[`gatsby-remark-responsive-iframe transforms an iframe and maintains existing styles 1`] = `"
"`;
diff --git a/packages/gatsby-remark-smartypants/package.json b/packages/gatsby-remark-smartypants/package.json
index 1a00095ebd0ce..56bd6317d1a20 100644
--- a/packages/gatsby-remark-smartypants/package.json
+++ b/packages/gatsby-remark-smartypants/package.json
@@ -8,9 +8,9 @@
},
"dependencies": {
"@babel/runtime": "^7.12.5",
- "retext": "^5.0.0",
- "retext-smartypants": "^3.0.3",
- "unist-util-visit": "^1.4.1"
+ "retext": "^7.0.1",
+ "retext-smartypants": "^4.0.0",
+ "unist-util-visit": "^2.0.3"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
diff --git a/packages/gatsby-remark-smartypants/src/__tests__/__snapshots__/index.js.snap b/packages/gatsby-remark-smartypants/src/__tests__/__snapshots__/index.js.snap
index 263e78cb2dd38..12daac76c69f2 100644
--- a/packages/gatsby-remark-smartypants/src/__tests__/__snapshots__/index.js.snap
+++ b/packages/gatsby-remark-smartypants/src/__tests__/__snapshots__/index.js.snap
@@ -1,6 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`gatsby-remark-smartypants applies smartypants to text nodes 1`] = `
-"He said, “A ‘simple’ english sentence…
- "
-`;
+exports[`gatsby-remark-smartypants applies smartypants to text nodes 1`] = `"He said, “A ‘simple’ english sentence…"`;
diff --git a/packages/gatsby-transformer-remark/package.json b/packages/gatsby-transformer-remark/package.json
index d419b48c3c536..24fcaa75f9eb9 100644
--- a/packages/gatsby-transformer-remark/package.json
+++ b/packages/gatsby-transformer-remark/package.json
@@ -10,23 +10,24 @@
"@babel/runtime": "^7.12.5",
"gatsby-core-utils": "^2.3.0-next.1",
"gray-matter": "^4.0.2",
- "hast-util-raw": "^4.0.0",
- "hast-util-to-html": "^4.0.1",
+ "hast-util-raw": "^6.0.2",
+ "hast-util-to-html": "^7.1.2",
"lodash": "^4.17.21",
- "mdast-util-to-hast": "^3.0.4",
- "mdast-util-to-string": "^1.1.0",
- "mdast-util-toc": "^5.0",
- "remark": "^10.0.1",
- "remark-parse": "^6.0.3",
- "remark-retext": "^3.1.3",
- "remark-stringify": "6.0.4",
+ "mdast-util-to-hast": "^10.2.0",
+ "mdast-util-to-string": "^2.0.0",
+ "mdast-util-toc": "^5.1.0",
+ "remark": "^13.0.0",
+ "remark-gfm": "^1.0.0",
+ "remark-parse": "^9.0.0",
+ "remark-retext": "^4.0.0",
+ "remark-stringify": "^9.0.1",
"retext-english": "^3.0.4",
"sanitize-html": "^1.27.5",
"underscore.string": "^3.3.5",
- "unified": "^6.2.0",
- "unist-util-remove-position": "^1.1.4",
- "unist-util-select": "^1.5.0",
- "unist-util-visit": "^1.4.1"
+ "unified": "^9.2.1",
+ "unist-util-remove-position": "^3.0.0",
+ "unist-util-select": "^3.0.4",
+ "unist-util-visit": "^2.0.3"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
diff --git a/packages/gatsby-transformer-remark/src/__tests__/__snapshots__/extend-node.js.snap b/packages/gatsby-transformer-remark/src/__tests__/__snapshots__/extend-node.js.snap
index 07927c69c3a1b..7dfbb28bbe057 100644
--- a/packages/gatsby-transformer-remark/src/__tests__/__snapshots__/extend-node.js.snap
+++ b/packages/gatsby-transformer-remark/src/__tests__/__snapshots__/extend-node.js.snap
@@ -631,7 +631,9 @@ Object {
second title
-third title
+
+third title
+
",
}
`;
@@ -648,7 +650,9 @@ Object {
second title
-third title
+
+third title
+
",
}
`;
diff --git a/packages/gatsby-transformer-remark/src/extend-node-type.js b/packages/gatsby-transformer-remark/src/extend-node-type.js
index 457384ae96523..9f3bccbf14ee1 100644
--- a/packages/gatsby-transformer-remark/src/extend-node-type.js
+++ b/packages/gatsby-transformer-remark/src/extend-node-type.js
@@ -1,5 +1,5 @@
const Remark = require(`remark`)
-const select = require(`unist-util-select`)
+const { selectAll } = require(`unist-util-select`)
const _ = require(`lodash`)
const visit = require(`unist-util-visit`)
const toHAST = require(`mdast-util-to-hast`)
@@ -8,6 +8,7 @@ const mdastToToc = require(`mdast-util-toc`)
const mdastToString = require(`mdast-util-to-string`)
const unified = require(`unified`)
const parse = require(`remark-parse`)
+const remarkGfm = require(`remark-gfm`)
const stringify = require(`remark-stringify`)
const english = require(`retext-english`)
const remark2retext = require(`remark-retext`)
@@ -107,7 +108,6 @@ module.exports = function remarkExtendNodeType(
const remarkOptions = {
commonmark,
footnotes,
- gfm,
pedantic,
}
if (_.isArray(blocks)) {
@@ -115,6 +115,11 @@ module.exports = function remarkExtendNodeType(
}
let remark = new Remark().data(`settings`, remarkOptions)
+ if (gfm) {
+ // TODO: deprecate `gfm` option in favor of explicit remark-gfm as a plugin?
+ remark = remark.use(remarkGfm)
+ }
+
for (const plugin of pluginOptions.plugins) {
const requiredPlugin = require(plugin.resolve)
if (_.isFunction(requiredPlugin.setParserPlugins)) {
@@ -170,7 +175,7 @@ module.exports = function remarkExtendNodeType(
parseString: string => parseString(string, markdownNode),
generateHTML: ast =>
hastToHTML(markdownASTToHTMLAst(ast), {
- allowDangerousHTML: true,
+ allowDangerousHtml: true,
}),
}
@@ -263,7 +268,7 @@ module.exports = function remarkExtendNodeType(
}
const ast = await getAST(markdownNode)
- const headings = select(ast, `heading`).map(heading => {
+ const headings = selectAll(`heading`, ast).map(heading => {
return {
id: getHeadingID(heading),
value: mdastToString(heading),
@@ -333,8 +338,8 @@ module.exports = function remarkExtendNodeType(
// addSlugToUrl may clear the map
if (tocAst.map) {
- toc = hastToHTML(toHAST(tocAst.map, { allowDangerousHTML: true }), {
- allowDangerousHTML: true,
+ toc = hastToHTML(toHAST(tocAst.map, { allowDangerousHtml: true }), {
+ allowDangerousHtml: true,
})
}
}
@@ -345,7 +350,7 @@ module.exports = function remarkExtendNodeType(
function markdownASTToHTMLAst(ast) {
return toHAST(ast, {
- allowDangerousHTML: true,
+ allowDangerousHtml: true,
handlers: { code: codeHandler },
})
}
@@ -373,7 +378,7 @@ module.exports = function remarkExtendNodeType(
const ast = await getHTMLAst(markdownNode)
// Save new HTML to cache and return
const html = hastToHTML(ast, {
- allowDangerousHTML: true,
+ allowDangerousHtml: true,
})
// Save new HTML to cache
@@ -447,7 +452,7 @@ module.exports = function remarkExtendNodeType(
})
return hastToHTML(excerptAST, {
- allowDangerousHTML: true,
+ allowDangerousHtml: true,
})
}
diff --git a/yarn.lock b/yarn.lock
index 35a60ea4b0390..b821704fb485f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -7382,7 +7382,7 @@ caw@^2.0.0, caw@^2.0.1:
tunnel-agent "^0.6.0"
url-to-options "^1.0.1"
-ccount@^1.0.0, ccount@^1.0.3:
+ccount@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.0.3.tgz#f1cec43f332e2ea5a569fd46f9f5bde4e6102aff"
@@ -8909,6 +8909,11 @@ css-select@^2.0.0:
domutils "^1.7.0"
nth-check "^1.0.1"
+css-selector-parser@^1.0.0:
+ version "1.4.1"
+ resolved "https://registry.yarnpkg.com/css-selector-parser/-/css-selector-parser-1.4.1.tgz#03f9cb8a81c3e5ab2c51684557d5aaf6d2569759"
+ integrity sha512-HYPSb7y/Z7BNDCOrakL4raGO2zltZkbeXyAd6Tg9obzix6QhzxCotdBl6VT0Dv4vZfJGVz3WL/xaEI9Ly3ul0g==
+
css-selector-parser@^1.1.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/css-selector-parser/-/css-selector-parser-1.3.0.tgz#5f1ad43e2d8eefbfdc304fcd39a521664943e3eb"
@@ -11349,7 +11354,7 @@ fastq@^1.10.0, fastq@^1.6.0:
dependencies:
reusify "^1.0.4"
-fault@^1.0.0, fault@^1.0.1, fault@^1.0.2:
+fault@^1.0.0, fault@^1.0.2:
version "1.0.4"
resolved "https://registry.yarnpkg.com/fault/-/fault-1.0.4.tgz#eafcfc0a6d214fc94601e170df29954a4f842f13"
integrity sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==
@@ -13113,27 +13118,6 @@ hast-to-hyperscript@9.0.0, hast-to-hyperscript@^9.0.0:
unist-util-is "^4.0.0"
web-namespaces "^1.0.0"
-hast-to-hyperscript@^5.0.0:
- version "5.0.0"
- resolved "https://registry.yarnpkg.com/hast-to-hyperscript/-/hast-to-hyperscript-5.0.0.tgz#5106cbba78edb7c95e2e8a49079371eb196c1ced"
- dependencies:
- comma-separated-tokens "^1.0.0"
- property-information "^4.0.0"
- space-separated-tokens "^1.0.0"
- style-to-object "^0.2.1"
- unist-util-is "^2.0.0"
- web-namespaces "^1.1.2"
-
-hast-util-from-parse5@^4.0.2:
- version "4.0.2"
- resolved "https://registry.yarnpkg.com/hast-util-from-parse5/-/hast-util-from-parse5-4.0.2.tgz#b7164a7ffc88da4f751dc7c2f801ff8d7c143bab"
- dependencies:
- ccount "^1.0.3"
- hastscript "^4.0.0"
- property-information "^4.0.0"
- web-namespaces "^1.1.2"
- xtend "^4.0.1"
-
hast-util-from-parse5@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/hast-util-from-parse5/-/hast-util-from-parse5-6.0.0.tgz#b38793c81e1a99f5fd592a4a88fc2731dccd0f30"
@@ -13170,17 +13154,20 @@ hast-util-raw@6.0.0:
xtend "^4.0.0"
zwitch "^1.0.0"
-hast-util-raw@^4.0.0:
- version "4.0.0"
- resolved "https://registry.yarnpkg.com/hast-util-raw/-/hast-util-raw-4.0.0.tgz#2dc10c9facd9b810ea6ac51df251e6f87c2ed5b5"
+hast-util-raw@^6.0.2:
+ version "6.0.2"
+ resolved "https://registry.yarnpkg.com/hast-util-raw/-/hast-util-raw-6.0.2.tgz#0954c44e2e1c03dc5bb44c40ef5eee3185ebeabe"
+ integrity sha512-m7IlmqO8cytmG3EIMDMXUG8LjO2uyApWcxwL6apsGvikIClgykFg3UYps4rnt4kUpY3j8Mc7ANJ8zW6KPPLb+w==
dependencies:
- hast-util-from-parse5 "^4.0.2"
- hast-util-to-parse5 "^4.0.1"
- html-void-elements "^1.0.1"
- parse5 "^5.0.0"
+ "@types/hast" "^2.0.0"
+ hast-util-from-parse5 "^6.0.0"
+ hast-util-to-parse5 "^6.0.0"
+ html-void-elements "^1.0.0"
+ parse5 "^6.0.0"
unist-util-position "^3.0.0"
+ vfile "^4.0.0"
web-namespaces "^1.0.0"
- xtend "^4.0.1"
+ xtend "^4.0.0"
zwitch "^1.0.0"
hast-util-sanitize@^1.0.0:
@@ -13189,7 +13176,7 @@ hast-util-sanitize@^1.0.0:
dependencies:
xtend "^4.0.1"
-hast-util-to-html@^4.0.0, hast-util-to-html@^4.0.1:
+hast-util-to-html@^4.0.0:
version "4.0.1"
resolved "https://registry.yarnpkg.com/hast-util-to-html/-/hast-util-to-html-4.0.1.tgz#3666b05afb62bd69f8f5e6c94db04dea19438e2a"
dependencies:
@@ -13204,31 +13191,21 @@ hast-util-to-html@^4.0.0, hast-util-to-html@^4.0.1:
unist-util-is "^2.0.0"
xtend "^4.0.1"
-hast-util-to-html@^6.1.0:
- version "6.1.0"
- resolved "https://registry.yarnpkg.com/hast-util-to-html/-/hast-util-to-html-6.1.0.tgz#86bcd19c3bd46af456984f8f34db16298c2b10b0"
- integrity sha512-IlC+LG2HGv0Y8js3wqdhg9O2sO4iVpRDbHOPwXd7qgeagpGsnY49i8yyazwqS35RA35WCzrBQE/n0M6GG/ewxA==
+hast-util-to-html@^7.1.2:
+ version "7.1.2"
+ resolved "https://registry.yarnpkg.com/hast-util-to-html/-/hast-util-to-html-7.1.2.tgz#db677f0ee483658cea0eecc9dec30aba42b67111"
+ integrity sha512-pu73bvORzdF6XZgwl9eID/0RjBb/jtRfoGRRSykpR1+o9rCdiAHpgkSukZsQBRlIqMg6ylAcd7F0F7myJUb09Q==
dependencies:
ccount "^1.0.0"
- comma-separated-tokens "^1.0.1"
+ comma-separated-tokens "^1.0.0"
hast-util-is-element "^1.0.0"
hast-util-whitespace "^1.0.0"
html-void-elements "^1.0.0"
- property-information "^5.2.0"
+ property-information "^5.0.0"
space-separated-tokens "^1.0.0"
- stringify-entities "^2.0.0"
- unist-util-is "^3.0.0"
- xtend "^4.0.1"
-
-hast-util-to-parse5@^4.0.1:
- version "4.0.1"
- resolved "https://registry.yarnpkg.com/hast-util-to-parse5/-/hast-util-to-parse5-4.0.1.tgz#e52534b4bf40dc4e7d0428fcaf6d32bc75c62ee5"
- dependencies:
- hast-to-hyperscript "^5.0.0"
- property-information "^4.0.0"
- web-namespaces "^1.0.0"
- xtend "^4.0.1"
- zwitch "^1.0.0"
+ stringify-entities "^3.0.1"
+ unist-util-is "^4.0.0"
+ xtend "^4.0.0"
hast-util-to-parse5@^6.0.0:
version "6.0.0"
@@ -13245,15 +13222,6 @@ hast-util-whitespace@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/hast-util-whitespace/-/hast-util-whitespace-1.0.1.tgz#d67da2c87637b1ce1d85dd15b270ba057930149a"
-hastscript@^4.0.0:
- version "4.1.0"
- resolved "https://registry.yarnpkg.com/hastscript/-/hastscript-4.1.0.tgz#ea5593fa6f6709101fc790ced818393ddaa045ce"
- dependencies:
- comma-separated-tokens "^1.0.0"
- hast-util-parse-selector "^2.2.0"
- property-information "^4.0.0"
- space-separated-tokens "^1.0.0"
-
hastscript@^5.0.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/hastscript/-/hastscript-5.1.0.tgz#a19b3cca6a26a2bcd0f1b1eac574af9427c1c7df"
@@ -13469,7 +13437,7 @@ html-to-react@^1.3.4:
lodash.camelcase "^4.3.0"
ramda "^0.27"
-html-void-elements@^1.0.0, html-void-elements@^1.0.1:
+html-void-elements@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/html-void-elements/-/html-void-elements-1.0.3.tgz#956707dbecd10cf658c92c5d27fee763aa6aa982"
@@ -15847,6 +15815,13 @@ jws@^3.2.2:
jwa "^1.4.1"
safe-buffer "^5.0.1"
+katex@^0.12.0:
+ version "0.12.0"
+ resolved "https://registry.yarnpkg.com/katex/-/katex-0.12.0.tgz#2fb1c665dbd2b043edcf8a1f5c555f46beaa0cb9"
+ integrity sha512-y+8btoc/CK70XqcHqjxiGWBOeIL8upbS0peTPXTvgrh21n1RiWWcIpSWM+4uXq+IAgNh9YYQWdc7LVDPDAEEAg==
+ dependencies:
+ commander "^2.19.0"
+
katex@^0.13.0:
version "0.13.0"
resolved "https://registry.yarnpkg.com/katex/-/katex-0.13.0.tgz#62900e56c1ad8fdf7da23399e50d7a7b690b39ab"
@@ -16722,6 +16697,11 @@ loglevel@^1.6.8:
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.8.tgz#8a25fb75d092230ecd4457270d80b54e28011171"
integrity sha512-bsU7+gc9AJ2SqpzxwU3+1fedl8zAntbtC5XYlt3s2j1hJcn2PsXSmgN8TaLG/J1/2mod4+cE/3vNL70/c1RNCA==
+longest-streak@^2.0.0:
+ version "2.0.4"
+ resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-2.0.4.tgz#b8599957da5b5dab64dee3fe316fa774597d90e4"
+ integrity sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==
+
longest-streak@^2.0.1:
version "2.0.2"
resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-2.0.2.tgz#2421b6ba939a443bb9ffebf596585a50b4c38e2e"
@@ -17079,7 +17059,7 @@ mdast-util-compact@^2.0.0:
dependencies:
unist-util-visit "^2.0.0"
-mdast-util-definitions@^1.2.0, mdast-util-definitions@^1.2.5:
+mdast-util-definitions@^1.2.0:
version "1.2.5"
resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-1.2.5.tgz#3fe622a4171c774ebd06f11e9f8af7ec53ea5c74"
integrity sha512-CJXEdoLfiISCDc2JB6QLb79pYfI6+GcIH+W2ox9nMc7od0Pz+bovcHsiq29xAQY6ayqe/9CsK2VzkSJdg1pFYA==
@@ -17093,6 +17073,82 @@ mdast-util-definitions@^3.0.0:
dependencies:
unist-util-visit "^2.0.0"
+mdast-util-definitions@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-4.0.0.tgz#c5c1a84db799173b4dcf7643cda999e440c24db2"
+ integrity sha512-k8AJ6aNnUkB7IE+5azR9h81O5EQ/cTDXtWdMq9Kk5KcEW/8ritU5CeLg/9HhOC++nALHBlaogJ5jz0Ybk3kPMQ==
+ dependencies:
+ unist-util-visit "^2.0.0"
+
+mdast-util-find-and-replace@^1.1.0:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-1.1.1.tgz#b7db1e873f96f66588c321f1363069abf607d1b5"
+ integrity sha512-9cKl33Y21lyckGzpSmEQnIDjEfeeWelN5s1kUW1LwdB0Fkuq2u+4GdqcGEygYxJE8GVqCl0741bYXHgamfWAZA==
+ dependencies:
+ escape-string-regexp "^4.0.0"
+ unist-util-is "^4.0.0"
+ unist-util-visit-parents "^3.0.0"
+
+mdast-util-from-markdown@^0.8.0:
+ version "0.8.5"
+ resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz#d1ef2ca42bc377ecb0463a987910dae89bd9a28c"
+ integrity sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==
+ dependencies:
+ "@types/mdast" "^3.0.0"
+ mdast-util-to-string "^2.0.0"
+ micromark "~2.11.0"
+ parse-entities "^2.0.0"
+ unist-util-stringify-position "^2.0.0"
+
+mdast-util-frontmatter@^0.2.0:
+ version "0.2.0"
+ resolved "https://registry.yarnpkg.com/mdast-util-frontmatter/-/mdast-util-frontmatter-0.2.0.tgz#8bd5cd55e236c03e204a036f7372ebe9e6748240"
+ integrity sha512-FHKL4w4S5fdt1KjJCwB0178WJ0evnyyQr5kXTM3wrOVpytD0hrkvd+AOOjU9Td8onOejCkmZ+HQRT3CZ3coHHQ==
+ dependencies:
+ micromark-extension-frontmatter "^0.2.0"
+
+mdast-util-gfm-autolink-literal@^0.1.0:
+ version "0.1.3"
+ resolved "https://registry.yarnpkg.com/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-0.1.3.tgz#9c4ff399c5ddd2ece40bd3b13e5447d84e385fb7"
+ integrity sha512-GjmLjWrXg1wqMIO9+ZsRik/s7PLwTaeCHVB7vRxUwLntZc8mzmTsLVr6HW1yLokcnhfURsn5zmSVdi3/xWWu1A==
+ dependencies:
+ ccount "^1.0.0"
+ mdast-util-find-and-replace "^1.1.0"
+ micromark "^2.11.3"
+
+mdast-util-gfm-strikethrough@^0.2.0:
+ version "0.2.3"
+ resolved "https://registry.yarnpkg.com/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-0.2.3.tgz#45eea337b7fff0755a291844fbea79996c322890"
+ integrity sha512-5OQLXpt6qdbttcDG/UxYY7Yjj3e8P7X16LzvpX8pIQPYJ/C2Z1qFGMmcw+1PZMUM3Z8wt8NRfYTvCni93mgsgA==
+ dependencies:
+ mdast-util-to-markdown "^0.6.0"
+
+mdast-util-gfm-table@^0.1.0:
+ version "0.1.6"
+ resolved "https://registry.yarnpkg.com/mdast-util-gfm-table/-/mdast-util-gfm-table-0.1.6.tgz#af05aeadc8e5ee004eeddfb324b2ad8c029b6ecf"
+ integrity sha512-j4yDxQ66AJSBwGkbpFEp9uG/LS1tZV3P33fN1gkyRB2LoRL+RR3f76m0HPHaby6F4Z5xr9Fv1URmATlRRUIpRQ==
+ dependencies:
+ markdown-table "^2.0.0"
+ mdast-util-to-markdown "~0.6.0"
+
+mdast-util-gfm-task-list-item@^0.1.0:
+ version "0.1.6"
+ resolved "https://registry.yarnpkg.com/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-0.1.6.tgz#70c885e6b9f543ddd7e6b41f9703ee55b084af10"
+ integrity sha512-/d51FFIfPsSmCIRNp7E6pozM9z1GYPIkSy1urQ8s/o4TC22BZ7DqfHFWiqBD23bc7J3vV1Fc9O4QIHBlfuit8A==
+ dependencies:
+ mdast-util-to-markdown "~0.6.0"
+
+mdast-util-gfm@^0.1.0:
+ version "0.1.2"
+ resolved "https://registry.yarnpkg.com/mdast-util-gfm/-/mdast-util-gfm-0.1.2.tgz#8ecddafe57d266540f6881f5c57ff19725bd351c"
+ integrity sha512-NNkhDx/qYcuOWB7xHUGWZYVXvjPFFd6afg6/e2g+SV4r9q5XUcCbV4Wfa3DLYIiD+xAEZc6K4MGaE/m0KDcPwQ==
+ dependencies:
+ mdast-util-gfm-autolink-literal "^0.1.0"
+ mdast-util-gfm-strikethrough "^0.2.0"
+ mdast-util-gfm-table "^0.1.0"
+ mdast-util-gfm-task-list-item "^0.1.0"
+ mdast-util-to-markdown "^0.6.1"
+
mdast-util-heading-style@^1.0.2:
version "1.0.6"
resolved "https://registry.yarnpkg.com/mdast-util-heading-style/-/mdast-util-heading-style-1.0.6.tgz#6410418926fd5673d40f519406b35d17da10e3c5"
@@ -17104,6 +17160,15 @@ mdast-util-inject@^1.1.0:
dependencies:
mdast-util-to-string "^1.0.0"
+mdast-util-math@^0.1.0:
+ version "0.1.2"
+ resolved "https://registry.yarnpkg.com/mdast-util-math/-/mdast-util-math-0.1.2.tgz#629a0793bd8822432917e5ddda5279492390cc2b"
+ integrity sha512-fogAitds+wH+QRas78Yr1TwmQGN4cW/G2WRw5ePuNoJbBSPJCxIOCE8MTzHgWHVSpgkRaPQTgfzXRE1CrwWSlg==
+ dependencies:
+ longest-streak "^2.0.0"
+ mdast-util-to-markdown "^0.6.0"
+ repeat-string "^1.0.0"
+
mdast-util-to-hast@9.1.0:
version "9.1.0"
resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-9.1.0.tgz#6ef121dd3cd3b006bf8650b1b9454da0faf79ffe"
@@ -17121,7 +17186,21 @@ mdast-util-to-hast@9.1.0:
unist-util-position "^3.0.0"
unist-util-visit "^2.0.0"
-mdast-util-to-hast@^3.0.0, mdast-util-to-hast@^3.0.4:
+mdast-util-to-hast@^10.2.0:
+ version "10.2.0"
+ resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-10.2.0.tgz#61875526a017d8857b71abc9333942700b2d3604"
+ integrity sha512-JoPBfJ3gBnHZ18icCwHR50orC9kNH81tiR1gs01D8Q5YpV6adHNO9nKNuFBCJQ941/32PT1a63UF/DitmS3amQ==
+ dependencies:
+ "@types/mdast" "^3.0.0"
+ "@types/unist" "^2.0.0"
+ mdast-util-definitions "^4.0.0"
+ mdurl "^1.0.0"
+ unist-builder "^2.0.0"
+ unist-util-generated "^1.0.0"
+ unist-util-position "^3.0.0"
+ unist-util-visit "^2.0.0"
+
+mdast-util-to-hast@^3.0.0:
version "3.0.4"
resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-3.0.4.tgz#132001b266031192348d3366a6b011f28e54dc40"
integrity sha512-/eIbly2YmyVgpJNo+bFLLMCI1XgolO/Ffowhf+pHDq3X4/V6FntC9sGQCDLM147eTS+uSXv5dRzJyFn+o0tazA==
@@ -17138,22 +17217,17 @@ mdast-util-to-hast@^3.0.0, mdast-util-to-hast@^3.0.4:
unist-util-visit "^1.1.0"
xtend "^4.0.1"
-mdast-util-to-hast@^6.0.2:
- version "6.0.2"
- resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-6.0.2.tgz#24a8791b7c624118637d70f03a9d29116e4311cf"
- integrity sha512-GjcOimC9qHI0yNFAQdBesrZXzUkRdFleQlcoU8+TVNfDW6oLUazUx8MgUoTaUyCJzBOnE5AOgqhpURrSlf0QwQ==
+mdast-util-to-markdown@^0.6.0, mdast-util-to-markdown@^0.6.1, mdast-util-to-markdown@~0.6.0:
+ version "0.6.5"
+ resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-0.6.5.tgz#b33f67ca820d69e6cc527a93d4039249b504bebe"
+ integrity sha512-XeV9sDE7ZlOQvs45C9UKMtfTcctcaj/pGwH8YLbMHoMOXNNCn2LsqVQOqrF1+/NU8lKDAqozme9SCXWyo9oAcQ==
dependencies:
- collapse-white-space "^1.0.0"
- detab "^2.0.0"
- mdast-util-definitions "^1.2.0"
- mdurl "^1.0.1"
- trim "0.0.1"
- trim-lines "^1.0.0"
- unist-builder "^1.0.1"
- unist-util-generated "^1.1.0"
- unist-util-position "^3.0.0"
- unist-util-visit "^1.1.0"
- xtend "^4.0.1"
+ "@types/unist" "^2.0.0"
+ longest-streak "^2.0.0"
+ mdast-util-to-string "^2.0.0"
+ parse-entities "^2.0.0"
+ repeat-string "^1.0.0"
+ zwitch "^1.0.0"
mdast-util-to-nlcst@^3.2.0:
version "3.2.0"
@@ -17179,6 +17253,11 @@ mdast-util-to-string@^1.0.0, mdast-util-to-string@^1.0.2, mdast-util-to-string@^
resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-1.1.0.tgz#27055500103f51637bd07d01da01eb1967a43527"
integrity sha512-jVU0Nr2B9X3MU4tSK7JP1CMkSvOj7X5l/GboG1tKRw52lLF1x2Ju92Ms9tNetCcbfX3hzlM73zYo2NKkWSfF/A==
+mdast-util-to-string@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz#b8cfe6a713e1091cb5b728fc48885a4767f8b97b"
+ integrity sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==
+
mdast-util-toc@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/mdast-util-toc/-/mdast-util-toc-2.1.0.tgz#82b6b218577bb0e67b23abf5c3f7ac73a4b5389f"
@@ -17197,16 +17276,16 @@ mdast-util-toc@^3.1.0:
unist-util-is "^2.1.2"
unist-util-visit "^1.1.0"
-mdast-util-toc@^5.0:
- version "5.0.3"
- resolved "https://registry.yarnpkg.com/mdast-util-toc/-/mdast-util-toc-5.0.3.tgz#5fb1503e3655688929d596799a6910cc6548e420"
- integrity sha512-A3xzcgC1XFHK0+abFmbINOxjwo7Bi0Nsfp3yTgTy5JHo2q2V6YZ5BVJreDWoK3szcLlSMvHqe8WPbjY50wAkow==
+mdast-util-toc@^5.1.0:
+ version "5.1.0"
+ resolved "https://registry.yarnpkg.com/mdast-util-toc/-/mdast-util-toc-5.1.0.tgz#3af0f9c9a764b993538af03f1f79f4e3cec22736"
+ integrity sha512-csimbRIVkiqc+PpFeKDGQ/Ck2N4f9FYH3zzBMMJzcxoKL8m+cM0n94xXm0I9eaxHnKdY9n145SGTdyJC7i273g==
dependencies:
"@types/mdast" "^3.0.3"
"@types/unist" "^2.0.3"
extend "^3.0.2"
github-slugger "^1.2.1"
- mdast-util-to-string "^1.0.5"
+ mdast-util-to-string "^2.0.0"
unist-util-is "^4.0.0"
unist-util-visit "^2.0.0"
@@ -17437,6 +17516,74 @@ microevent.ts@~0.1.1:
resolved "https://registry.yarnpkg.com/microevent.ts/-/microevent.ts-0.1.1.tgz#70b09b83f43df5172d0205a63025bce0f7357fa0"
integrity sha512-jo1OfR4TaEwd5HOrt5+tAZ9mqT4jmpNAusXtyfNzqVm9uiSYFZlKM1wYL4oU7azZW/PxQW53wM0S6OR1JHNa2g==
+micromark-extension-frontmatter@^0.2.0:
+ version "0.2.2"
+ resolved "https://registry.yarnpkg.com/micromark-extension-frontmatter/-/micromark-extension-frontmatter-0.2.2.tgz#61b8e92e9213e1d3c13f5a59e7862f5ca98dfa53"
+ integrity sha512-q6nPLFCMTLtfsctAuS0Xh4vaolxSFUWUWR6PZSrXXiRy+SANGllpcqdXFv2z07l0Xz/6Hl40hK0ffNCJPH2n1A==
+ dependencies:
+ fault "^1.0.0"
+
+micromark-extension-gfm-autolink-literal@~0.5.0:
+ version "0.5.6"
+ resolved "https://registry.yarnpkg.com/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-0.5.6.tgz#406a58914d7a9cc6fb4cfafccc61a8ca36d7a12a"
+ integrity sha512-nHbR1NUOVhmlZNsnhE5B7WJzL7Xd8lc888z4AF27IpHMtO3NstclZmbrMI+AcdTPpO1wuGVwlK1Cnq+n8Sxlrw==
+ dependencies:
+ micromark "~2.11.3"
+
+micromark-extension-gfm-strikethrough@~0.6.0:
+ version "0.6.3"
+ resolved "https://registry.yarnpkg.com/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-0.6.3.tgz#b46cc7ee6c21940dd35e46aa49a11a24f92aedd5"
+ integrity sha512-MKMoP9x2dsr1aeX46ibBwVf4Q6nJsi5aaUFTOMOID5VOLSxwl4CrqUV4OGFQd6AqhtzBJAxaV+N2trlTBtZDNQ==
+ dependencies:
+ micromark "~2.11.0"
+
+micromark-extension-gfm-table@~0.4.0:
+ version "0.4.2"
+ resolved "https://registry.yarnpkg.com/micromark-extension-gfm-table/-/micromark-extension-gfm-table-0.4.2.tgz#24384ee9f9af1575295a0adf106d2e93f967a71f"
+ integrity sha512-AAzmj85XO1ydHYX0Lz52HGhcH2sZLm2AVvkwzELXWgZF6vGdq5yZ3CTByFRsqNUPyQBSIYFKLDAtc6KlnO42aw==
+ dependencies:
+ micromark "~2.11.0"
+
+micromark-extension-gfm-tagfilter@~0.3.0:
+ version "0.3.0"
+ resolved "https://registry.yarnpkg.com/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-0.3.0.tgz#d9f26a65adee984c9ccdd7e182220493562841ad"
+ integrity sha512-9GU0xBatryXifL//FJH+tAZ6i240xQuFrSL7mYi8f4oZSbc+NvXjkrHemeYP0+L4ZUT+Ptz3b95zhUZnMtoi/Q==
+
+micromark-extension-gfm-task-list-item@~0.3.0:
+ version "0.3.3"
+ resolved "https://registry.yarnpkg.com/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-0.3.3.tgz#d90c755f2533ed55a718129cee11257f136283b8"
+ integrity sha512-0zvM5iSLKrc/NQl84pZSjGo66aTGd57C1idmlWmE87lkMcXrTxg1uXa/nXomxJytoje9trP0NDLvw4bZ/Z/XCQ==
+ dependencies:
+ micromark "~2.11.0"
+
+micromark-extension-gfm@^0.3.0:
+ version "0.3.2"
+ resolved "https://registry.yarnpkg.com/micromark-extension-gfm/-/micromark-extension-gfm-0.3.2.tgz#def1fa3b743baee88a140a6821e12b09ed832563"
+ integrity sha512-ToQEpLkRgg7Tp8D3GM/SjZFPV0cCwWNxZmoEVIOQivOswRtPg7gg2WlCrtHhUWFNX+DgDjbq0iLOPGp4Y15oug==
+ dependencies:
+ micromark "~2.11.0"
+ micromark-extension-gfm-autolink-literal "~0.5.0"
+ micromark-extension-gfm-strikethrough "~0.6.0"
+ micromark-extension-gfm-table "~0.4.0"
+ micromark-extension-gfm-tagfilter "~0.3.0"
+ micromark-extension-gfm-task-list-item "~0.3.0"
+
+micromark-extension-math@^0.1.0:
+ version "0.1.2"
+ resolved "https://registry.yarnpkg.com/micromark-extension-math/-/micromark-extension-math-0.1.2.tgz#5d7bb2b86018da4a758c05f3991664430ee4d711"
+ integrity sha512-ZJXsT2eVPM8VTmcw0CPSDeyonOn9SziGK3Z+nkf9Vb6xMPeU+4JMEnO6vzDL10562Favw8Vste74f54rxJ/i6Q==
+ dependencies:
+ katex "^0.12.0"
+ micromark "~2.11.0"
+
+micromark@^2.11.3, micromark@~2.11.0, micromark@~2.11.3:
+ version "2.11.4"
+ resolved "https://registry.yarnpkg.com/micromark/-/micromark-2.11.4.tgz#d13436138eea826383e822449c9a5c50ee44665a"
+ integrity sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==
+ dependencies:
+ debug "^4.0.0"
+ parse-entities "^2.0.0"
+
micromatch@^2.1.5, micromatch@^2.3.11:
version "2.3.11"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565"
@@ -18340,6 +18487,11 @@ normalizeurl@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/normalizeurl/-/normalizeurl-1.0.0.tgz#4b1a458cd0c7d0856436f69c6b51047ab6855317"
+not@^0.1.0:
+ version "0.1.0"
+ resolved "https://registry.yarnpkg.com/not/-/not-0.1.0.tgz#c9691c1746c55dcfbe54cbd8bd4ff041bc2b519d"
+ integrity sha1-yWkcF0bFXc++VMvYvU/wQbwrUZ0=
+
now-and-later@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/now-and-later/-/now-and-later-2.0.0.tgz#bc61cbb456d79cb32207ce47ca05136ff2e7d6ee"
@@ -18387,7 +18539,7 @@ npm-normalize-package-bin@^1.0.1:
resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2"
integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==
-"npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", npm-package-arg@^6.0.0, npm-package-arg@^6.1.0, npm-package-arg@^6.1.1:
+"npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", npm-package-arg@^6.0.0, npm-package-arg@^6.1.0:
version "6.1.1"
resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-6.1.1.tgz#02168cb0a49a2b75bf988a28698de7b529df5cb7"
integrity sha512-qBpssaL3IOZWi5vEKUKW0cO7kzLeT+EQO9W8RsLOZf76KF9E/K9+wH0C7t06HXPpaH8WH5xF1MExLuCwbTqRUg==
@@ -18397,6 +18549,15 @@ npm-normalize-package-bin@^1.0.1:
semver "^5.6.0"
validate-npm-package-name "^3.0.0"
+npm-package-arg@^8.1.1:
+ version "8.1.1"
+ resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-8.1.1.tgz#00ebf16ac395c63318e67ce66780a06db6df1b04"
+ integrity sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==
+ dependencies:
+ hosted-git-info "^3.0.6"
+ semver "^7.0.0"
+ validate-npm-package-name "^3.0.0"
+
npm-packlist@^1.1.6, npm-packlist@^1.4.4:
version "1.4.4"
resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.4.tgz#866224233850ac534b63d1a6e76050092b5d2f44"
@@ -18477,6 +18638,13 @@ nth-check@^1.0.1, nth-check@~1.0.1:
dependencies:
boolbase "~1.0.0"
+nth-check@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.0.0.tgz#1bb4f6dac70072fc313e8c9cd1417b5074c0a125"
+ integrity sha512-i4sc/Kj8htBrAiH1viZ0TgU8Y5XqCaV/FziYK6TBczxmeKm3AEFWqqF3195yKudrarqy7Zu80Ra5dobFjn9X/Q==
+ dependencies:
+ boolbase "^1.0.0"
+
null-check@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/null-check/-/null-check-1.0.0.tgz#977dffd7176012b9ec30d2a39db5cf72a0439edd"
@@ -18513,7 +18681,7 @@ oauth-sign@~0.9.0:
version "0.9.0"
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
-object-assign@^4, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
+object-assign@^4, object-assign@^4.0.0, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
@@ -19270,9 +19438,10 @@ parse-link-header@^1.0.1:
dependencies:
xtend "~4.0.1"
-parse-numeric-range@^0.0.2:
- version "0.0.2"
- resolved "https://registry.yarnpkg.com/parse-numeric-range/-/parse-numeric-range-0.0.2.tgz#b4f09d413c7adbcd987f6e9233c7b4b210c938e4"
+parse-numeric-range@^1.2.0:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/parse-numeric-range/-/parse-numeric-range-1.2.0.tgz#aa70b00f29624ed13e9f943e9461b306e386b0fa"
+ integrity sha512-1q2tXpAOplPxcl8vrIGPWz1dJxxfmdRkCFcpxxMBerDnGuuHalOWF/xj9L8Nn5XoTUoB/6F0CeQBp2fMgkOYFg==
parse-passwd@^1.0.0:
version "1.0.0"
@@ -19309,7 +19478,7 @@ parse5@4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608"
-parse5@5.1.0, parse5@^5.0.0:
+parse5@5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.0.tgz#c59341c9723f414c452975564c7c00a68d58acd2"
@@ -20450,7 +20619,7 @@ property-information@^4.0.0:
dependencies:
xtend "^4.0.1"
-property-information@^5.0.0, property-information@^5.0.1, property-information@^5.2.0, property-information@^5.3.0:
+property-information@^5.0.0, property-information@^5.0.1, property-information@^5.3.0:
version "5.5.0"
resolved "https://registry.yarnpkg.com/property-information/-/property-information-5.5.0.tgz#4dc075d493061a82e2b7d096f406e076ed859943"
integrity sha512-RgEbCx2HLa1chNgvChcx+rrCWD0ctBmGSE0M7lVm1yyv4UbvbrWoXp/BkVLZefzjrRBGW8/Js6uh/BnlHXFyjA==
@@ -21436,13 +21605,13 @@ relateurl@0.2.x, relateurl@^0.2.7:
version "0.2.7"
resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9"
-remark-cli@^8.0.1:
- version "8.0.1"
- resolved "https://registry.yarnpkg.com/remark-cli/-/remark-cli-8.0.1.tgz#093e9f27c1d56a591f4c44c017de5749d4e79a08"
- integrity sha512-UaYeFI5qUAzkthUd8/MLBQD5OKM6jLN8GRvF6v+KF7xO/i1jQ+X2VqUSQAxWFYxZ8R25gM56GVjeoKOZ0EIr8A==
+remark-cli@^9.0.0:
+ version "9.0.0"
+ resolved "https://registry.yarnpkg.com/remark-cli/-/remark-cli-9.0.0.tgz#6f7951e7a72217535f2e32b7a6d3f638fe182f86"
+ integrity sha512-y6kCXdwZoMoh0Wo4Och1tDW50PmMc86gW6GpF08v9d+xUCEJE2wwXdQ+TnTaUamRnfFdU+fE+eNf2PJ53cyq8g==
dependencies:
markdown-extensions "^1.1.0"
- remark "^12.0.0"
+ remark "^13.0.0"
unified-args "^8.0.0"
remark-custom-blocks@^2.5.0:
@@ -21457,12 +21626,21 @@ remark-footnotes@1.0.0:
resolved "https://registry.yarnpkg.com/remark-footnotes/-/remark-footnotes-1.0.0.tgz#9c7a97f9a89397858a50033373020b1ea2aad011"
integrity sha512-X9Ncj4cj3/CIvLI2Z9IobHtVi8FVdUrdJkCNaL9kdX8ohfsi18DXHsCVd/A7ssARBdccdDb5ODnt62WuEWaM/g==
-remark-frontmatter@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/remark-frontmatter/-/remark-frontmatter-2.0.0.tgz#c9b8539c27cd23b1672c7e0fcbd5795eeedb4dc1"
- integrity sha512-uNOQt4tO14qBFWXenF0MLC4cqo3dv8qiHPGyjCl1rwOT0LomSHpcElbjjVh5CwzElInB38HD8aSRVugKQjeyHA==
+remark-frontmatter@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/remark-frontmatter/-/remark-frontmatter-3.0.0.tgz#ca5d996361765c859bd944505f377d6b186a6ec6"
+ integrity sha512-mSuDd3svCHs+2PyO29h7iijIZx4plX0fheacJcAoYAASfgzgVIcXGYSq9GFyYocFLftQs8IOmmkgtOovs6d4oA==
+ dependencies:
+ mdast-util-frontmatter "^0.2.0"
+ micromark-extension-frontmatter "^0.2.0"
+
+remark-gfm@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/remark-gfm/-/remark-gfm-1.0.0.tgz#9213643001be3f277da6256464d56fd28c3b3c0d"
+ integrity sha512-KfexHJCiqvrdBZVbQ6RopMZGwaXz6wFJEfByIuEwGf0arvITHjiKKZ1dpXujjH9KZdm1//XJQwgfnJ3lmXaDPA==
dependencies:
- fault "^1.0.1"
+ mdast-util-gfm "^0.1.0"
+ micromark-extension-gfm "^0.3.0"
remark-html@^8.0.0:
version "8.0.0"
@@ -21618,15 +21796,14 @@ remark-lint-link-title-style@^2.0.0:
unist-util-visit "^2.0.0"
vfile-location "^3.0.0"
-remark-lint-list-item-bullet-indent@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/remark-lint-list-item-bullet-indent/-/remark-lint-list-item-bullet-indent-2.0.0.tgz#895e71cdeb7b0c37eab4abb7b2e1ae3b61275a6f"
- integrity sha512-8iK+ht771UBf/Iuj4YBgdLnFFOyEgfXY62jBoywtMuiOLVWXDfPe+jUY7pCrnFjsnxXGEnMaxHJqENgrHd0J/w==
+remark-lint-list-item-bullet-indent@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/remark-lint-list-item-bullet-indent/-/remark-lint-list-item-bullet-indent-3.0.0.tgz#3c902e75e841850da8b37126da45fc1fe850d7d6"
+ integrity sha512-X2rleWP8XReC4LXKF7Qi5vYiPJkA4Grx5zxsjHofFrVRz6j0PYOCuz7vsO+ZzMunFMfom6FODnscSWz4zouDVw==
dependencies:
pluralize "^8.0.0"
unified-lint-rule "^1.0.0"
unist-util-generated "^1.1.0"
- unist-util-position "^3.0.0"
unist-util-visit "^2.0.0"
remark-lint-list-item-content-indent@^2.0.0:
@@ -21651,10 +21828,10 @@ remark-lint-list-item-indent@^2.0.0:
unist-util-position "^3.0.0"
unist-util-visit "^2.0.0"
-remark-lint-list-item-spacing@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/remark-lint-list-item-spacing/-/remark-lint-list-item-spacing-2.0.0.tgz#92d6a9f2cf7026fd797b752a1a2767686f90a814"
- integrity sha512-IxIAFIJA0BqciY28OZEJXe6oeMsonVA8hcw/JEx4pTJidEBKz/LLZ8t5ZLNFPh8Tdt/XnzvcmNPqPCoa05XDhg==
+remark-lint-list-item-spacing@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/remark-lint-list-item-spacing/-/remark-lint-list-item-spacing-3.0.0.tgz#14c18fe8c0f19231edb5cf94abda748bb773110b"
+ integrity sha512-SRUVonwdN3GOSFb6oIYs4IfJxIVR+rD0nynkX66qEO49/qDDT1PPvkndis6Nyew5+t+2V/Db9vqllL6SWbnEtw==
dependencies:
unified-lint-rule "^1.0.0"
unist-util-generated "^1.1.0"
@@ -21692,21 +21869,21 @@ remark-lint-no-auto-link-without-protocol@^2.0.0:
unist-util-position "^3.0.0"
unist-util-visit "^2.0.0"
-remark-lint-no-blockquote-without-marker@^3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/remark-lint-no-blockquote-without-marker/-/remark-lint-no-blockquote-without-marker-3.0.0.tgz#8790558a6b45e326434a89e36806f86ea59a82d1"
- integrity sha512-auyAxMVDuhvGw29VilqUfUIUnBT7qmByG/kBPqV/GwM1a5rn4fIUJ7p9Je9BlWMRCBMTNQUMsm3ce0dawouVew==
+remark-lint-no-blockquote-without-marker@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/remark-lint-no-blockquote-without-marker/-/remark-lint-no-blockquote-without-marker-4.0.0.tgz#856fb64dd038fa8fc27928163caa24a30ff4d790"
+ integrity sha512-Y59fMqdygRVFLk1gpx2Qhhaw5IKOR9T38Wf7pjR07bEFBGUNfcoNVIFMd1TCJfCPQxUyJzzSqfZz/KT7KdUuiQ==
dependencies:
unified-lint-rule "^1.0.0"
- unist-util-generated "^1.1.0"
+ unist-util-generated "^1.0.0"
unist-util-position "^3.0.0"
unist-util-visit "^2.0.0"
vfile-location "^3.0.0"
-remark-lint-no-consecutive-blank-lines@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/remark-lint-no-consecutive-blank-lines/-/remark-lint-no-consecutive-blank-lines-2.0.0.tgz#53950a3947aee9ddf6a467ae0cf828f4d029a1d2"
- integrity sha512-qIXHW0atHaOmHlu7V+4Krs5IAdIZhcXoeRdOMgqkGNW8CtfL12pP8KnzigAB9D5/X/qxPxZ95Js/KaESFS+3hA==
+remark-lint-no-consecutive-blank-lines@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/remark-lint-no-consecutive-blank-lines/-/remark-lint-no-consecutive-blank-lines-3.0.0.tgz#c8fe11095b8f031a1406da273722bd4a9174bf41"
+ integrity sha512-kmzLlOLrapBKEngwYFTdCZDmeOaze6adFPB7G0EdymD9V1mpAlnneINuOshRLEDKK5fAhXKiZXxdGIaMPkiXrA==
dependencies:
pluralize "^8.0.0"
unified-lint-rule "^1.0.0"
@@ -21793,10 +21970,10 @@ remark-lint-no-file-name-outer-dashes@^1.0.0:
dependencies:
unified-lint-rule "^1.0.0"
-remark-lint-no-heading-content-indent@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/remark-lint-no-heading-content-indent/-/remark-lint-no-heading-content-indent-2.0.0.tgz#1ffb32496c674ac276565daf49fea4c36d9c0ccb"
- integrity sha512-Zqg0WXG60Nan8j7HZtnBXidMxXhlhc7Q5JrB54I3n7H3vSPCyaqhZJ2/obYVLalEVGND8NOJGvfA1rtchaZyYg==
+remark-lint-no-heading-content-indent@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/remark-lint-no-heading-content-indent/-/remark-lint-no-heading-content-indent-3.0.0.tgz#faa323a52fcb5db9b3ce16cb8e417e43ab433af1"
+ integrity sha512-yULDoVSIqKylLDfW6mVUbrHlyEWUSFtVFiKc+/BA412xDIhm8HZLUnP+FsuBC0OzbIZ+bO9Txy52WtO3LGnK1A==
dependencies:
mdast-util-heading-style "^1.0.2"
pluralize "^8.0.0"
@@ -21815,10 +21992,10 @@ remark-lint-no-heading-punctuation@^2.0.0:
unist-util-generated "^1.1.0"
unist-util-visit "^2.0.0"
-remark-lint-no-inline-padding@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/remark-lint-no-inline-padding/-/remark-lint-no-inline-padding-2.0.0.tgz#fc1b997a939477def3fc69198c2a7d43169e25a9"
- integrity sha512-0YueQ3SBA8zFQYCN0/afRc6ZuSbM4Azx4sPVeVpAfMT0MrYgmi6msswyhUDXaeN2RwVO6bx/ZW6di8dVqRr7UA==
+remark-lint-no-inline-padding@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/remark-lint-no-inline-padding/-/remark-lint-no-inline-padding-3.0.0.tgz#14c2722bcddc648297a54298107a922171faf6eb"
+ integrity sha512-3s9uW3Yux9RFC0xV81MQX3bsYs+UY7nPnRuMxeIxgcVwxQ4E/mTJd9QjXUwBhU9kdPtJ5AalngdmOW2Tgar8Cg==
dependencies:
mdast-util-to-string "^1.0.2"
unified-lint-rule "^1.0.0"
@@ -21883,25 +22060,27 @@ remark-lint-no-shortcut-reference-link@^2.0.0:
unist-util-generated "^1.1.0"
unist-util-visit "^2.0.0"
-remark-lint-no-table-indentation@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/remark-lint-no-table-indentation/-/remark-lint-no-table-indentation-2.0.0.tgz#218c27d952c780df5577c2b461e63499a641a793"
- integrity sha512-5akpqHl+5r3Xe2WFiZB1I9eAwn6zTYqXNd0CVsiTF3DJo0KyvvgyrFRV1sCf/l/kzyNaFvpWpFDTMoWc8EI0RQ==
+remark-lint-no-table-indentation@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/remark-lint-no-table-indentation/-/remark-lint-no-table-indentation-3.0.0.tgz#f3c3fc24375069ec8e510f43050600fb22436731"
+ integrity sha512-+l7GovI6T+3LhnTtz/SmSRyOb6Fxy6tmaObKHrwb/GAebI/4MhFS1LVo3vbiP/RpPYtyQoFbbuXI55hqBG4ibQ==
dependencies:
unified-lint-rule "^1.0.0"
- unist-util-generated "^1.1.0"
unist-util-position "^3.0.0"
unist-util-visit "^2.0.0"
+ vfile-location "^3.0.0"
-remark-lint-no-undefined-references@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/remark-lint-no-undefined-references/-/remark-lint-no-undefined-references-2.0.0.tgz#ec2a45cd19d36a5d9ce16df0a044496881143119"
- integrity sha512-K4k05pmlMRqEMUDYewitRUx8zM+ntJWbG61dILmL7to7uy0JoSbzuDtz1cxC+kKBKzkulPnyE3WOgRZG8RX2Jg==
+remark-lint-no-undefined-references@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/remark-lint-no-undefined-references/-/remark-lint-no-undefined-references-3.0.0.tgz#59dab8f815f8de9f1dcbd69e7cc705978e931cb0"
+ integrity sha512-0hzaJS9GuzSQVOeeNdJr/s66LRQOzp618xuOQPYWHcJdd+SCaRTyWbjMrTM/cCI5L1sYjgurp410NkIBQ32Vqg==
dependencies:
collapse-white-space "^1.0.4"
unified-lint-rule "^1.0.0"
unist-util-generated "^1.1.0"
+ unist-util-position "^3.1.0"
unist-util-visit "^2.0.0"
+ vfile-location "^3.1.0"
remark-lint-no-unused-definitions@^2.0.0:
version "2.0.0"
@@ -21952,10 +22131,10 @@ remark-lint-strong-marker@^2.0.0:
unist-util-position "^3.0.0"
unist-util-visit "^2.0.0"
-remark-lint-table-cell-padding@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/remark-lint-table-cell-padding/-/remark-lint-table-cell-padding-2.0.0.tgz#0efc3d5a1085e98cca828e0603cb681a9d352dd6"
- integrity sha512-UstIXIaRVRJPKZPv1AXX/p3qCt//RYNsRHIq8KvL5YQPKaKWRkj2cNermCgm0XoUXy0EmRPNiBtUcuAQaP+jXg==
+remark-lint-table-cell-padding@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/remark-lint-table-cell-padding/-/remark-lint-table-cell-padding-3.0.0.tgz#a769ba1999984ff5f90294fb6ccb8aead7e8a12f"
+ integrity sha512-sEKrbyFZPZpxI39R8/r+CwUrin9YtyRwVn0SQkNQEZWZcIpylK+bvoKIldvLIXQPob+ZxklL0GPVRzotQMwuWQ==
dependencies:
unified-lint-rule "^1.0.0"
unist-util-generated "^1.1.0"
@@ -21972,10 +22151,10 @@ remark-lint-table-pipe-alignment@^2.0.0:
unist-util-position "^3.0.0"
unist-util-visit "^2.0.0"
-remark-lint-table-pipes@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/remark-lint-table-pipes/-/remark-lint-table-pipes-2.0.0.tgz#5fe4b2ad38a00a29c9d792a3aab9212cc65207e7"
- integrity sha512-qGIttPFNT+19BEDz2JJWQtJIClFNIpg+XVw6ruX9LSR7xdo5QG9uARG4XS2EGUQQ7fiLIxQYb8g2dHwuXGbfmA==
+remark-lint-table-pipes@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/remark-lint-table-pipes/-/remark-lint-table-pipes-3.0.0.tgz#b30b055d594cae782667eec91c6c5b35928ab259"
+ integrity sha512-QPokSazEdl0Y8ayUV9UB0Ggn3Jos/RAQwIo0z1KDGnJlGDiF80Jc6iU9RgDNUOjlpQffSLIfSVxH5VVYF/K3uQ==
dependencies:
unified-lint-rule "^1.0.0"
unist-util-generated "^1.1.0"
@@ -21992,19 +22171,20 @@ remark-lint-unordered-list-marker-style@^2.0.0:
unist-util-position "^3.0.0"
unist-util-visit "^2.0.0"
-remark-lint@^7.0.0, remark-lint@^7.0.1:
- version "7.0.1"
- resolved "https://registry.yarnpkg.com/remark-lint/-/remark-lint-7.0.1.tgz#665a5cbea9f7c95e64593f69bb6816ee8343ffdf"
- integrity sha512-caZXo3qhuBxzvq9JSJFVQ/ERDq/6TJVgWn0KDwKOIJCGOuLXfQhby5XttUq+Rn7kLbNMtvwfWHJlte14LpaeXQ==
+remark-lint@^8.0.0:
+ version "8.0.0"
+ resolved "https://registry.yarnpkg.com/remark-lint/-/remark-lint-8.0.0.tgz#6e40894f4a39eaea31fc4dd45abfaba948bf9a09"
+ integrity sha512-ESI8qJQ/TIRjABDnqoFsTiZntu+FRifZ5fJ77yX63eIDijl/arvmDvT+tAf75/Nm5BFL4R2JFUtkHRGVjzYUsg==
dependencies:
remark-message-control "^6.0.0"
-remark-math@^1.0.6:
- version "1.0.6"
- resolved "https://registry.yarnpkg.com/remark-math/-/remark-math-1.0.6.tgz#49eb3dd15d298734c9ae21673115389793af4d1b"
- integrity sha512-I43wU/QOQpXvVFXKjA4FHp5xptK65+5F6yolm8+69/JV0EqSOB64wURUZ3JK50JtnTL8FvwLiH2PZ+fvsBxviA==
+remark-math@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/remark-math/-/remark-math-4.0.0.tgz#494ddd50766555ad2332e3afca7796a76452256f"
+ integrity sha512-lH7SoQenXtQrvL0bm+mjZbvOk//YWNuyR+MxV18Qyv8rgFmMEGNuB0TSCQDkoDaiJ40FCnG8lxErc/zhcedYbw==
dependencies:
- trim-trailing-lines "^1.1.0"
+ mdast-util-math "^0.1.0"
+ micromark-extension-math "^0.1.0"
remark-mdx@1.6.16:
version "1.6.16"
@@ -22086,7 +22266,7 @@ remark-parse@8.0.2:
vfile-location "^3.0.0"
xtend "^4.0.1"
-remark-parse@8.0.3, remark-parse@^8.0.0:
+remark-parse@8.0.3:
version "8.0.3"
resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-8.0.3.tgz#9c62aa3b35b79a486454c690472906075f40c7e1"
integrity sha512-E1K9+QLGgggHxCQtLt++uXltxEprmWzNfg+MxpfHsZlrddKzZ/hZyWHDbK3/Ap8HJQqYJRXP+jHczdL6q6i85Q==
@@ -22148,12 +22328,19 @@ remark-parse@^6.0.0, remark-parse@^6.0.3:
vfile-location "^2.0.0"
xtend "^4.0.1"
-remark-preset-lint-markdown-style-guide@^3.0.1:
- version "3.0.1"
- resolved "https://registry.yarnpkg.com/remark-preset-lint-markdown-style-guide/-/remark-preset-lint-markdown-style-guide-3.0.1.tgz#7f160e2ded777bfb14d544e9f72c6873bdfb6da3"
- integrity sha512-1C4s6TtYCPueZIkxXK8aJ6qz84WqsxA7vA11i1PBIwJuL9a254X+QlbzhhEVKp0GwV4M/YTAVcfbGWVuiNEynw==
+remark-parse@^9.0.0:
+ version "9.0.0"
+ resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-9.0.0.tgz#4d20a299665880e4f4af5d90b7c7b8a935853640"
+ integrity sha512-geKatMwSzEXKHuzBNU1z676sGcDcFoChMK38TgdHJNAYfFtsfHDQG7MoJAjs6sgYMqyLduCYWDIWZIxiPeafEw==
+ dependencies:
+ mdast-util-from-markdown "^0.8.0"
+
+remark-preset-lint-markdown-style-guide@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/remark-preset-lint-markdown-style-guide/-/remark-preset-lint-markdown-style-guide-4.0.0.tgz#976b6ffd7f37aa90868e081a69241fcde3a297d4"
+ integrity sha512-gczDlfZ28Fz0IN/oddy0AH4CiTu9S8d3pJWUsrnwFiafjhJjPGobGE1OD3bksi53md1Bp4K0fzo99YYfvB4Sjw==
dependencies:
- remark-lint "^7.0.0"
+ remark-lint "^8.0.0"
remark-lint-blockquote-indentation "^2.0.0"
remark-lint-code-block-style "^2.0.0"
remark-lint-definition-case "^2.0.0"
@@ -22169,12 +22356,12 @@ remark-preset-lint-markdown-style-guide@^3.0.1:
remark-lint-link-title-style "^2.0.0"
remark-lint-list-item-content-indent "^2.0.0"
remark-lint-list-item-indent "^2.0.0"
- remark-lint-list-item-spacing "^2.0.0"
+ remark-lint-list-item-spacing "^3.0.0"
remark-lint-maximum-heading-length "^2.0.0"
remark-lint-maximum-line-length "^2.0.0"
remark-lint-no-auto-link-without-protocol "^2.0.0"
- remark-lint-no-blockquote-without-marker "^3.0.0"
- remark-lint-no-consecutive-blank-lines "^2.0.0"
+ remark-lint-no-blockquote-without-marker "^4.0.0"
+ remark-lint-no-consecutive-blank-lines "^3.0.0"
remark-lint-no-duplicate-headings "^2.0.0"
remark-lint-no-emphasis-as-heading "^2.0.0"
remark-lint-no-file-name-articles "^1.0.0"
@@ -22183,41 +22370,41 @@ remark-preset-lint-markdown-style-guide@^3.0.1:
remark-lint-no-file-name-mixed-case "^1.0.0"
remark-lint-no-file-name-outer-dashes "^1.0.0"
remark-lint-no-heading-punctuation "^2.0.0"
- remark-lint-no-inline-padding "^2.0.0"
+ remark-lint-no-inline-padding "^3.0.0"
remark-lint-no-literal-urls "^2.0.0"
remark-lint-no-multiple-toplevel-headings "^2.0.0"
remark-lint-no-shell-dollars "^2.0.0"
remark-lint-no-shortcut-reference-image "^2.0.0"
remark-lint-no-shortcut-reference-link "^2.0.0"
- remark-lint-no-table-indentation "^2.0.0"
+ remark-lint-no-table-indentation "^3.0.0"
remark-lint-ordered-list-marker-style "^2.0.0"
remark-lint-ordered-list-marker-value "^2.0.0"
remark-lint-rule-style "^2.0.0"
remark-lint-strong-marker "^2.0.0"
- remark-lint-table-cell-padding "^2.0.0"
+ remark-lint-table-cell-padding "^3.0.0"
remark-lint-table-pipe-alignment "^2.0.0"
- remark-lint-table-pipes "^2.0.0"
+ remark-lint-table-pipes "^3.0.0"
remark-lint-unordered-list-marker-style "^2.0.0"
-remark-preset-lint-recommended@^4.0.1:
- version "4.0.1"
- resolved "https://registry.yarnpkg.com/remark-preset-lint-recommended/-/remark-preset-lint-recommended-4.0.1.tgz#2077b38706759277c0eb304c57453ebfa3e63207"
- integrity sha512-zn+ImQbOVcAQVWLL0R0rFQ2Wy8JyWnuU3mJ8Zh0EVOckglcxByssvTbKqPih3Lh8ogpE38EfnC3a/vshj4Jx6A==
+remark-preset-lint-recommended@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/remark-preset-lint-recommended/-/remark-preset-lint-recommended-5.0.0.tgz#cc0da5bf532a47392e01ad2ee34c8076edad1207"
+ integrity sha512-uu+Ab8JCwMMaKvvB0LOWTWtM3uAvJbKQM/oyWCEJqj7lUVNTKZS575Ro5rKM3Dx7kQjjR1iw0e99bpAYTc5xNA==
dependencies:
- remark-lint "^7.0.0"
+ remark-lint "^8.0.0"
remark-lint-final-newline "^1.0.0"
remark-lint-hard-break-spaces "^2.0.0"
- remark-lint-list-item-bullet-indent "^2.0.0"
+ remark-lint-list-item-bullet-indent "^3.0.0"
remark-lint-list-item-indent "^2.0.0"
remark-lint-no-auto-link-without-protocol "^2.0.0"
- remark-lint-no-blockquote-without-marker "^3.0.0"
+ remark-lint-no-blockquote-without-marker "^4.0.0"
remark-lint-no-duplicate-definitions "^2.0.0"
- remark-lint-no-heading-content-indent "^2.0.0"
- remark-lint-no-inline-padding "^2.0.0"
+ remark-lint-no-heading-content-indent "^3.0.0"
+ remark-lint-no-inline-padding "^3.0.0"
remark-lint-no-literal-urls "^2.0.0"
remark-lint-no-shortcut-reference-image "^2.0.0"
remark-lint-no-shortcut-reference-link "^2.0.0"
- remark-lint-no-undefined-references "^2.0.0"
+ remark-lint-no-undefined-references "^3.0.0"
remark-lint-no-unused-definitions "^2.0.0"
remark-lint-ordered-list-marker-style "^2.0.0"
@@ -22257,9 +22444,9 @@ remark-squeeze-paragraphs@4.0.0:
dependencies:
mdast-squeeze-paragraphs "^4.0.0"
-remark-stringify@6.0.4, remark-stringify@^6.0.0:
- version "6.0.4"
- resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-6.0.4.tgz#16ac229d4d1593249018663c7bddf28aafc4e088"
+remark-stringify@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-5.0.0.tgz#336d3a4d4a6a3390d933eeba62e8de4bd280afba"
dependencies:
ccount "^1.0.0"
is-alphanumeric "^1.0.0"
@@ -22276,9 +22463,9 @@ remark-stringify@6.0.4, remark-stringify@^6.0.0:
unherit "^1.0.4"
xtend "^4.0.1"
-remark-stringify@^5.0.0:
- version "5.0.0"
- resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-5.0.0.tgz#336d3a4d4a6a3390d933eeba62e8de4bd280afba"
+remark-stringify@^6.0.0:
+ version "6.0.4"
+ resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-6.0.4.tgz#16ac229d4d1593249018663c7bddf28aafc4e088"
dependencies:
ccount "^1.0.0"
is-alphanumeric "^1.0.0"
@@ -22295,7 +22482,7 @@ remark-stringify@^5.0.0:
unherit "^1.0.4"
xtend "^4.0.1"
-remark-stringify@^8.0.0, remark-stringify@^8.1.0:
+remark-stringify@^8.1.0:
version "8.1.0"
resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-8.1.0.tgz#1e555f4402e445c364fb23d12fc5f5e0337ec8b7"
integrity sha512-FSPZv1ds76oAZjurhhuV5qXSUSoz6QRPuwYK38S41sLHwg4oB7ejnmZshj7qwjgYLf93kdz6BOX9j5aidNE7rA==
@@ -22315,6 +22502,13 @@ remark-stringify@^8.0.0, remark-stringify@^8.1.0:
unherit "^1.0.4"
xtend "^4.0.1"
+remark-stringify@^9.0.0, remark-stringify@^9.0.1:
+ version "9.0.1"
+ resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-9.0.1.tgz#576d06e910548b0a7191a71f27b33f1218862894"
+ integrity sha512-mWmNg3ZtESvZS8fv5PTvaPckdL4iNlCHTt8/e/8oN08nArHRHjNZMKzA/YW3+p7/lYqIw4nx1XsjCBo/AxNChg==
+ dependencies:
+ mdast-util-to-markdown "^0.6.0"
+
remark-toc@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/remark-toc/-/remark-toc-5.0.0.tgz#f1e13ed11062ad4d102b02e70168bd85015bf129"
@@ -22330,14 +22524,14 @@ remark@^10.0.1:
remark-stringify "^6.0.0"
unified "^7.0.0"
-remark@^12.0.0, remark@^12.0.1:
- version "12.0.1"
- resolved "https://registry.yarnpkg.com/remark/-/remark-12.0.1.tgz#f1ddf68db7be71ca2bad0a33cd3678b86b9c709f"
- integrity sha512-gS7HDonkdIaHmmP/+shCPejCEEW+liMp/t/QwmF0Xt47Rpuhl32lLtDV1uKWvGoq+kxr5jSgg5oAIpGuyULjUw==
+remark@^13.0.0:
+ version "13.0.0"
+ resolved "https://registry.yarnpkg.com/remark/-/remark-13.0.0.tgz#d15d9bf71a402f40287ebe36067b66d54868e425"
+ integrity sha512-HDz1+IKGtOyWN+QgBiAT0kn+2s6ovOxHyPAFGKVE81VSzJ+mq7RwHFledEvB5F1p4iJvOah/LOKdFuzvRnNLCA==
dependencies:
- remark-parse "^8.0.0"
- remark-stringify "^8.0.0"
- unified "^9.0.0"
+ remark-parse "^9.0.0"
+ remark-stringify "^9.0.0"
+ unified "^9.1.0"
remark@^9.0.0:
version "9.0.0"
@@ -22730,13 +22924,13 @@ retext-sentence-spacing@^4.0.0:
unist-util-is "^4.0.0"
unist-util-visit "^2.0.0"
-retext-smartypants@^3.0.3:
- version "3.0.3"
- resolved "https://registry.yarnpkg.com/retext-smartypants/-/retext-smartypants-3.0.3.tgz#9c982dcc210ae3bb36f4bc46aae802798fce43f9"
- integrity sha512-/0fIipYayOvvucn3yjxvWwyT9P6p8gbpqdqUQNs1+L7av2hxatmiA9sk+fygJSDn5OXRyhBzcezvTbEmEabfIQ==
+retext-smartypants@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/retext-smartypants/-/retext-smartypants-4.0.0.tgz#77478bd9775b4d7505122b0799594339e08d4fda"
+ integrity sha512-Mknd05zuIycr4Z/hNDxA8ktqv7pG7wYdTZc68a2MJF+Ibg/WloR5bbyrEjijwNwHRR+xWsovkLH4OQIz/mghdw==
dependencies:
nlcst-to-string "^2.0.0"
- unist-util-visit "^1.0.0"
+ unist-util-visit "^2.0.0"
retext-spell@^4.0.0:
version "4.0.0"
@@ -22774,14 +22968,6 @@ retext-syntax-urls@^2.0.0:
unist-util-modify-children "^1.1.1"
unist-util-position "^3.0.0"
-retext@^5.0.0:
- version "5.0.0"
- resolved "https://registry.yarnpkg.com/retext/-/retext-5.0.0.tgz#5d9018c4a677d6103c142362d76f50eb1d398bf6"
- dependencies:
- retext-latin "^2.0.0"
- retext-stringify "^2.0.0"
- unified "^6.0.0"
-
retext@^7.0.1:
version "7.0.1"
resolved "https://registry.yarnpkg.com/retext/-/retext-7.0.1.tgz#04b7965ab78fe6e5e3a489304545b460d41bf5aa"
@@ -23242,7 +23428,7 @@ semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0:
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
-semver@^7.1.1, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5:
+semver@^7.0.0, semver@^7.1.1, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5:
version "7.3.5"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7"
integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==
@@ -24269,17 +24455,6 @@ stringify-entities@^1.0.1:
is-alphanumerical "^1.0.0"
is-hexadecimal "^1.0.0"
-stringify-entities@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-2.0.0.tgz#fa7ca6614b355fb6c28448140a20c4ede7462827"
- integrity sha512-fqqhZzXyAM6pGD9lky/GOPq6V4X0SeTAFBl0iXb/BzOegl40gpf/bV3QQP7zULNYvjr6+Dx8SCaDULjVoOru0A==
- dependencies:
- character-entities-html4 "^1.0.0"
- character-entities-legacy "^1.0.0"
- is-alphanumerical "^1.0.0"
- is-decimal "^1.0.2"
- is-hexadecimal "^1.0.0"
-
stringify-entities@^3.0.0, stringify-entities@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-3.0.1.tgz#32154b91286ab0869ab2c07696223bd23b6dbfc0"
@@ -24448,13 +24623,6 @@ style-to-object@0.3.0, style-to-object@^0.3.0:
dependencies:
inline-style-parser "0.1.1"
-style-to-object@^0.2.1:
- version "0.2.3"
- resolved "https://registry.yarnpkg.com/style-to-object/-/style-to-object-0.2.3.tgz#afcf42bc03846b1e311880c55632a26ad2780bcb"
- integrity sha512-1d/k4EY2N7jVLOqf2j04dTc37TPOv/hHxZmvpg8Pdh8UYydxeu/C1W1U4vD8alzf5V2Gt7rLsmkr4dxAlDm9ng==
- dependencies:
- inline-style-parser "0.1.1"
-
styled-system@^5.0.0, styled-system@^5.1.5:
version "5.1.5"
resolved "https://registry.yarnpkg.com/styled-system/-/styled-system-5.1.5.tgz#e362d73e1dbb5641a2fd749a6eba1263dc85075e"
@@ -25336,7 +25504,7 @@ trim-right@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
-trim-trailing-lines@^1.0.0, trim-trailing-lines@^1.1.0:
+trim-trailing-lines@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/trim-trailing-lines/-/trim-trailing-lines-1.1.1.tgz#e0ec0810fd3c3f1730516b45f49083caaf2774d9"
@@ -25740,7 +25908,7 @@ unified@9.1.0:
trough "^1.0.0"
vfile "^4.0.0"
-unified@9.2.0, unified@^9.0.0, unified@^9.2.0:
+unified@9.2.0, unified@^9.1.0, unified@^9.2.0:
version "9.2.0"
resolved "https://registry.yarnpkg.com/unified/-/unified-9.2.0.tgz#67a62c627c40589edebbf60f53edfd4d822027f8"
integrity sha512-vx2Z0vY+a3YoTj8+pttM3tiJHCwY5UFbYdiWrwBEbHmK8pvsPj2rtAX2BFfgXen8T39CJWblWRDT4L5WGXtDdg==
@@ -25752,7 +25920,7 @@ unified@9.2.0, unified@^9.0.0, unified@^9.2.0:
trough "^1.0.0"
vfile "^4.0.0"
-unified@^6.0.0, unified@^6.1.5, unified@^6.2.0:
+unified@^6.0.0, unified@^6.1.5:
version "6.2.0"
resolved "https://registry.yarnpkg.com/unified/-/unified-6.2.0.tgz#7fbd630f719126d67d40c644b7e3f617035f6dba"
dependencies:
@@ -25787,6 +25955,18 @@ unified@^8.0.0, unified@^8.4.2:
trough "^1.0.0"
vfile "^4.0.0"
+unified@^9.2.1:
+ version "9.2.1"
+ resolved "https://registry.yarnpkg.com/unified/-/unified-9.2.1.tgz#ae18d5674c114021bfdbdf73865ca60f410215a3"
+ integrity sha512-juWjuI8Z4xFg8pJbnEZ41b5xjGUWGHqXALmBZ3FC3WX0PIx1CZBIIJ6mXbYMcf6Yw4Fi0rFUTA1cdz/BglbOhA==
+ dependencies:
+ bail "^1.0.0"
+ extend "^3.0.0"
+ is-buffer "^2.0.0"
+ is-plain-obj "^2.0.0"
+ trough "^1.0.0"
+ vfile "^4.0.0"
+
union-value@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847"
@@ -25897,6 +26077,14 @@ unist-util-map@^1.0.5:
dependencies:
object-assign "^4.0.1"
+unist-util-map@^2.0.1:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/unist-util-map/-/unist-util-map-2.0.1.tgz#c3fca064486d3937c4dad8b39c64974faae7c7c4"
+ integrity sha512-VdNvk4BQUUU9Rgr8iUOvclHa/iN9O+6Dt66FKij8l9OVezGG37gGWCPU5KSax1R2degqXFvl3kWTkvzL79e9tQ==
+ dependencies:
+ "@types/mdast" "^3.0.0"
+ object-assign "^4.0.0"
+
unist-util-modify-children@^1.0.0, unist-util-modify-children@^1.1.1:
version "1.1.6"
resolved "https://registry.yarnpkg.com/unist-util-modify-children/-/unist-util-modify-children-1.1.6.tgz#1587130ca0ab5c56155fa60837ff524c3fbfbfaa"
@@ -25908,7 +26096,12 @@ unist-util-position@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-3.0.1.tgz#8e220c24658239bf7ddafada5725ed0ea1ebbc26"
-unist-util-remove-position@^1.0.0, unist-util-remove-position@^1.1.4:
+unist-util-position@^3.1.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-3.1.0.tgz#1c42ee6301f8d52f47d14f62bbdb796571fa2d47"
+ integrity sha512-w+PkwCbYSFw8vpgWD0v7zRCl1FpY3fjDSQ3/N/wNd9Ffa4gPi8+4keqt99N3XW6F99t/mUzp2xAhNmfKWp95QA==
+
+unist-util-remove-position@^1.0.0:
version "1.1.4"
resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-1.1.4.tgz#ec037348b6102c897703eee6d0294ca4755a2020"
integrity sha512-tLqd653ArxJIPnKII6LMZwH+mb5q+n/GtXQZo6S6csPRs5zB0u79Yw8ouR3wTw8wxvdJFhpP6Y7jorWdCgLO0A==
@@ -25922,6 +26115,13 @@ unist-util-remove-position@^2.0.0:
dependencies:
unist-util-visit "^2.0.0"
+unist-util-remove-position@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-3.0.0.tgz#4cd19e82c8e665f462b6acfcfd0a8353235a88e9"
+ integrity sha512-17kIOuolVuK16LMb9KyMJlqdfCtlfQY5FjY3Sdo9iC7F5wqdXhNjMq0PBvMpkVNNnAmHxXssUW+rZ9T2zbP0Rg==
+ dependencies:
+ unist-util-visit "^2.0.0"
+
unist-util-remove@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/unist-util-remove/-/unist-util-remove-1.0.3.tgz#58ec193dfa84b52d5a055ffbc58e5444eb8031a3"
@@ -25944,6 +26144,17 @@ unist-util-select@^1.5.0:
debug "^2.2.0"
nth-check "^1.0.1"
+unist-util-select@^3.0.4:
+ version "3.0.4"
+ resolved "https://registry.yarnpkg.com/unist-util-select/-/unist-util-select-3.0.4.tgz#702c9dc1db1b2bbbfe27f796fce99e43f25edc60"
+ integrity sha512-xf1zCu4okgPqGLdhCDpRnjwBNyv3EqjiXRUbz2SdK1+qnLMB7uXXajfzuBvvbHoQ+JLyp4AEbFCGndmc6S72sw==
+ dependencies:
+ css-selector-parser "^1.0.0"
+ not "^0.1.0"
+ nth-check "^2.0.0"
+ unist-util-is "^4.0.0"
+ zwitch "^1.0.0"
+
unist-util-stringify-position@^1.0.0, unist-util-stringify-position@^1.1.1:
version "1.1.2"
resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-1.1.2.tgz#3f37fcf351279dcbca7480ab5889bb8a832ee1c6"
@@ -25964,7 +26175,7 @@ unist-util-visit-parents@1.1.2:
resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-1.1.2.tgz#f6e3afee8bdbf961c0e6f028ea3c0480028c3d06"
integrity sha512-yvo+MMLjEwdc3RhhPYSximset7rwjMrdt9E41Smmvg25UQIenzrN83cRnF1JMzoMi9zZOQeYXHSDf7p+IQkW3Q==
-unist-util-visit-parents@^2.0.0, unist-util-visit-parents@^2.1.2:
+unist-util-visit-parents@^2.0.0:
version "2.1.2"
resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-2.1.2.tgz#25e43e55312166f3348cae6743588781d112c1e9"
integrity sha512-DyN5vD4NE3aSeB+PXYNKxzGsfocxp6asDc2XXE3b0ekO2BaRUpBicbbUygfSvYfUz1IkmjFR1YF7dPklraMZ2g==
@@ -25979,7 +26190,15 @@ unist-util-visit-parents@^3.0.0:
"@types/unist" "^2.0.3"
unist-util-is "^4.0.0"
-unist-util-visit@2.0.3, unist-util-visit@^2.0.0, unist-util-visit@^2.0.2:
+unist-util-visit-parents@^3.1.1:
+ version "3.1.1"
+ resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-3.1.1.tgz#65a6ce698f78a6b0f56aa0e88f13801886cdaef6"
+ integrity sha512-1KROIZWo6bcMrZEwiH2UrXDyalAa0uqzWCxCJj6lPOvTve2WkfgCytoDTPaMnodXh1WrXOq0haVYHj99ynJlsg==
+ dependencies:
+ "@types/unist" "^2.0.0"
+ unist-util-is "^4.0.0"
+
+unist-util-visit@2.0.3, unist-util-visit@^2.0.0, unist-util-visit@^2.0.2, unist-util-visit@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-2.0.3.tgz#c3703893146df47203bb8a9795af47d7b971208c"
integrity sha512-iJ4/RczbJMkD0712mGktuGpm/U4By4FfDonL7N/9tATGIF4imikjOuagyMY53tnZq3NP6BcmlrHhEKAfGWjh7Q==
@@ -26426,6 +26645,11 @@ vfile-location@^3.0.0:
resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-3.0.1.tgz#d78677c3546de0f7cd977544c367266764d31bb3"
integrity sha512-yYBO06eeN/Ki6Kh1QAkgzYpWT1d3Qln+ZCtSbJqFExPl1S3y2qqotJQXoh6qEvl/jDlgpUJolBn3PItVnnZRqQ==
+vfile-location@^3.1.0:
+ version "3.2.0"
+ resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-3.2.0.tgz#d8e41fbcbd406063669ebf6c33d56ae8721d0f3c"
+ integrity sha512-aLEIZKv/oxuCDZ8lkJGhuhztf/BW4M+iHdCwglA/eWc+vtuRFJj8EtgceYFX4LRjOhCAAiNHsKGssC6onJ+jbA==
+
vfile-message@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-1.0.1.tgz#51a2ccd8a6b97a7980bb34efb9ebde9632e93677"
@@ -26651,7 +26875,7 @@ wcwidth@^1.0.0:
dependencies:
defaults "^1.0.3"
-web-namespaces@^1.0.0, web-namespaces@^1.1.2:
+web-namespaces@^1.0.0:
version "1.1.2"
resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-1.1.2.tgz#c8dc267ab639505276bae19e129dbd6ae72b22b4"