Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes a wide range of changes to improve the functionality, usability, and maintainability of the codebase. The most important changes include adding new variables and functions to the
getAlerts
function, updating theinterface IResponse
for improved error handling, and making various updates to configuration files and widget scripts.Main interface changes:
dependencyReviewTask/index.ts
: Added new variables, created a newWebApi
instance, obtained system variables, and called thecheckAlertsForType
function based on the values ofscanForDependencyAlerts
andscanForCodeScanningAlerts
. Updated theinterface IResponse
to include an additional parameteralertType
. [1] [2]widgets/library.js
: Made various changes to improve code readability, maintainability, and debugging. [1] [2] [3] [4] [5] [6] [7] [8] [9]Configuration improvements:
vss-extension.json
: Made several changes to thevss-extension.json
file, including adding a new widget configuration and task, updating URIs for existing widgets, and modifying properties to align with expected formats. [1] [2] [3] [4] [5] [6]dependencyReviewTask/task.json
: Updated the name, description, and help markdown to reflect a change in focus.vss-extension-dev.json
: Made updates to thevss-extension-dev.json
file, including reformatting properties, updating the version number, modifying thesupportedScopes
property, and adding additional paths for extension files. [1] [2] [3] [4] [5] [6]Testing improvements:
widgets/widgets/widget_1x1/widget_1x1.js
: Made changes to load alerts for all repositories in the project ifdata.repo
is not provided, update the function signature and call, and add logging statements. [1] [2] [3]Documentation updates:
overview.md
: Added information about a new pipeline task called "Advanced-Security-Review".Build and script updates:
make.ps1
: Updated the build script to accept the "publish" command, use the correct variable to create the extension, and add support for building both the dev and prod versions. [1] [2] [3]Other changes:
widgets/widgets/widget_2x1/widget_2x1.html
: Removed the unused import of "VSS/Authentication/Services".widgets/widgets/widget_1x1/configuration_1x1.html
: Made changes to handle undefined properties, use optional chaining, and improve code reuse. [1] [2] [3]widgets/widgets/widget_1x1/widget_1x1.html
: Made changes to add logging statements and update the function signature and calls. [1] [2]z-status.txt
: Added text to indicate changes made in branch..github/workflows/handle-versioning-accross-branches.yml
: Added a workflow file to handle versioning across branches.- PR-task: support multiple AlertTypes to check