@automattic/i18n-check-webpack-plugin 1.1.11 → 1.1.13
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 +3 -2
- package/src/I18nCheckPlugin.js +1 -0
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.1.13] - 2024-11-04
|
|
9
|
+
### Added
|
|
10
|
+
- Enable test coverage. [#39961]
|
|
11
|
+
|
|
12
|
+
## [1.1.12] - 2024-09-09
|
|
13
|
+
### Changed
|
|
14
|
+
- Internal updates.
|
|
15
|
+
|
|
8
16
|
## [1.1.11] - 2024-08-29
|
|
9
17
|
### Changed
|
|
10
18
|
- Updated package dependencies. [#39111]
|
|
@@ -218,6 +226,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
218
226
|
### Added
|
|
219
227
|
- Initial release.
|
|
220
228
|
|
|
229
|
+
[1.1.13]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.1.12...v1.1.13
|
|
230
|
+
[1.1.12]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.1.11...v1.1.12
|
|
221
231
|
[1.1.11]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.1.10...v1.1.11
|
|
222
232
|
[1.1.10]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.1.9...v1.1.10
|
|
223
233
|
[1.1.9]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.1.8...v1.1.9
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/i18n-check-webpack-plugin",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
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": {
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"license": "GPL-2.0-or-later",
|
|
15
15
|
"author": "Automattic",
|
|
16
16
|
"scripts": {
|
|
17
|
-
"test": "jest tests/"
|
|
17
|
+
"test": "jest --config=tests/jest.config.cjs",
|
|
18
|
+
"test-coverage": "pnpm run test --coverage"
|
|
18
19
|
},
|
|
19
20
|
"dependencies": {
|
|
20
21
|
"debug": "^4.3.2"
|
package/src/I18nCheckPlugin.js
CHANGED
|
@@ -214,6 +214,7 @@ class I18nCheckPlugin {
|
|
|
214
214
|
* @param {Map} moduleCache - Cache for processed modules.
|
|
215
215
|
*/
|
|
216
216
|
async #processAsset( compilation, filename, moduleCache ) {
|
|
217
|
+
// eslint-disable-next-line @wordpress/no-unused-vars-before-return -- Grabbing current timestamp for timing.
|
|
217
218
|
const t0 = Date.now();
|
|
218
219
|
const asset = compilation.getAsset( filename );
|
|
219
220
|
|