From 4525e0cec60f4b0a1dd574e3f24feecc150c0567 Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Thu, 21 Dec 2023 20:01:15 +0000 Subject: [PATCH] Build/Test: Update Grunt Patch Wordpress for Node 20+. Props jorbin, desrosj. See #59658, #59663. git-svn-id: https://develop.svn.wordpress.org/trunk@57217 602fd350-edb4-49c9-b593-d223f7449a82 --- package-lock.json | 21 +++++++++++---------- package.json | 2 +- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0c83ac3d13c37..44201c006d4b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -134,7 +134,7 @@ "grunt-file-append": "0.0.7", "grunt-jsdoc": "2.4.1", "grunt-legacy-util": "^2.0.1", - "grunt-patch-wordpress": "~3.0.0", + "grunt-patch-wordpress": "~4.0.0", "grunt-replace-lts": "~1.1.0", "grunt-rtlcss": "~2.0.2", "grunt-sass": "~3.1.0", @@ -17663,18 +17663,19 @@ "dev": true }, "node_modules/grunt-patch-wordpress": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/grunt-patch-wordpress/-/grunt-patch-wordpress-3.0.1.tgz", - "integrity": "sha512-jdeqk/r0hSPez2Afgj+Zz8R6tFYDyhNKTNZvJIE5lAqmkms2ox4a+UfbZWhf9ObFb+Q4JYKIXqJruGzujzmYgA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/grunt-patch-wordpress/-/grunt-patch-wordpress-4.0.0.tgz", + "integrity": "sha512-SA2FMfnNU6vAaSKpUcuF8O9d1LTpvoGHMU0d1OTEOwAfchWn8z6GwKgQeAC00ONvhjWXsZ3/g4gVTG1QbdqJqQ==", "dev": true, "dependencies": { "grunt": "^1.0.3", "inquirer": "^5.1.0", "request": "^2.83.0", - "xmlrpc": "^1.3.1" + "xmlrpc": "^1.3.2" }, "engines": { - "node": ">= 12" + "node": ">=20.10.0", + "npm": ">=10.2.3" } }, "node_modules/grunt-replace-lts": { @@ -47177,15 +47178,15 @@ } }, "grunt-patch-wordpress": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/grunt-patch-wordpress/-/grunt-patch-wordpress-3.0.1.tgz", - "integrity": "sha512-jdeqk/r0hSPez2Afgj+Zz8R6tFYDyhNKTNZvJIE5lAqmkms2ox4a+UfbZWhf9ObFb+Q4JYKIXqJruGzujzmYgA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/grunt-patch-wordpress/-/grunt-patch-wordpress-4.0.0.tgz", + "integrity": "sha512-SA2FMfnNU6vAaSKpUcuF8O9d1LTpvoGHMU0d1OTEOwAfchWn8z6GwKgQeAC00ONvhjWXsZ3/g4gVTG1QbdqJqQ==", "dev": true, "requires": { "grunt": "^1.0.3", "inquirer": "^5.1.0", "request": "^2.83.0", - "xmlrpc": "^1.3.1" + "xmlrpc": "^1.3.2" } }, "grunt-replace-lts": { diff --git a/package.json b/package.json index 3dc447fcb36b2..a25758279c0cd 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "grunt-file-append": "0.0.7", "grunt-jsdoc": "2.4.1", "grunt-legacy-util": "^2.0.1", - "grunt-patch-wordpress": "~3.0.0", + "grunt-patch-wordpress": "~4.0.0", "grunt-replace-lts": "~1.1.0", "grunt-rtlcss": "~2.0.2", "grunt-sass": "~3.1.0",