Socket
Socket
Sign inDemoInstall

postcss-constants

Package Overview
Dependencies
22
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.3 to 0.1.4

3

CHANGELOG.md

@@ -0,1 +1,4 @@

## 0.1.4
* Paths can be wrapped in single quotes (')
## 0.1.3

@@ -2,0 +5,0 @@ * Actually use POSTCSS v5.

@@ -13,2 +13,3 @@ var postcss = require('postcss');

var getConstants = function(name, path, directory) {
path = path.replace(/'/g, '"');
var res = resolve.sync(JSON.parse(path), { basedir: nodepath.dirname(directory) });

@@ -15,0 +16,0 @@ var requiredSet = name.replace(/~/g, '');

2

package.json
{
"name": "postcss-constants",
"version": "0.1.3",
"version": "0.1.4",
"description": "PostCSS plugin to process imported constants from a file.",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc