diff --git a/package-lock.json b/package-lock.json index 2a66fb7bf..40781b000 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5548,12 +5548,12 @@ "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", "dev": true }, - "html-parse-stringify2": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/html-parse-stringify2/-/html-parse-stringify2-2.0.1.tgz", - "integrity": "sha1-3FZwtyksoVi3vJFsmmc1rIhyg0o=", + "html-parse-stringify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/html-parse-stringify/-/html-parse-stringify-3.0.0.tgz", + "integrity": "sha512-TrTKp/U0tACrpqalte/VhxepqMLii2mOfC8iuOt4+VA7Zdi6BUKKqNJvEsO17Cr3T3E7PpqLe3NdLII6bcYJgg==", "requires": { - "void-elements": "^2.0.1" + "void-elements": "3.1.0" } }, "http-signature": { @@ -11044,9 +11044,9 @@ } }, "void-elements": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", - "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=" + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz", + "integrity": "sha1-YU9/v42AHwu18GYfWy9XhXUOTwk=" }, "w3c-hr-time": { "version": "1.0.2", diff --git a/package.json b/package.json index 0c7cb17e8..a8ffdccaf 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ }, "dependencies": { "@babel/runtime": "^7.13.6", - "html-parse-stringify2": "^2.0.1" + "html-parse-stringify": "^3.0.0" }, "devDependencies": { "@babel/cli": "^7.2.3", diff --git a/src/Trans.js b/src/Trans.js index cbc700e9b..d4b0bee6d 100644 --- a/src/Trans.js +++ b/src/Trans.js @@ -1,5 +1,5 @@ import React, { useContext } from 'react'; -import HTML from 'html-parse-stringify2'; +import HTML from 'html-parse-stringify'; import { getI18n, I18nContext, getDefaults } from './context'; import { warn, warnOnce } from './utils';