Skip to content

Commit

Permalink
fix(@schematics/angular): address vulnerability in protractor
Browse files Browse the repository at this point in the history
potractor <7 contains a low severity vulnerability due to one of its dependencies (yargs-parser)

See: https://npmjs.com/advisories/1500

Fixes #17642
  • Loading branch information
alan-agius4 authored and filipesilva committed May 15, 2020
1 parent b2fd78e commit 56bba34
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions packages/schematics/angular/migrations/migration-collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@
"factory": "./update-10/rename-browserslist-config",
"description": "Update Browserslist configurations to '.browserslistrc'."
},
"update-workspace-dependencies": {
"version": "10.0.0-beta.1",
"factory": "./update-10/update-dependencies",
"description": "Workspace dependencies updates."
},
"remove-es5-browser-support-option": {
"version": "10.0.0-beta.2",
"factory": "./update-10/remove-es5-browser-support",
Expand All @@ -94,6 +89,11 @@
"version": "10.0.0-beta.3",
"factory": "./update-10/update-module-and-target-compiler-options",
"description": "Update 'module' and 'target' TypeScript compiler options."
},
"update-workspace-dependencies": {
"version": "10.0.0-beta.6",
"factory": "./update-10/update-dependencies",
"description": "Workspace dependencies updates."
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function (): Rule {
return (host, context) => {
const dependenciesToUpdate: Record<string, string> = {
'karma': '~5.0.0',
'protractor': '~5.4.4',
'protractor': '~7.0.0',
'ng-packagr': latestVersions.ngPackagr,
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~3.1.1",
"karma-jasmine-html-reporter": "^1.4.2",
"protractor": "~5.4.3",<% } %>
"protractor": "~7.0.0",<% } %>
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "<%= latestVersions.TypeScript %>"
Expand Down

0 comments on commit 56bba34

Please sign in to comment.