autoprefixer
Advanced tools
Comparing version 1.0.20140203 to 1.0.20140213
@@ -23,3 +23,2 @@ ## 1.0 “Plus ultra” | ||
### 20131225: | ||
* Fix deprecated API convertor. | ||
@@ -34,3 +33,2 @@ * Add ::placeholder support for Firefix >= 18. | ||
### 20140109: | ||
* Add selectors and at-rules sections to debug info. | ||
@@ -40,3 +38,2 @@ * Fix outdated prefixes cleaning. | ||
### 20140110: | ||
* Add `Firefox ESR` browser requirement. | ||
@@ -47,3 +44,2 @@ * Opera 18 is moved to released versions. | ||
### 20140117: | ||
* Chrome 32 is moved to released versions. | ||
@@ -53,3 +49,2 @@ * Add Opera 34 data. | ||
### 20140130: | ||
* Fix flexbox properties names in transitions. | ||
@@ -63,2 +58,8 @@ * Add Chrome 35 and Firefox 29 data. | ||
### 20140213 | ||
* Add case insensitive to IE’s filter hack (by Dominik Schilling). | ||
* Improve selector prefixing in some rare cases (by Simon Lydell). | ||
* Firefox 27 is moved to released versions. | ||
* Add Firefox 30 data. | ||
## 0.8 “Unbowed, Unbent, Unbroken” | ||
@@ -65,0 +66,0 @@ * Add more browsers to defaults ("> 1%, last 2 versions, ff 17, opera 12.1" |
@@ -23,5 +23,5 @@ (function() { | ||
prefix: "-moz-", | ||
future: [29, 28, 27], | ||
versions: [26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3.6, 3.5, 3, 2], | ||
popularity: [11.9757, 0.411642, 0.266805, 0.15246, 0.137214, 0.15246, 0.114345, 0.106722, 0.099099, 0.137214, 0.160083, 0.099099, 0.07623, 0.083853, 0.175329, 0.07623, 0.106722, 0.045738, 0.068607, 0.030492, 0.045738, 0.038115, 0.060984, 0.251559, 0.038115, 0.091476, 0.015246] | ||
future: [30, 29, 28], | ||
versions: [27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3.6, 3.5, 3, 2], | ||
popularity: [0.472626, 11.9757, 0.411642, 0.266805, 0.15246, 0.137214, 0.15246, 0.114345, 0.106722, 0.099099, 0.137214, 0.160083, 0.099099, 0.07623, 0.083853, 0.175329, 0.07623, 0.106722, 0.045738, 0.068607, 0.030492, 0.045738, 0.038115, 0.060984, 0.251559, 0.038115, 0.091476, 0.015246] | ||
}, | ||
@@ -28,0 +28,0 @@ ie: { |
@@ -27,3 +27,3 @@ (function() { | ||
Binary.prototype.desc = function() { | ||
return 'Files:\n If you didn\'t set input files, autoprefixer will +\n read from stdin stream.\n\n By default, prefixed CSS will rewrite original files.\n\n You can specify output file or directory by `-o` argument.\n For several input files you can specify only output directory by `-d`.\n\n Output CSS will be written to stdout stream on +\n `-o -\' argument or stdin input.\n\nSource maps:\n On `-m` argument Autoprefixer will generate source map for changes near\n output CSS (for out/main.css it generates out/main.css.map).\n\n If previous source map will be near input files (for example, in/main.css\n and in/main.css.map) Autoprefixer will apply previous map to output\n source map.\n\nBrowsers:\n Separate browsers by comma. For example, `-b "> 1%, opera 12"\'.\n You can set browsers by global usage statictics: `-b \"> 1%\"\'.\n or last version: `-b "last 2 versions"\'.'.replace(/\+\s+/g, ''); | ||
return 'Files:\n If you didn\'t set input files, autoprefixer will read from stdin stream.\n\n By default, prefixed CSS will rewrite original files.\n\n You can specify output file or directory by `-o` argument.\n For several input files you can specify only output directory by `-d`.\n\n Output CSS will be written to stdout stream on `-o -\' argument or stdin input.\n\nSource maps:\n On `-m` argument Autoprefixer will generate source map for changes near\n output CSS (for out/main.css it generates out/main.css.map).\n\n If previous source map will be near input files (for example, in/main.css\n and in/main.css.map) Autoprefixer will apply previous map to output\n source map.\n\nBrowsers:\n Separate browsers by comma. For example, `-b "> 1%, opera 12"\'.\n You can set browsers by global usage statictics: `-b \"> 1%\"\'.\n or last version: `-b "last 2 versions"\'.'; | ||
}; | ||
@@ -135,3 +135,3 @@ | ||
} else { | ||
_this.print('Update ' + updater.changed.join(' and ') + ' data'); | ||
_this.print("Update " + (updater.changed.join(' and ')) + " data"); | ||
} | ||
@@ -229,3 +229,3 @@ return done(); | ||
if (this.inputFiles.length === 0) { | ||
this.error("autoprefixer: For STDIN input you need to specify output " + "file (by `-o FILE`),\nnot output dir"); | ||
this.error("autoprefixer: For STDIN input you need to specify output file (by `-o FILE`),\nnot output dir"); | ||
return; | ||
@@ -246,3 +246,3 @@ } | ||
if (this.inputFiles.length > 1) { | ||
this.error("autoprefixer: For several files you can specify only output " + "dir (by `-d DIR`),\nnot one output file"); | ||
this.error("autoprefixer: For several files you can specify only output dir (by `-d DIR`),\nnot one output file"); | ||
return; | ||
@@ -249,0 +249,0 @@ } |
@@ -20,3 +20,3 @@ (function() { | ||
v = decl.value; | ||
return v.indexOf('alpha(') === -1 && v.indexOf('DXImageTransform.Microsoft') === -1; | ||
return v.toLowerCase().indexOf('alpha(') === -1 && v.indexOf('DXImageTransform.Microsoft') === -1; | ||
}; | ||
@@ -23,0 +23,0 @@ |
@@ -14,3 +14,3 @@ (function() { | ||
isDirection = new RegExp('(top|left|right|bottom)', 'gi'); | ||
isDirection = /top|left|right|bottom/gi; | ||
@@ -17,0 +17,0 @@ Gradient = (function(_super) { |
@@ -48,3 +48,3 @@ (function() { | ||
name = prefix ? this.prefixed(prefix) : this.name; | ||
return this.regexpCache = new RegExp('(^|[^:])' + utils.escapeRegexp(name), 'gi'); | ||
return this.regexpCache = RegExp("(^|[^:\"'=])" + (utils.escapeRegexp(name)), "gi"); | ||
}; | ||
@@ -51,0 +51,0 @@ |
@@ -28,3 +28,3 @@ (function() { | ||
escapeRegexp: function(string) { | ||
return string.replace(/([.?*+\^\$\[\]\\(){}|\-])/g, "\\$1"); | ||
return string.replace(/[.?*+\^\$\[\]\\(){}|\-]/g, '\\$&'); | ||
}, | ||
@@ -38,3 +38,3 @@ regexp: function(word, escape) { | ||
} | ||
return new RegExp('(^|\\s|,|\\()(' + word + '($|\\s|\\(|,))', 'gi'); | ||
return RegExp("(^|[\\s,(])(" + word + "($|[\\s(,]))", "gi"); | ||
} | ||
@@ -41,0 +41,0 @@ }; |
{ | ||
"name": "autoprefixer", | ||
"version": "1.0.20140203", | ||
"version": "1.0.20140213", | ||
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website", | ||
@@ -18,3 +18,3 @@ "keywords": ["css", "prefix", "postprocessor", "postcss"], | ||
"coffee-script": "1.7.1", | ||
"browserify": "3.24.10", | ||
"browserify": "3.28.2", | ||
"should": "3.1.2", | ||
@@ -21,0 +21,0 @@ "stylus": "0.42.2", |
@@ -43,8 +43,13 @@ # Autoprefixer | ||
Twitter account for news and releases: | ||
[@autoprefixer](https://twitter.com/autoprefixer). | ||
You can play with your CSS in [interactive demo] of Autoprefixer. | ||
Sponsored by [Evil Martians](http://evilmartians.com/). | ||
Based on [PostCSS](https://github.com/ai/postcss) framework. | ||
Twitter account for news and releases: [@autoprefixer]. | ||
Sponsored by [Evil Martians]. Based on [PostCSS] framework. | ||
[interactive demo]: http://jsfiddle.net/simevidas/udyTs/show/light/ | ||
[@autoprefixer]: https://twitter.com/autoprefixer | ||
[Evil Martians]: http://evilmartians.com/ | ||
[PostCSS]: https://github.com/ai/postcss | ||
## Features | ||
@@ -119,5 +124,5 @@ | ||
Autoprefixer has [22 special hack] to fix browser’s differences. | ||
Autoprefixer has [22 special hacks] to fix browser’s differences. | ||
[22 special hack]: https://github.com/ai/autoprefixer/tree/master/lib/hacks | ||
[22 special hacks]: https://github.com/ai/autoprefixer/tree/master/lib/hacks | ||
@@ -124,0 +129,0 @@ ### Fast |
@@ -42,5 +42,4 @@ (function() { | ||
versions = intervals(normalize(info.versions.slice(0, -3))); | ||
result = { | ||
prefix: "-" + info.prefix + "-" | ||
}; | ||
result = {}; | ||
result.prefix = name === 'opera' ? '-o-' : "-" + info.prefix + "-"; | ||
if (minor.indexOf(name) !== -1) { | ||
@@ -47,0 +46,0 @@ result.minor = true; |
Sorry, the diff of this file is too big to display
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
199012
475
3405