escape-html
Advanced tools
Comparing version 0.0.1 to 1.0.0
{ | ||
"name": "escape-html", | ||
"description": "Escape HTML entities", | ||
"version": "0.0.1", | ||
"version": "1.0.0", | ||
"keywords": ["escape", "html", "utility"], | ||
@@ -10,2 +10,2 @@ "dependencies": {}, | ||
] | ||
} | ||
} |
@@ -1,2 +0,1 @@ | ||
/** | ||
@@ -14,4 +13,5 @@ * Escape special characters in the given string of html. | ||
.replace(/"/g, '"') | ||
.replace(/'/g, ''') | ||
.replace(/</g, '<') | ||
.replace(/>/g, '>'); | ||
} | ||
} |
{ | ||
"name": "escape-html", | ||
"description": "Escape HTML entities", | ||
"version": "0.0.1", | ||
"version": "1.0.0", | ||
"keywords": ["escape", "html", "utility"], | ||
"dependencies": {}, | ||
"main": "index.js" | ||
} | ||
"main": "index.js", | ||
"component": { | ||
"scripts": { | ||
"escape-html/index.js": "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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1074
25
2
0
1