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

autoprefixer

Package Overview
Dependencies
Maintainers
3
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autoprefixer - npm Package Compare versions

Comparing version 6.5.3 to 6.5.4

AUTHORS

3

CHANGELOG.md

@@ -0,1 +1,4 @@

## 6.5.4
* Fix unitless 0 basis in IE10/IE11 shorthand flex (by Google).
## 6.5.3

@@ -2,0 +5,0 @@ * Add error for popular mistake with `browser` option instead of `browsers`.

4

lib/declaration.js
(function() {
var Browsers, Declaration, Prefixer, utils, vendor,
var Browsers, Declaration, Prefixer, utils,
extend = 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; },

@@ -10,4 +10,2 @@ hasProp = {}.hasOwnProperty;

vendor = require('postcss/lib/vendor');
utils = require('./utils');

@@ -14,0 +12,0 @@

@@ -41,3 +41,3 @@ (function() {

Flex.prototype.set = function(decl, prefix) {
var spec;
var components, spec;
spec = flexSpec(prefix)[0];

@@ -48,2 +48,8 @@ if (spec === 2009) {

return Flex.__super__.set.call(this, decl, prefix);
} else if (spec === 2012) {
components = list.space(decl.value);
if (components.length === 3 && components[2] === '0') {
decl.value = components.slice(0, 2).concat('0px').join(' ');
}
return Flex.__super__.set.call(this, decl, prefix);
} else {

@@ -50,0 +56,0 @@ return Flex.__super__.set.apply(this, arguments);

{
"name": "autoprefixer",
"version": "6.5.3",
"version": "6.5.4",
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",

@@ -16,23 +16,23 @@ "keywords": [

"dependencies": {
"postcss-value-parser": "^3.2.3",
"browserslist": "~1.4.0",
"caniuse-db": "^1.0.30000597",
"normalize-range": "^0.1.2",
"num2fraction": "^1.2.2",
"browserslist": "~1.4.0",
"caniuse-db": "^1.0.30000578",
"postcss": "^5.2.5"
"postcss": "^5.2.6",
"postcss-value-parser": "^3.2.3"
},
"devDependencies": {
"eslint-config-postcss": "2.0.2",
"vinyl-source-stream": "1.1.0",
"gulp-json-editor": "2.2.1",
"gulp-replace": "0.5.4",
"gulp-eslint": "3.0.1",
"gulp-coffee": "2.3.2",
"gulp-mocha": "3.0.1",
"browserify": "13.1.1",
"fs-extra": "1.0.0",
"should": "11.1.1",
"mocha": "3.1.2",
"gulp": "3.9.1",
"coffee-script": "1.11.1"
"browserify": "^13.1.1",
"eslint-config-postcss": "^2.0.2",
"fs-extra": "^1.0.0",
"gulp": "^3.9.1",
"gulp-coffee": "^2.3.3",
"gulp-eslint": "^3.0.1",
"gulp-json-editor": "^2.2.1",
"gulp-mocha": "^3.0.1",
"gulp-replace": "^0.5.4",
"mocha": "^3.2.0",
"should": "^11.1.2",
"vinyl-source-stream": "^1.1.0",
"coffee-script": "1.12.1"
},

@@ -39,0 +39,0 @@ "scripts": {

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