diff --git a/portals/devportal/src/main/webapp/package-lock.json b/portals/devportal/src/main/webapp/package-lock.json index da87b63103a..0a50941b60b 100644 --- a/portals/devportal/src/main/webapp/package-lock.json +++ b/portals/devportal/src/main/webapp/package-lock.json @@ -70,7 +70,6 @@ "react-syntax-highlighter": "^15.5.0", "react-tagcloud": "^2.3.1", "remark-gfm": "^3.0.1", - "sanitize-html": "^2.13.0", "stream-browserify": "^3.0.0", "subscriptions-transport-ws": "^0.11.0", "swagger-client": "^3.18.5", @@ -14402,6 +14401,7 @@ }, "node_modules/htmlparser2": { "version": "8.0.1", + "dev": true, "funding": [ "https://github.com/fb55/htmlparser2?sponsor=1", { @@ -21265,10 +21265,6 @@ "node": ">= 0.10" } }, - "node_modules/parse-srcset": { - "version": "1.0.2", - "license": "MIT" - }, "node_modules/parse5": { "version": "7.1.2", "dev": true, @@ -24287,62 +24283,6 @@ "version": "2.1.2", "license": "MIT" }, - "node_modules/sanitize-html": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.13.0.tgz", - "integrity": "sha512-Xff91Z+4Mz5QiNSLdLWwjgBDm5b1RU6xBT0+12rapjiaR7SwfRdjw8f+6Rir2MXKLrDicRFHdb51hGOAxmsUIA==", - "dependencies": { - "deepmerge": "^4.2.2", - "escape-string-regexp": "^4.0.0", - "htmlparser2": "^8.0.0", - "is-plain-object": "^5.0.0", - "parse-srcset": "^1.0.2", - "postcss": "^8.3.11" - } - }, - "node_modules/sanitize-html/node_modules/escape-string-regexp": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/sanitize-html/node_modules/is-plain-object": { - "version": "5.0.0", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sanitize-html/node_modules/picocolors": { - "version": "1.0.0", - "license": "ISC" - }, - "node_modules/sanitize-html/node_modules/postcss": { - "version": "8.4.21", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - } - ], - "license": "MIT", - "dependencies": { - "nanoid": "^3.3.4", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, "node_modules/sax": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/sax/-/sax-1.3.0.tgz", @@ -25189,13 +25129,6 @@ "node": ">=0.10.0" } }, - "node_modules/source-map-js": { - "version": "1.0.2", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/source-map-resolve": { "version": "0.5.3", "dev": true, @@ -39468,6 +39401,7 @@ }, "htmlparser2": { "version": "8.0.1", + "dev": true, "requires": { "domelementtype": "^2.3.0", "domhandler": "^5.0.2", @@ -44097,9 +44031,6 @@ "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", "dev": true }, - "parse-srcset": { - "version": "1.0.2" - }, "parse5": { "version": "7.1.2", "dev": true, @@ -46119,38 +46050,6 @@ "safer-buffer": { "version": "2.1.2" }, - "sanitize-html": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.13.0.tgz", - "integrity": "sha512-Xff91Z+4Mz5QiNSLdLWwjgBDm5b1RU6xBT0+12rapjiaR7SwfRdjw8f+6Rir2MXKLrDicRFHdb51hGOAxmsUIA==", - "requires": { - "deepmerge": "^4.2.2", - "escape-string-regexp": "^4.0.0", - "htmlparser2": "^8.0.0", - "is-plain-object": "^5.0.0", - "parse-srcset": "^1.0.2", - "postcss": "^8.3.11" - }, - "dependencies": { - "escape-string-regexp": { - "version": "4.0.0" - }, - "is-plain-object": { - "version": "5.0.0" - }, - "picocolors": { - "version": "1.0.0" - }, - "postcss": { - "version": "8.4.21", - "requires": { - "nanoid": "^3.3.4", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" - } - } - } - }, "sax": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/sax/-/sax-1.3.0.tgz", @@ -46752,9 +46651,6 @@ "source-map": { "version": "0.6.1" }, - "source-map-js": { - "version": "1.0.2" - }, "source-map-resolve": { "version": "0.5.3", "dev": true, diff --git a/portals/devportal/src/main/webapp/package.json b/portals/devportal/src/main/webapp/package.json index fd10b159ea6..0b11795b4a4 100644 --- a/portals/devportal/src/main/webapp/package.json +++ b/portals/devportal/src/main/webapp/package.json @@ -87,7 +87,6 @@ "react-syntax-highlighter": "^15.5.0", "react-tagcloud": "^2.3.1", "remark-gfm": "^3.0.1", - "sanitize-html": "^2.13.0", "stream-browserify": "^3.0.0", "subscriptions-transport-ws": "^0.11.0", "swagger-client": "^3.18.5",