
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@behold/svelte
Advanced tools
This package contains a Svelte version of the Behold embedded widget. It's a lightweight convenience wrapper around the core Behold widget web component, and allows easy integration into your Svelte projects.
Start by installing with your package manager of choice:
npm install @behold/svelte
// or
pnpm add @behold/svelte
// or
yarn add @behold/svelte
import BeholdWidget from "@behold/svelte"
Use it like you would any other Svelte component:
<BeholdWidget feedId="YOUR_FEED_ID" />
The Behold widget component accepts a single property: feedId
, which can be found by opening your feed in the Behold dashboard and clicking on "Embed Code".
All configuration and customization is handled in the Behold admin. When you make changes there it will automatically update your widget, no code modifications required. Because of browser caching, changes can take a minute or two to show up. Clearing your cache and incognito/private windows will help.
This component emits a load event after its initial render. It can be used as follows:
<BeholdWidget on:load={() => console.log("Loaded!")} feedId="YOUR_FEED_ID" />
Because these widgets are inherantly dynamic in nature, they are client-side only, and won't be pre-rendered by SSR or SSG. That means there will be a moment before they render that their height will be 0px. You can prevent layout shifts this may cause by applying dimensions to a container element with CSS.
FAQs
The official Behold Widget for Svelte
The npm package @behold/svelte receives a total of 14 weekly downloads. As such, @behold/svelte popularity was classified as not popular.
We found that @behold/svelte demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.