Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@ne1410s/demo
Advanced tools
A custom element for demonstration purposes and to serve as a project template.
<ne14-demo-tooltip reveal="Hey!">
<p>Hello world</p>
</ne14-demo-tooltip>
<script src="PATH_TO_UMD_SCRIPT"></script>
<ne14-demo-tooltip corner="3" reveal="Definition here"
>YO' STUFF<ne14-demo-tooltip></ne14-demo-tooltip
></ne14-demo-tooltip>
const tooltip = document.querySelector('ne14-demo-tooltip');
tooltip.addEventListener('...', () => {
console.log('Event fired!');
});
set
corner (number): Sets the attribute with the corresponding valueset
reveal (string): Sets the attribute with the corresponding valueSome degree of custom styling can be provided, by way of css variables:
ne14-demo-tooltip {
--src-border: 1px solid green;
--reveal-trg-bg: rebeccapurple;
}
--src-border-radius
Source item border radius. Defaults to: 3px
--src-border
Source item border. Defaults to: 1px solid black
--src-bg
Source item background. Defaults to: inherit
--src-fg
Source item foreground. Defaults to: inherit
--trg-border-radius
Target item border radius. Defaults to: 3px
--reveal-src-border
Source item border (in reveal mode). Defaults to: --src-border
--reveal-src-bg
Source item background (in reveal mode). Defaults to: inherit
--reveal-src-fg
Source item foreground (in reveal mode). Defaults to: inherit
--reveal-trg-border
Target item border (in reveal mode). Defaults to: 1px solid black
--reveal-trg-bg
Target item background (in reveal mode). Defaults to: white
--reveal-trg-fg
Target item foreground (in reveal mode). Defaults to: inherit
FAQs
A custom element for demonstration purposes and to serve as a project template.
The npm package @ne1410s/demo receives a total of 0 weekly downloads. As such, @ne1410s/demo popularity was classified as not popular.
We found that @ne1410s/demo 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.