html-reporter 9.4.0 → 9.5.1

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/lib/plugin-api.js CHANGED
@@ -19,12 +19,17 @@ module.exports = class HtmlReporter extends EventsEmitter2 {
19
19
  imagesSaver: require('./local-images-saver'),
20
20
  reportsSaver: null
21
21
  };
22
+ this._version = require('../package.json').version;
22
23
  }
23
24
 
24
25
  get config() {
25
26
  return this._config;
26
27
  }
27
28
 
29
+ get version() {
30
+ return this._version;
31
+ }
32
+
28
33
  get events() {
29
34
  return pluginEvents;
30
35
  }