
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@laerdal/analytics-react-components
Advanced tools
cd /path/to/your-app
yarn add @laerdal/analytics-react-components
or npm add @laerdal/analytics-react-components
import { <ComponentName> } from '@laerdal/analytics-react-components'
cd /path/to/your-app
yarn add @laerdal/analytics-react-components
or npm add @laerdal/analytics-react-components
cd /path/to/analytics-react-components
yarn link
cd /path/to/your-app
yarn link @laerdal/analytics-react-components
When you start your application, you might get an “Invalid Hook Call Warning”. This is because both component-library and your-app loads their own version of react and react dom. Make sure component-library uses the same version of react and react-dom as your-app uses:
cd /path/to/your-app/node_modules/react
yarn link
cd /path/to/your-app/node_modules/react-dom
yarn link
cd /path/to/analytics-react-components
yarn link react react-dom
yarn link
cd /path/to/your-app
yarn link @laerdal/analytics-react-components
We utilize github actions to automatically publish this library - please include the following words in branch names to influence the semantic version.
major: "BREAKING CHANGE" or "MAJOR"
minor: "feature"
patch: This is the default increment if the above words aren't included.
FAQs
Laerdal react component library for Analytics.
The npm package @laerdal/analytics-react-components receives a total of 36 weekly downloads. As such, @laerdal/analytics-react-components popularity was classified as not popular.
We found that @laerdal/analytics-react-components demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.