Skip to content

Commit 938ac58

Browse files
authored
[VBLOCKS-4503] change: update server's dependencies (#857)
* chore: update firebase-admin to 13.2.0 * change: bump version 0.11.0 with Node.js version requirement update and dependency upgrades - Set minimum Node.js version to 20.x - Upgrade dependencies: - firebase-admin from ^11.2.1 to ^13.2.0 - firebase from ^9.9.0 to ^11.6.0 - twilio from ^3.63.1 to ^5.5.2 - @twilio/video-processors from ^3.0.0-beta.1 to ^3.0.0 * chore: update jest dependencies * fix: correct Swiper CSS import transformation in jest.transform.js and update package dependencies - Fixed a typo in the comment of jest.transform.js. - Updated the jest.transform.js to return an object in the process function. - Added jest-environment-jsdom as a dependency in package.json. - Updated various dependencies in package-lock.json, including jest and related packages. * chore: update dependencies for @twilio-labs/plugin-rtc and @types/node
1 parent 9299bbd commit 938ac58

File tree

15 files changed

+12711
-8490
lines changed

15 files changed

+12711
-8490
lines changed

CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## 0.11.0
2+
3+
### Changes
4+
5+
- Set minimum Node.js version to 20.x
6+
7+
### Dependency Upgrade
8+
9+
- `firebase-admin` has been upgraded from ^11.2.1 to ^13.2.0.
10+
- `firebase` has been upgraded from ^9.9.0 to ^11.6.0.
11+
- `twilio` has been upgraded from ^3.63.1 to ^5.5.2.
12+
- `@twilio/video-processors` has been upgraded from ^3.0.0-beta.1 to ^3.0.0.
13+
- `ts-jest` has been upgraded from ^27.0.1 to ^29.3.2.
14+
- Added `jest` to the devDependencies section.
15+
- Moved dependencies to the devDependencies section.
16+
117
## 0.10.6
218

319
### Changes

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ This application demonstrates a multi-party video application built with [Twilio
1818

1919
You must have the following installed:
2020

21-
- [Node.js v16+](https://nodejs.org/en/download/)
22-
- NPM v8+ (comes installed with newer Node versions)
21+
- [Node.js v20+](https://nodejs.org/en/download/)
22+
- NPM v10+ (comes installed with newer Node versions)
2323

2424
You can check which versions of Node.js and NPM you currently have installed with the following commands:
2525

@@ -224,7 +224,7 @@ Since the Twilio Video SDK manages the `room` object state, it can be used as th
224224

225225
[React hooks](https://reactjs.org/docs/hooks-intro.html) can be used to subscribe to events and trigger component re-renders. This application frequently uses the `useState` and `useEffect` hooks to subscribe to changes in room state. Here is a simple example:
226226

227-
```
227+
```javascript
228228
import { useEffect, useState } from 'react';
229229

230230
export default function useDominantSpeaker(room) {

jest.transform.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
const path = require("path")
22

3-
// Requried to fix Swiper CSS imports during jest executions, it transforms imports into filenames
3+
// Required to fix Swiper CSS imports during jest executions, it transforms imports into filenames
44
module.exports = {
5-
process: (_src, filename) => `module.exports = ${JSON.stringify(path.basename(filename))};`
5+
process: (_src, filename) => {
6+
return {
7+
code: `module.exports = ${JSON.stringify(path.basename(filename))};`
8+
};
9+
}
610
}

0 commit comments

Comments
 (0)