wdio-edgedriver-service
Advanced tools
Comparing version 3.0.0 to 3.0.1
import EdgeService from './service.js'; | ||
export default EdgeService; | ||
export declare const launcher: typeof EdgeService; | ||
export * from './types.js'; | ||
//# sourceMappingURL=index.d.ts.map |
import EdgeService from './service.js'; | ||
export default EdgeService; | ||
export const launcher = EdgeService; | ||
export * from './types.js'; |
@@ -13,3 +13,4 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { | ||
var _EdgedriverService_instances, _EdgedriverService_process, _EdgedriverService_options, _EdgedriverService_startDriver, _EdgedriverService_stopDriver, _EdgedriverService_mapCapabilities; | ||
import fs from 'fs-extra'; | ||
import path from 'node:path'; | ||
import fsp from 'node:fs/promises'; | ||
import getPort from 'get-port'; | ||
@@ -63,3 +64,3 @@ import logger from '@wdio/logger'; | ||
const logFile = getFilePath(__classPrivateFieldGet(this, _EdgedriverService_options, "f").outputDir, logfileName); | ||
await fs.ensureFile(logFile); | ||
await fsp.mkdir(path.dirname(logFile), { recursive: true }); | ||
__classPrivateFieldGet(this, _EdgedriverService_options, "f").edgedriverOptions.logPath = logFile; | ||
@@ -66,0 +67,0 @@ } |
{ | ||
"name": "wdio-edgedriver-service", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "WebdriverIO service to start & stop EdgeDriver", | ||
@@ -56,6 +56,3 @@ "author": "Rafal Skorka", | ||
"devDependencies": { | ||
"@types/fs-extra": "^11.0.1", | ||
"@types/node": "^20.1.7", | ||
"@types/split2": "^4.2.0", | ||
"@types/tcp-port-used": "^1.0.1", | ||
"@typescript-eslint/eslint-plugin": "^5.59.6", | ||
@@ -86,3 +83,2 @@ "@typescript-eslint/parser": "^5.59.6", | ||
"edgedriver": "^5.2.0", | ||
"fs-extra": "^11.1.1", | ||
"get-port": "^6.1.2", | ||
@@ -89,0 +85,0 @@ "split2": "^4.2.0", |
@@ -58,3 +58,3 @@ # WDIO EdgeDriver Service [![Tests](https://github.com/webdriverio-community/wdio-edgedriver-service/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/webdriverio-community/wdio-edgedriver-service/actions/workflows/test.yml) [![Audit](https://github.com/webdriverio-community/wdio-edgedriver-service/actions/workflows/audit.yml/badge.svg)](https://github.com/webdriverio-community/wdio-edgedriver-service/actions/workflows/audit.yml) | ||
Type: `string`<br /> | ||
Default: `wdio-geckodriver-service-<cid>.log` | ||
Default: `wdio-edgedriver-service-<cid>.log` | ||
@@ -61,0 +61,0 @@ ### `edgedriverOptions` |
Sorry, the diff of this file is not supported yet
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
17162
6
14
174
2
- Removedfs-extra@^11.1.1
- Removedfs-extra@11.3.0(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedjsonfile@6.1.0(transitive)
- Removeduniversalify@2.0.1(transitive)