New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

postcss-content-width-unit

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-content-width-unit - npm Package Compare versions

Comparing version 1.0.0-4 to 1.0.0-5

4

index.js

@@ -46,3 +46,5 @@ var endsWith = require('./endsWith');

var transformableValues = values.filter(function (v) {
return endsWithUnit(v.value);
const isOwn = rule.selector === decl.parent.selector;
const isEndingWithUnit = endsWithUnit(v.value);
return isOwn && isEndingWithUnit;
});

@@ -49,0 +51,0 @@

{
"name": "postcss-content-width-unit",
"version": "1.0.0-4",
"version": "1.0.0-5",
"description": "PostCSS plugin which adds limit to vw unit",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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