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

postcss-font-family-system-ui

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-font-family-system-ui - npm Package Compare versions

Comparing version 1.0.2 to 2.0.0

28

CHANGELOG.md

@@ -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 @@

3

lib/index.js

@@ -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

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