polyfills-db
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -64,1 +64,30 @@ var inherits = require('util').inherits | ||
}) | ||
// http://caniuse.com/css-variables | ||
// https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables | ||
Transform.register({ | ||
name: 'variables', | ||
module: 'postcss-custom-properties', | ||
detect: function (str) { | ||
return /\bvar\(/.test(str) | ||
}, | ||
browsers: { | ||
ff: 31, | ||
} | ||
}) | ||
Transform.register({ | ||
name: 'custom-media', | ||
module: 'postcss-custom-media', | ||
detect: function (str) { | ||
return /@custom-media\b/.test(str) | ||
}, | ||
}) | ||
Transform.register({ | ||
name: 'colors', | ||
module: 'postcss-color', | ||
detect: function () { | ||
return /\bcolor\(/.test(str) | ||
}, | ||
}) |
{ | ||
"name": "polyfills-db", | ||
"description": "browser feature database", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"author": { | ||
@@ -32,2 +32,3 @@ "name": "Jonathan Ong", | ||
"postcss-calc": "2", | ||
"postcss-custom-properties": "0", | ||
"mocha": "1", | ||
@@ -34,0 +35,0 @@ "istanbul": "0" |
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
18011
534
15