@wordpress/babel-plugin-makepot 6.56.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -190,7 +190,7 @@ function isSameTranslation( a, b ) {
|
|
|
190
190
|
* @return {Array} Sorted translations.
|
|
191
191
|
*/
|
|
192
192
|
function sortByReference( translations = [] ) {
|
|
193
|
-
return
|
|
193
|
+
return translations.toSorted( ( a, b ) =>
|
|
194
194
|
a.comments.reference.localeCompare( b.comments.reference )
|
|
195
195
|
);
|
|
196
196
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/babel-plugin-makepot",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "WordPress Babel internationalization (i18n) plugin.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://github.com/WordPress/gutenberg/issues"
|
|
22
22
|
},
|
|
23
23
|
"engines": {
|
|
24
|
-
"node": ">=
|
|
24
|
+
"node": ">=22.13.0"
|
|
25
25
|
},
|
|
26
26
|
"files": [
|
|
27
27
|
"index.js"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@babel/traverse": "^7.25.7",
|
|
41
|
-
"vitest": "^5.0.
|
|
41
|
+
"vitest": "^5.0.3"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@babel/core": "^7.25.7"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "8d30f92cbbde3ddf781c8799443c649befbbcb88"
|
|
50
50
|
}
|