@automattic/i18n-loader-webpack-plugin 2.0.27 → 2.0.29

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,9 +5,17 @@ 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
- ## [2.0.27] - 2023-03-07
8
+ ## [2.0.29] - 2023-03-23
9
9
  ### Changed
10
- - Updated package dependencies. [#29289]
10
+ - Updated package dependencies.
11
+
12
+ ## [2.0.28] - 2023-03-20
13
+ ### Changed
14
+ - Updated package dependencies. [#29471]
15
+
16
+ ## [2.0.27] - 2023-03-08
17
+ ### Changed
18
+ - Updated package dependencies. [#29216]
11
19
 
12
20
  ## [2.0.26] - 2023-02-15
13
21
  ### Changed
@@ -136,6 +144,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
136
144
  ### Added
137
145
  - Initial release.
138
146
 
147
+ [2.0.29]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.28...v2.0.29
148
+ [2.0.28]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.27...v2.0.28
139
149
  [2.0.27]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.26...v2.0.27
140
150
  [2.0.26]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.25...v2.0.26
141
151
  [2.0.25]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.24...v2.0.25
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/i18n-loader-webpack-plugin",
3
- "version": "2.0.27",
3
+ "version": "2.0.29",
4
4
  "description": "A Webpack plugin to load WordPress i18n when Webpack lazy-loads a bundle.",
5
5
  "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/i18n-loader-webpack-plugin/#readme",
6
6
  "bugs": {
@@ -23,7 +23,7 @@
23
23
  "@wordpress/dependency-extraction-webpack-plugin": "4.11.0",
24
24
  "@wordpress/i18n": "4.28.0",
25
25
  "jest": "29.4.3",
26
- "webpack": "5.72.1",
26
+ "webpack": "5.76.0",
27
27
  "webpack-cli": "4.9.1"
28
28
  },
29
29
  "peerDependencies": {
@@ -89,9 +89,8 @@ class I18nLoaderPlugin {
89
89
  };
90
90
 
91
91
  if ( options.ignoreModules ) {
92
- const filters = ( Array.isArray( options.ignoreModules )
93
- ? options.ignoreModules
94
- : [ options.ignoreModules ]
92
+ const filters = (
93
+ Array.isArray( options.ignoreModules ) ? options.ignoreModules : [ options.ignoreModules ]
95
94
  ).map( filter => {
96
95
  if ( typeof filter === 'string' ) {
97
96
  return request => request === filter;