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

autoprefixer

Package Overview
Dependencies
Maintainers
4
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 7.1.4 to 7.1.5

5

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 7.1.5
* Fix `::placeholder` prefix for Edge.
* Fix `inherit`/`initial`/`unset` values for `flex-direction`.
* Fix RegExp usage in gradients (by Yet Another Minion).
## 7.1.4

@@ -5,0 +10,0 @@ * Fix `radial-gradient` direction conversion.

2

data/prefixes.js

@@ -342,2 +342,4 @@ 'use strict';

return i + ' old';
} else if (name === 'ie') {
return i + ' old';
} else {

@@ -344,0 +346,0 @@ return i;

13

lib/hacks/flex-direction.js

@@ -51,5 +51,12 @@ 'use strict';

var value = decl.value;
var orient = value.indexOf('row') !== -1 ? 'horizontal' : 'vertical';
var dir = value.indexOf('reverse') !== -1 ? 'reverse' : 'normal';
var v = decl.value;
var orient = void 0,
dir = void 0;
if (v === 'inherit' || v === 'initial' || v === 'unset') {
orient = v;
dir = v;
} else {
orient = v.indexOf('row') !== -1 ? 'horizontal' : 'vertical';
dir = v.indexOf('reverse') !== -1 ? 'reverse' : 'normal';
}

@@ -56,0 +63,0 @@ var cloned = this.clone(decl);

@@ -177,2 +177,3 @@ 'use strict';

}
isDirection.lastIndex = 0; // reset search index of global regexp
if (!isDirection.test(params[0].value)) {

@@ -179,0 +180,0 @@ return params;

@@ -24,3 +24,3 @@ 'use strict';

Placeholder.prototype.possible = function possible() {
return _Selector.prototype.possible.call(this).concat('-moz- old');
return _Selector.prototype.possible.call(this).concat(['-moz- old', '-ms- old']);
};

@@ -37,2 +37,4 @@

} else if (prefix === '-ms-') {
return '::-ms-input-placeholder';
} else if (prefix === '-ms- old') {
return ':-ms-input-placeholder';

@@ -52,3 +54,3 @@ } else if (prefix === '-moz- old') {

writable: true,
value: [':placeholder-shown', '::placeholder']
value: ['::placeholder']
});

@@ -55,0 +57,0 @@

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

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

"dependencies": {
"browserslist": "^2.4.0",
"caniuse-lite": "^1.0.30000726",
"browserslist": "^2.5.0",
"caniuse-lite": "^1.0.30000744",
"normalize-range": "^0.1.2",
"num2fraction": "^1.2.2",
"postcss": "^6.0.11",
"postcss": "^6.0.13",
"postcss-value-parser": "^3.2.3"
},
"devDependencies": {
"babel-eslint": "^7.2.3",
"babel-eslint": "^8.0.1",
"babel-plugin-transform-class-properties": "^6.24.1",

@@ -30,5 +30,5 @@ "babel-preset-env": "^1.6.0",

"browserify": "^14.4.0",
"eslint": "^4.6.1",
"eslint": "^4.8.0",
"eslint-config-postcss": "^2.0.2",
"fs-extra": "^4.0.1",
"fs-extra": "^4.0.2",
"gulp": "^3.9.1",

@@ -39,6 +39,6 @@ "gulp-babel": "^7.0.0",

"gulp-replace": "^0.6.1",
"jest": "^21.0.1",
"lint-staged": "^4.1.2",
"jest": "^21.2.1",
"lint-staged": "^4.2.3",
"pre-commit": "^1.2.2",
"size-limit": "^0.11.0",
"size-limit": "^0.11.6",
"vinyl-source-stream": "^1.1.0",

@@ -60,3 +60,3 @@ "babel-register": "^6.26.0"

"path": "build/lib/autoprefixer.js",
"limit": "235 KB"
"limit": "239 KB"
}],

@@ -63,0 +63,0 @@ "eslintConfig": {

@@ -302,3 +302,3 @@ # Autoprefixer [![Build Status][ci-img]][ci]

{
test: /\.css$/,
test: /\.css$/,
use: ["style-loader", "css-loader", "postcss-loader"]

@@ -360,2 +360,4 @@ }

* **Ruby on Rails**: [autoprefixer-rails]
* **Neutrino**: [neutrino-middleware-postcss]
* **Jekyll**: add `autoprefixer-rails` and `jekyll-assets` to `Gemfile`
* **Brunch**: [postcss-brunch]

@@ -366,8 +368,8 @@ * **Broccoli**: [broccoli-postcss]

`environment.enable('autoprefixer')`
* **Jekyll**: add `autoprefixer-rails` and `jekyll-assets` to `Gemfile`
[middleman-autoprefixer]: https://github.com/middleman/middleman-autoprefixer
[autoprefixer-rails]: https://github.com/ai/autoprefixer-rails
[broccoli-postcss]: https://github.com/jeffjewiss/broccoli-postcss
[postcss-brunch]: https://github.com/iamvdo/postcss-brunch
[neutrino-middleware-postcss]: https://www.npmjs.com/package/neutrino-middleware-postcss
[middleman-autoprefixer]: https://github.com/middleman/middleman-autoprefixer
[autoprefixer-rails]: https://github.com/ai/autoprefixer-rails
[broccoli-postcss]: https://github.com/jeffjewiss/broccoli-postcss
[postcss-brunch]: https://github.com/iamvdo/postcss-brunch

@@ -374,0 +376,0 @@ ### Preprocessors

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