Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit 3ded32e

Browse files
authored
Package updates for security fixes (#35)
* updated codecov and eslint to safe versions * travis uses modern Node, fix lint issues that'd break build
1 parent 4edd5e6 commit 3ded32e

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
language: node_js
22
node_js:
3-
- v9
4-
- v8
5-
- v7
6-
- v6
3+
- v12
4+
- v14
5+
- v10
76

87
script:
98
- npm run lint

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
},
3535
"devDependencies": {
3636
"babel-eslint": "^7.1.1",
37-
"eslint": "^3.12.2",
37+
"eslint": "^4.18.2",
3838
"eslint-config-walmart": "^1.1.0",
3939
"eslint-plugin-filenames": "^1.1.0",
4040
"jest": "^22.4.3",
41-
"codecov": "^1.0.1"
41+
"codecov": "^3.6.5"
4242
},
4343
"jest": {
4444
"verbose": true,

src/executor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ const Executor = {
138138
additionalLog = logger.stringifyWarn(`Saucelabs replay can be found at https://saucelabs.com/tests/${sessionId}\n`);
139139
}
140140
const infoRequestOption = {
141-
url: `https://${process.env.SAUCE_API_HOST || 'saucelabs.com'}/rest/v1/users/${config.tunnel.username}`,
141+
url: `https://${process.env.SAUCE_API_HOST || "saucelabs.com"}/rest/v1/users/${config.tunnel.username}`,
142142
method: "GET",
143143
auth: {
144144
user: config.tunnel.username,
@@ -179,7 +179,7 @@ const Executor = {
179179
logger.debug(`Updating saucelabs ${requestPath}`);
180180

181181
const requestOptions = {
182-
url: `https://${process.env.SAUCE_API_HOST || 'saucelabs.com'}${requestPath}`,
182+
url: `https://${process.env.SAUCE_API_HOST || "saucelabs.com"}${requestPath}`,
183183
method: "PUT",
184184
auth: {
185185
user: config.tunnel.username,

0 commit comments

Comments
 (0)