
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
@fenderdigital/react-session-activity
Advanced tools
It monitors a user's session. The session ends if no activity occurs between the create and expire dates. The session expire increases, if any user activity is detected.
yarn add @fenderdigital/react-session-activity --save
import SessionActivity from '@fenderdigital/react-session-activity';
activity - stores user activity in an object to update the session withcreatedAt - time session startschildren - renders any child elementsduration - session duration in secondsexpiresAt - time session expireslengthOfSession - the length of a session in minsonExpired - callback for when the session expires, with current stateonPlaying - callback for when the session is running, with current stateonStart - callback for when the session is running, with current stateonUpdate - callback for when the session updates, with current statesessionId - uuid for a given sessiontimezone - users timezoneupdatedAt - time session was updated| propName | propType | defaultValue | isRequired |
|---|---|---|---|
| activity | object | null | - |
| createdAt | string | none | - |
| children | node | none | - |
| duration | number | none | - |
| expiresAt | string | none | - |
| lengthOfSession | number | 30 | - |
| onExpired | func | () => {} | - |
| onPlaying | func | () => {} | - |
| onStart | func | () => {} | - |
| onUpdate | func | () => {} | - |
| sessionId | string | none | - |
| timezone | string | none | - |
| updatedAt | string | none | - |
Check the Monorepo README for development documentation.
FAQs
Fender React UI Kit SessionActivity Component
We found that @fenderdigital/react-session-activity demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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.

Security News
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.