New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

csstree-validator

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csstree-validator - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

CHANGELOG.md

8

lib/reporter/console.js

@@ -9,8 +9,10 @@ module.exports = function(data) {

output.push.apply(output, errors.map(function(entry) {
if (entry.name === 'CssSyntaxError') {
return ' [ERROR] ' + entry;
var error = entry.error || entry;
if (error.name === 'SyntaxError') {
return ' [ERROR] ' + error.message;
}
return ' * ' +
String(entry.error.message || entry.error)
String(error.message)
.replace(/^[^\n]+/, entry.message)

@@ -17,0 +19,0 @@ .replace(/\n/g, '\n ');

@@ -17,2 +17,3 @@ // "FILENAME":LINE.COLUMN: error: MESSAGE

var allowed = error.syntax ? '; allowed: ' + error.syntax : '';
if (error.loc) {

@@ -24,2 +25,3 @@ position = error.loc.start.line + '.' +

}
return '"' +

@@ -26,0 +28,0 @@ filename + '":' +

{
"name": "csstree-validator",
"version": "1.4.0",
"version": "1.5.0",
"description": "CSS validator build on csstree",

@@ -48,3 +48,3 @@ "keywords": [

"clap": "^1.1.1",
"css-tree": "1.0.0-alpha.29"
"css-tree": "1.0.0-alpha.32"
},

@@ -58,3 +58,7 @@ "devDependencies": {

"node": ">=0.10.0"
}
},
"files": [
"bin",
"lib"
]
}
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