WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 2 days ago

#51801 new task (blessed)

Update/Audit npm Dependencies for 5.7

Reported by: SergeyBiryukov Owned by:
Milestone: 5.7 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch
Focuses: Cc:

Description

Previously:

Change History (13)

#1 @desrosj
5 weeks ago

In 49780:

Build/Test Tools: Update package-lock.json file with several package updates.

These updates result from running npm install.

Also, update the version of grunt-patch-wordpress in the lock file from 3.0.0 to 3.0.1.

See #51801.

#2 @desrosj
5 weeks ago

In 49791:

Build/Test Tools: Update several NPM packages.

These were updated using npm audit fix.

See #51801.

#3 @desrosj
4 weeks ago

In 49821:

Build/Test Tools: Update several NPM packages.

These were updated using npm audit fix.

Merges [49791] to the 5.6 branch.
See #51801.

#4 @desrosj
4 weeks ago

In 49822:

Build/Test Tools: Save changes resulting from npm install.

See #51801.

#5 @desrosj
11 days ago

In 49933:

Build/Test Tools: Update several NPM packages.

This updates the following packages to the latest versions.

Updated packages:

  • grunt-contrib-uglify from 4.0.1 to 5.0.0.
  • grunt-jsdoc from 2.4.0 to 2.4.1.
  • grunt-legacy-util from 1.1.1 to 2.0.0.
  • grunt-webpack from 3.1.3 to 4.0.2.

See #51801.

This ticket was mentioned in PR #855 on WordPress/wordpress-develop by desrosj.


11 days ago

  • Keywords has-patch added

Test updating wait-on, check-node-version, and node-sass.

Trac ticket: https://core.trac.wordpress.org/ticket/51801

#7 @desrosj
10 days ago

In 49937:

Build/Test Tools: Update some NPM packages.

This updates the following packages to the latest versions.

Updated packages:

  • check-node-version from 4.0.1 to 4.0.3.
  • node-sass from 4.14.1 to 5.0.0.
  • wait-on from 3.3.0 to 5.2.1.

See #51801.

This ticket was mentioned in PR #859 on WordPress/wordpress-develop by desrosj.


10 days ago

Verify that all automated testing completes successfully after package updates.

Updated packages:

  • copy-webpack-plugin from 5.1.1 to 5.1.2.
  • grunt from 1.1.0 to 1.3.0.
  • grunt-contrib-jshint from 2.1.0 to 3.0.0.
  • grunt-contrib-qunit from 3.1.0 to 4.0.0.
  • grunt-rtlcss from 2.0.1 to 2.0.2.
  • qunit from 2.9.0 to 2.13.0.
  • sinon from 9.0.0 to 9.2.2.
  • source-map-loader from 0.2.4 to 1.1.3.
  • uuid from 8.2.0 to 8.3.2.
  • webpack-dev-server from 3.11.0 to 3.11.1.

Trac ticket: https://core.trac.wordpress.org/ticket/51801

#10 @desrosj
10 days ago

In 49939:

Build/Test Tools: Update several NPM packages.

This updates the following packages to the latest versions.

Updated packages:

  • copy-webpack-plugin from 5.1.1 to 5.1.2.
  • grunt from 1.1.0 to 1.3.0.
  • grunt-contrib-jshint from 2.1.0 to 3.0.0.
  • grunt-contrib-qunit from 3.1.0 to 4.0.0.
  • grunt-rtlcss from 2.0.1 to 2.0.2.
  • qunit from 2.9.0 to 2.13.0.
  • sinon from 9.0.0 to 9.2.2.
  • source-map-loader from 0.2.4 to 1.1.3.
  • uuid from 8.2.0 to 8.3.2.
  • webpack-dev-server from 3.11.0 to 3.11.1.

See #51801.

#11 @desrosj
10 days ago

Looks like [49939] accidentally updated the versions for several dependencies not specified within the package.json file.

Reviewing the build repository, the common-rtl.css file was updated as a result of the grunt-rtlcss updated and looks good.

The blocks.js file (and script-loader-packages.php) was updated as a result of these changes, but this only resulted in an additional empty line. This doesn't seem to be problematic, and it's preferable to use the most recent versions of dependencies anyways.

I think this is OK to leave, but I wanted to make a note of those additional updates being included here.

#12 @desrosj
10 days ago

In 49940:

Build/Test Tools: Update UglifyJS to the latest version.

This updates the uglify-js package from version 3.6.0 to 3.12.4.

See #51801.

#13 @peterwilsoncc
2 days ago

In 49959:

Build/Test Tools: Update script loader following [49933].

See #51801.

Note: See TracTickets for help on using tickets.