From 8f2e001efe580aca38872c0000201cbe5400b3d5 Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Wed, 21 Oct 2015 16:47:21 +0000 Subject: [PATCH] Replace Autoprefixer Core with Autoprefixer Autoprefixer Core 5.2.1 -> Autoprefixer 6.0.3 https://github.com/postcss/autoprefixer/releases/tag/6.0.0 Package autoprefixer-core is deprecated in favour of autoprefixer as part of the 6.0.0 release: Packages autoprefixer and autoprefixer-core were merged in 6.0 release. Autoprefixer 6.0.0 requires PostCSS 5.0.10 or greater PostCSS 0.5.4 -> 0.6.0 https://github.com/nDmitry/grunt-postcss/compare/v0.5.4...v0.6.0 You will need to update your dev dependencies after this change. Props netweb See #34177 git-svn-id: https://develop.svn.wordpress.org/trunk@35332 602fd350-edb4-49c9-b593-d223f7449a82 --- Gruntfile.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 8bc1b4805c..9038f5560d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -3,7 +3,7 @@ module.exports = function(grunt) { var path = require('path'), SOURCE_DIR = 'src/', BUILD_DIR = 'build/', - autoprefixer = require('autoprefixer-core'), + autoprefixer = require('autoprefixer'), mediaConfig = {}, mediaBuilds = ['audiovideo', 'grid', 'models', 'views']; diff --git a/package.json b/package.json index 3c608c71b0..fcfd2809a4 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "author": "The WordPress Contributors", "license": "GPL-2.0+", "devDependencies": { - "autoprefixer-core": "~5.2.1", + "autoprefixer": "~6.0.3", "grunt": "~0.4.5", "grunt-browserify": "~4.0.0", "grunt-contrib-clean": "~0.6.0", @@ -26,7 +26,7 @@ "grunt-jsvalidate": "~0.2.2", "grunt-legacy-util": "^0.2.0", "grunt-patch-wordpress": "~0.3.0", - "grunt-postcss": "~0.5.4", + "grunt-postcss": "~0.6.0", "grunt-rtlcss": "~1.6.0", "grunt-sass": "~1.0.0", "matchdep": "~0.3.0"