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.
@loomhq/loom-embed
Advanced tools
npm install @loomhq/loom-embed
<script type="module"> import * as loom from "https://www.unpkg.com/@loomhq/loom-embed@1.2.4/dist/esm/index.js?module"; </script>
See documentation for installation and usage.
import * as loom from '@loomhq/loom-embed';
Replaces any loom links at the nodes matching the selector with the embedded video. Replacement occurs on the entire document, or on the optional target DOM element.
Takes a string and replaces any Loom URLs with the embed html
-> returns a promise
oembed metadata from the given video url
-> returns a promise
The embed code is responsive by default. Only set the width/height values if you require your embed code to be a fixed size
width
- [Number] value specifying the max pixel width
height
- [Number] value specifying the max pixel height
FAQs
SDK for easily embedding videos
The npm package @loomhq/loom-embed receives a total of 17,306 weekly downloads. As such, @loomhq/loom-embed popularity was classified as popular.
We found that @loomhq/loom-embed demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 80 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.