
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@flowblade/core
Advanced tools
Internal contracts and utilities for flowblade adapters. You generally don't have to install this package separately.
yarn add @flowblade/core
This is specialized Result object for database interactions
const successResult = new QResult({
data: [{ name: "Seb" }],
meta: new QMeta({
spans: {
type: "sql",
timeMs: 13,
sql: "SELECT name FROM users",
affectedRows: 1,
params: [],
},
}),
});
// 👇 You can dereference, data, meta and error
const { data, meta, error } = result;
if (data) {
// typed in this case to { name: string}[]
console.log(data); // [{ name: 'Seb' }]
}
if (error) {
// typed in this case to QError
console.error(error); // QError object
}
const failureResult = new QResult<SuccessPayload, QError>({
error: {
message: "Error message",
},
});
failureResult.isError(); // 👈 true
failureResult.error; // 👈 QError
failureResult.data; // 👈 undefined
result.map((row) => {
return { ...row, name: row.name.toUpperCase() };
});
result.getOrThrow(); // 👈 throw Error('Error message')
// 👇 Customize the error and throws
result.getOrThrow((qErr) => {
return new HttpServiceUnavailable({
cause: new Error(qErr.message),
});
});
Bundle size is tracked by a size-limit configuration
| Scenario (esm) | Size (compressed) |
|---|---|
import * from '@flowblade/core | ~ 2.04kB |
import { QResult } from '@flowblade/core | ~ 1.63kB |
| Level | CI | Description |
|---|---|---|
| Node | ✅ | CI for v20.x -> v25.x. |
| Browser | ✅ | Tested with latest chrome (vitest/playwright) |
| Browserslist | ✅ | > 95% on 01/2025. Chrome 96+, Firefox 90+, Edge 19+, ios 15+, Safari 15+ and Opera 77+ |
| Edge | ✅ | Ensured on CI with @vercel/edge-runtime. |
| Cloudflare | ✅ | Ensured with @cloudflare/vitest-pool-workers (see wrangler.toml |
| Typescript | ✅ | TS 5.0 + / are-the-type-wrong checks on CI. |
| ES2022 | ✅ | Dist files checked with es-check |
| Performance | ✅ | Monitored with codspeed.io |
Contributions are welcome. Have a look to the CONTRIBUTING document.
Sponsor, coffee, or star – All is spent for quality time with loved ones. Thanks ! 🙏❤️
|
| JetBrains |
MIT © Sébastien Vanvelthem and contributors.
FAQs
Core contracts, interfaces and utilities
We found that @flowblade/core demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.