
Security News
Rust RFC Proposes a Security Tab on crates.io for RustSec Advisories
Rustâs crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.
@forestadmin-experimental/plugin-define-enum
Advanced tools
The plugin allows you to create fields based on enums when your database stores technical values (0, 1, 2, 3).
The plugin allows you to create fields based on enums when your database stores technical values (0, 1, 2, 3).
import { createAgent } from '@forestadmin/agent';
import { Schema } from './typings';
import defineEnum from '@forestadmin-experimental/plugin-define-enum';
import type { DefineEnumOption } from '@forestadmin-experimental/plugin-define-enum';
const BandStatus = {
JustCreated: 0,
GrowingHigh: 50,
BrokenUp: 100,
} as const
await createAgent<Schema>(Options)
.addDataSource(DataSourceOptions)
.customizeCollection('users', usersCollection => {
.use<DefineEnumOption<Schema, 'users'>>(defineEnum, {
fieldName: 'bandStatus',
enumObject: BandStatus,
})
})
FAQs
The plugin allows you to create fields based on enums when your database stores technical values (0, 1, 2, 3).
We found that @forestadmin-experimental/plugin-define-enum demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.

Security News
Rustâs crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.

Security News
/Research
Socket found a Rust typosquat (finch-rust) that loads sha-rust to steal credentials, using impersonation and an unpinned dependency to auto-deliver updates.

Research
/Security Fundamentals
A pair of typosquatted Go packages posing as Googleâs UUID library quietly turn helper functions into encrypted exfiltration channels to a paste site, putting developer and CI data at risk.