Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
@preply/ds-docs-context
Advanced tools
Readme
@preply/ds-docs-context
DS Providers for documentation pages.
Follow the instructions in @preply/ds-workspace.
The following components are used to wrap Storybook stories or MDX doc pages, injecting global styles, and the DS providers populated with available themes.
import { DocContextDSWeb } from '@preply/ds-docs-context';
<Meta
title="components/Avatar/Docs"
parameters={{
docs: { container: DocContextDSWeb },
}}
/>;
In pages where you want to render the RootProvider yourself, include DocContext
instead.
import { DocContext } from '@preply/ds-docs-context';
import { StoryContextDSWeb } from '@preply/ds-docs-context';
export default {
title: 'components/Avatar',
component: Avatar,
decorators: [story => <StoryContextDSWeb>{story()}</StoryContextDSWeb>],
// ...
};
export const Canvas: Story<Props> = params => <Component {...params} />;
Execute yarn dev
in @preply/ds-docs to launch the docs.
If you are iterating on these components, you might want to run yarn dev
and yarn docs
in the root (in separate terminals) as per instructions in @preply/ds-workspace.
Details about tools and configurations in @preply/ds-workspace.
@preply/ds-web-core
- Web support and context providers (React + CSS modules).@preply/ds-core
- Platform agnostic types, tokens and utils.@preply/ds-core-types
- Platform agnostic types.FAQs
> DS Providers for documentation pages.
We found that @preply/ds-docs-context demonstrated a healthy version release cadence and project activity because the last version was released less than 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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.