-
Notifications
You must be signed in to change notification settings - Fork 138
Port changes from commit bbc5570 - Update vulnerable dependencies and modernize deprecated API usage #513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+1,568
−1,010
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nize URL parsing Co-authored-by: tarunramsinghani <[email protected]>
Co-authored-by: tarunramsinghani <[email protected]>
Copilot finished work on behalf of
tarunramsinghani
October 3, 2025 07:43
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@copilot update the patch version in the package.json |
Co-authored-by: tarunramsinghani <[email protected]>
Copilot finished work on behalf of
tarunramsinghani
October 3, 2025 07:55
- Revert mocha from 11.7.3 to 10.2.0 for better Node.js compatibility - Revert rimraf from 6.0.1 to 2.6.1 to maintain backward compatibility - Update Node.js engine requirement to >=16.0.0 for modern API support - Improve error handling in server integration tests - All tests passing with updated dependency versions
tarunramsinghani
approved these changes
Oct 3, 2025
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
sanjuyadav24
approved these changes
Oct 3, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 PR ports changes from commit bbc5570070f792568d97eedcf5d1b6e0502cad21 which updates vulnerable dependencies and modernizes deprecated Node.js API usage.
🔒 Security & Dependency Updates
Updated the following packages to address security vulnerabilities and improve compatibility:
Also removed unnecessary type definition packages (
@types/glob
,@types/uuid
) as they are now included in their respective packages.🔄 Code Modernization
UUID Import Modernization
Updated from deprecated CommonJS-style uuid usage to modern ES6 imports:
URL Parsing Modernization
Replaced deprecated Node.js
url.parse()
with the modernURL
constructor API:Added error handling to maintain backward compatibility with invalid URLs that the old
url.parse()
would accept.Glob API Update
Updated from callback-based glob API to promise-based API:
TypeScript Configuration
Updated TypeScript compilation target from ES2018 to ES2019 to support newer JavaScript features.
✅ Validation
📝 Additional Changes
package.json
scripts section (standardized to 4-space indentation)package-lock.json
with all transitive dependency updatesFiles modified: 8 files (package.json, package-lock.json, tsconfig.json, app/exec/build/tasks/create.ts, app/exec/extension/_lib/merger.ts, app/lib/connection.ts, tests/mock-server/utils/RequestParser.ts, tests/build-server-integration-tests.ts)
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.