diff --git a/package-lock.json b/package-lock.json index ad6fc2129..da0487afd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@types/node": "^20.8.2", "@wordpress/babel-plugin-makepot": "^6.0.0", "@wordpress/eslint-plugin": "^18.0.0", - "@wordpress/i18n": "^4.2.4", + "@wordpress/i18n": "^5.0.0", "@wwa/rollup-plugin-terser": "^1.0.1", "eslint-formatter-gha": "^1.4.1", "eslint-plugin-playwright": "^1.0.0", @@ -3098,27 +3098,28 @@ } }, "node_modules/@wordpress/hooks": { - "version": "3.58.0", - "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.58.0.tgz", - "integrity": "sha512-9LB0ZHnZRQlORttux9t/xbAskF+dk2ujqzPGsVzc92mSKpQP3K2a5Wy74fUnInguB1vLUNHT6nrNdkVom5qX1Q==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-4.1.0.tgz", + "integrity": "sha512-uJ2zyLLs6AwWuEdLGv/P7oSXJuX27Ym6JglzWGBavxAKNXpTCCjiJwgxlZJbSjT3BzhRsRGl3bUMmzt3eh50Pg==", "dev": true, "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "node_modules/@wordpress/i18n": { - "version": "4.58.0", - "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-4.58.0.tgz", - "integrity": "sha512-VfvS3BWv/RDjRKD6PscIcvYfWKnGJcI/DEqyDgUMhxCM6NRwoL478CsUKTiGJIymeyRodNRfprdcF086DpGKYw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-5.1.0.tgz", + "integrity": "sha512-zNJiudByLnpIVhIS45hr92r53t+wRYp9a6XOJ585xNYeUmoUpymY5GTdLSrExmQaytMhV5cSXSn3qMMDBMjUsg==", "dev": true, "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/hooks": "^3.58.0", + "@wordpress/hooks": "^4.1.0", "gettext-parser": "^1.3.1", "memize": "^2.1.0", "sprintf-js": "^1.1.1", @@ -3128,7 +3129,8 @@ "pot-to-php": "tools/pot-to-php.js" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "node_modules/@wordpress/prettier-config": { diff --git a/package.json b/package.json index d1402be6d..59c602792 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@types/node": "^20.8.2", "@wordpress/babel-plugin-makepot": "^6.0.0", "@wordpress/eslint-plugin": "^18.0.0", - "@wordpress/i18n": "^4.2.4", + "@wordpress/i18n": "^5.0.0", "@wwa/rollup-plugin-terser": "^1.0.1", "eslint-formatter-gha": "^1.4.1", "eslint-plugin-playwright": "^1.0.0",