From f03bae7c82b3e7960ee995a1094dddf618b28152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 8 Sep 2021 22:21:59 +0200 Subject: [PATCH] tools: update remark-html to v13.0.2 PR-URL: https://github.com/nodejs/node/pull/40043 Reviewed-By: Antoine du Hamel Reviewed-By: Rich Trott --- tools/doc/json.mjs | 2 +- tools/doc/package-lock.json | 14 +++++++------- tools/doc/package.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tools/doc/json.mjs b/tools/doc/json.mjs index 318be8fd2ffb4e..5bcfd9886587f2 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 7d60e99f088c6c..04202b1fad56c9 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 92ac19660d5b42..b349269bd7ed1e 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",