@runtime-type-inspector/plugin-webpack4 1.2.3 → 3.0.0

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.
Files changed (2) hide show
  1. package/index.cjs +5 -2
  2. package/package.json +2 -2
package/index.cjs CHANGED
@@ -1,9 +1,12 @@
1
1
  const {Compilation, Compiler} = require('webpack');
2
2
  /**
3
- * @typedef RuntimeTypeInspectorPluginOptions
3
+ * @typedef OptionsProps
4
4
  * @property {RegExp} [test] - Test for file extensions.
5
5
  * @property {RegExp} [exclude] - Test for exclusion.
6
6
  */
7
+ /**
8
+ * @typedef {OptionsProps & import('@runtime-type-inspector/transpiler').Options} Options
9
+ */
7
10
  class RuntimeTypeInspectorPlugin {
8
11
  static pluginName = 'RuntimeTypeInspectorPlugin';
9
12
  // Default options
@@ -14,7 +17,7 @@ class RuntimeTypeInspectorPlugin {
14
17
  exclude: /node_modules/
15
18
  };
16
19
  /**
17
- * @param {RuntimeTypeInspectorPluginOptions} options - The options.
20
+ * @param {Options} options - The options.
18
21
  */
19
22
  constructor(options) {
20
23
  Object.assign(this.options, options);
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@runtime-type-inspector/plugin-webpack4",
3
- "version": "1.2.3",
3
+ "version": "3.0.0",
4
4
  "description": "Webpack 4 plugin for https://runtimetypeinspector.org/",
5
5
  "main": "index.cjs",
6
6
  "author": "Hermann Rolfes (kungfooman)",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@runtime-type-inspector/transpiler": "^2.2.2",
9
+ "@runtime-type-inspector/transpiler": "^3.0.0",
10
10
  "loader-utils": "^2.0.4",
11
11
  "webpack": "^4.47.0"
12
12
  }