Socket
Socket
Sign inDemoInstall

autoprefixer

Package Overview
Dependencies
19
Maintainers
4
Versions
243
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.7.5 to 9.7.6

3

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 9.7.6
* Revert `-webkit-stretch` fix.
## 9.7.5

@@ -5,0 +8,0 @@ * Fix `-webkit-stretch` support.

9

data/prefixes.js

@@ -372,10 +372,3 @@ "use strict";

}, function (browsers) {
browsers = browsers.map(function (i) {
if (/safari/.test(i)) {
return i;
} else {
return i + " old";
}
});
prefix(['fill', 'fill-available', 'stretch'], {
return prefix(['fill', 'fill-available', 'stretch'], {
props: sizeProps,

@@ -382,0 +375,0 @@ feature: 'intrinsic-width',

@@ -48,11 +48,11 @@ "use strict";

_proto.replace = function replace(string, prefix) {
if (prefix === '-moz- old' && this.isStretch()) {
if (prefix === '-moz-' && this.isStretch()) {
return string.replace(this.regexp(), '$1-moz-available$3');
} else if (prefix === '-webkit- old' && this.isStretch()) {
}
if (prefix === '-webkit-' && this.isStretch()) {
return string.replace(this.regexp(), '$1-webkit-fill-available$3');
} else if (prefix === '-webkit-' && this.isStretch()) {
return string.replace(this.regexp(), '$1-webkit-stretch$3');
} else {
return _Value.prototype.replace.call(this, string, prefix);
}
return _Value.prototype.replace.call(this, string, prefix);
};

@@ -64,8 +64,6 @@

if (this.isStretch()) {
if (prefix === '-moz- old') {
if (prefix === '-moz-') {
prefixed = '-moz-available';
} else if (prefix === '-webkit- old') {
} else if (prefix === '-webkit-') {
prefixed = '-webkit-fill-available';
} else if (prefix === '-webkit-') {
prefixed = '-webkit-stretch';
}

@@ -72,0 +70,0 @@ }

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

@@ -18,4 +18,4 @@ "keywords": ["autoprefixer", "css", "prefix", "postcss", "postcss-plugin"],

"dependencies": {
"browserslist": "^4.11.0",
"caniuse-lite": "^1.0.30001036",
"browserslist": "^4.11.1",
"caniuse-lite": "^1.0.30001039",
"chalk": "^2.4.2",

@@ -22,0 +22,0 @@ "normalize-range": "^0.1.2",

@@ -78,26 +78,40 @@ # Autoprefixer [![Cult Of Martians][cult-img]][cult]

- [Browsers](#browsers)
- [FAQ](#faq)
- [Does Autoprefixer polyfill Grid Layout for IE?](#does-autoprefixer-polyfill-grid-layout-for-ie)
- [Does it add polyfills?](#does-it-add-polyfills)
- [Why doesn’t Autoprefixer add prefixes to `border-radius`?](#why-doesnt-autoprefixer-add-prefixes-to-border-radius)
- [Why does Autoprefixer use unprefixed properties in `@-webkit-keyframes`?](#why-does-autoprefixer-use-unprefixed-properties-in--webkit-keyframes)
- [How to work with legacy `-webkit-` only code?](#how-to-work-with-legacy--webkit--only-code)
- [Does Autoprefixer add `-epub-` prefix?](#does-autoprefixer-add--epub--prefix)
- [Why doesn’t Autoprefixer transform generic font-family `system-ui`?](#why-doesnt-autoprefixer-transform-generic-font-family-system-ui)
- [Usage](#usage)
- [Gulp](#gulp)
- [Webpack](#webpack)
- [CSS-in-JS](#css-in-js)
- [CLI](#cli)
- [Other Build Tools](#other-build-tools)
- [JavaScript](#javascript)
- [Text Editors and IDE](#text-editors-and-ide)
- [Warnings](#warnings)
- [Disabling](#disabling)
- [Options](#options)
- [Environment variables](#environment-variables)
- [Using environment variables to support CSS Grid prefixes in Create React App](#using-environment-variables-to-support-css-grid-prefixes-in-create-react-app)
- [Grid Autoplacement support in IE](#grid-autoplacement-support-in-ie)
- [Debug](#debug)
* [Contents](#contents)
* [Browsers](#browsers)
* [FAQ](#faq)
* [Does Autoprefixer polyfill Grid Layout for IE?](#does-autoprefixer-polyfill-grid-layout-for-ie)
* [Does it add polyfills?](#does-it-add-polyfills)
* [Why doesn’t Autoprefixer add prefixes to `border-radius`?](#why-doesnt-autoprefixer-add-prefixes-to-border-radius)
* [Why does Autoprefixer use unprefixed properties in `@-webkit-keyframes`?](#why-does-autoprefixer-use-unprefixed-properties-in--webkit-keyframes)
* [How to work with legacy `-webkit-` only code?](#how-to-work-with-legacy--webkit--only-code)
* [Does Autoprefixer add `-epub-` prefix?](#does-autoprefixer-add--epub--prefix)
* [Why doesn’t Autoprefixer transform generic font-family `system-ui`?](#why-doesnt-autoprefixer-transform-generic-font-family-system-ui)
* [Usage](#usage)
* [Gulp](#gulp)
* [Webpack](#webpack)
* [CSS-in-JS](#css-in-js)
* [CLI](#cli)
* [Other Build Tools](#other-build-tools)
* [Preprocessors](#preprocessors)
* [GUI Tools](#gui-tools)
* [JavaScript](#javascript)
* [Text Editors and IDE](#text-editors-and-ide)
* [Warnings](#warnings)
* [Disabling](#disabling)
* [Prefixes](#prefixes)
* [Features](#features)
* [Control Comments](#control-comments)
* [Options](#options)
* [Environment Variables](#environment-variables)
* [Using environment variables to support CSS Grid prefixes in Create React App](#using-environment-variables-to-support-css-grid-prefixes-in-create-react-app)
* [Grid Autoplacement support in IE](#grid-autoplacement-support-in-ie)
* [Beware of enabling autoplacement in old projects](#beware-of-enabling-autoplacement-in-old-projects)
* [Autoplacement limitations](#autoplacement-limitations)
* [Both columns and rows must be defined](#both-columns-and-rows-must-be-defined)
* [Repeat auto-fit and auto-fill are not supported](#repeat-auto-fit-and-auto-fill-are-not-supported)
* [No manual cell placement or column/row spans allowed inside an autoplacement grid](#no-manual-cell-placement-or-columnrow-spans-allowed-inside-an-autoplacement-grid)
* [Do not create `::before` and `::after` pseudo elements](#do-not-create-before-and-after-pseudo-elements)
* [When changing the `grid gap` value, columns and rows must be re-declared](#when-changing-the-grid-gap-value-columns-and-rows-must-be-re-declared)
* [Debug](#debug)
* [Security Contact](#security-contact)

@@ -436,7 +450,6 @@ ## Browsers

* [Visual Studio Code](https://github.com/mrmlnc/vscode-autoprefixer)
* [Atom Editor](https://github.com/sindresorhus/atom-autoprefixer)
* [Sublime Text](https://github.com/sindresorhus/sublime-autoprefixer)
* [Brackets](https://github.com/mikaeljorhult/brackets-autoprefixer)
* [Atom Editor](https://github.com/sindresorhus/atom-autoprefixer)
* [Visual Studio](https://github.com/madskristensen/WebCompiler)
([how to](https://stackoverflow.com/a/54908636/2440))

@@ -443,0 +456,0 @@ [Parcel]: https://parceljs.org/

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc