Skip to content

chore(webrtc-example): update deps and tsconfig for Next 16#22

Open
Nisarg48 wants to merge 2 commits into
masterfrom
fix-package-vulnerabilities
Open

chore(webrtc-example): update deps and tsconfig for Next 16#22
Nisarg48 wants to merge 2 commits into
masterfrom
fix-package-vulnerabilities

Conversation

@Nisarg48

@Nisarg48 Nisarg48 commented May 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update WebRTC example dependencies for Next.js 16 (next@^16.2.5)
  • Add npm overrides for transitive packages (axios, follow-redirects, postcss, js-yaml, picomatch)
  • Modernize tsconfig.json (target: ES2017, moduleResolution: bundler)
  • Refresh package-lock.json so installs are reproducible and audit-clean

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Routine dependency maintenance for the WebRTC example app, modernizing TypeScript configuration to align with Next.js 16/TypeScript 6+, bumping Next.js to 16.2.5, and adding overrides for known transitive vulnerabilities (axios, follow-redirects, postcss). README also gets minor markdown formatting cleanup.

Changes:

  • Update tsconfig.json to target: es2017 and moduleResolution: bundler.
  • Bump next to ^16.2.5 and add axios, follow-redirects, postcss to npm overrides.
  • Reformat README spacing/list indentation (no functional content changes).

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
examples/webrtc-client-example/tsconfig.json Modernize TS compiler target and module resolution for Next 16.
examples/webrtc-client-example/package.json Bump Next.js and add overrides for vulnerable transitive deps.
examples/webrtc-client-example/package-lock.json Regenerated lockfile reflecting dependency bumps and overrides.
examples/webrtc-client-example/README.md Markdown formatting/spacing cleanup.
Files not reviewed (1)
  • examples/webrtc-client-example/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.

Comment on lines 7 to +9
Squawk is a realtime broadcast service from Benzinga which includes important headlines, price movement, and rumors as stories develop to give traders and investors news in the fastest and most convenient form. This repo icludes sample applications, which aims to elaborate how you can connect to Squawk.

This particular demo contains WebRTC demo using Squawk WebRTC SDK.
This particular demo contains WebRTC demo using Squawk WebRTC SDK.
- `npm ci`
- Run the demo
- `npm run dev`
- Access the demo page from your browser ( Chrome recommended )
Comment on lines 6366 to 6370
"node_modules/jest-environment-jsdom": {
"version": "30.3.0",
"resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-30.3.0.tgz",
"integrity": "sha512-RLEOJy6ip1lpw0yqJ8tB3i88FC7VBz7i00Zvl2qF71IdxjS98gC9/0SPWYIBVXHm5hgCYK0PAlSlnHGGy9RoMg==",
"version": "30.4.1",
"resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-30.4.1.tgz",
"integrity": "sha512-o3nfaN4zej7qgk2X0j8Jhq/S9nAVKs2xK3QeQxeHVvpkEPxaA1yxDGydR+iVI7zPy7Cp62Aq2h3Ja46QvfWHGA==",
"dev": true,
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