Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@xata.io/kysely
Advanced tools
A [Kysely](https://github.com/kysely-org/kysely) dialect for [Xata](https://xata.io), using the [Xata serverless driver for TypeScript](https://github.com/xataio/client-ts).
A Kysely dialect for Xata, using the Xata serverless driver for TypeScript.
You should install both kysely
and @xata.io/kysely
with @xata.io/client
. You can install them with your favorite package manager:
# with bun
bun install kysely @xata.io/kysely @xata.io/client
# with pnpm
pnpm add kysely @xata.io/kysely @xata.io/client
# with yarn
yarn add kysely @xata.io/kysely @xata.io/client
# with npm
npm install kysely @xata.io/kysely @xata.io/client
You can pass a new instance of XataDialect
as the dialect
option when creating a new Kysely
instance:
import { Kysely } from 'kysely';
import { XataDialect, Model } from '@xata.io/kysely';
import { DatabaseSchema, getXataClient } from './xata.ts';
const xata = getXataClient();
const db = new Kysely<Model<DatabaseSchema>>({
dialect: new XataDialect({ xata })
});
const drivers = await db.selectFrom('users').select(['name', 'email']).execute();
XataDialect
accepts your Xata client instance as its only option. You can find more information about creating a Xata client instance in our getting started guide.
FAQs
A [Kysely](https://github.com/kysely-org/kysely) dialect for [Xata](https://xata.io), using the [Xata serverless driver for TypeScript](https://github.com/xataio/client-ts).
The npm package @xata.io/kysely receives a total of 719 weekly downloads. As such, @xata.io/kysely popularity was classified as not popular.
We found that @xata.io/kysely demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.