@fedify/sqlite 2.5.0-dev.2448 → 2.5.0-dev.2494

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +7 -7
  2. package/deno.json +1 -1
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -17,7 +17,7 @@ This package provides a SQLite-based [`KvStore`] implementation for [Fedify].
17
17
  Usage
18
18
  -----
19
19
 
20
- ### Deno
20
+ ### Node.js
21
21
 
22
22
  ~~~~ typescript
23
23
  import { DatabaseSync } from 'node:sqlite';
@@ -27,22 +27,22 @@ const db = new DatabaseSync('./data.db');
27
27
  const store = new SqliteKvStore(db);
28
28
  ~~~~
29
29
 
30
- ### Node.js
30
+ ### Bun
31
31
 
32
32
  ~~~~ typescript
33
- import { DatabaseSync } from 'node:sqlite';
33
+ import { Database } from 'bun:sqlite';
34
34
  import { SqliteKvStore } from '@fedify/sqlite';
35
35
 
36
- const db = new DatabaseSync('./data.db');
36
+ const db = new Database('./data.db');
37
37
  const store = new SqliteKvStore(db);
38
38
  ~~~~
39
39
 
40
- ### Bun
40
+ ### Deno
41
41
 
42
42
  ~~~~ typescript
43
- import { Database } from 'bun:sqlite';
43
+ import { DatabaseSync } from 'node:sqlite';
44
44
  import { SqliteKvStore } from '@fedify/sqlite';
45
45
 
46
- const db = new Database('./data.db');
46
+ const db = new DatabaseSync('./data.db');
47
47
  const store = new SqliteKvStore(db);
48
48
  ~~~~
package/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/sqlite",
3
- "version": "2.5.0-dev.2448+756933d0",
3
+ "version": "2.5.0-dev.2494+f2e9b5d3",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./src/mod.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/sqlite",
3
- "version": "2.5.0-dev.2448+756933d0",
3
+ "version": "2.5.0-dev.2494+f2e9b5d3",
4
4
  "description": "SQLite drivers for Fedify",
5
5
  "keywords": [
6
6
  "fedify",
@@ -69,15 +69,15 @@
69
69
  "temporal-polyfill": "^1.0.1"
70
70
  },
71
71
  "peerDependencies": {
72
- "@fedify/fedify": "^2.5.0-dev.2448+756933d0"
72
+ "@fedify/fedify": "^2.5.0-dev.2494+f2e9b5d3"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@js-temporal/polyfill": "^0.5.1",
76
76
  "@std/async": "npm:@jsr/std__async@^1.0.13",
77
77
  "tsdown": "^0.22.0",
78
78
  "typescript": "^6.0.0",
79
- "@fedify/fixture": "^2.0.0",
80
- "@fedify/testing": "^2.5.0-dev.2448+756933d0"
79
+ "@fedify/testing": "^2.5.0-dev.2494+f2e9b5d3",
80
+ "@fedify/fixture": "^2.0.0"
81
81
  },
82
82
  "scripts": {
83
83
  "build:self": "tsdown",