@wdio/repl 8.10.1 → 8.24.8

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/build/index.d.ts CHANGED
@@ -28,8 +28,8 @@
28
28
  * @type utility
29
29
  *
30
30
  */
31
- /// <reference types="node" />
32
- /// <reference types="node" />
31
+ /// <reference types="node" resolution-mode="require"/>
32
+ /// <reference types="node" resolution-mode="require"/>
33
33
  import vm from 'node:vm';
34
34
  import repl from 'node:repl';
35
35
  export interface ReplConfig {
package/build/index.js CHANGED
@@ -31,7 +31,7 @@
31
31
  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
- class WDIORepl {
34
+ export default class WDIORepl {
35
35
  static introMessage = INTRO_MESSAGE;
36
36
  _config;
37
37
  _isCommandRunning = false;
@@ -98,7 +98,7 @@ class WDIORepl {
98
98
  }
99
99
  start(context) {
100
100
  if (this._replServer) {
101
- throw new Error('a repl was already initialised');
101
+ throw new Error('a repl was already initialized');
102
102
  }
103
103
  if (context) {
104
104
  const evalFn = this._config.eval;
@@ -112,4 +112,3 @@ class WDIORepl {
112
112
  });
113
113
  }
114
114
  }
115
- export default WDIORepl;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/repl",
3
- "version": "8.10.1",
3
+ "version": "8.24.8",
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",
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "0fc768bb7b2fe233877893260aec658facf6357f"
38
+ "gitHead": "9acb577d072f31b853794667f1c271689181ea81"
39
39
  }