diff --git a/package-lock.json b/package-lock.json index 50d1be85..3eadbf8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14525,15 +14525,9 @@ "license": "MIT" }, "node_modules/github-slugger": { - "version": "1.3.0", - "license": "ISC", - "dependencies": { - "emoji-regex": ">=6.0.0 <=6.1.1" - } - }, - "node_modules/github-slugger/node_modules/emoji-regex": { - "version": "6.1.1", - "license": "MIT" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/github-slugger/-/github-slugger-2.0.0.tgz", + "integrity": "sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==" }, "node_modules/glob": { "version": "7.1.6", @@ -19009,6 +19003,11 @@ "unist-util-visit": "^1.1.0" } }, + "node_modules/mdast-util-toc/node_modules/github-slugger": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/github-slugger/-/github-slugger-1.5.0.tgz", + "integrity": "sha512-wIh+gKBI9Nshz2o46B0B3f5k/W+WI9ZAv6y5Dn5WJ5SK1t0TnDimB4WE5rmTD05ZAIn8HALCZVmCsvj0w0v0lw==" + }, "node_modules/mdast-util-toc/node_modules/unist-util-is": { "version": "2.1.3", "license": "MIT" @@ -27611,7 +27610,7 @@ }, "theme": { "name": "@primer/gatsby-theme-doctocat", - "version": "5.1.0", + "version": "5.1.1", "license": "MIT", "dependencies": { "@babel/core": "^7.19.1", @@ -27645,7 +27644,7 @@ "gatsby-source-filesystem": "^3.14.0", "gatsby-transformer-yaml": "^3.14.0", "get-pkg-repo": "^5.0.0", - "github-slugger": "^1.2.1", + "github-slugger": "^2.0.0", "html-react-parser": "^5.0.3", "jest": "^29.7.0", "lodash.debounce": "4.0.8", diff --git a/theme/package.json b/theme/package.json index 592c4800..0d5e356e 100644 --- a/theme/package.json +++ b/theme/package.json @@ -65,7 +65,7 @@ "gatsby-source-filesystem": "^3.14.0", "gatsby-transformer-yaml": "^3.14.0", "get-pkg-repo": "^5.0.0", - "github-slugger": "^1.2.1", + "github-slugger": "^2.0.0", "html-react-parser": "^5.0.3", "jest": "^29.7.0", "lodash.debounce": "4.0.8",