Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@glints/video-rooms-client
Advanced tools
This project is a fork of https://github.com/twilio/twilio-video-app-react. We converted their stand-alone app into a component that can be used in our front-end projects. A majority of the code-base is still the same as in the parent project, so if anyth
This project is a fork of https://github.com/twilio/twilio-video-app-react. We converted their stand-alone app into a component that can be used in our front-end projects. A majority of the code-base is still the same as in the parent project, so if anything is unclear here, you can check their repo too.
Don't run this server-side or you will get errors! Provide a token for joining the room as a Promise through the getToken
prop as shown below.
import VideoClient from 'glints-video-rooms-client';
const VideoClient = dynamic(() => import('glints-video-rooms-client'), { ssr: false });
// ...
<TwilioVideoClient getToken={Promise.resolve({token})} />
To test the VideoClient component inside our front-end projects, you can use yalc to publish this package to a mock local package registry. This should work even if there is another version of @glints/video-rooms-client
already installed.
yarn build
npx yalc publish // only fist time
npx yalc push // subsequently
// in other project
npx yalc add @glints/video-rooms-client // don't use LINK
yarn
To remove, run npx yalc remove --all
.
For active development, it might be easier to run this as a stand-alone project. To do this, create a file .env
based on the .env.example
file and paste your Twilio credentials there. Then run yarn start
to run a token-server based on your Twilio credentials, and the Video Client in standalone mode. A browser tab should open at localhost:3000
.
Bump the version with npm version patch
(or minor
/major
). Run npm run build
. Then you can npm publish
. Please only do this on the master
branch, after checking for changes upstream with git pull
, otherwise two people might end up trying to publish the same version.
FAQs
This project is a fork of https://github.com/twilio/twilio-video-app-react. We converted their stand-alone app into a component that can be used in our front-end projects. A majority of the code-base is still the same as in the parent project, so if anyth
The npm package @glints/video-rooms-client receives a total of 28 weekly downloads. As such, @glints/video-rooms-client popularity was classified as not popular.
We found that @glints/video-rooms-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.