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.
@six-socks-studio/sanity-plugin-intl-input
Advanced tools
[![npm version](https://img.shields.io/npm/v/@six-socks-studio/sanity-plugin-intl-input.svg?style=flat)](https://www.npmjs.com/package/@six-socks-studio/sanity-plugin-intl-input)
The ID structure for translated documents has changed. Your queries against Sanity will continue to work until you use the maintenance tab (new in V5) to update the ID structure.
The change was made to improve the querying structure and to make better use of GROQ. The new structure looks as follows i18n.{baselanguage-document-id}.{language}
. This means you could query all translations for a document as follows *[_id in path("i18n.{baselanguage-document-id}.*")]
. This vastly improves the querying experience.
When you want to create translations in Sanity they suggest following approach.
This definitely works, but makes the UI very clunky as you get more fields that require translations.
With the intl plugin you will get a cleaner UI for creating translatable documents as the translation is managed across multiple fields and it is even possible to manage document wide translations.
Simple translated object field | Document wide translation |
---|---|
FAQs
[![npm version](https://img.shields.io/npm/v/@six-socks-studio/sanity-plugin-intl-input.svg?style=flat)](https://www.npmjs.com/package/@six-socks-studio/sanity-plugin-intl-input)
We found that @six-socks-studio/sanity-plugin-intl-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.