autoprefixer-core
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -0,1 +1,4 @@ | ||
## 5.1.1 | ||
* Safer value split in `flex` hack. | ||
## 5.1 “Jianyuan” | ||
@@ -2,0 +5,0 @@ * Add support for resolution media query (by 一丝). |
@@ -137,3 +137,3 @@ (function() { | ||
} else { | ||
return "" + i + " old"; | ||
return i + " old"; | ||
} | ||
@@ -184,3 +184,3 @@ }); | ||
} else { | ||
return "" + i + " 2009"; | ||
return i + " 2009"; | ||
} | ||
@@ -187,0 +187,0 @@ }); |
(function() { | ||
var AtRule, Prefixer, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Prefixer = require('./prefixer'); |
@@ -46,6 +46,6 @@ (function() { | ||
Autoprefixer = (function() { | ||
function Autoprefixer(data, reqs, options) { | ||
this.data = data; | ||
this.reqs = reqs; | ||
this.options = options != null ? options : {}; | ||
function Autoprefixer(_at_data, _at_reqs, _at_options) { | ||
this.data = _at_data; | ||
this.reqs = _at_reqs; | ||
this.options = _at_options != null ? _at_options : {}; | ||
this.postcss = __bind(this.postcss, this); | ||
@@ -52,0 +52,0 @@ } |
@@ -35,5 +35,5 @@ (function() { | ||
function Browsers(data, requirements, options) { | ||
this.data = data; | ||
this.options = options; | ||
function Browsers(_at_data, requirements, _at_options) { | ||
this.data = _at_data; | ||
this.options = _at_options; | ||
this.selected = this.parse(requirements); | ||
@@ -56,3 +56,3 @@ } | ||
versions = criteria(data).map(function(version) { | ||
return "" + browser + " " + version; | ||
return browser + " " + version; | ||
}); | ||
@@ -59,0 +59,0 @@ selected = selected.concat(versions); |
(function() { | ||
var Browsers, Declaration, Prefixer, utils, vendor, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Prefixer = require('./prefixer'); |
(function() { | ||
var AlignContent, Declaration, flexSpec, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ flexSpec = require('./flex-spec'); |
(function() { | ||
var AlignItems, Declaration, flexSpec, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ flexSpec = require('./flex-spec'); |
(function() { | ||
var AlignSelf, Declaration, flexSpec, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ flexSpec = require('./flex-spec'); |
(function() { | ||
var BackgroundSize, Declaration, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Declaration = require('../declaration'); |
(function() { | ||
var BlockLogical, Declaration, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Declaration = require('../declaration'); |
(function() { | ||
var BorderImage, Declaration, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Declaration = require('../declaration'); |
(function() { | ||
var BorderRadius, Declaration, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Declaration = require('../declaration'); |
(function() { | ||
var BreakInside, Declaration, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Declaration = require('../declaration'); |
(function() { | ||
var CrispEdges, Value, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Value = require('../value'); |
(function() { | ||
var DisplayFlex, OldDisplayFlex, OldValue, Value, flexSpec, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -15,5 +15,5 @@ flexSpec = require('./flex-spec'); | ||
function OldDisplayFlex(unprefixed, prefixed) { | ||
this.unprefixed = unprefixed; | ||
this.prefixed = prefixed; | ||
function OldDisplayFlex(_at_unprefixed, _at_prefixed) { | ||
this.unprefixed = _at_unprefixed; | ||
this.prefixed = _at_prefixed; | ||
} | ||
@@ -20,0 +20,0 @@ |
(function() { | ||
var FillAvailable, OldValue, Value, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ OldValue = require('../old-value'); |
(function() { | ||
var FilterValue, OldFilterValue, OldValue, Value, utils, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ OldValue = require('../old-value'); |
(function() { | ||
var Declaration, Filter, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Declaration = require('../declaration'); |
(function() { | ||
var Declaration, FlexBasis, flexSpec, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ flexSpec = require('./flex-spec'); |
(function() { | ||
var Declaration, FlexDirection, flexSpec, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ flexSpec = require('./flex-spec'); |
(function() { | ||
var Declaration, FlexFlow, flexSpec, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ flexSpec = require('./flex-spec'); |
(function() { | ||
var Declaration, Flex, flexSpec, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ flexSpec = require('./flex-spec'); |
(function() { | ||
var Declaration, FlexShrink, flexSpec, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ flexSpec = require('./flex-spec'); |
(function() { | ||
var FlexValues, OldValue, Value, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ OldValue = require('../old-value'); |
(function() { | ||
var Declaration, FlexWrap, flexSpec, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ flexSpec = require('./flex-spec'); |
(function() { | ||
var Declaration, Flex, flexSpec, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
var Declaration, Flex, flexSpec, list, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -10,2 +10,4 @@ flexSpec = require('./flex-spec'); | ||
list = require('postcss/lib/list'); | ||
Flex = (function(_super) { | ||
@@ -43,3 +45,3 @@ __extends(Flex, _super); | ||
if (spec === 2009) { | ||
decl.value = decl.value.split(' ')[0]; | ||
decl.value = list.space(decl.value)[0]; | ||
decl.value = Flex.oldValues[decl.value] || decl.value; | ||
@@ -46,0 +48,0 @@ return Flex.__super__.set.call(this, decl, prefix); |
(function() { | ||
var Fullscreen, Selector, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Selector = require('../selector'); |
(function() { | ||
var Gradient, OldValue, Value, isDirection, list, utils, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -144,3 +144,3 @@ OldValue = require('../old-value'); | ||
param = this.roundFloat(param, 3); | ||
return "" + param + "deg"; | ||
return param + "deg"; | ||
}; | ||
@@ -147,0 +147,0 @@ |
(function() { | ||
var Declaration, InlineLogical, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Declaration = require('../declaration'); |
(function() { | ||
var Declaration, JustifyContent, flexSpec, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ flexSpec = require('./flex-spec'); |
(function() { | ||
var Declaration, Order, flexSpec, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ flexSpec = require('./flex-spec'); |
(function() { | ||
var Placeholder, Selector, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Selector = require('../selector'); |
(function() { | ||
var Declaration, TransformDecl, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -39,3 +39,3 @@ Declaration = require('../declaration'); | ||
func = _ref[_i]; | ||
if (decl.value.indexOf("" + func + "(") !== -1) { | ||
if (decl.value.indexOf(func + "(") !== -1) { | ||
return true; | ||
@@ -42,0 +42,0 @@ } |
(function() { | ||
var TransformValue, Value, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Value = require('../value'); |
@@ -5,5 +5,5 @@ (function() { | ||
OldSelector = (function() { | ||
function OldSelector(selector, prefix) { | ||
var _i, _len, _ref; | ||
this.prefix = prefix; | ||
function OldSelector(selector, _at_prefix) { | ||
var prefix, _i, _len, _ref; | ||
this.prefix = _at_prefix; | ||
this.prefixed = selector.prefixed(this.prefix); | ||
@@ -10,0 +10,0 @@ this.regexp = selector.regexp(this.prefix); |
@@ -7,7 +7,7 @@ (function() { | ||
OldValue = (function() { | ||
function OldValue(unprefixed, prefixed, string, regexp) { | ||
this.unprefixed = unprefixed; | ||
this.prefixed = prefixed; | ||
this.string = string; | ||
this.regexp = regexp; | ||
function OldValue(_at_unprefixed, _at_prefixed, _at_string, _at_regexp) { | ||
this.unprefixed = _at_unprefixed; | ||
this.prefixed = _at_prefixed; | ||
this.string = _at_string; | ||
this.regexp = _at_regexp; | ||
this.regexp || (this.regexp = utils.regexp(this.prefixed)); | ||
@@ -14,0 +14,0 @@ this.string || (this.string = this.prefixed); |
@@ -69,6 +69,6 @@ (function() { | ||
function Prefixer(name, prefixes, all) { | ||
this.name = name; | ||
this.prefixes = prefixes; | ||
this.all = all; | ||
function Prefixer(_at_name, _at_prefixes, _at_all) { | ||
this.name = _at_name; | ||
this.prefixes = _at_prefixes; | ||
this.all = _at_all; | ||
} | ||
@@ -75,0 +75,0 @@ |
@@ -85,7 +85,7 @@ (function() { | ||
Prefixes = (function() { | ||
function Prefixes(data, browsers, options) { | ||
function Prefixes(_at_data, _at_browsers, _at_options) { | ||
var _ref; | ||
this.data = data; | ||
this.browsers = browsers; | ||
this.options = options != null ? options : {}; | ||
this.data = _at_data; | ||
this.browsers = _at_browsers; | ||
this.options = _at_options != null ? _at_options : {}; | ||
_ref = this.preprocess(this.select(this.data)), this.add = _ref[0], this.remove = _ref[1]; | ||
@@ -92,0 +92,0 @@ this.processor = new Processor(this); |
@@ -11,4 +11,4 @@ (function() { | ||
Processor = (function() { | ||
function Processor(prefixes) { | ||
this.prefixes = prefixes; | ||
function Processor(_at_prefixes) { | ||
this.prefixes = _at_prefixes; | ||
} | ||
@@ -15,0 +15,0 @@ |
(function() { | ||
var Prefixer, Resolution, n2f, regexp, split, utils, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Prefixer = require('./prefixer'); |
(function() { | ||
var Browsers, OldSelector, Prefixer, Selector, utils, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -17,6 +17,6 @@ OldSelector = require('./old-selector'); | ||
function Selector(name, prefixes, all) { | ||
this.name = name; | ||
this.prefixes = prefixes; | ||
this.all = all; | ||
function Selector(_at_name, _at_prefixes, _at_all) { | ||
this.name = _at_name; | ||
this.prefixes = _at_prefixes; | ||
this.all = _at_all; | ||
this.regexpCache = {}; | ||
@@ -23,0 +23,0 @@ } |
@@ -21,4 +21,4 @@ (function() { | ||
Supports = (function() { | ||
function Supports(all) { | ||
this.all = all; | ||
function Supports(_at_all) { | ||
this.all = _at_all; | ||
} | ||
@@ -25,0 +25,0 @@ |
(function() { | ||
var OldValue, Prefixer, Value, utils, vendor, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -6,0 +6,0 @@ Prefixer = require('./prefixer'); |
{ | ||
"name": "autoprefixer-core", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "CLI-less core of Autoprefixer to use in plugins", | ||
@@ -21,3 +21,3 @@ "keywords": [ | ||
"num2fraction": "~1.0.1", | ||
"caniuse-db": "^1.0.30000059", | ||
"caniuse-db": "^1.0.30000060", | ||
"postcss": "~4.0.3" | ||
@@ -31,5 +31,5 @@ }, | ||
"gulp-jshint": "1.9.0", | ||
"gulp-coffee": "2.2.0", | ||
"gulp-coffee": "2.3.1", | ||
"gulp-mocha": "2.0.0", | ||
"browserify": "8.1.1", | ||
"browserify": "8.1.2", | ||
"fs-extra": "0.16.3", | ||
@@ -36,0 +36,0 @@ "should": "4.6.2", |
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
138668
3107
Updatedcaniuse-db@^1.0.30000060