Socket
Socket
Sign inDemoInstall

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 2.0.0 to 3.0.0

4

CHANGELOG.md
# Changelog
## 3.0.0
- Replace `clearMessages` option with `clearReportedMessages` and `clearAllMessages`.
## 2.0.0

@@ -4,0 +8,0 @@

@@ -54,6 +54,12 @@ var chalk = require('chalk');

if (options.clearMessages) {
if (options.clearReportedMessages) {
result.messages = _.difference(result.messages, messagesToLog);
}
if (options.clearAllMessages) {
var messagesToClear = result.messages.filter(pluginFilter);
result.messages = _.difference(result.messages, messagesToClear);
}
if (!report) return;

@@ -60,0 +66,0 @@

2

package.json
{
"name": "postcss-reporter",
"version": "2.0.0",
"version": "3.0.0",
"description": "Log PostCSS messages in the console",

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

# postcss-reporter
[![Build Status](https://travis-ci.org/postcss/postcss-reporter.svg?branch=master)](https://travis-ci.org/postcss/postcss-reporter)[![AppVeyor Build Status](https://img.shields.io/appveyor/ci/davidtheclark/postcss-reporter/master.svg?label=windows%20build)](https://ci.appveyor.com/project/davidtheclark/postcss-reporter)
[![Build Status](https://travis-ci.org/postcss/postcss-reporter.svg?branch=master)](https://travis-ci.org/postcss/postcss-reporter)
[![AppVeyor Build Status](https://img.shields.io/appveyor/ci/davidtheclark/postcss-reporter/master.svg?label=windows%20build)](https://ci.appveyor.com/project/davidtheclark/postcss-reporter)

@@ -51,3 +52,3 @@ A PostCSS plugin to `console.log()` the messages (warnings, etc.) registered by other PostCSS plugins.

**clearMessages** (boolean, default = `false`)
**clearReportedMessages** (boolean, default = `false`)

@@ -94,2 +95,6 @@ If true, the plugin will clear the result's messages after it logs them. This prevents other plugins, or the whatever runner you use, from logging the same information again and causing confusion.

**clearAllMessages** (boolean, default = `false`)
If `true`, not pass any messages into other plugins, or the whatever runner you use, for logging.
**throwError** (boolean, default = `false`)

@@ -96,0 +101,0 @@

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