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

postcss-reporter

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-reporter - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

3

CHANGELOG.md
# Changelog
## 1.2.1
- Handle variable and absent input sources.
## 1.2.0

@@ -4,0 +7,0 @@ - Add `noIcon` and `noPlugin` options to both reporter and formatter.

4

lib/formatter.js

@@ -38,3 +38,5 @@ var chalk = require('chalk');

output += chalk.bold.underline(logFrom(source)) + '\n';
if (source) {
output += chalk.bold.underline(logFrom(source)) + '\n';
}

@@ -41,0 +43,0 @@ orderedMessages.forEach(function(w) {

@@ -22,5 +22,8 @@ var chalk = require('chalk');

var source = (!result.root.source) ? undefined
: result.root.source.input.file || result.root.source.input.id
var report = formatter({
messages: messagesToLog,
source: result.root.source.input.from,
source: source,
});

@@ -27,0 +30,0 @@

{
"name": "postcss-reporter",
"version": "1.2.0",
"version": "1.2.1",
"description": "Log PostCSS messages in the console",

@@ -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