
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
git.sr.ht/~spc/go-log
log/slog
instead ⚠️Package log implements a simple level logging package that maintains API
compatibility with the standard library log
package. It extends the standard
library log.Logger
type with a Level
type that can be used to define output
verbosity. It adds additional methods that will be printed only if the logger
is configured at or below a given level. For example:
package main
import "git.sr.ht/~spc/go-log"
func main() {
log.SetLevel(log.LevelWarn)
log.Traceln("Messages at LevelTrace will not print if the Level is Warn")
log.Warnln("Messages at LevelTrace will print with the Level set to Warn")
}
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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.