summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2021-09-08 22:21:59 +0200
committerBeth Griggs <bgriggs@redhat.com>2021-09-21 19:13:39 +0100
commitf03bae7c82b3e7960ee995a1094dddf618b28152 (patch)
treeac916491d0c5dbfd34c4ca905bd4ddc56a807eee
parentd6124d8259d5fbbd1c7dff6da893373bf3e46665 (diff)
downloadnode-new-f03bae7c82b3e7960ee995a1094dddf618b28152.tar.gz
tools: update remark-html to v13.0.2
PR-URL: https://github.com/nodejs/node/pull/40043 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
-rw-r--r--tools/doc/json.mjs2
-rw-r--r--tools/doc/package-lock.json14
-rw-r--r--tools/doc/package.json2
3 files changed, 9 insertions, 9 deletions
diff --git a/tools/doc/json.mjs b/tools/doc/json.mjs
index 318be8fd2f..5bcfd98865 100644
--- a/tools/doc/json.mjs
+++ b/tools/doc/json.mjs
@@ -187,7 +187,7 @@ export function jsonAPI({ filename }) {
{ type: 'root', children: nodes.concat(definitions) }
);
})
- .use(html)
+ .use(html, { sanitize: false })
.processSync('').toString().trim();
if (!current.desc) delete current.desc;
}
diff --git a/tools/doc/package-lock.json b/tools/doc/package-lock.json
index 7d60e99f08..04202b1fad 100644
--- a/tools/doc/package-lock.json
+++ b/tools/doc/package-lock.json
@@ -17,7 +17,7 @@
"rehype-stringify": "8.0.0",
"remark-frontmatter": "^3.0.0",
"remark-gfm": "^1.0.0",
- "remark-html": "13.0.1",
+ "remark-html": "13.0.2",
"remark-parse": "^9.0.0",
"remark-rehype": "8.1.0",
"to-vfile": "7.1.0",
@@ -951,9 +951,9 @@
}
},
"node_modules/remark-html": {
- "version": "13.0.1",
- "resolved": "https://registry.npmjs.org/remark-html/-/remark-html-13.0.1.tgz",
- "integrity": "sha512-K5KQCXWVz+harnyC+UVM/J9eJWCgjYRqFeZoZf2NgP0iFbuuw/RgMZv3MA34b/OEpGnstl3oiOUtZzD3tJ+CBw==",
+ "version": "13.0.2",
+ "resolved": "https://registry.npmjs.org/remark-html/-/remark-html-13.0.2.tgz",
+ "integrity": "sha512-LhSRQ+3RKdBqB/RGesFWkNNfkGqprDUCwjq54SylfFeNyZby5kqOG8Dn/vYsRoM8htab6EWxFXCY6XIZvMoRiQ==",
"dev": true,
"dependencies": {
"hast-util-sanitize": "^3.0.0",
@@ -1992,9 +1992,9 @@
}
},
"remark-html": {
- "version": "13.0.1",
- "resolved": "https://registry.npmjs.org/remark-html/-/remark-html-13.0.1.tgz",
- "integrity": "sha512-K5KQCXWVz+harnyC+UVM/J9eJWCgjYRqFeZoZf2NgP0iFbuuw/RgMZv3MA34b/OEpGnstl3oiOUtZzD3tJ+CBw==",
+ "version": "13.0.2",
+ "resolved": "https://registry.npmjs.org/remark-html/-/remark-html-13.0.2.tgz",
+ "integrity": "sha512-LhSRQ+3RKdBqB/RGesFWkNNfkGqprDUCwjq54SylfFeNyZby5kqOG8Dn/vYsRoM8htab6EWxFXCY6XIZvMoRiQ==",
"dev": true,
"requires": {
"hast-util-sanitize": "^3.0.0",
diff --git a/tools/doc/package.json b/tools/doc/package.json
index 92ac19660d..b349269bd7 100644
--- a/tools/doc/package.json
+++ b/tools/doc/package.json
@@ -13,7 +13,7 @@
"rehype-stringify": "8.0.0",
"remark-frontmatter": "^3.0.0",
"remark-gfm": "^1.0.0",
- "remark-html": "13.0.1",
+ "remark-html": "13.0.2",
"remark-parse": "^9.0.0",
"remark-rehype": "8.1.0",
"to-vfile": "7.1.0",