@wdio/config 8.8.4 → 8.8.7

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.
@@ -1,7 +1,7 @@
1
1
  import fs from 'node:fs';
2
2
  import url from 'node:url';
3
3
  import path from 'node:path';
4
- import glob from 'glob';
4
+ import { sync as globSync } from 'glob';
5
5
  import RequireLibrary from './RequireLibrary.js';
6
6
  export default class FileSystemPathService {
7
7
  #moduleRequireService = new RequireLibrary();
@@ -21,7 +21,7 @@ export default class FileSystemPathService {
21
21
  * @returns files matching the glob pattern
22
22
  */
23
23
  glob(pattern, rootDir) {
24
- const globResult = glob.sync(pattern, {
24
+ const globResult = globSync(pattern, {
25
25
  cwd: rootDir
26
26
  }) || [];
27
27
  const fileName = pattern.startsWith(path.sep) ? pattern : path.resolve(rootDir, pattern);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/config",
3
- "version": "8.8.4",
3
+ "version": "8.8.7",
4
4
  "description": "A helper utility to parse and validate WebdriverIO options",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-config",
@@ -30,12 +30,12 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@wdio/logger": "8.6.6",
33
- "@wdio/types": "8.8.4",
34
- "@wdio/utils": "8.8.4",
33
+ "@wdio/types": "8.8.7",
34
+ "@wdio/utils": "8.8.7",
35
35
  "decamelize": "^6.0.0",
36
36
  "deepmerge-ts": "^5.0.0",
37
- "glob": "^9.3.0",
38
- "import-meta-resolve": "^2.1.0",
37
+ "glob": "^10.2.2",
38
+ "import-meta-resolve": "^3.0.0",
39
39
  "read-pkg-up": "^9.1.0"
40
40
  },
41
41
  "publishConfig": {
@@ -45,5 +45,5 @@
45
45
  "minimatch": "^9.0.0",
46
46
  "tsconfig-paths": "^4.1.0"
47
47
  },
48
- "gitHead": "e88a296000de70344fbf19d0d63a54cb1a617427"
48
+ "gitHead": "c8f7c7298308b5d313d88a16fdd58f241fdeec52"
49
49
  }