
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
Package zlog provides a minimal setup for log/slog with sensible defaults.
package main
import (
"flag"
"log/slog"
"zuern.dev/zlog"
)
func main() {
level := zlog.RegisterLevelFlag(flag.CommandLine)
flag.Parse()
zlog.Init(level)
slog.Info("service started", slog.String("version", "1.2.3"))
}
The handler format is selected in this order:
LOG_FORMAT=json or LOG_FORMAT=text if set.The pretty text handler in prettylog is derived from
dusted-go/logging's handlers/prettylog and is licensed under
Apache 2.0. See https://github.com/dusted-go/logging/tree/main/handlers/prettylog.
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.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.