Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sanitize-html

Package Overview
Dependencies
Maintainers
9
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sanitize-html - npm Package Compare versions

Comparing version 1.21.1 to 1.22.0

2

CHANGELOG.md
## Changelog
1.22.0: bumped `htmlparser2` dependency to the 4.x series. This fixes longstanding bugs and should cause no bc breaks for this module, since the only bc breaks upstream are in regard to features we don't expose in this module.
1.21.1: fixed issue with bad `main` setting in package.json that broke 1.21.0.

@@ -4,0 +6,0 @@

16

package.json
{
"name": "sanitize-html",
"version": "1.21.1",
"version": "1.22.0",
"description": "Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis",

@@ -31,3 +31,3 @@ "main": "dist/sanitize-html.js",

"chalk": "^2.4.1",
"htmlparser2": "^3.10.0",
"htmlparser2": "^4.1.0",
"lodash.clonedeep": "^4.5.0",

@@ -38,15 +38,15 @@ "lodash.escaperegexp": "^4.1.2",

"lodash.mergewith": "^4.6.1",
"postcss": "^7.0.5",
"srcset": "^1.0.0",
"postcss": "^7.0.27",
"srcset": "^2.0.1",
"xtend": "^4.0.1"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.8.4",
"babelify": "^10.0.0",
"browserify": "^16.2.3",
"mocha": "^5.2.0",
"uglify-js": "^3.4.9",
"@babel/cli": "^7.6.0",
"@babel/core": "^7.6.0",
"@babel/preset-env": "^7.6.0"
"uglify-js": "^3.8.0"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc