
Security News
npm Tooling Bug Incorrectly Marks One-Character Packages as Security Holders
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.
mirror-github.paniser.workers.dev/mozillazg/go-unidecode
Advanced tools
ASCII transliterations of Unicode text. Inspired by python-unidecode.
go get -u github.com/mozillazg/go-unidecode
Install CLI tool:
$ go get -u github.com/mozillazg/go-unidecode/unidecode
$ unidecode 北京kožušček
Bei Jing kozuscek
API documentation can be found here: https://godoc.org/github.com/mozillazg/go-unidecode
package main
import (
"fmt"
"github.com/mozillazg/go-unidecode"
)
func main() {
s := "abc"
fmt.Println(unidecode.Unidecode(s))
// Output: abc
s = "北京"
fmt.Println(unidecode.Unidecode(s))
// Output: Bei Jing
s = "kožušček"
fmt.Println(unidecode.Unidecode(s))
// Output: kozuscek
}
FAQs
Unknown package
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
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.