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

postcss-merge-idents

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-merge-idents - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

4

CHANGELOG.md

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

# 2.1.1
* Updates postcss-value-parser to version 3 (thanks to @TrySound).
# 2.1.0

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

7

index.js
'use strict';
var postcss = require('postcss');
var parser = require('postcss-value-parser');
var valueParser = require('postcss-value-parser');

@@ -54,3 +54,3 @@ function canonical (obj) {

pair.decls.forEach(function (decl) {
decl.value = parser(decl.value).walk(function (node) {
decl.value = valueParser(decl.value).walk(function (node) {
if (node.type === 'word') {

@@ -63,4 +63,3 @@ node.value = canon(node.value);

if (node.type === 'div') {
node.before = '';
node.after = '';
node.before = node.after = '';
}

@@ -67,0 +66,0 @@ }).toString();

{
"name": "postcss-merge-idents",
"version": "2.1.0",
"version": "2.1.1",
"description": "Merge keyframe and counter style identifiers.",

@@ -32,4 +32,4 @@ "main": "index.js",

"postcss": "^5.0.4",
"postcss-value-parser": "^2.0.4"
"postcss-value-parser": "^3.0.2"
}
}
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