
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.
@pencroff/typeorm-better-sqlite3
Advanced tools
Performant better-sqlite3 driver for Typeorm.
It's 10x or even 18x faster for some cases - link
import { Connection, createConnection } from 'typeorm';
import { OrmService } from '@pencroff/typeorm-better-sqlite3';
async function run() {
const orm = new OrmService();
const con = await createConnection();
await orm.useConnection(con);
const repo = orm.getRepo(SomeModel);
const result: SomeModel[] = await repo.find({
where: {
fieldA: 'abd',
fieldB: 123,
},
})
}
for more details please check example folder
It requires building tools and Python 2 (should be >=2.6.0 <3.0.0).
Python 2 can be used from folder "C:\Python27\python.exe" (Not required to be in PATH)
Actually just run as Administrator (if you have any issue with compiling better-sqlite3):
npm install --global --production windows-build-tools
More details here.
Make sure to have sqlite3 package in your dev dependency. It requires for migrations.
createConnection before OrmService. Like below:import { createConnection } from 'typeorm';
import { OrmService } from '@pencroff/typeorm-better-sqlite3';
FAQs
better-sqlite3 driver for typeorm
We found that @pencroff/typeorm-better-sqlite3 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
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.