@wdio/repl 8.0.0-alpha.331 → 8.0.0-alpha.411

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/build/index.js +4 -2
  2. package/package.json +2 -2
package/build/index.js CHANGED
@@ -32,8 +32,11 @@ import vm from 'node:vm';
32
32
  import repl from 'node:repl';
33
33
  import { STATIC_RETURNS, INTRO_MESSAGE, DEFAULT_CONFIG } from './constants.js';
34
34
  export default class WDIORepl {
35
+ static introMessage = INTRO_MESSAGE;
36
+ _config;
37
+ _isCommandRunning = false;
38
+ _replServer;
35
39
  constructor(config) {
36
- this._isCommandRunning = false;
37
40
  this._config = Object.assign(DEFAULT_CONFIG, { eval: this.eval.bind(this) }, config);
38
41
  }
39
42
  eval(cmd, context, filename, callback) {
@@ -109,4 +112,3 @@ export default class WDIORepl {
109
112
  });
110
113
  }
111
114
  }
112
- WDIORepl.introMessage = INTRO_MESSAGE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/repl",
3
- "version": "8.0.0-alpha.331+78ec9a352",
3
+ "version": "8.0.0-alpha.411+2d3189eaf",
4
4
  "description": "A WDIO helper utility to provide a repl interface for WebdriverIO",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-repl",
@@ -29,5 +29,5 @@
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  },
32
- "gitHead": "78ec9a35262f7d5ff4001cf777553f0a3c173d6d"
32
+ "gitHead": "2d3189eaf8779f61699c1377f44f9841ed8a72c7"
33
33
  }