Skip to content

Commit f25abff

Browse files
committed
4.0.0
1 parent 8a254c6 commit f25abff

File tree

5 files changed

+47
-38
lines changed

5 files changed

+47
-38
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
# https://docs.travis-ci.com/user/travis-lint
2+
13
language: node_js
4+
25
node_js:
3-
- "6"
4-
- "8"
5-
- "stable"
6+
- 6
7+
8+
install:
9+
- npm install --ignore-scripts

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 4.0.0 2017-09-17
2+
3+
- Updated: Support for PostCSS v7+
4+
- Updated: Support for Node v6+
5+
16
# 3.0.0 2017-05-10
27

38
Change: Use PostCSS 6 API.

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# PostCSS Media Minmax
22

3-
[![CSS Standard Status](https://jonathantneal.github.io/css-db/badge/mediaqueries-mq-ranges.svg)](https://jonathantneal.github.io/css-db/#mediaqueries-mq-ranges)
3+
[![CSS Standard Status](https://cssdb.org/badge/media-query-ranges.svg)](https://cssdb.org/#media-query-ranges)
44
[![Build Status](https://travis-ci.org/postcss/postcss-media-minmax.svg?branch=master)](https://travis-ci.org/postcss/postcss-media-minmax)
55
[![NPM Downloads](https://img.shields.io/npm/dm/postcss-media-minmax.svg?style=flat)](https://www.npmjs.com/package/postcss-media-minmax)
6-
[![NPM Version](http://img.shields.io/npm/v/postcss-media-minmax.svg?style=flat)](https://www.npmjs.com/package/postcss-media-minmax)
7-
[![License](https://img.shields.io/npm/l/postcss-media-minmax.svg?style=flat)](http://opensource.org/licenses/MIT)
6+
[![NPM Version](https://img.shields.io/npm/v/postcss-media-minmax.svg?style=flat)](https://www.npmjs.com/package/postcss-media-minmax)
7+
[![License](https://img.shields.io/npm/l/postcss-media-minmax.svg?style=flat)](https://opensource.org/licenses/MIT)
88

99
> Writing simple and graceful media queries!
1010
@@ -19,7 +19,7 @@ This is a polyfill plugin which supports [CSS Media Queries Level 4](https://dra
1919

2020
-----
2121

22-
![Gif Demo](http://gtms02.alicdn.com/tps/i2/TB1UIjyGVXXXXcCaXXXx274FpXX-877-339.gif)
22+
![Gif Demo](https://gtms02.alicdn.com/tps/i2/TB1UIjyGVXXXXcCaXXXx274FpXX-877-339.gif)
2323

2424

2525
## Installation
@@ -75,7 +75,7 @@ You will get:
7575

7676
## CSS syntax
7777

78-
### [Syntax](http://dev.w3.org/csswg/mediaqueries/#mq-syntax)
78+
### [Syntax](https://drafts.csswg.org/mediaqueries/#mq-range-context)
7979

8080
```
8181
<mf-range> = <mf-name> [ '<' | '>' ]? '='? <mf-value>
@@ -84,15 +84,15 @@ You will get:
8484
| <mf-value> '>' '='? <mf-name> '>' '='? <mf-value>
8585
```
8686

87-
![syntax](http://gtms03.alicdn.com/tps/i3/TB1Rje0HXXXXXXeXpXXccZJ0FXX-640-290.png)
87+
![syntax](https://gtms03.alicdn.com/tps/i3/TB1Rje0HXXXXXXeXpXXccZJ0FXX-640-290.png)
8888

8989
PostCSS Media Minmax hasn't implemented syntax such as `200px > = width` or `200px < = width` currently because its readability is not good enough yet.
9090

91-
## [Values](http://dev.w3.org/csswg/mediaqueries/#values)
91+
## [Values](https://drafts.csswg.org/mediaqueries/#values)
9292

9393
**The special values:**
9494

95-
* [<ratio>](http://dev.w3.org/csswg/mediaqueries/#typedef-ratio)
95+
* [<ratio>](https://drafts.csswg.org/mediaqueries/#typedef-ratio)
9696

9797
The <ratio> value type is a positive (not zero or negative) <integer> followed by optional whitespace, followed by a solidus ('/'), followed by optional whitespace, followed by a positive <integer>. <ratio>s can be ordered or compared by transforming them into the number obtained by dividing their first <integer> by their second <integer>.
9898

@@ -107,7 +107,7 @@ PostCSS Media Minmax hasn't implemented syntax such as `200px > = width` or `200
107107
}
108108
```
109109

110-
* [<mq-boolean>](http://dev.w3.org/csswg/mediaqueries/#typedef-mq-boolean)
110+
* [<mq-boolean>](https://drafts.csswg.org/mediaqueries/#typedef-mq-boolean)
111111

112112
The <mq-boolean> value type is an <integer> with the value 0 or 1. Any other integer value is invalid. Note that -0 is always equivalent to 0 in CSS, and so is also accepted as a valid <mq-boolean> value.
113113

@@ -285,7 +285,7 @@ gulp.watch('src/*.css', ['default']);
285285
## Contributing
286286

287287
* Install all the dependent modules.
288-
* Respect the coding style (Use [EditorConfig](http://editorconfig.org/)).
288+
* Respect the coding style (Use [EditorConfig](https://editorconfig.org/)).
289289
* Add test cases in the [test](test) directory.
290290
* Run the test cases.
291291

@@ -300,9 +300,9 @@ $ npm test
300300

301301
* Thank the author of PostCSS [Andrey Sitnik](https://github.com/ai) for giving us such simple and easy CSS syntax analysis tools.
302302

303-
* Thank [Tab Atkins Jr.](http://xanthir.com/contact/) for writing the specs of Media Queries Level 4.
303+
* Thank [Tab Atkins Jr.](https://www.xanthir.com/contact/) for writing the specs of Media Queries Level 4.
304304

305-
* Thank [ziyunfei](http://weibo.com/p/1005051708684567) for suggestions and help of this plugin.
305+
* Thank [ziyunfei](https://weibo.com/p/1005051708684567) for suggestions and help of this plugin.
306306

307307

308308
## [Changelog](CHANGELOG.md)

package-lock.json

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcss-media-minmax",
3-
"version": "3.0.0",
3+
"version": "4.0.0",
44
"description": "Using more intuitive `>=`, `<=`, `>`, `<` instead of media queries min/max prefix.",
55
"scripts": {
66
"test": "tape test",
@@ -31,7 +31,7 @@
3131
"postcss": "^7.0.2"
3232
},
3333
"devDependencies": {
34-
"npmpub": "^3.1.0",
35-
"tape": "^4.6.3"
34+
"npmpub": "^4.1.0",
35+
"tape": "^4.9.1"
3636
}
3737
}

0 commit comments

Comments
 (0)