@automattic/i18n-check-webpack-plugin 1.1.10 → 1.1.12

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 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.12] - 2024-09-09
9
+ ### Changed
10
+ - Internal updates.
11
+
12
+ ## [1.1.11] - 2024-08-29
13
+ ### Changed
14
+ - Updated package dependencies. [#39111]
15
+
8
16
  ## [1.1.10] - 2024-08-21
9
17
  ### Changed
10
18
  - Internal updates.
@@ -214,6 +222,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
214
222
  ### Added
215
223
  - Initial release.
216
224
 
225
+ [1.1.12]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.1.11...v1.1.12
226
+ [1.1.11]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.1.10...v1.1.11
217
227
  [1.1.10]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.1.9...v1.1.10
218
228
  [1.1.9]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.1.8...v1.1.9
219
229
  [1.1.8]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.1.7...v1.1.8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/i18n-check-webpack-plugin",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
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": {
@@ -23,12 +23,12 @@
23
23
  "@automattic/jetpack-webpack-config": "workspace:*",
24
24
  "@babel/core": "7.24.7",
25
25
  "jest": "29.7.0",
26
- "webpack": "5.76.0",
26
+ "webpack": "5.94.0",
27
27
  "webpack-cli": "4.9.1"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@babel/core": "^7.0.0",
31
- "webpack": "^5.0.0"
31
+ "webpack": "^5.94.0"
32
32
  },
33
33
  "exports": {
34
34
  ".": "./src/I18nCheckPlugin.js",
@@ -156,7 +156,7 @@ class GettextExtractor {
156
156
  return;
157
157
  }
158
158
 
159
- if ( ! this.#functions.hasOwnProperty( callee.name ) ) {
159
+ if ( ! Object.hasOwn( this.#functions, callee.name ) ) {
160
160
  return;
161
161
  }
162
162
 
@@ -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