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

postcss-convert-values

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-convert-values - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 2.3.1
* Fixed a behaviour where `0deg` was being converted to `0`.
# 2.3.0

@@ -2,0 +6,0 @@

2

dist/index.js

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

if (num === 0) {
node.value = stripZeroUnit || u === 'ms' || u === 's' ? 0 + u : 0;
node.value = stripZeroUnit || u === 'ms' || u === 's' || u === 'deg' || u === 'rad' || u === 'grad' || u === 'turn' ? 0 + u : 0;
} else {

@@ -30,0 +30,0 @@ node.value = (0, _libConvert2['default'])(num, u, opts);

{
"name": "postcss-convert-values",
"version": "2.3.0",
"version": "2.3.1",
"description": "Convert values with PostCSS (e.g. ms -> s)",

@@ -5,0 +5,0 @@ "main": "dist/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