
Security News
Packagist Urges Immediate Composer Update After GitHub Actions Token Leak
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.
@fastify-userland/typeorm-query-runner
Advanced tools
A plugin for Fastify that adds support for typrorm QueryRunner and Transaction.
Supports Fastify versions 4.x.
Support TypeScript
# npm
npm i @fastify-userland/typeorm-query-runner
# pnpm
pnpm add @fastify-userland/typeorm-query-runner
# yarn
yarn add @fastify-userland/typeorm-query-runner
const fastify = require('fastify')()
fastify.register(require('@fastify-userland/typeorm-query-runner'), {
dataSource: dataSource,
transaction: true,
match: request => request.routerPath.startsWith('/v2'),
respIsError: (respStr) => respStr === '{"status":false}'
})
fastify.get('/', async (req, reply) => {
console.log(req.queryRunner)
console.log(req.queryRunner.manager)
await req.queryRunner.manager.insert();
reply.send({ hello: 'world' })
})
fastify.listen(3000)
dataSource(Required): TypeORM dataSource
transaction(Optional): Whether to bind the life cycle of a thing to a request. - default: false
match(Optional): Only matching requests will enable the plugin. - default: () => true
match: request => {
return request.routerPath.startsWith('/v2')
}
respIsError(Optional): When the response matches the condition, it is considered an error - default: () => falserespIsError: (respStr) => {
return respStr === '{"status":false}'
}
Licensed under MIT.
FAQs
Fastify typeorm QueryRunner
We found that @fastify-userland/typeorm-query-runner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.

Research
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.