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

cssfilter

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cssfilter - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

6

lib/util.js

@@ -24,3 +24,3 @@ module.exports = {

trim: function (str) {
if (String.prototype.forEach) {
if (String.prototype.trim) {
return str.trim();

@@ -31,4 +31,4 @@ }

trimRight: function (str) {
if (String.prototype.forEach) {
return str.trim();
if (String.prototype.trimRight) {
return str.trimRight();
}

@@ -35,0 +35,0 @@ return str.replace(/(\s*$)/g, '');

{
"name": "cssfilter",
"version": "0.0.3",
"version": "0.0.4",
"description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",

@@ -5,0 +5,0 @@ "main": "index.js",

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