Make WordPress Core


Ignore:
Timestamp:
02/05/2021 04:19:31 AM (4 years ago)
Author:
desrosj
Message:

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

This updates the 4.5 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.

Because older branches use (really) old versions of NodeJS, the local Docker environment cannot be backported since the needed dependencies will not run on these older versions (see #48301). This also blocks the ability to move automated testing over to GitHub Actions (see #50401).

This also replaces the npm-shrinkwrap.json with a package-lock.json file. Lock files were not supported in earlier versions of NPM, but can now be used.

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

Props desrosj, dd32, netweb, jorbin.
Merges [37185,37212,37612,38111,38688,39110,39113-39119,39478,42460-42461,42463,42887,43320,43323,43977,44219,44233,44728,45321,45765,46404,46408-46409,47404,47867-47869,47872-47873,48705,49636,49933,49937,49939,50017,50126,50176,50185,50192] to the 4.5 branch.
See #52341.

Location:
branches/4.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.5

  • branches/4.5/package.json

    r49419 r50208  
    11{
    2   "name": "WordPress",
    3   "version": "4.5.23",
    4   "description": "WordPress is web software you can use to create a beautiful website or blog.",
    5   "repository": {
    6     "type": "svn",
    7     "url": "https://develop.svn.wordpress.org/trunk"
    8   },
    9   "author": "The WordPress Contributors",
    10   "license": "GPL-2.0+",
    11   "devDependencies": {
    12     "autoprefixer": "~6.3.3",
    13     "git-or-svn": "~0.1.0",
    14     "grunt": "~0.4.5",
    15     "grunt-browserify": "~5.0.0",
    16     "grunt-contrib-clean": "~1.0.0",
    17     "grunt-contrib-compress": "~1.1.0",
    18     "grunt-contrib-concat": "~1.0.0",
    19     "grunt-contrib-copy": "~1.0.0",
    20     "grunt-contrib-cssmin": "~1.0.0",
    21     "grunt-contrib-imagemin": "~1.0.0",
    22     "grunt-contrib-jshint": "~1.0.0",
    23     "grunt-contrib-qunit": "~1.1.0",
    24     "grunt-contrib-uglify": "~0.10.0",
    25     "grunt-contrib-watch": "~1.0.0",
    26     "grunt-includes": "~0.5.1",
    27     "grunt-jsvalidate": "~0.2.2",
    28     "grunt-legacy-util": "^0.2.0",
    29     "grunt-patch-wordpress": "~0.3.0",
    30     "grunt-postcss": "~0.7.1",
    31     "grunt-rtlcss": "~2.0.1",
    32     "grunt-sass": "~1.1.0",
    33     "matchdep": "~1.0.0"
    34   }
     2    "name": "WordPress",
     3    "version": "4.5.23",
     4    "description": "WordPress is web software you can use to create a beautiful website or blog.",
     5    "repository": {
     6        "type": "svn",
     7        "url": "https://develop.svn.wordpress.org/trunk"
     8    },
     9    "engines": {
     10        "node": ">=14.15.0",
     11        "npm": ">=6.14.8"
     12    },
     13    "author": "The WordPress Contributors",
     14    "license": "GPL-2.0+",
     15    "browserslist": [
     16        "Android >= 2.1",
     17        "Chrome >= 21",
     18        "Edge >= 12",
     19        "Explorer >= 7",
     20        "Firefox >= 17",
     21        "Opera >= 12.1",
     22        "Safari >= 6.0"
     23    ],
     24    "devDependencies": {
     25        "autoprefixer": "^9.8.6",
     26        "grunt": "~1.3.0",
     27        "grunt-browserify": "~5.3.0",
     28        "grunt-contrib-clean": "~2.0.0",
     29        "grunt-contrib-compress": "~2.0.0",
     30        "grunt-contrib-concat": "~1.0.1",
     31        "grunt-contrib-copy": "~1.0.0",
     32        "grunt-contrib-cssmin": "~3.0.0",
     33        "grunt-contrib-imagemin": "~4.0.0",
     34        "grunt-contrib-jshint": "3.0.0",
     35        "grunt-contrib-qunit": "^4.0.0",
     36        "grunt-contrib-uglify": "~5.0.0",
     37        "grunt-contrib-watch": "~1.1.0",
     38        "grunt-includes": "~1.1.0",
     39        "grunt-jsvalidate": "~0.2.2",
     40        "grunt-legacy-util": "^2.0.0",
     41        "grunt-patch-wordpress": "~3.0.0",
     42        "grunt-postcss": "~0.9.0",
     43        "grunt-rtlcss": "~2.0.1",
     44        "grunt-sass": "~3.1.0",
     45        "matchdep": "~2.0.0",
     46        "sass": "^1.32.6"
     47    }
    3548}
Note: See TracChangeset for help on using the changeset viewer.