Skip to content

Commit 06b94df

Browse files
committed
Build: Update npm dependencies
Keep `uglify-js` at `3.9.4` for now, though, to not break IE 9. Also, don't update Rollup as version 3 doesn't run on Node.js 10 and for now we need to support it. In addition, stop testing on Node.js 16 & test on version 18.
1 parent 072e44d commit 06b94df

File tree

4 files changed

+1059
-4576
lines changed

4 files changed

+1059
-4576
lines changed

.github/workflows/node.js.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
# Node.js 10 is required by jQuery infra
12-
NODE_VERSION: [10.x, 16.x]
12+
NODE_VERSION: [10.x, 18.x]
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v2

Gruntfile.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,9 @@ module.exports = function( grunt ) {
287287
} );
288288

289289
// Load grunt tasks from NPM packages
290-
require( "load-grunt-tasks" )( grunt );
290+
require( "load-grunt-tasks" )( grunt, {
291+
pattern: oldNode ? [ "grunt-*", "!grunt-eslint" ] : [ "grunt-*" ]
292+
} );
291293

292294
// Integrate jQuery migrate specific tasks
293295
grunt.loadTasks( "build/tasks" );

0 commit comments

Comments
 (0)