New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@xata.io/kysely

Package Overview
Dependencies
Maintainers
3
Versions
1357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xata.io/kysely - npm Package Compare versions

Comparing version 0.0.0-alpha.v6904756 to 0.0.0-alpha.v6a3b796

39

CHANGELOG.md
# @xata.io/kysely
## 0.0.0-alpha.v6904756
## 0.0.0-alpha.v6a3b796

@@ -8,4 +8,39 @@ ### Patch Changes

- Updated dependencies []:
- @xata.io/client@0.0.0-alpha.v6904756
- @xata.io/client@0.0.0-alpha.v6a3b796
## 0.1.6
### Patch Changes
- Updated dependencies [[`3330c9cf`](https://github.com/xataio/client-ts/commit/3330c9cf8d8db18b8e355a576e4afd589b6152bf), [`a738816d`](https://github.com/xataio/client-ts/commit/a738816d355f4415b0622bb5a23b4154f9855177)]:
- @xata.io/client@0.26.6
## 0.1.5
### Patch Changes
- Updated dependencies [[`b9b9058f`](https://github.com/xataio/client-ts/commit/b9b9058f0bc81b660da45318c27191a62f041f21)]:
- @xata.io/client@0.26.5
## 0.1.4
### Patch Changes
- Updated dependencies [[`7166797c`](https://github.com/xataio/client-ts/commit/7166797c28839198d20a9115d0414cebc2fed39b), [`b85df75f`](https://github.com/xataio/client-ts/commit/b85df75f2f466762a8b3d9824c9292c7e3db03fd)]:
- @xata.io/client@0.26.4
## 0.1.3
### Patch Changes
- Updated dependencies [[`4910dce2`](https://github.com/xataio/client-ts/commit/4910dce29d3cc17d13aadf32e4eb476ffb571fad)]:
- @xata.io/client@0.26.3
## 0.1.2
### Patch Changes
- Updated dependencies [[`22fccb51`](https://github.com/xataio/client-ts/commit/22fccb51709749c319897702c15749b74ce4b820)]:
- @xata.io/client@0.26.2
## 0.1.1

@@ -12,0 +47,0 @@

4

package.json
{
"name": "@xata.io/kysely",
"version": "0.0.0-alpha.v6904756",
"version": "0.0.0-alpha.v6a3b796",
"description": "",

@@ -21,3 +21,3 @@ "main": "./dist/index.cjs",

"dependencies": {
"@xata.io/client": "0.0.0-alpha.v6904756"
"@xata.io/client": "0.0.0-alpha.v6a3b796"
},

@@ -24,0 +24,0 @@ "devDependencies": {

@@ -10,2 +10,5 @@ # @xata.io/kysely

```bash
# with bun
bun install kysely @xata.io/kysely @xata.io/client
# with pnpm

@@ -27,9 +30,14 @@ pnpm add kysely @xata.io/kysely @xata.io/client

import { Kysely } from 'kysely';
import { XataDialect } from '@xata.io/kysely';
import { XataDialect, Model } from '@xata.io/kysely';
import { DatabaseSchema, getXataClient } from './xata.ts';
const db = new Kysely<Database>({
xata // Your Xata client instance
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](https://xata.io/docs/getting-started/installation).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc