Skip to content

Bump dependencies - #5529

Merged
William Wong (compulim) merged 23 commits into
mainfrom
bump-deps
Aug 2, 2025
Merged

Bump dependencies#5529
William Wong (compulim) merged 23 commits into
mainfrom
bump-deps

Conversation

@compulim

@compulim William Wong (compulim) commented Aug 1, 2025

Copy link
Copy Markdown
Collaborator

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)

Comment thread packages/bundle/src/codeHighlighter/shiki.ts
Comment thread packages/component/src/Activity/Speak.tsx Outdated
Comment thread packages/component/src/BasicTranscript.tsx

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread packages/component/src/Utils/FocusRedirector.tsx
Comment thread packages/component/src/Styles/StyleSet/TypingAnimation.ts
Comment thread packages/component/src/Styles/StyleSet/SpinnerAnimation.ts
Comment thread packages/component/src/Icon/ComponentIcon.module.css
Comment thread packages/test/dev-server/src/index.js
@compulim
William Wong (compulim) merged commit f026d55 into main Aug 2, 2025
28 checks passed
@compulim
William Wong (compulim) deleted the bump-deps branch August 2, 2025 07:09
This was referenced Dec 19, 2025
@compulim William Wong (compulim) mentioned this pull request Mar 5, 2026
11 tasks
@compulim William Wong (compulim) mentioned this pull request Apr 22, 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