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.
@devtools-ds/diagnostic
Advanced tools
The `Diagnostic` component displays errors and warnings from code, similar to errors produced by tools like webpack. It can also be used to display errors produced by a [Language Server](https://code.visualstudio.com/api/language-extensions/language-serve
The Diagnostic
component displays errors and warnings from code, similar to errors produced by tools like webpack. It can also be used to display errors produced by a Language Server.
npm i @devtools-ds/diagnostic
# or with yarn
yarn add @devtools-ds/diagnostic
The Diagnostic
is a block of preformatted text that can be difficult for screen readers to read. Based on this, we followed the MDN suggestion to treat the component as a figure
.
There is an auto-generated caption describing the error in a screen-reader friendly way.
import { Diagnostic } from "@devtools-ds/diagnostic";
<Diagnostic message={message} lines={lines} severity={severity} />
import { DiagnosticSeverity } from "vscode-languageserver-types";
<Diagnostic
message={message}
lines={lines}
severity={transformLanguageServer(DiagnosticSeverity.Error)}
/>;
Thanks goes to these wonderful people (emoji key):
Shelby Cohen 💻 🎨 | Tyler Krupicka 💻 📖 🎨 🚇 💡 ⚠️ | Adam Dierkens 🎨 🤔 |
This project follows the all-contributors specification. Contributions of any kind welcome!
v1.2.0 (Fri Apr 22 2022)
:tada: This release contains work from a new contributor! :tada:
Thank you, Adrian de la Rosa (@mormubis), for all your work!
@devtools-ds/table
, @devtools-ds/storybook-theme-addon
, @devtools-ds/themes
FAQs
The `Diagnostic` component displays errors and warnings from code, similar to errors produced by tools like webpack. It can also be used to display errors produced by a [Language Server](https://code.visualstudio.com/api/language-extensions/language-serve
The npm package @devtools-ds/diagnostic receives a total of 9 weekly downloads. As such, @devtools-ds/diagnostic popularity was classified as not popular.
We found that @devtools-ds/diagnostic 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
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.