
Security News
Rust 1.100 Will Add Dependency Cooldowns to Cargo
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.
@eggjs/orm-decorator
Advanced tools
@eggjs/orm-decoratornpm i --save @eggjs/orm-decorator
import { Model, Attribute } from '@eggjs/orm-decorator';
import leoric from 'leoric';
const { DataTypes, Bone } = leoric;
@Model()
export class App extends Bone {
@Attribute(DataTypes.STRING)
name: string;
@Attribute(DataTypes.STRING)
desc: string;
}
import { SingletonProto, Inject } from '@eggjs/tegg';
import { App } from './model/App';
@SingletonProto()
export class AppService {
@Inject()
App: typeof App;
async createApp(data: { name: string; desc: string }): Promise<App> {
const bone = await this.App.create(data as any);
return bone as App;
}
async findApp(name: string): Promise<App | null> {
const app = await this.App.findOne({ name });
return app as App;
}
}
FAQs
tegg orm decorator
The npm package @eggjs/orm-decorator receives a total of 0 weekly downloads. As such, @eggjs/orm-decorator popularity was classified as not popular.
We found that @eggjs/orm-decorator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 open source maintainers collaborating on the project.

Security News
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.