Socket
Socket
Sign inDemoInstall

postcss-property-lookup

Package Overview
Dependencies
11
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 1.0.0

4

build/index.js

@@ -17,6 +17,6 @@ 'use strict';

return function (root, result) {
root.eachRule(function (rule) {
root.walkRules(function (rule) {
rule.replaceValues(/@([a-z-]+)(\s?)/g, { fast: '@' }, function (orig, prop, space) {
var replacementVal = undefined;
rule.eachDecl(prop, function (decl) {
rule.walkDecls(prop, function (decl) {
return replacementVal = decl.value;

@@ -23,0 +23,0 @@ });

{
"name": "postcss-property-lookup",
"version": "0.3.0",
"version": "1.0.0",
"description": "PostCSS plugin that allows referencing property values without a variable",

@@ -30,4 +30,6 @@ "keywords": [

"scripts": {
"test": "gulp"
"test": "gulp",
"prepublish": "npm run build",
"build": "gulp build"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc