
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@prismicio/editor-ui
Advanced tools
asChild
prop, you must spread all unused props into that React Node, even if at the type level there doesn't seem to be any remaining props. This is because radix secretly set a lot of extra props on the React Node you gave it. For an example of this, see BaseInput's otherProps
.
We favor using asChild
to reduce the number of DOM nodes and make it easy to size children.src/icons
and rename it with the official Material name: https://fonts.google.com/icons but with a lower camel case name.deno task update-icons
(it does not matter where in the monorepo you run this from)In some cases a subset of functions are only used within editor-ui
and should not be available outside of the package.
By using TSDoc we can mark our these functions as private
, thereby showing intent. If you were to export this function from the package, there would greater sentiment to evaluate if that is indeed the desired outcome.
/**
* @private
* This is an internal component we will always use this within the context of a xyz component.
*/
FAQs
Unknown package
The npm package @prismicio/editor-ui receives a total of 439 weekly downloads. As such, @prismicio/editor-ui popularity was classified as not popular.
We found that @prismicio/editor-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 25 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.