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

stylelint-formatter-pretty

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-formatter-pretty - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

4

index.js

@@ -44,3 +44,3 @@ import path from 'node:path';

.sort((a, b) => a.text === b.text)
.filter((item, idx, array) => array.findIndex(d => d.text === item.text) === idx)
.filter((item, index, array) => array.findIndex(d => d.text === item.text) === index)
.map(item => ({

@@ -127,3 +127,3 @@ text: item.text.replaceAll(/\B"(.*?)"\B|\B'(.*?)'\B/g, (m, p1, p2) => pico.bold(p1 || p2)),

maxMessageWidth = Math.max(messageWidth, maxMessageWidth);
showLineNumbers = showLineNumbers || x.line || x.column;
showLineNumbers ||= x.line || x.column;

@@ -130,0 +130,0 @@ lines.push({

{
"name": "stylelint-formatter-pretty",
"version": "4.0.0",
"version": "4.0.1",
"description": "A pretty Stylelint formatter.",

@@ -28,4 +28,5 @@ "license": "MIT",

"scripts": {
"test": "xo && c8 ava",
"coverage": "c8 report --reporter=lcov"
"coverage": "c8 report --reporter=lcov",
"prepare": "husky",
"test": "xo && c8 node --test"
},

@@ -44,4 +45,4 @@ "files": [

"dependencies": {
"ansi-escapes": "^6.2.0",
"log-symbols": "^6.0.0",
"ansi-escapes": "^7.0.0",
"log-symbols": "^7.0.0",
"picocolors": "^1.0.0",

@@ -53,8 +54,7 @@ "plur": "^5.1.0",

"devDependencies": {
"ava": "^6.0.1",
"c8": "^8.0.0",
"husky": "^8.0.1",
"c8": "^10.1.2",
"husky": "^9.0.10",
"lint-staged": "^15.2.0",
"strip-ansi": "^7.1.0",
"xo": "^0.56.0"
"xo": "^0.59.3"
},

@@ -61,0 +61,0 @@ "peerDependencies": {

@@ -32,3 +32,3 @@ # stylelint-formatter-pretty

```bash
stylelint file.css --custom-formatter=node_modules/stylelint-formatter-pretty
stylelint file.css --custom-formatter stylelint-formatter-pretty
```

@@ -35,0 +35,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