Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@preply/ds-core
Advanced tools
@preply/ds-core
Platform agnostic utils and generated types and constants.
Depends only on @preply/ds-core-types.
Important: When adding types and constants here, always check if @preply/ds-tools will need to use them.. in which case they should go directly in ds-core-types
.
Important: An new code added to ds-core
mut be absolutely platform agnostic. If it dependends on browser APIs or CSS it needs to go to @preply/ds-web-core. Likewise for native dependencies meaning it should go in @preply/ds-rn-core.
tl;dr:
import { RootProvider } from `@preply/ds-rn-root`;
import { Heading, Button } from `@preply/ds-rn-lib`;
export const App: FC = () => (
<RootProvider>
<Heading level="h1">Hello!</Heading>
<Button>Go!</Button>
</RootProvider>
);
Follow the instructions in @preply/ds-workspace.
Reach out to #design-system-public if you think you can help and keep an eye on DS Confluence for more docs, guides, work in progress, decisions, the works.
You probably want to execute yarn dev
and/or yarn docs
in the root, as per instructions in @preply/ds-workspace.
For quicker - and more focused - feedback, you can also directly use the scripts in this package directory, but make sure you have first executed yarn build
in root, or that you have the root yarn dev
script running in the background.
Details about tools and configurations in @preply/ds-workspace.
FAQs
Unknown package
The npm package @preply/ds-core receives a total of 667 weekly downloads. As such, @preply/ds-core popularity was classified as not popular.
We found that @preply/ds-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.