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

postcss-local-constants

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-local-constants - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

3

CHANGELOG.md

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

## 0.0.5
* `lodash` is used directly rather than `lodash-node`
## 0.0.4

@@ -2,0 +5,0 @@ * `lodash` is a dep

4

index.js
var postcss = require('postcss');
var nodepath = require('path');
var _ = require('lodash-node');
var assign = require('lodash/object/assign');

@@ -16,3 +16,3 @@ module.exports = postcss.plugin('postcss-local-constants', function (opts) {

if (sets[requiredSet]) {
sets[requiredSet] = _.assign({}, sets[requiredSet], constantSets[requiredSet]);
sets[requiredSet] = assign({}, sets[requiredSet], constantSets[requiredSet]);
}

@@ -19,0 +19,0 @@

{
"name": "postcss-local-constants",
"version": "0.0.4",
"version": "0.0.5",
"description": "PostCSS plugin to process imported constants from a file, removing them from a global scope.",

@@ -24,3 +24,3 @@ "keywords": [

"dependencies": {
"lodash-node": "^3.10.0",
"lodash": "^3.10.0",
"postcss": "^4.1.13"

@@ -27,0 +27,0 @@ },

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