Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Aug 12, 2025

This PR upgrades three key development dependencies to their latest compatible versions:

  • TypeScript: ^5.1.3^5.9.2
  • @types/node: 18.19.x^22.17.0
  • webpack: ^5.95.0^5.101.1

Changes Made

Dependency Updates

  • Updated TypeScript to leverage the latest language features and improved type checking
  • Upgraded Node.js types to match current LTS versions
  • Updated webpack to the latest stable release for improved bundling performance

Type Compatibility Fixes

Several typing issues were resolved to maintain compatibility with the stricter TypeScript 5.9.2:

  1. Proxy Agent Types: Fixed type compatibility for HTTP/HTTPS proxy agents in cloudConsoleLauncher.ts by using proper type assertions
  2. Buffer Handling: Updated Buffer.from() usage in TagFileSystem.ts to properly handle Uint8Array with explicit buffer parameters
  3. Vinyl Types: Upgraded @types/vinyl to v2.0.12 and @types/gulp to v4.0.17 to resolve interface inheritance issues
  4. Regex Compatibility: Fixed ES2018+ regex flag usage in gulpfile.ts by replacing the s flag with [\s\S] pattern

Verification

All builds and linting pass successfully:

  • ✅ TypeScript compilation (npm run build)
  • ✅ ESLint validation (npm run lint)
  • ✅ Webpack development build (npm run webpack)
  • ✅ Webpack production build (npm run webpack-prod)

The main.js entry point remains clean with no build artifacts, and skipLibCheck stays disabled in tsconfig.json as required.

Breaking Changes

None. All changes are backward compatible and maintain existing functionality while providing improved type safety and build performance.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

…5.101.1 and fix typing issues

Co-authored-by: nturinski <[email protected]>
Copilot AI changed the title [WIP] Upgrade TypeScript to ^5.9.2, Node types to ^22.17.0, and webpack dependencies Upgrade TypeScript to 5.9.2, @types/node to 22.17.0, and webpack to 5.101.1 Aug 12, 2025
Copilot AI requested a review from nturinski August 12, 2025 19:45
Copilot finished work on behalf of nturinski August 12, 2025 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants