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

bleach

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bleach - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

plugins/youtube.js

3

lib/bleach.js

@@ -34,2 +34,5 @@ /*

attr = attr.split('=');
// remove quotes from attributes
if (attr[1] && attr[1].charAt(0).match(/'|"/)) attr[1] = attr[1].slice(1);
if (attr[1] && attr[1].charAt(attr[1].length-1).match(/'|"/)) attr[1] = attr[1].slice(0, -1);
attr = {

@@ -36,0 +39,0 @@ name: attr[0],

2

package.json

@@ -5,3 +5,3 @@ {

"description": "A minimalistic HTML sanitizer",
"version": "0.1.3",
"version": "0.1.4",
"homepage": "https://github.com/ecto/bleach/issues",

@@ -8,0 +8,0 @@ "repository": {

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