@contrail/document-generation
Advanced tools
Comparing version 1.0.32 to 1.0.33
@@ -16,9 +16,10 @@ "use strict"; | ||
} | ||
if (typeof text !== 'string') { | ||
return text; | ||
} | ||
return text.replace(/&/g, "&") | ||
.replace(/</g, "<") | ||
.replace(/>/g, ">") | ||
.replace(/"/g, """) | ||
.replace(/'/g, "'"); | ||
.replace(/>/g, ">"); | ||
} | ||
} | ||
exports.DocumentUtil = DocumentUtil; |
{ | ||
"name": "@contrail/document-generation", | ||
"version": "1.0.32", | ||
"version": "1.0.33", | ||
"description": "Utilities for automatic generation of documents.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
761673
1264
2