Skip to content

Commit cf3e590

Browse files
authored
Fix axios vulnerability (#523)
* Small ts improvements * Update dependencies
1 parent ead1e5c commit cf3e590

File tree

3 files changed

+68
-147
lines changed

3 files changed

+68
-147
lines changed

package-lock.json

Lines changed: 61 additions & 140 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,28 +46,28 @@
4646
"expect-playwright": "^0.2.6",
4747
"jest-circus": "^26.6.3",
4848
"jest-environment-node": "^26.6.2",
49-
"jest-process-manager": "^0.2.7",
49+
"jest-process-manager": "^0.2.9",
5050
"jest-runner": "^26.6.3",
5151
"nyc": "^15.1.0",
5252
"playwright-core": ">=1.2.0",
5353
"rimraf": "^3.0.2",
54-
"uuid": "^8.3.1"
54+
"uuid": "^8.3.2"
5555
},
5656
"devDependencies": {
5757
"@types/debug": "4.1.5",
5858
"@types/jest": "26.0.19",
5959
"@types/jest-dev-server": "4.2.0",
60-
"@types/node": "14.14.19",
60+
"@types/node": "14.14.20",
6161
"@types/rimraf": "^3.0.0",
6262
"@types/uuid": "^8.3.0",
63-
"@typescript-eslint/eslint-plugin": "4.11.1",
64-
"@typescript-eslint/parser": "4.11.1",
63+
"@typescript-eslint/eslint-plugin": "4.12.0",
64+
"@typescript-eslint/parser": "4.12.0",
6565
"coveralls": "3.1.0",
6666
"eslint": "7.17.0",
6767
"eslint-config-airbnb-base": "14.2.1",
6868
"eslint-config-prettier": "7.1.0",
6969
"eslint-plugin-import": "2.22.1",
70-
"eslint-plugin-prettier": "3.3.0",
70+
"eslint-plugin-prettier": "3.3.1",
7171
"husky": "4.3.6",
7272
"jest": "26.6.3",
7373
"lint-staged": "10.5.3",

src/PlaywrightEnvironment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const getBrowserPerProcess = async (
5151

5252
if (launchType === LAUNCH || launchType === PERSISTENT) {
5353
// https://github.com/mmarkelov/jest-playwright/issues/42#issuecomment-589170220
54-
if (browserType !== CHROMIUM && launchOptions && launchOptions.args) {
54+
if (browserType !== CHROMIUM && launchOptions?.args) {
5555
launchOptions.args = launchOptions.args.filter(
5656
(item: string) => item !== '--no-sandbox',
5757
)

0 commit comments

Comments
 (0)