@peerbit/indexer-sqlite3 1.2.19 → 1.2.20-c7dcc32

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.
@@ -26,9 +26,9 @@
26
26
  /*
27
27
  ** This code was built from sqlite3 version...
28
28
  **
29
- ** SQLITE_VERSION "3.49.1"
30
- ** SQLITE_VERSION_NUMBER 3049001
31
- ** SQLITE_SOURCE_ID "2025-02-18 13:38:58 873d4e274b4988d260ba8354a9718324a1c26187a4ab4c1cc0227c03d0f10e70"
29
+ ** SQLITE_VERSION "3.49.2"
30
+ ** SQLITE_VERSION_NUMBER 3049002
31
+ ** SQLITE_SOURCE_ID "2025-05-07 10:39:52 17144570b0d96ae63cd6f3edca39e27ebd74925252bbaf6723bcb2f6b4861fb1"
32
32
  **
33
33
  ** Using the Emscripten SDK version 3.1.70.
34
34
  */
@@ -10165,11 +10165,11 @@ var sqlite3InitModule = (() => {
10165
10165
 
10166
10166
  globalThis.sqlite3ApiBootstrap.initializers.push(function (sqlite3) {
10167
10167
  sqlite3.version = {
10168
- libVersion: '3.49.1',
10169
- libVersionNumber: 3049001,
10168
+ libVersion: '3.49.2',
10169
+ libVersionNumber: 3049002,
10170
10170
  sourceId:
10171
- '2025-02-18 13:38:58 873d4e274b4988d260ba8354a9718324a1c26187a4ab4c1cc0227c03d0f10e70',
10172
- downloadVersion: 3490100,
10171
+ '2025-05-07 10:39:52 17144570b0d96ae63cd6f3edca39e27ebd74925252bbaf6723bcb2f6b4861fb1',
10172
+ downloadVersion: 3490200,
10173
10173
  };
10174
10174
  });
10175
10175
 
@@ -26,9 +26,9 @@
26
26
  /*
27
27
  ** This code was built from sqlite3 version...
28
28
  **
29
- ** SQLITE_VERSION "3.49.1"
30
- ** SQLITE_VERSION_NUMBER 3049001
31
- ** SQLITE_SOURCE_ID "2025-02-18 13:38:58 873d4e274b4988d260ba8354a9718324a1c26187a4ab4c1cc0227c03d0f10e70"
29
+ ** SQLITE_VERSION "3.49.2"
30
+ ** SQLITE_VERSION_NUMBER 3049002
31
+ ** SQLITE_SOURCE_ID "2025-05-07 10:39:52 17144570b0d96ae63cd6f3edca39e27ebd74925252bbaf6723bcb2f6b4861fb1"
32
32
  **
33
33
  ** Using the Emscripten SDK version 3.1.70.
34
34
  */
@@ -10185,11 +10185,11 @@ var sqlite3InitModule = (() => {
10185
10185
 
10186
10186
  globalThis.sqlite3ApiBootstrap.initializers.push(function (sqlite3) {
10187
10187
  sqlite3.version = {
10188
- libVersion: '3.49.1',
10189
- libVersionNumber: 3049001,
10188
+ libVersion: '3.49.2',
10189
+ libVersionNumber: 3049002,
10190
10190
  sourceId:
10191
- '2025-02-18 13:38:58 873d4e274b4988d260ba8354a9718324a1c26187a4ab4c1cc0227c03d0f10e70',
10192
- downloadVersion: 3490100,
10191
+ '2025-05-07 10:39:52 17144570b0d96ae63cd6f3edca39e27ebd74925252bbaf6723bcb2f6b4861fb1',
10192
+ downloadVersion: 3490200,
10193
10193
  };
10194
10194
  });
10195
10195
 
@@ -26,9 +26,9 @@
26
26
  /*
27
27
  ** This code was built from sqlite3 version...
28
28
  **
29
- ** SQLITE_VERSION "3.49.1"
30
- ** SQLITE_VERSION_NUMBER 3049001
31
- ** SQLITE_SOURCE_ID "2025-02-18 13:38:58 873d4e274b4988d260ba8354a9718324a1c26187a4ab4c1cc0227c03d0f10e70"
29
+ ** SQLITE_VERSION "3.49.2"
30
+ ** SQLITE_VERSION_NUMBER 3049002
31
+ ** SQLITE_SOURCE_ID "2025-05-07 10:39:52 17144570b0d96ae63cd6f3edca39e27ebd74925252bbaf6723bcb2f6b4861fb1"
32
32
  **
33
33
  ** Using the Emscripten SDK version 3.1.70.
34
34
  */
@@ -10191,11 +10191,11 @@ var sqlite3InitModule = (() => {
10191
10191
 
10192
10192
  globalThis.sqlite3ApiBootstrap.initializers.push(function (sqlite3) {
10193
10193
  sqlite3.version = {
10194
- libVersion: '3.49.1',
10195
- libVersionNumber: 3049001,
10194
+ libVersion: '3.49.2',
10195
+ libVersionNumber: 3049002,
10196
10196
  sourceId:
10197
- '2025-02-18 13:38:58 873d4e274b4988d260ba8354a9718324a1c26187a4ab4c1cc0227c03d0f10e70',
10198
- downloadVersion: 3490100,
10197
+ '2025-05-07 10:39:52 17144570b0d96ae63cd6f3edca39e27ebd74925252bbaf6723bcb2f6b4861fb1',
10198
+ downloadVersion: 3490200,
10199
10199
  };
10200
10200
  });
10201
10201
 
@@ -6668,10 +6668,12 @@ var resize = (arr, newSize, defaultValue) => {
6668
6668
  // ../../../../node_modules/multiformats/dist/src/bytes.js
6669
6669
  var empty = new Uint8Array(0);
6670
6670
  function coerce(o) {
6671
- if (o instanceof Uint8Array && o.constructor.name === "Uint8Array")
6671
+ if (o instanceof Uint8Array && o.constructor.name === "Uint8Array") {
6672
6672
  return o;
6673
- if (o instanceof ArrayBuffer)
6673
+ }
6674
+ if (o instanceof ArrayBuffer) {
6674
6675
  return new Uint8Array(o);
6676
+ }
6675
6677
  if (ArrayBuffer.isView(o)) {
6676
6678
  return new Uint8Array(o.buffer, o.byteOffset, o.byteLength);
6677
6679
  }
@@ -17928,10 +17930,10 @@ var sqlite3InitModule = (() => {
17928
17930
  });
17929
17931
  globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite32) {
17930
17932
  sqlite32.version = {
17931
- libVersion: "3.49.1",
17932
- libVersionNumber: 3049001,
17933
- sourceId: "2025-02-18 13:38:58 873d4e274b4988d260ba8354a9718324a1c26187a4ab4c1cc0227c03d0f10e70",
17934
- downloadVersion: 3490100
17933
+ libVersion: "3.49.2",
17934
+ libVersionNumber: 3049002,
17935
+ sourceId: "2025-05-07 10:39:52 17144570b0d96ae63cd6f3edca39e27ebd74925252bbaf6723bcb2f6b4861fb1",
17936
+ downloadVersion: 3490200
17935
17937
  };
17936
17938
  });
17937
17939
  globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite32) {
@@ -26,9 +26,9 @@
26
26
  /*
27
27
  ** This code was built from sqlite3 version...
28
28
  **
29
- ** SQLITE_VERSION "3.49.1"
30
- ** SQLITE_VERSION_NUMBER 3049001
31
- ** SQLITE_SOURCE_ID "2025-02-18 13:38:58 873d4e274b4988d260ba8354a9718324a1c26187a4ab4c1cc0227c03d0f10e70"
29
+ ** SQLITE_VERSION "3.49.2"
30
+ ** SQLITE_VERSION_NUMBER 3049002
31
+ ** SQLITE_SOURCE_ID "2025-05-07 10:39:52 17144570b0d96ae63cd6f3edca39e27ebd74925252bbaf6723bcb2f6b4861fb1"
32
32
  **
33
33
  ** Using the Emscripten SDK version 3.1.70.
34
34
  */
@@ -10169,11 +10169,11 @@ var sqlite3InitModule = (() => {
10169
10169
 
10170
10170
  globalThis.sqlite3ApiBootstrap.initializers.push(function (sqlite3) {
10171
10171
  sqlite3.version = {
10172
- libVersion: '3.49.1',
10173
- libVersionNumber: 3049001,
10172
+ libVersion: '3.49.2',
10173
+ libVersionNumber: 3049002,
10174
10174
  sourceId:
10175
- '2025-02-18 13:38:58 873d4e274b4988d260ba8354a9718324a1c26187a4ab4c1cc0227c03d0f10e70',
10176
- downloadVersion: 3490100,
10175
+ '2025-05-07 10:39:52 17144570b0d96ae63cd6f3edca39e27ebd74925252bbaf6723bcb2f6b4861fb1',
10176
+ downloadVersion: 3490200,
10177
10177
  };
10178
10178
  });
10179
10179
 
Binary file
@@ -5554,10 +5554,12 @@ var MAX_ARRAY_SIZE_ALLOCATION = 1024 * 1024;
5554
5554
  // ../../../../node_modules/multiformats/dist/src/bytes.js
5555
5555
  var empty = new Uint8Array(0);
5556
5556
  function coerce(o) {
5557
- if (o instanceof Uint8Array && o.constructor.name === "Uint8Array")
5557
+ if (o instanceof Uint8Array && o.constructor.name === "Uint8Array") {
5558
5558
  return o;
5559
- if (o instanceof ArrayBuffer)
5559
+ }
5560
+ if (o instanceof ArrayBuffer) {
5560
5561
  return new Uint8Array(o);
5562
+ }
5561
5563
  if (ArrayBuffer.isView(o)) {
5562
5564
  return new Uint8Array(o.buffer, o.byteOffset, o.byteLength);
5563
5565
  }
@@ -13772,10 +13774,10 @@ var sqlite3InitModule = (() => {
13772
13774
  });
13773
13775
  globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite32) {
13774
13776
  sqlite32.version = {
13775
- libVersion: "3.49.1",
13776
- libVersionNumber: 3049001,
13777
- sourceId: "2025-02-18 13:38:58 873d4e274b4988d260ba8354a9718324a1c26187a4ab4c1cc0227c03d0f10e70",
13778
- downloadVersion: 3490100
13777
+ libVersion: "3.49.2",
13778
+ libVersionNumber: 3049002,
13779
+ sourceId: "2025-05-07 10:39:52 17144570b0d96ae63cd6f3edca39e27ebd74925252bbaf6723bcb2f6b4861fb1",
13780
+ downloadVersion: 3490200
13779
13781
  };
13780
13782
  });
13781
13783
  globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite32) {
package/package.json CHANGED
@@ -1,80 +1,80 @@
1
1
  {
2
- "name": "@peerbit/indexer-sqlite3",
3
- "version": "1.2.19",
4
- "description": "SQLite index for document store",
5
- "type": "module",
6
- "sideEffects": false,
7
- "types": "./dist/src/index.d.ts",
8
- "typesVersions": {
9
- "*": {
10
- "*": [
11
- "*",
12
- "dist/*",
13
- "dist/src/*",
14
- "dist/src/*/index"
15
- ],
16
- "src/*": [
17
- "*",
18
- "dist/*",
19
- "dist/src/*",
20
- "dist/src/*/index"
21
- ]
22
- }
23
- },
24
- "files": [
25
- "src",
26
- "dist",
27
- "!dist/e2e",
28
- "!dist/test",
29
- "!**/*.tsbuildinfo"
30
- ],
31
- "exports": {
32
- ".": {
33
- "types": "./dist/src/index.d.ts",
34
- "import": "./dist/src/index.js"
35
- },
36
- "./sqlite.org": {
37
- "types": "./dist/peerbit/sqlite.org/sqlite3.d.ts",
38
- "import": "./dist/peerbit/sqlite.org/sqlite3.js"
39
- }
40
- },
41
- "browser": {
42
- "./dist/src/sqlite3.js": "./dist/src/sqlite3.browser.js"
43
- },
44
- "eslintConfig": {
45
- "extends": "peerbit",
46
- "parserOptions": {
47
- "project": true,
48
- "sourceType": "module"
49
- },
50
- "ignorePatterns": [
51
- "!.aegir.js",
52
- "test/ts-use",
53
- "*.d.ts"
54
- ]
55
- },
56
- "publishConfig": {
57
- "access": "public"
58
- },
59
- "scripts": {
60
- "clean": "aegir clean",
61
- "copy-sqlite-wasm": "mkdir -p ./dist/peerbit/ && cp -r ../../../../node_modules/@sqlite.org/sqlite-wasm/sqlite-wasm/jswasm/. ./dist/peerbit/",
62
- "build-worker": "node ../../../../node_modules/esbuild/bin/esbuild --bundle ./src/sqlite3.worker.ts --format=esm --outfile=./dist/peerbit/sqlite3.worker.min.js",
63
- "build": "aegir build && npm run build-worker && npm run copy-sqlite-wasm",
64
- "test": "aegir test",
65
- "test:browser": "aegir clean && aegir test -t browser",
66
- "test:node": "aegir clean && aegir test -t node",
67
- "lint": "aegir lint"
68
- },
69
- "author": "dao.xyz",
70
- "license": "MIT",
71
- "dependencies": {
72
- "better-sqlite3": "^11.9.1",
73
- "@peerbit/indexer-interface": "^2.0.9",
74
- "@sqlite.org/sqlite-wasm": "^3.49.1-build4"
75
- },
76
- "devDependencies": {
77
- "@types/better-sqlite3": "^7.6.13",
78
- "@peerbit/indexer-tests": "^1.1.13"
79
- }
2
+ "name": "@peerbit/indexer-sqlite3",
3
+ "version": "1.2.20-c7dcc32",
4
+ "description": "SQLite index for document store",
5
+ "type": "module",
6
+ "sideEffects": false,
7
+ "types": "./dist/src/index.d.ts",
8
+ "typesVersions": {
9
+ "*": {
10
+ "*": [
11
+ "*",
12
+ "dist/*",
13
+ "dist/src/*",
14
+ "dist/src/*/index"
15
+ ],
16
+ "src/*": [
17
+ "*",
18
+ "dist/*",
19
+ "dist/src/*",
20
+ "dist/src/*/index"
21
+ ]
22
+ }
23
+ },
24
+ "files": [
25
+ "src",
26
+ "dist",
27
+ "!dist/e2e",
28
+ "!dist/test",
29
+ "!**/*.tsbuildinfo"
30
+ ],
31
+ "exports": {
32
+ ".": {
33
+ "types": "./dist/src/index.d.ts",
34
+ "import": "./dist/src/index.js"
35
+ },
36
+ "./sqlite.org": {
37
+ "types": "./dist/peerbit/sqlite.org/sqlite3.d.ts",
38
+ "import": "./dist/peerbit/sqlite.org/sqlite3.js"
39
+ }
40
+ },
41
+ "browser": {
42
+ "./dist/src/sqlite3.js": "./dist/src/sqlite3.browser.js"
43
+ },
44
+ "eslintConfig": {
45
+ "extends": "peerbit",
46
+ "parserOptions": {
47
+ "project": true,
48
+ "sourceType": "module"
49
+ },
50
+ "ignorePatterns": [
51
+ "!.aegir.js",
52
+ "test/ts-use",
53
+ "*.d.ts"
54
+ ]
55
+ },
56
+ "publishConfig": {
57
+ "access": "public"
58
+ },
59
+ "scripts": {
60
+ "clean": "aegir clean",
61
+ "copy-sqlite-wasm": "mkdir -p ./dist/peerbit/ && cp -r ../../../../node_modules/@sqlite.org/sqlite-wasm/sqlite-wasm/jswasm/. ./dist/peerbit/",
62
+ "build-worker": "node ../../../../node_modules/esbuild/bin/esbuild --bundle ./src/sqlite3.worker.ts --format=esm --outfile=./dist/peerbit/sqlite3.worker.min.js",
63
+ "build": "aegir build && npm run build-worker && npm run copy-sqlite-wasm",
64
+ "test": "aegir test",
65
+ "test:browser": "aegir clean && aegir test -t browser",
66
+ "test:node": "aegir clean && aegir test -t node",
67
+ "lint": "aegir lint"
68
+ },
69
+ "author": "dao.xyz",
70
+ "license": "MIT",
71
+ "dependencies": {
72
+ "better-sqlite3": "^11.10.0",
73
+ "@peerbit/indexer-interface": "2.0.9-c7dcc32",
74
+ "@sqlite.org/sqlite-wasm": "^3.49.2-build1"
75
+ },
76
+ "devDependencies": {
77
+ "@types/better-sqlite3": "^7.6.13",
78
+ "@peerbit/indexer-tests": "1.1.13-c7dcc32"
79
+ }
80
80
  }