
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
kysely-dialect-tauri
Advanced tools
kysely dialect for Tauri
, using official sql plugin
Currently only supports SQLite
pnpm add kysely kysely-dialect-tauri @tauri-apps/plugin-sql
import { appDataDir } from '@tauri-apps/api/path'
import Database from '@tauri-apps/plugin-sql'
import { Kysely } from 'kysely'
const kysely = new Kysely<DB>({
dialect: new TauriSqliteDialect({
database: prefix => Database.load(`${prefix}${await appDataDir()}test.db`)
}),
})
export interface TauriSqliteDialectConfig {
database: Promisable<TauriSqlDB> | ((prefix: 'sqlite:') => Promisable<TauriSqlDB>)
/**
* Called once when the first query is executed.
*
* This is a Kysely specific feature and does not come from the `better-sqlite3` module.
*/
onCreateConnection?: (connection: DatabaseConnection) => Promisable<void>
}
FAQs
Kysely Tauri dialect, using @tauri-apps/plugin-sql
The npm package kysely-dialect-tauri receives a total of 40 weekly downloads. As such, kysely-dialect-tauri popularity was classified as not popular.
We found that kysely-dialect-tauri 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
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.