@dr.pogodin/postcss-modules-parser
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6417
82
+ Addedicss-utils@^5.0.0-rc.0
+ Addedicss-utils@5.1.0(transitive)
- Removedicss-replace-symbols@^1.0.2
- Removedicss-replace-symbols@1.1.0(transitive)