
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@matsun/reactiscapslockactive
Advanced tools
A lightweight and easy to use React component that tracks whether or not Caps lock is active
ReactIsCapsLockActive is a lightweight and easy to use React component that tracks whether or not Caps lock is active. A typical usecase would be to inform a user who is typing their password if Caps lock is active. The state of Caps lock is provided to the consumer as an argument by function as a child. The argument is a boolean which will be true when Caps lock is active and false when Caps lock not active.
First, install the component
$ yarn add @matsun/reactiscapslockactive
Once done, using the component is as simple as this
import React from 'react'
import ReactIsCapsLockActive from '@matsun/reactiscapslockactive'
const MyApp = () => (
<div>
<h1>Active or inactive</h1>
<ReactIsCapsLockActive>
{active => <span>Caps lock is {active ? 'active' : 'inactive'}</span>}
</ReactIsCapsLockActive>
<div>
)
FAQs
A lightweight and easy to use React component that tracks whether or not Caps lock is active
We found that @matsun/reactiscapslockactive demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.