Skip to content

Bump dependencies#5529

Merged
compulim merged 23 commits intomainfrom
bump-deps
Aug 2, 2025
Merged

Bump dependencies#5529
compulim merged 23 commits intomainfrom
bump-deps

Conversation

@compulim
Copy link
Copy Markdown
Contributor

@compulim compulim commented Aug 1, 2025

Changelog Entry

Description

Bump dependencies.

Design

Specific Changes

  • npm run bump
  • Removed pinDependencies of Babel
    • Certain combination of Babel and Jest are causing OOM
  • Pinned to jest@29 because jest-image-snapshot@6.5.1 does not support jest@30 yet
  • Removed node-fetch as most Node.js engine supports fetch, also removed dependency to vulnerable dependencies
  • Updated test snapshots to meet jest@29
  • I have added tests and executed them locally
  • I have updated CHANGELOG.md
  • I have updated documentation

Review Checklist

This section is for contributors to review your work.

  • Accessibility reviewed (tab order, content readability, alt text, color contrast)
  • Browser and platform compatibilities reviewed
  • CSS styles reviewed (minimal rules, no z-index)
  • Documents reviewed (docs, samples, live demo)
  • Internationalization reviewed (strings, unit formatting)
  • package.json and package-lock.json reviewed
  • Security reviewed (no data URIs, check for nonce leak)
  • Tests reviewed (coverage, legitimacy)

@compulim compulim marked this pull request as ready for review August 2, 2025 01:28
OEvgeny
OEvgeny previously approved these changes Aug 2, 2025
@OEvgeny OEvgeny requested a review from Copilot August 2, 2025 06:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR bumps all dependencies to their latest versions, modernizing the build tools and security posture while removing vulnerable dependencies.

  • Updates production dependencies including Babel runtime, core-js, and cognitive services SDK
  • Updates development dependencies including Jest, ESLint, and build tools to latest versions
  • Removes node-fetch dependency in favor of native fetch API support

Reviewed Changes

Copilot reviewed 94 out of 104 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
package.json Updated root dev dependencies and removed Babel version pinning
tsup.base.config.ts Fixed regex patterns for ESBuild compatibility
Various package.json files Removed node-fetch dependencies and updated pinned versions
Test files Updated Jest snapshots to match new format
Source files Fixed TypeScript types and updated imports
Files not reviewed (7)
  • samples/01.getting-started/k.direct-line-token/javascript/web/package-lock.json: Language not supported
  • samples/07.advanced-web-chat-apps/a.upload-to-azure-storage/web/package-lock.json: Language not supported
  • samples/07.advanced-web-chat-apps/b.sso-for-enterprise/rest-api/package-lock.json: Language not supported
  • samples/07.advanced-web-chat-apps/c.sso-for-intranet/web/package-lock.json: Language not supported
  • samples/07.advanced-web-chat-apps/d.sso-for-teams/web/package-lock.json: Language not supported
  • samples/07.advanced-web-chat-apps/e.sso-on-behalf-of-authentication/rest-api/package-lock.json: Language not supported
  • samples/package-lock.json: Language not supported

@compulim compulim merged commit f026d55 into main Aug 2, 2025
28 checks passed
@compulim compulim deleted the bump-deps branch August 2, 2025 07:09
This was referenced Dec 19, 2025
@compulim compulim mentioned this pull request Mar 5, 2026
11 tasks
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.

3 participants