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

@dr.pogodin/postcss-modules-parser

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dr.pogodin/postcss-modules-parser - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

8

lib/index.js

@@ -13,6 +13,4 @@ 'use strict';

var _icssReplaceSymbols = require('icss-replace-symbols');
var _icssUtils = require('icss-utils');
var _icssReplaceSymbols2 = _interopRequireDefault(_icssReplaceSymbols);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -38,3 +36,3 @@

(0, _icssReplaceSymbols2.default)(css, translations);
(0, _icssUtils.replaceSymbols)(css, translations);

@@ -67,3 +65,3 @@ css.walkRules(exportRegexp, function (rule) {

postcssPlugin: 'parser',
Root: function Root(css) {
Once: function Once(css) {
// https://github.com/postcss/postcss/blob/master/docs/api.md#inputfile

@@ -70,0 +68,0 @@ var file = css.source.input.file;

{
"name": "@dr.pogodin/postcss-modules-parser",
"version": "1.2.0",
"version": "1.2.1",
"description": "A CSS Modules parser to extract tokens from the css file",
"main": "index.js",
"scripts": {
"compile": "babel src --out-dir lib",
"build": "babel src --out-dir lib",
"test": "mocha --require babel-core/register"

@@ -30,3 +30,3 @@ },

"dependencies": {
"icss-replace-symbols": "^1.0.2",
"icss-utils": "^5.0.0-rc.0",
"lodash.foreach": "^4.5.0"

@@ -39,7 +39,7 @@ },

"mocha": "^8.1.3",
"postcss": "^8.0.9"
"postcss": "^8.1.1"
},
"peerDependencies": {
"postcss": "^8.0.9"
"postcss": "^8.1.1"
}
}
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