
Security News
GitHub to Block pull_request_target Workflows by Default Starting December 2
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.
@eggjs/transaction-decorator
Advanced tools
事务注解
export class Foo {
@Transactional({ propagation: PropagationType.ALWAYS_NEW })
async bar() {
await this.foo();
}
@Transactional({ propagation: PropagationType.REQUIRED })
async foo(msg) {
console.log('has msg: ', msg);
}
}
export class Bar {
@Transactional({ dataSourceName: 'xx' })
async bar() {
await this.foo();
}
}
Foo.bar 始终会在一个独立的事务中执行,而 Foo.foo 会在 Foo.bar 的事务中执行
FAQs
tegg transaction decorator
The npm package @eggjs/transaction-decorator receives a total of 564 weekly downloads. As such, @eggjs/transaction-decorator popularity was classified as not popular.
We found that @eggjs/transaction-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
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.

Security News
/Application Security
A practical guide to securing GitHub Actions against supply chain attacks, covering malicious pull requests, credential theft, dependency risks, and release pipelines.

Security News
Composer 2.11 adds dependency cooldowns, joining package managers that delay new releases to reduce supply chain risks while allowing urgent security updates.