🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

autoprefixer

Package Overview
Dependencies
Maintainers
1
Versions
256
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
10.5.1
to
10.5.2
+9
-0
lib/hacks/intrinsic.js

@@ -9,2 +9,11 @@ let OldValue = require('../old-value')

class Intrinsic extends Value {
constructor(name, prefixes, all) {
super(name, prefixes, all)
if (this.isStretch() && prefixes.includes('-moz-')) {
// Generate -moz-available before -webkit-fill-available
// since -webkit-fill-available is closer to spec and FF supports both
this.prefixes = ['-moz-'].concat(prefixes.filter(i => i !== '-moz-'))
}
}
add(decl, prefix) {

@@ -11,0 +20,0 @@ if (decl.prop.includes('grid') && prefix !== '-webkit-') {

+1
-1
{
"name": "autoprefixer",
"version": "10.5.1",
"version": "10.5.2",
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",

@@ -5,0 +5,0 @@ "keywords": [

@@ -36,4 +36,4 @@ # Autoprefixer [![Cult Of Martians][cult-img]][cult]

.image {
width: -moz-available;
width: -webkit-fill-available;
width: -moz-available;
width: stretch;

@@ -40,0 +40,0 @@ }