Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
sanity-plugin-latex-input
Advanced tools
Slider input for Sanity
git clone // this repo
npm install
npm run build
cd example/
npm install
sanity start
open http://localhost:3333
cd my-sanity-studio
sanity install unicorn-slider
mkdir parts
touch parts/inputResolver.js
Add this to parts/inputResolver.js
:
import Slider from 'part:@sanity/base/components/unicorn-slider'
export default function resolveInput(type) {
if (type.name === 'number' && type.options && type.options.range) {
return Slider
}
}
Add this to the parts
array in your sanity.json
file:
{
"implements": "part:@sanity/form-builder/input-resolver",
"path": "./parts/inputResolver.js"
}
Add this to one of your schema types:
{
name: 'unicornCount',
title: 'Number of Unicorns',
type: 'number',
description: 'Half unicorns are okay',
options: {
range: {min: 0, max: 10, step: 0.5}
}
}
FAQs
Latex input for Portable Text Editor in Sanity Studio V3.
The npm package sanity-plugin-latex-input receives a total of 567 weekly downloads. As such, sanity-plugin-latex-input popularity was classified as not popular.
We found that sanity-plugin-latex-input 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.