diff --git a/gulpfile.js b/gulpfile.js index e985cd11..f8daf844 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -195,7 +195,9 @@ gulp.task( wpPot({ bugReport: 'https://github.com/skaut/crdm-modern/issues', domain: 'crdm-modern', + package: 'crdm-modern', relativeTo: 'src/php', + includePOTCreationDate: false, }) ) .pipe(gulp.dest('src/languages/crdm-modern.pot')); diff --git a/package-lock.json b/package-lock.json index 7d42ff76..51597297 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,8 +38,7 @@ "rimraf": "^5.0.1", "stylelint": "^14.16.1", "stylelint-no-unsupported-browser-features": "^7.0.0", - "typescript": "^5.2.2", - "wp-pot": "^1.9.8 <1.10" + "typescript": "^5.2.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -13908,17 +13907,18 @@ } }, "node_modules/wp-pot": { - "version": "1.9.9", - "resolved": "https://registry.npmjs.org/wp-pot/-/wp-pot-1.9.9.tgz", - "integrity": "sha512-cCtSeIyEe1u9DvJdgov4hGakMoabvLIwPZpCMqUKI5FnBoTMu7buQrIJar+JNIeRg/+RRxAKFtq4DsqH5GdJuQ==", + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/wp-pot/-/wp-pot-1.10.2.tgz", + "integrity": "sha512-NJ9+dsSilghAYMiuGdURJSbKFf9Z2mH+P6ojT8Nw1Pp8KuwvHdRTFTYK73THlYzohUEXlQGpvKkz+mJb8K1ToA==", "dev": true, "dependencies": { - "matched": "^5.0.0", + "espree": "^9.3.1", + "matched": "^5.0.1", "path-sort": "^0.1.0", - "php-parser": "^3.0.2" + "php-parser": "^3.0.3" }, "engines": { - "node": ">=12" + "node": ">=14" } }, "node_modules/wrap-ansi": { diff --git a/package.json b/package.json index e3ad0e9f..e36c2802 100644 --- a/package.json +++ b/package.json @@ -68,8 +68,7 @@ "rimraf": "^5.0.1", "stylelint": "^14.16.1", "stylelint-no-unsupported-browser-features": "^7.0.0", - "typescript": "^5.2.2", - "wp-pot": "^1.9.8 <1.10" + "typescript": "^5.2.2" }, "browserslist": [ "extends @wordpress/browserslist-config"