Build/Test Tools: Support NodeJS 14.x in the 5.3 branch.

This updates the 5.3 branch to support the latest LTS version of NodeJS (currently 14.x), allowing the same version to be used across all WordPress branches that receive security updates as a courtesy.

In addition to backporting the package updates that happened after branching 5.3, dependencies that were removed in future releases have also been updated to their latest versions.

Props desrosj, dd32, netweb, jorbin.
Merges [47404,47867,47872-47873,48213,48705,49636,49933,49937,49939,49940,49983,49989,50017,50126,50176,50185] to the 5.3 branch.
See #52341.


git-svn-id: https://develop.svn.wordpress.org/branches/5.3@50190 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2021-02-05 03:14:57 +00:00
parent b08e1222d9
commit 2a66b0e02b
4 changed files with 2184 additions and 1641 deletions

2
.nvmrc
View File

@ -1 +1 @@
12.19.0
14

View File

@ -12,7 +12,7 @@ module.exports = function(grunt) {
WORKING_DIR = grunt.option( 'dev' ) ? SOURCE_DIR : BUILD_DIR,
BANNER_TEXT = '/*! This file is auto-generated */',
autoprefixer = require( 'autoprefixer' ),
nodesass = require( 'node-sass' ),
sass = require( 'sass' ),
phpUnitWatchGroup = grunt.option( 'group' ),
buildFiles = [
'*.php',
@ -388,8 +388,7 @@ module.exports = function(grunt) {
ext: '.css',
src: ['wp-admin/css/colors/*/colors.scss'],
options: {
implementation: nodesass,
outputStyle: 'expanded'
implementation: sass,
}
}
},

3774
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,8 +7,8 @@
"url": "https://develop.svn.wordpress.org/trunk"
},
"engines": {
"node": "12.19.0",
"npm": "6.14.8"
"node": ">=14.15.0",
"npm": ">=6.14.8"
},
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
@ -29,45 +29,45 @@
"@wordpress/e2e-test-utils": "2.4.3",
"@wordpress/library-export-default-webpack-plugin": "1.4.1",
"@wordpress/scripts": "5.1.0",
"autoprefixer": "9.6.2",
"check-node-version": "4.0.1",
"copy-webpack-plugin": "^5.0.4",
"autoprefixer": "^9.8.6",
"check-node-version": "4.0.3",
"copy-webpack-plugin": "^5.1.2",
"cssnano": "4.1.10",
"dotenv": "8.2.0",
"dotenv-expand": "5.1.0",
"grunt": "~1.0.4",
"grunt": "~1.3.0",
"grunt-banner": "^0.6.0",
"grunt-contrib-clean": "~2.0.0",
"grunt-contrib-concat": "1.0.1",
"grunt-contrib-copy": "~1.0.0",
"grunt-contrib-cssmin": "~3.0.0",
"grunt-contrib-imagemin": "~3.1.0",
"grunt-contrib-jshint": "2.1.0",
"grunt-contrib-qunit": "^1.2.0",
"grunt-contrib-uglify": "~4.0.1",
"grunt-contrib-imagemin": "~4.0.0",
"grunt-contrib-jshint": "3.0.0",
"grunt-contrib-qunit": "^4.0.0",
"grunt-contrib-uglify": "~5.0.0",
"grunt-contrib-watch": "~1.1.0",
"grunt-file-append": "0.0.7",
"grunt-includes": "~1.1.0",
"grunt-jsdoc": "2.4.0",
"grunt-jsdoc": "2.4.1",
"grunt-jsvalidate": "~0.2.2",
"grunt-legacy-util": "^1.1.1",
"grunt-patch-wordpress": "~2.0.0",
"grunt-legacy-util": "^2.0.0",
"grunt-patch-wordpress": "~3.0.0",
"grunt-postcss": "~0.9.0",
"grunt-replace-lts": "~1.1.0",
"grunt-rtlcss": "~2.0.1",
"grunt-rtlcss": "~2.0.2",
"grunt-sass": "~3.1.0",
"grunt-webpack": "^3.1.3",
"grunt-webpack": "^4.0.0",
"ink-docstrap": "1.3.2",
"jquery-migrate": "1.4.1",
"matchdep": "~2.0.0",
"node-sass": "~4.12.0",
"source-map-loader": "^0.2.4",
"uglify-js": "^3.6.0",
"sass": "^1.32.6",
"source-map-loader": "^1.1.3",
"uglify-js": "^3.12.6",
"uglifyjs-webpack-plugin": "2.2.0",
"wait-on": "3.3.0",
"webpack": "4.41.0",
"webpack-dev-server": "3.8.2",
"webpack-livereload-plugin": "2.2.0"
"wait-on": "5.2.1",
"webpack": "4.43.0",
"webpack-dev-server": "3.11.2",
"webpack-livereload-plugin": "2.3.0"
},
"dependencies": {
"@babel/polyfill": "7.4.4",