@automattic/i18n-check-webpack-plugin 1.0.12 → 1.0.15

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,18 @@ 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.15] - 2022-07-06
9
+ ### Changed
10
+ - Updated package dependencies. [#24924]
11
+
12
+ ## [1.0.14] - 2022-06-14
13
+ ### Changed
14
+ - Updated package dependencies. [#24724]
15
+
16
+ ## [1.0.13] - 2022-06-08
17
+ ### Changed
18
+ - Reorder JS imports for `import/order` eslint rule. [#24601]
19
+
8
20
  ## [1.0.12] - 2022-05-18
9
21
  ### Changed
10
22
  - Updated package dependencies [#24372]
@@ -70,6 +82,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
70
82
  ### Added
71
83
  - Initial release.
72
84
 
85
+ [1.0.15]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.14...v1.0.15
86
+ [1.0.14]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.13...v1.0.14
87
+ [1.0.13]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.12...v1.0.13
73
88
  [1.0.12]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.11...v1.0.12
74
89
  [1.0.11]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.10...v1.0.11
75
90
  [1.0.10]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.9...v1.0.10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/i18n-check-webpack-plugin",
3
- "version": "1.0.12",
3
+ "version": "1.0.15",
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.17.10",
24
+ "@babel/core": "7.18.6",
25
25
  "jest": "28.1.0",
26
26
  "webpack": "5.72.1",
27
27
  "webpack-cli": "4.9.1"
@@ -1,11 +1,11 @@
1
1
  const fs = require( 'fs/promises' );
2
2
  const babel = require( '@babel/core' );
3
- const PLUGIN_NAME = require( './plugin-name.js' );
4
3
  const GettextEntries = require( './GettextEntries' );
5
4
  const GettextEntry = require( './GettextEntry' );
5
+ const PLUGIN_NAME = require( './plugin-name.js' );
6
+ const debug = require( 'debug' )( `${ PLUGIN_NAME }:gettext` ); // eslint-disable-line import/order
6
7
 
7
8
  const { parseAsync, parseSync, traverse, types: t } = babel;
8
- const debug = require( 'debug' )( `${ PLUGIN_NAME }:gettext` );
9
9
 
10
10
  // Some typedefs for jsdoc. Babel doesn't export the actual constructors for us.
11
11
  /** @typedef babel.Node */
@@ -1,13 +1,12 @@
1
- const babel = require( '@babel/core' );
2
1
  const npath = require( 'path' );
2
+ const babel = require( '@babel/core' );
3
3
  const webpack = require( 'webpack' );
4
- const PLUGIN_NAME = require( './plugin-name.js' );
5
- const GettextEntry = require( './GettextEntry.js' );
6
4
  const GettextEntries = require( './GettextEntries.js' );
5
+ const GettextEntry = require( './GettextEntry.js' );
7
6
  const GettextExtractor = require( './GettextExtractor.js' );
8
-
9
- const debug = require( 'debug' )( PLUGIN_NAME + ':plugin' );
10
- const debugtiming = require( 'debug' )( PLUGIN_NAME + ':timing' );
7
+ const PLUGIN_NAME = require( './plugin-name.js' );
8
+ const debug = require( 'debug' )( PLUGIN_NAME + ':plugin' ); // eslint-disable-line import/order
9
+ const debugtiming = require( 'debug' )( PLUGIN_NAME + ':timing' ); // eslint-disable-line import/order
11
10
 
12
11
  const schema = {
13
12
  title: `${ PLUGIN_NAME } plugin options`,