Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@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.1.0 (Thu May 06 2021)
@devtools-ds/navigation
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
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.