@automattic/i18n-check-webpack-plugin 1.0.25 → 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 +6 -1
- package/package.json +1 -1
- package/src/GettextExtractor.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,9 +5,13 @@ 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
|
+
|
|
8
12
|
## [1.0.25] - 2023-01-11
|
|
9
13
|
### Changed
|
|
10
|
-
- Updated package dependencies.
|
|
14
|
+
- Updated package dependencies.
|
|
11
15
|
|
|
12
16
|
## [1.0.24] - 2022-12-02
|
|
13
17
|
### Changed
|
|
@@ -125,6 +129,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
125
129
|
### Added
|
|
126
130
|
- Initial release.
|
|
127
131
|
|
|
132
|
+
[1.0.26]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.25...v1.0.26
|
|
128
133
|
[1.0.25]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.24...v1.0.25
|
|
129
134
|
[1.0.24]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.23...v1.0.24
|
|
130
135
|
[1.0.23]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.22...v1.0.23
|
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": {
|
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 = {} ) {
|