Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postcss/autoprefixer
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 10.3.1
Choose a base ref
...
head repository: postcss/autoprefixer
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 10.3.2
Choose a head ref
  • 5 commits
  • 6 files changed
  • 2 contributors

Commits on Aug 1, 2021

  1. Update dependencies

    ai committed Aug 1, 2021
    Copy the full SHA
    21f26fb View commit details

Commits on Aug 21, 2021

  1. Copy the full SHA
    e47f86b View commit details
  2. Clean up tests

    ai committed Aug 21, 2021
    Copy the full SHA
    7e5540b View commit details
  3. Update dependencies

    ai committed Aug 21, 2021
    Copy the full SHA
    adf87e2 View commit details
  4. Release 10.3.2 version

    ai committed Aug 21, 2021
    Copy the full SHA
    a75a37f View commit details
Showing with 456 additions and 361 deletions.
  1. +3 −0 CHANGELOG.md
  2. +1 −1 lib/hacks/file-selector-button.js
  3. +19 −19 package.json
  4. +8 −0 test/cases/file-selector-button.css
  5. +17 −0 test/cases/file-selector-button.out.css
  6. +408 −341 yarn.lock
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).

## 10.3.2
* Fixed `::file-selector-button` support (by Usman Yunusov)

## 10.3.1
* Fixed adding wrong prefixes to `content` (by Luke Warlow).

2 changes: 1 addition & 1 deletion lib/hacks/file-selector-button.js
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ class FileSelectorButton extends Selector {
if (prefix === '-webkit-') {
return '::-webkit-file-upload-button'
}
return `::file-selector-button`
return `::${prefix}file-selector-button`
}
}

38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "autoprefixer",
"version": "10.3.1",
"version": "10.3.2",
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",
"engines": {
"node": "^10 || ^12 || >=14"
@@ -29,9 +29,9 @@
"postcss": "^8.1.0"
},
"dependencies": {
"browserslist": "^4.16.6",
"caniuse-lite": "^1.0.30001243",
"colorette": "^1.2.2",
"browserslist": "^4.16.8",
"caniuse-lite": "^1.0.30001251",
"colorette": "^1.3.0",
"fraction.js": "^4.1.1",
"normalize-range": "^0.1.2",
"postcss-value-parser": "^4.1.0"
@@ -41,29 +41,29 @@
"chalk": false
},
"devDependencies": {
"@logux/eslint-config": "^45.4.6",
"@size-limit/preset-small-lib": "5.0.1",
"@types/jest": "^26.0.24",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"check-dts": "^0.5.3",
"@logux/eslint-config": "^45.4.7",
"@size-limit/preset-small-lib": "5.0.3",
"@types/jest": "^27.0.1",
"@typescript-eslint/eslint-plugin": "^4.29.2",
"@typescript-eslint/parser": "^4.29.2",
"check-dts": "^0.5.5",
"clean-publish": "^2.2.0",
"eslint": "^7.30.0",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-import": "^2.24.1",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-let": "^1.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-unicorn": "^34.0.1",
"eslint-plugin-unicorn": "^35.0.0",
"jest": "^27.0.6",
"lint-staged": "^11.0.0",
"postcss": "^8.3.5",
"lint-staged": "^11.1.2",
"postcss": "^8.3.6",
"prettier": "^2.3.2",
"simple-git-hooks": "^2.5.1",
"size-limit": "^5.0.1",
"ts-jest": "^27.0.3",
"simple-git-hooks": "^2.6.1",
"size-limit": "^5.0.3",
"ts-jest": "^27.0.5",
"typescript": "^4.3.5"
},
"lint-staged": {
8 changes: 8 additions & 0 deletions test/cases/file-selector-button.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
::file-selector-button {
background: black
}

input::file-selector-button {
color: black;
}

input:hover::file-selector-button {
color: white;
}
17 changes: 17 additions & 0 deletions test/cases/file-selector-button.out.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
::-webkit-file-upload-button {
background: black
}

::file-selector-button {
background: black
}

input::-webkit-file-upload-button {
color: black;
}

input::file-selector-button {
color: black;
}

input:hover::-webkit-file-upload-button {
color: white;
}

input:hover::file-selector-button {
color: white;
}
749 changes: 408 additions & 341 deletions yarn.lock

Large diffs are not rendered by default.