
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.
@dmn-arc-core-components/feature_global-amp-nav
Advanced tools
Core component for the amp-sidebar in a Fusion implementation.
When used in a Fusion Project, this Core Component can be used to render a
navigation bar that is compliant with amp, using the amp-sidebar
component.
The Story Card requires the following information as props:
children
returned from the Site Service content
source. import AMPNav from '@dmn-arc-core-components/feature_global-amp-nav'
<AMPNav {..yourProps}></AMPNav>
Take a look in the src
file to see a suggested implementation, in
index.mdx
Run npm i && npm run docz:dev
after cloning to see what is within.
Read the amp-sidebar
documentation
We are using Jest and XO for testing and linting.
We are using Husky to run a pre-push hook, preventing un-linted or code that fails tests from making it into the repo.
To test: npm test
To lint: npm run lint
- This will also fix any simple linter errors
automatically.
To push without testing or linting: git push --no-verify
- This can often
be helpful if you just need to push a branch for demonstration purposes or for
help.
FAQs
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.