postcss-font-family-system-ui
Advanced tools
Comparing version 1.0.2 to 2.0.0
@@ -0,1 +1,29 @@ | ||
## 2.0.0 (2017-5-8) | ||
##### Chores | ||
* **package:** | ||
* update nyc to lastest version (32b6c515) | ||
* upgrade dependencies (5a6924da) | ||
* update standard to version 10.0.0 (f9e3996d) | ||
* update cross-env to version 4.0.0 (7c079fc9) | ||
* update babel-preset-env to version 1.3.2 (0d398ac1) | ||
* update babel-plugin-istanbul to version 4.0.0 (f24a2407) | ||
* update standard to version 9.0.0 (7803b7e5) | ||
* update cross-env to version 3.2.3 (ed6a6017) | ||
##### Documentation Changes | ||
* **readme:** | ||
* add version table (b7ba613b) | ||
* minor adjustment on install process and snippet code styles (d20ffa05) | ||
##### Bug Fixes | ||
* **package:** update postcss to version 6.0.1 (460f7fd1) | ||
##### Tests | ||
* **index:** fix test title (63b21796) | ||
#### 1.0.2 (2017-2-6) | ||
@@ -2,0 +30,0 @@ |
@@ -34,6 +34,5 @@ 'use strict'; | ||
return function (decl) { | ||
var tree = void 0; | ||
if (decl.type === 'decl') { | ||
if (decl.prop === 'font-family' || decl.prop === 'font') { | ||
tree = (0, _postcssValueParser2.default)(decl.value); | ||
var tree = (0, _postcssValueParser2.default)(decl.value); | ||
tree.nodes = transformFontFamilySystemUI(tree.nodes); | ||
@@ -40,0 +39,0 @@ decl.value = tree.toString(); |
{ | ||
"name": "postcss-font-family-system-ui", | ||
"version": "1.0.2", | ||
"version": "2.0.0", | ||
"description": "PostCSS plugin to transform W3C CSS font-family: system-ui to a practical font-family list", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
"lodash": "^4.17.4", | ||
"postcss": "^5.2.12", | ||
"postcss": "^6.0.1", | ||
"postcss-value-parser": "^3.3.0" | ||
@@ -34,10 +34,10 @@ }, | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-plugin-istanbul": "^3.0.0", | ||
"babel-preset-env": "^1.1.4", | ||
"babel-plugin-istanbul": "^4.0.0", | ||
"babel-preset-env": "^1.3.2", | ||
"babel-register": "^6.22.0", | ||
"cross-env": "^3.1.3", | ||
"nyc": "^10.0.0", | ||
"cross-env": "^4.0.0", | ||
"nyc": "^10.3.2", | ||
"pre-commit": "^1.2.2", | ||
"rimraf": "^2.5.4", | ||
"standard": "^8.6.0", | ||
"standard": "^10.0.0", | ||
"tap": "^10.0.0", | ||
@@ -44,0 +44,0 @@ "yaspeller": "^3.0.0" |
@@ -12,5 +12,12 @@ # postcss-font-family-system-ui | ||
```bash | ||
yarn add postcss-font-family-system-ui | ||
yarn add postcss-font-family-system-ui --dev | ||
``` | ||
## Version | ||
| postcss | postcss-font-family-system-ui | | ||
| ------- | ----------------------------- | | ||
| 5.x | 1.x | | ||
| 6.x | 2.x | | ||
## Usage | ||
@@ -23,3 +30,3 @@ ```js | ||
// css to be processed | ||
const css = fs.readFileSync("input.css", "utf8") | ||
const css = fs.readFileSync('input.css', 'utf8') | ||
@@ -26,0 +33,0 @@ // process css using postcss-font-family-system-ui |
Sorry, the diff of this file is not supported yet
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
126748
61
36
+ Addedansi-styles@3.2.1(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedpostcss@6.0.23(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedsupports-color@5.5.0(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedchalk@1.1.3(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedhas-flag@1.0.0(transitive)
- Removedjs-base64@2.6.4(transitive)
- Removedpostcss@5.2.18(transitive)
- Removedsource-map@0.5.7(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.03.2.3(transitive)
Updatedpostcss@^6.0.1