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.7.2 to 6.7.3

lib/hacks/stretch.js

3

CHANGELOG.md

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

## 6.7.3
* Fix compatibility with “Intrinsic & Extrinsic Sizing” spec update.
## 6.7.2

@@ -2,0 +5,0 @@ * Do not prefix grid/flexbox in `@supports` on `grid: false`/`flexbox: false`.

2

data/prefixes.js

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

feature(require('caniuse-db/features-json/intrinsic-width.json'), function(browsers) {
return prefix('max-content', 'min-content', 'fit-content', 'fill', 'fill-available', {
return prefix('max-content', 'min-content', 'fit-content', 'fill', 'fill-available', 'stretch', {
props: ['width', 'min-width', 'max-width', 'height', 'min-height', 'max-height', 'inline-size', 'min-inline-size', 'max-inline-size', 'block-size', 'min-block-size', 'max-block-size'],

@@ -375,0 +375,0 @@ browsers: browsers,

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

Value.hack(require('./hacks/fill'));
Value.hack(require('./hacks/stretch'));

@@ -91,0 +91,0 @@ Value.hack(require('./hacks/gradient'));

(function() {
var OLD_DIRECTION, Processor, Value, utils, vendor;
var OLD_DIRECTION, Processor, SIZES, Value, utils, vendor;

@@ -12,2 +12,4 @@ vendor = require('postcss/lib/vendor');

SIZES = ['width', 'height', 'min-width', 'max-width', 'min-height', 'max-height', 'inline-size', 'min-inline-size', 'max-inline-size', 'block-size', 'min-block-size', 'max-block-size'];
Processor = (function() {

@@ -86,6 +88,12 @@ function Processor(prefixes) {

}
if (decl.value.indexOf('fill-available') !== -1) {
result.warn('Replace fill-available to fill, ' + 'because spec had been changed', {
node: decl
});
if (SIZES.indexOf(decl.prop) !== -1) {
if (decl.value.indexOf('fill-available') !== -1) {
result.warn('Replace fill-available to stretch, ' + 'because spec had been changed', {
node: decl
});
} else if (decl.value.indexOf('fill') !== -1) {
result.warn('Replace fill to stretch, because spec had been changed', {
node: decl
});
}
}

@@ -92,0 +100,0 @@ if (_this.prefixes.options.flexbox !== false) {

{
"name": "autoprefixer",
"version": "6.7.2",
"version": "6.7.3",
"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": "^1.7.1",
"caniuse-db": "^1.0.30000618",
"browserslist": "^1.7.2",
"caniuse-db": "^1.0.30000623",
"normalize-range": "^0.1.2",
"num2fraction": "^1.2.2",
"postcss": "^5.2.11",
"postcss": "^5.2.13",
"postcss-value-parser": "^3.2.3"
},
"devDependencies": {
"browserify": "^14.0.0",
"browserify": "^14.1.0",
"eslint-config-postcss": "^2.0.2",

@@ -27,0 +27,0 @@ "fs-extra": "^2.0.0",

@@ -246,2 +246,6 @@ # Autoprefixer [![Build Status][ci-img]][ci]

#### Why doesn’t Autoprefixer transform generic font-family `system-ui`?
`system-ui` is technically not a prefix and the transformation is not future-proof. But you can use [postcss-font-family-system-ui](https://github.com/JLHwung/postcss-font-family-system-ui) to transform `system-ui` to a practical font-family list.
## Usage

@@ -515,2 +519,5 @@

In Sass/SCSS you can use all the disable options above, add an exclamation mark
in the start of comment: `/*! autoprefixer: off */`.
## Options

@@ -517,0 +524,0 @@

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