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

postcss-convert-values

Package Overview
Dependencies
Maintainers
1
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 1.0.3 to 1.1.0

4

CHANGELOG.md

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

# 1.1.0
* Adds support for removing leading zeroes from `rem` values.
# 1.0.3

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

2

index.js

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

var duration = /^((?:[-+]?[\d]+?)(?:\.?(?:[\d]+?))?)(s|ms)/;
var length = /^((?:[-+]?[\d]+?)(?:\.?(?:[\d]+?))?)?(%|em|ex|in|cm|mm|pt|pc|px)?$/;
var length = /^((?:[-+]?[\d]+?)(?:\.?(?:[\d]+?))?)?(%|em|rem|ex|in|cm|mm|pt|pc|px)?$/;
var tidyValue = /^([\d]*)?\.([^1-9]*)?$/;

@@ -12,0 +12,0 @@

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

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