@automattic/i18n-check-webpack-plugin 1.0.24 → 1.0.26
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/CHANGELOG.md +10 -0
- package/package.json +2 -2
- package/src/GettextExtractor.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.0.26] - 2023-01-23
|
|
9
|
+
### Fixed
|
|
10
|
+
- Clean up JavaScript eslint issues. [#28441]
|
|
11
|
+
|
|
12
|
+
## [1.0.25] - 2023-01-11
|
|
13
|
+
### Changed
|
|
14
|
+
- Updated package dependencies.
|
|
15
|
+
|
|
8
16
|
## [1.0.24] - 2022-12-02
|
|
9
17
|
### Changed
|
|
10
18
|
- Updated package dependencies. [#27576]
|
|
@@ -121,6 +129,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
121
129
|
### Added
|
|
122
130
|
- Initial release.
|
|
123
131
|
|
|
132
|
+
[1.0.26]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.25...v1.0.26
|
|
133
|
+
[1.0.25]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.24...v1.0.25
|
|
124
134
|
[1.0.24]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.23...v1.0.24
|
|
125
135
|
[1.0.23]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.22...v1.0.23
|
|
126
136
|
[1.0.22]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.21...v1.0.22
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/i18n-check-webpack-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"description": "A Webpack plugin to check that WordPress i18n hasn't been mangled by Webpack optimizations.",
|
|
5
5
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/i18n-check-webpack-plugin/#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"debug": "^4.3.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@babel/core": "7.20.
|
|
24
|
+
"@babel/core": "7.20.7",
|
|
25
25
|
"jest": "29.3.1",
|
|
26
26
|
"webpack": "5.72.1",
|
|
27
27
|
"webpack-cli": "4.9.1"
|
package/src/GettextExtractor.js
CHANGED
|
@@ -40,7 +40,7 @@ class GettextExtractor {
|
|
|
40
40
|
*
|
|
41
41
|
* @param {object} options - Configuration options.
|
|
42
42
|
* @param {object} options.babelOptions - Options for Babel.
|
|
43
|
-
* @param {
|
|
43
|
+
* @param {Object<string, (string | null)[]>} options.functions - Functions to extract. Defaults are available as a static property `defaultFunctions`.
|
|
44
44
|
* @param {Function} options.lintLogger - Lint logging callback. See `this.setLintLogger()`.
|
|
45
45
|
*/
|
|
46
46
|
constructor( options = {} ) {
|