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

lesshint

Package Overview
Dependencies
Maintainers
2
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lesshint - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

3

CHANGELOG.md
# Changelog
## 5.0.2 (2018-04-23)
* `zeroUnit` will now exclude `flex-grow` and `flex-shrink`. ([920900c](https://github.com/lesshint/lesshint/commit/920900ce1609082923839b59d78cba94a5a33980))
## 5.0.1 (2018-04-12)

@@ -3,0 +6,0 @@ * Fixed an sub-selector regression in `singleLinePerSelector`. ([29328aa](https://github.com/lesshint/lesshint/commit/29328aae31a63075301edc1e9c322db52fee894b))

2

lib/linters/zero_unit.js

@@ -14,3 +14,3 @@ 'use strict';

const units = ['em', 'ex', 'ch', 'rem', 'vw', 'vh', 'vmin', 'vmax', 'cm', 'mm', 'in', 'pt', 'pc', 'px'];
let excludedProperties = ['opacity', 'z-index'];
let excludedProperties = ['opacity', 'z-index', 'flex-shrink', 'flex-grow'];
let excludedUnits = [];

@@ -17,0 +17,0 @@

{
"name": "lesshint",
"description": "A tool to aid you in writing clean and consistent Less.",
"version": "5.0.1",
"version": "5.0.2",
"main": "./lib/index.js",

@@ -6,0 +6,0 @@ "author": {

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