fork-ts-checker-webpack-plugin 9.2.0 → 9.2.2

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.
@@ -74,7 +74,7 @@ function tapStartToRunWorkers(compiler, getIssuesWorker, getDependenciesWorker,
74
74
  filesChange = yield hooks.start.promise(filesChange, compilation);
75
75
  let aggregatedFilesChange = filesChange;
76
76
  if (state.aggregatedFilesChange) {
77
- aggregatedFilesChange = (0, files_change_1.aggregateFilesChanges)([aggregatedFilesChange, filesChange]);
77
+ aggregatedFilesChange = (0, files_change_1.aggregateFilesChanges)([state.aggregatedFilesChange, filesChange]);
78
78
  debug([
79
79
  `Aggregating with previous files change, iteration ${iteration}.`,
80
80
  ` Changed files: ${JSON.stringify(aggregatedFilesChange.changedFiles)}`,
package/lib/plugin.js CHANGED
@@ -89,7 +89,7 @@ exports.ForkTsCheckerWebpackPlugin = ForkTsCheckerWebpackPlugin;
89
89
  /**
90
90
  * Current version of the plugin
91
91
  */
92
- ForkTsCheckerWebpackPlugin.version = '9.2.0'; // will be replaced by the @semantic-release/exec
92
+ ForkTsCheckerWebpackPlugin.version = '9.2.2'; // will be replaced by the @semantic-release/exec
93
93
  /**
94
94
  * Default pools for the plugin concurrency limit
95
95
  */
@@ -105,7 +105,7 @@ function createIssueFromDiagnostic(diagnostic) {
105
105
  let location;
106
106
  if (diagnostic.file) {
107
107
  file = diagnostic.file.fileName;
108
- if (diagnostic.start && diagnostic.length) {
108
+ if (diagnostic.start !== undefined && diagnostic.length !== undefined) {
109
109
  const { line: startLine, character: startCharacter } = diagnostic.file.getLineAndCharacterOfPosition(diagnostic.start);
110
110
  const { line: endLine, character: endCharacter } = diagnostic.file.getLineAndCharacterOfPosition(diagnostic.start + diagnostic.length);
111
111
  location = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fork-ts-checker-webpack-plugin",
3
- "version": "9.2.0",
3
+ "version": "9.2.2",
4
4
  "description": "Runs typescript type checker and linter on separate process.",
5
5
  "keywords": [
6
6
  "webpack",