@fedify/sqlite 1.8.1-pr.347.1259 → 1.8.1-pr.348.1272
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.
- package/deno.json +9 -8
- package/dist/adapter.d.ts +1 -1
- package/dist/kv.d.ts +1 -1
- package/dist/kv.js +1 -1
- package/dist/node_modules/.pnpm/@js-temporal_polyfill@0.5.1/node_modules/@js-temporal/polyfill/dist/index.esm.js +1 -1
- package/dist/node_modules/.pnpm/jsbi@4.3.2/node_modules/jsbi/dist/jsbi-cjs.js +2 -2
- package/dist/sqlite.bun.d.ts +1 -1
- package/dist/sqlite.bun.js +1 -1
- package/dist/sqlite.node.d.ts +1 -1
- package/dist/sqlite.node.js +1 -1
- package/package.json +6 -6
- package/tsdown.config.ts +1 -1
- /package/{adapter.ts → src/adapter.ts} +0 -0
- /package/{kv.test.ts → src/kv.test.ts} +0 -0
- /package/{kv.ts → src/kv.ts} +0 -0
- /package/{mod.ts → src/mod.ts} +0 -0
- /package/{sqlite.bun.ts → src/sqlite.bun.ts} +0 -0
- /package/{sqlite.node.ts → src/sqlite.node.ts} +0 -0
package/deno.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/sqlite",
|
|
3
|
-
"version": "1.8.1-pr.
|
|
3
|
+
"version": "1.8.1-pr.348.1272+5cbba5b2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
|
-
".": "./mod.ts",
|
|
7
|
-
"./kv": "./kv.ts"
|
|
6
|
+
".": "./src/mod.ts",
|
|
7
|
+
"./kv": "./src/kv.ts"
|
|
8
8
|
},
|
|
9
9
|
"imports": {
|
|
10
|
-
"@fedify/sqlite": "./mod.ts",
|
|
11
|
-
"@fedify/sqlite/": "./",
|
|
12
|
-
"#sqlite": "./sqlite.node.ts"
|
|
10
|
+
"@fedify/sqlite": "./src/mod.ts",
|
|
11
|
+
"@fedify/sqlite/": "./src/",
|
|
12
|
+
"#sqlite": "./src/sqlite.node.ts"
|
|
13
13
|
},
|
|
14
14
|
"exclude": [
|
|
15
|
+
"dist",
|
|
15
16
|
"node_modules",
|
|
16
|
-
"sqlite.bun.ts"
|
|
17
|
+
"src/sqlite.bun.ts"
|
|
17
18
|
],
|
|
18
19
|
"publish": {
|
|
19
20
|
"exclude": [
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
]
|
|
22
23
|
},
|
|
23
24
|
"tasks": {
|
|
24
|
-
"check": "deno fmt --check && deno lint && deno check
|
|
25
|
+
"check": "deno fmt --check && deno lint && deno check",
|
|
25
26
|
"test": "deno test --allow-net --allow-env --doc --no-check=leaks"
|
|
26
27
|
}
|
|
27
28
|
}
|
package/dist/adapter.d.ts
CHANGED
package/dist/kv.d.ts
CHANGED
package/dist/kv.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { __toESM } from "../../../../../../../_virtual/rolldown_runtime.js";
|
|
5
5
|
import { require_jsbi_cjs } from "../../../../../jsbi@4.3.2/node_modules/jsbi/dist/jsbi-cjs.js";
|
|
6
6
|
|
|
7
|
-
//#region
|
|
7
|
+
//#region ../../node_modules/.pnpm/@js-temporal+polyfill@0.5.1/node_modules/@js-temporal/polyfill/dist/index.esm.js
|
|
8
8
|
var import_jsbi_cjs = __toESM(require_jsbi_cjs(), 1);
|
|
9
9
|
const t = import_jsbi_cjs.default.BigInt(0), n = import_jsbi_cjs.default.BigInt(1), r = import_jsbi_cjs.default.BigInt(2), o = import_jsbi_cjs.default.BigInt(10), i = import_jsbi_cjs.default.BigInt(24), a = import_jsbi_cjs.default.BigInt(60), s = import_jsbi_cjs.default.BigInt(1e3), c = import_jsbi_cjs.default.BigInt(1e6), d = import_jsbi_cjs.default.BigInt(1e9), h = import_jsbi_cjs.default.multiply(import_jsbi_cjs.default.BigInt(3600), d), u = import_jsbi_cjs.default.multiply(a, d), l = import_jsbi_cjs.default.multiply(h, i);
|
|
10
10
|
function m(t$1) {
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.js";
|
|
7
7
|
|
|
8
|
-
//#region
|
|
9
|
-
var require_jsbi_cjs = __commonJS({ "
|
|
8
|
+
//#region ../../node_modules/.pnpm/jsbi@4.3.2/node_modules/jsbi/dist/jsbi-cjs.js
|
|
9
|
+
var require_jsbi_cjs = __commonJS({ "../../node_modules/.pnpm/jsbi@4.3.2/node_modules/jsbi/dist/jsbi-cjs.js"(exports, module) {
|
|
10
10
|
var JSBI = class JSBI extends Array {
|
|
11
11
|
constructor(i, _) {
|
|
12
12
|
if (super(i), this.sign = _, Object.setPrototypeOf(this, JSBI.prototype), i > JSBI.__kMaxLength) throw new RangeError("Maximum BigInt size exceeded");
|
package/dist/sqlite.bun.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Temporal } from "@js-temporal/polyfill";
|
|
|
2
2
|
import { SqliteDatabaseAdapter, SqliteStatementAdapter } from "./adapter.js";
|
|
3
3
|
import { Database, Statement } from "bun:sqlite";
|
|
4
4
|
|
|
5
|
-
//#region sqlite.bun.d.ts
|
|
5
|
+
//#region src/sqlite.bun.d.ts
|
|
6
6
|
declare class SqliteDatabase implements SqliteDatabaseAdapter {
|
|
7
7
|
private readonly db;
|
|
8
8
|
constructor(db: Database);
|
package/dist/sqlite.bun.js
CHANGED
package/dist/sqlite.node.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Temporal } from "@js-temporal/polyfill";
|
|
|
2
2
|
import { SqliteDatabaseAdapter, SqliteStatementAdapter } from "./adapter.js";
|
|
3
3
|
import { DatabaseSync, StatementSync } from "node:sqlite";
|
|
4
4
|
|
|
5
|
-
//#region sqlite.node.d.ts
|
|
5
|
+
//#region src/sqlite.node.d.ts
|
|
6
6
|
declare class SqliteDatabase implements SqliteDatabaseAdapter {
|
|
7
7
|
private readonly db;
|
|
8
8
|
constructor(db: DatabaseSync);
|
package/dist/sqlite.node.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/sqlite",
|
|
3
|
-
"version": "1.8.1-pr.
|
|
3
|
+
"version": "1.8.1-pr.348.1272+5cbba5b2",
|
|
4
4
|
"description": "SQLite drivers for Fedify",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fedify",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
14
|
"url": "git+https://github.com/fedify-dev/fedify.git",
|
|
15
|
-
"directory": "sqlite"
|
|
15
|
+
"directory": "packages/sqlite"
|
|
16
16
|
},
|
|
17
17
|
"bugs": {
|
|
18
18
|
"url": "https://github.com/fedify-dev/fedify/issues"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"es-toolkit": "^1.31.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@fedify/fedify": "1.8.1-pr.
|
|
54
|
+
"@fedify/fedify": "1.8.1-pr.348.1272+5cbba5b2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@js-temporal/polyfill": "^0.5.1",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build": "tsdown",
|
|
64
64
|
"prepublish": "tsdown",
|
|
65
|
-
"test": "tsdown && node --experimental-transform-types --test
|
|
66
|
-
"test:bun": "tsdown && bun test --timeout=10000
|
|
67
|
-
"test:deno": "
|
|
65
|
+
"test": "tsdown && node --experimental-transform-types --test",
|
|
66
|
+
"test:bun": "tsdown && bun test --timeout=10000",
|
|
67
|
+
"test:deno": "deno task test"
|
|
68
68
|
}
|
|
69
69
|
}
|
package/tsdown.config.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineConfig } from "tsdown";
|
|
2
2
|
|
|
3
3
|
export default defineConfig({
|
|
4
|
-
entry: ["mod.ts", "kv.ts", "sqlite.node.ts", "sqlite.bun.ts"],
|
|
4
|
+
entry: ["src/mod.ts", "src/kv.ts", "src/sqlite.node.ts", "src/sqlite.bun.ts"],
|
|
5
5
|
dts: true,
|
|
6
6
|
unbundle: true,
|
|
7
7
|
platform: "node",
|
|
File without changes
|
|
File without changes
|
/package/{kv.ts → src/kv.ts}
RENAMED
|
File without changes
|
/package/{mod.ts → src/mod.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|