Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@vonage/vvd-context
Advanced tools
Vivid components are fully taking care of their styling. Yet there are also a simple native HTML elements, that should also comply with the Vivid Design System.
For this reason we are providing Vivid Context service, responsible of mounting the Vivid styling into a document.
The service is optional, but most likely will be needed in any Vonage application.
Attention!
vvd-context
uses internallyvvd-core
, which sets up the core services like theming and typography, thusvvd-context
user may safely omit any own setup of the core.
Attention! As an initial step, to provide smoother migration and lesser friction with an existing systems (especially those heavily dependent on Volta's legacy), we are scoping most of the Vivid context impact by special class: vivid-scope
.
Please, put vivid-scope
class at the root of the DOM tree, that is ready to be styled by Vivid.
Any new application should just safely put that class on the application DOM root (usually
body
).
mount(target)
Description:
Mounts Vivid context (styles) into the target scope / document. Default target is the document visible in the current scope. The API is idempotent, the style/s will be mounted only once, even if API called multiple times.
Params:
target
- Document
or DocumentFragment
(including ShadowRoot
); optional; defaults to document
Throws:
null
or not of a type Document
or DocumentFragment
import vvdContext from '@vonage/vvd-context';
vvdContext.mount();
const shadowRoot = someElement.shadowRoot;
vvdContext.mount(shadowRoot);
2.36.3 (2022-11-11)
Note: Version bump only for package @vivid/root
FAQs
> TODO: description
The npm package @vonage/vvd-context receives a total of 466 weekly downloads. As such, @vonage/vvd-context popularity was classified as not popular.
We found that @vonage/vvd-context 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.