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.6
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.7
Choose a head ref
  • 4 commits
  • 4 files changed
  • 2 contributors

Commits on Sep 27, 2021

  1. Add bugs field/URL to package.json (#1424)

    Useful for contributors to quickly go to GitHub after they've cloned the repo.
    
    Similar to how it's done at: https://github.com/postcss/postcss/blob/e2f59d057f30d419e8fa7fac0095d3a47795714d/package.json#L66
    coliff authored Sep 27, 2021
    Copy the full SHA
    c3263a0 View commit details

Commits on Oct 4, 2021

  1. Replace nanocolors to picocolors

    ai committed Oct 4, 2021
    Copy the full SHA
    35b205a View commit details
  2. Update dependencies

    ai committed Oct 4, 2021
    Copy the full SHA
    56f5cbe View commit details
  3. Release 10.3.7 version

    ai committed Oct 4, 2021
    Copy the full SHA
    53a8b71 View commit details
Showing with 557 additions and 549 deletions.
  1. +3 −0 CHANGELOG.md
  2. +2 −2 lib/autoprefixer.js
  3. +16 −13 package.json
  4. +536 −534 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.7
* Replaced `nanocolors` to `picocolors`.

## 10.3.6
* Updated `nanocolors`.
* Reduced package size.
4 changes: 2 additions & 2 deletions lib/autoprefixer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
let { yellow, red } = require('nanocolors')
let browserslist = require('browserslist')
let { agents } = require('caniuse-lite')
let pico = require('picocolors')

let Browsers = require('./browsers')
let Prefixes = require('./prefixes')
@@ -90,7 +90,7 @@ function plugin(...reqs) {
} else if (options.browsers) {
if (typeof console !== 'undefined' && console.warn) {
console.warn(
red(WARNING.replace(/`[^`]+`/g, i => yellow(i.slice(1, -1))))
pico.red(WARNING.replace(/`[^`]+`/g, i => pico.yellow(i.slice(1, -1))))
)
}
reqs = options.browsers
29 changes: 16 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "autoprefixer",
"version": "10.3.6",
"version": "10.3.7",
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",
"engines": {
"node": "^10 || ^12 || >=14"
@@ -25,40 +25,43 @@
"author": "Andrey Sitnik <andrey@sitnik.ru>",
"license": "MIT",
"repository": "postcss/autoprefixer",
"bugs": {
"url": "https://github.com/postcss/autoprefixer/issues"
},
"peerDependencies": {
"postcss": "^8.1.0"
},
"dependencies": {
"browserslist": "^4.17.1",
"caniuse-lite": "^1.0.30001260",
"browserslist": "^4.17.3",
"caniuse-lite": "^1.0.30001264",
"fraction.js": "^4.1.1",
"nanocolors": "^0.2.8",
"normalize-range": "^0.1.2",
"picocolors": "^0.2.1",
"postcss-value-parser": "^4.1.0"
},
"devDependencies": {
"@logux/eslint-config": "^45.4.8",
"@size-limit/preset-small-lib": "5.0.4",
"@size-limit/preset-small-lib": "5.0.5",
"@types/jest": "^27.0.2",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"check-dts": "^0.5.6",
"clean-publish": "^3.0.1",
"clean-publish": "^3.0.3",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^24.4.2",
"eslint-plugin-jest": "^24.5.2",
"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": "^36.0.0",
"jest": "^27.2.2",
"lint-staged": "^11.1.2",
"postcss": "^8.3.8",
"jest": "^27.2.4",
"lint-staged": "^11.2.0",
"postcss": "^8.3.9",
"prettier": "^2.4.1",
"simple-git-hooks": "^2.6.1",
"size-limit": "^5.0.4",
"size-limit": "^5.0.5",
"ts-jest": "^27.0.5",
"typescript": "^4.4.3"
},
Loading