diff --git a/package-lock.json b/package-lock.json index 795c189..1ada48e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2219,9 +2219,9 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", diff --git a/xmltest.js b/xmltest.js index a5be84f..30120fe 100755 --- a/xmltest.js +++ b/xmltest.js @@ -355,7 +355,10 @@ const replaceNonTextChars = (value, wrapper = replaceWithWrappedCodePointAt) => ? value : value .toString() - .replace(/[\u0000\u001B\u001F\uDC00\uD800\uFFFE\uFFFF]/gu, wrapper); + .replace( + /[\u0000\u001B\u001F\uDC00\uD800\uFFFD\uFFFE\uFFFF]/gu, + wrapper, + ); module.exports = { combineFilters,