Socket
Socket
Sign inDemoInstall

autoprefixer

Package Overview
Dependencies
13
Maintainers
1
Versions
243
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.4.15 to 10.4.16

19

lib/processor.js

@@ -461,3 +461,3 @@ let parser = require('postcss-value-parser')

disabledDecl(node, result) {
if (this.gridStatus(node, result) === false && node.type === 'decl') {
if (node.type === 'decl' && this.gridStatus(node, result) === false) {
if (node.prop.includes('grid') || node.prop === 'justify-items') {

@@ -467,3 +467,3 @@ return true

}
if (this.prefixes.options.flexbox === false && node.type === 'decl') {
if (node.type === 'decl' && this.prefixes.options.flexbox === false) {
let other = ['order', 'justify-content', 'align-items', 'align-content']

@@ -646,11 +646,12 @@ if (node.prop.includes('flex') || other.includes(node.prop)) {

// Selectors
for (let checker of this.prefixes.remove.selectors) {
css.walkRules((rule, i) => {
css.walkRules((rule, i) => {
if (this.disabled(rule, result)) return
for (let checker of this.prefixes.remove.selectors) {
if (checker.check(rule)) {
if (!this.disabled(rule, result)) {
rule.parent.removeChild(i)
}
rule.parent.removeChild(i)
return
}
})
}
}
})

@@ -657,0 +658,0 @@ return css.walkDecls((decl, i) => {

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

@@ -43,4 +43,4 @@ "engines": {

"browserslist": "^4.21.10",
"caniuse-lite": "^1.0.30001520",
"fraction.js": "^4.2.0",
"caniuse-lite": "^1.0.30001538",
"fraction.js": "^4.3.6",
"normalize-range": "^0.1.2",

@@ -47,0 +47,0 @@ "picocolors": "^1.0.0",

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