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

autoprefixer

Package Overview
Dependencies
Maintainers
1
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 10.2.4 to 10.2.5

4

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 10.2.5
* Fixed `:` support in `@supports` (by Dmitry Semigradsky).
* Fixed docs (by Christian Oliff).
## 10.2.4

@@ -5,0 +9,0 @@ * Fixed browser names in `npx autoprefixer --info`.

@@ -244,2 +244,3 @@ let unpack = require('caniuse-lite').feature

let backdrop = require('caniuse-lite/data/features/css-backdrop-filter')
f(backdrop, { match: /y\sx|y\s#2/ }, browsers =>

@@ -309,2 +310,3 @@ prefix(['backdrop-filter'], {

let flexbox = require('caniuse-lite/data/features/flexbox')
f(flexbox, { match: /a\sx/ }, browsers => {

@@ -690,2 +692,3 @@ browsers = browsers.map(i => {

let resolut = require('caniuse-lite/data/features/css-media-resolution')
f(resolut, { match: /( x($| )|a #2)/ }, browsers =>

@@ -763,2 +766,3 @@ prefix(['@resolution'], {

let appearance = require('caniuse-lite/data/features/css-appearance')
f(appearance, { match: /#2|x/ }, browsers =>

@@ -817,2 +821,3 @@ prefix(['appearance'], {

let writingMode = require('caniuse-lite/data/features/css-writing-mode')
f(writingMode, { match: /a|x/ }, browsers =>

@@ -952,2 +957,3 @@ prefix(['writing-mode'], {

let over = require('caniuse-lite/data/features/css-overscroll-behavior')
f(over, { match: /a #1/ }, browsers =>

@@ -954,0 +960,0 @@ prefix(['overscroll-behavior'], {

2

lib/hacks/grid-utils.js

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

return ruleA.selectors.some(sel => {
return ruleB.selectors.some(s => s === sel)
return ruleB.selectors.includes(sel)
})

@@ -343,0 +343,0 @@ }

@@ -226,6 +226,14 @@ let featureQueries = require('caniuse-lite/data/features/css-featurequeries.js')

nodes = nodes.filter(i => i !== '')
if (typeof nodes[0] === 'string' && nodes[0].includes(':')) {
return [brackets.stringify(nodes)]
if (typeof nodes[0] === 'string') {
let firstNode = nodes[0].trim()
if (
firstNode.includes(':') ||
firstNode === 'selector' ||
firstNode === 'not selector'
) {
return [brackets.stringify(nodes)]
}
}
return nodes.map(i => this.normalize(i))

@@ -232,0 +240,0 @@ }

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

@@ -29,5 +29,5 @@ "engines": {

"dependencies": {
"browserslist": "^4.16.1",
"caniuse-lite": "^1.0.30001181",
"colorette": "^1.2.1",
"browserslist": "^4.16.3",
"caniuse-lite": "^1.0.30001196",
"colorette": "^1.2.2",
"fraction.js": "^4.0.13",

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

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

See this [Code Pen](https://codepen.io/daniel-tonon/pen/gBymVw) to see a visualization
of the issue. View the Code Pen in both a modern browser and IE to see the difference.
See this [CodePen](https://codepen.io/daniel-tonon/pen/gBymVw) to see a visualization
of the issue. View the CodePen in both a modern browser and IE to see the difference.

@@ -1008,0 +1008,0 @@ Note that you can still create `::before` and `::after` elements as long as you manually

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