bun-types 1.2.11-canary.20250428T140649 → 1.2.12-canary.20250429T140735

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/bun.d.ts CHANGED
@@ -6433,7 +6433,8 @@ declare module "bun" {
6433
6433
  * @default ["ignore", "pipe", "inherit"] for `spawn`
6434
6434
  * ["ignore", "pipe", "pipe"] for `spawnSync`
6435
6435
  */
6436
- stdio?: [In, Out, Err];
6436
+ stdio?: [In, Out, Err, ...Readable[]];
6437
+
6437
6438
  /**
6438
6439
  * The file descriptor for the standard input. It may be:
6439
6440
  *
@@ -6734,6 +6735,11 @@ declare module "bun" {
6734
6735
  readonly stdout: SpawnOptions.ReadableToIO<Out>;
6735
6736
  readonly stderr: SpawnOptions.ReadableToIO<Err>;
6736
6737
 
6738
+ /**
6739
+ * Access extra file descriptors passed to the `stdio` option in the options object.
6740
+ */
6741
+ readonly stdio: [null, null, null, ...number[]];
6742
+
6737
6743
  /**
6738
6744
  * This returns the same value as {@link Subprocess.stdout}
6739
6745
  *
@@ -6750,6 +6756,7 @@ declare module "bun" {
6750
6756
  * ```
6751
6757
  */
6752
6758
  readonly pid: number;
6759
+
6753
6760
  /**
6754
6761
  * The exit code of the process
6755
6762
  *
package/docs/api/fetch.md CHANGED
@@ -337,7 +337,7 @@ This will print the request and response headers to your terminal:
337
337
  ```sh
338
338
  [fetch] > HTTP/1.1 GET http://example.com/
339
339
  [fetch] > Connection: keep-alive
340
- [fetch] > User-Agent: Bun/1.2.11-canary.20250428T140649
340
+ [fetch] > User-Agent: Bun/1.2.12-canary.20250429T140735
341
341
  [fetch] > Accept: */*
342
342
  [fetch] > Host: example.com
343
343
  [fetch] > Accept-Encoding: gzip, deflate, br
package/docs/api/spawn.md CHANGED
@@ -120,7 +120,7 @@ You can read results from the subprocess via the `stdout` and `stderr` propertie
120
120
  ```ts
121
121
  const proc = Bun.spawn(["bun", "--version"]);
122
122
  const text = await new Response(proc.stdout).text();
123
- console.log(text); // => "1.2.11-canary.20250428T140649"
123
+ console.log(text); // => "1.2.12-canary.20250429T140735"
124
124
  ```
125
125
 
126
126
  Configure the output stream by passing one of the following values to `stdout/stderr`:
@@ -7,7 +7,7 @@ Use `bun publish` to publish a package to the npm registry.
7
7
  $ bun publish
8
8
 
9
9
  ## Output
10
- bun publish v1.2.11-canary.20250428T140649 (ca7428e9)
10
+ bun publish v1.2.12-canary.20250429T140735 (ca7428e9)
11
11
 
12
12
  packed 203B package.json
13
13
  packed 224B README.md
@@ -9,7 +9,7 @@ $ bunx nuxi init my-nuxt-app
9
9
  ✔ Which package manager would you like to use?
10
10
  bun
11
11
  ◐ Installing dependencies...
12
- bun install v1.2.11-canary.20250428T140649 (16b4bf34)
12
+ bun install v1.2.12-canary.20250429T140735 (16b4bf34)
13
13
  + @nuxt/devtools@0.8.2
14
14
  + nuxt@3.7.0
15
15
  785 packages installed [2.67s]
@@ -16,7 +16,7 @@ This will add the package to `peerDependencies` in `package.json`.
16
16
  ```json-diff
17
17
  {
18
18
  "peerDependencies": {
19
- + "@types/bun": "^1.2.11-canary.20250428T140649"
19
+ + "@types/bun": "^1.2.12-canary.20250429T140735"
20
20
  }
21
21
  }
22
22
  ```
@@ -28,7 +28,7 @@ Running `bun install` will install peer dependencies by default, unless marked o
28
28
  ```json-diff
29
29
  {
30
30
  "peerDependencies": {
31
- "@types/bun": "^1.2.11-canary.20250428T140649"
31
+ "@types/bun": "^1.2.12-canary.20250429T140735"
32
32
  },
33
33
  "peerDependenciesMeta": {
34
34
  + "@types/bun": {
@@ -97,7 +97,7 @@ $ bun update
97
97
  $ bun update @types/bun --latest
98
98
 
99
99
  # Update a dependency to a specific version
100
- $ bun update @types/bun@1.2.11-canary.20250428T140649
100
+ $ bun update @types/bun@1.2.12-canary.20250429T140735
101
101
 
102
102
  # Update all dependencies to the latest versions
103
103
  $ bun update --latest
@@ -21,7 +21,7 @@ Here's what the output of a typical test run looks like. In this case, there are
21
21
 
22
22
  ```sh
23
23
  $ bun test
24
- bun test v1.2.11-canary.20250428T140649 (9c68abdb)
24
+ bun test v1.2.12-canary.20250429T140735 (9c68abdb)
25
25
 
26
26
  test.test.js:
27
27
  ✓ add [0.87ms]
@@ -47,7 +47,7 @@ To only run certain test files, pass a positional argument to `bun test`. The ru
47
47
 
48
48
  ```sh
49
49
  $ bun test test3
50
- bun test v1.2.11-canary.20250428T140649 (9c68abdb)
50
+ bun test v1.2.12-canary.20250429T140735 (9c68abdb)
51
51
 
52
52
  test3.test.js:
53
53
  ✓ add [1.40ms]
@@ -85,7 +85,7 @@ Adding `-t add` will only run tests with "add" in the name. This works with test
85
85
 
86
86
  ```sh
87
87
  $ bun test -t add
88
- bun test v1.2.11-canary.20250428T140649 (9c68abdb)
88
+ bun test v1.2.12-canary.20250429T140735 (9c68abdb)
89
89
 
90
90
  test.test.js:
91
91
  ✓ add [1.79ms]
@@ -18,7 +18,7 @@ The first time this test is executed, Bun will evaluate the value passed into `e
18
18
 
19
19
  ```sh
20
20
  $ bun test test/snap
21
- bun test v1.2.11-canary.20250428T140649 (9c68abdb)
21
+ bun test v1.2.12-canary.20250429T140735 (9c68abdb)
22
22
 
23
23
  test/snap.test.ts:
24
24
  ✓ snapshot [1.48ms]
@@ -61,7 +61,7 @@ Later, when this test file is executed again, Bun will read the snapshot file an
61
61
 
62
62
  ```sh
63
63
  $ bun test
64
- bun test v1.2.11-canary.20250428T140649 (9c68abdb)
64
+ bun test v1.2.12-canary.20250429T140735 (9c68abdb)
65
65
 
66
66
  test/snap.test.ts:
67
67
  ✓ snapshot [1.05ms]
@@ -78,7 +78,7 @@ To update snapshots, use the `--update-snapshots` flag.
78
78
 
79
79
  ```sh
80
80
  $ bun test --update-snapshots
81
- bun test v1.2.11-canary.20250428T140649 (9c68abdb)
81
+ bun test v1.2.12-canary.20250429T140735 (9c68abdb)
82
82
 
83
83
  test/snap.test.ts:
84
84
  ✓ snapshot [0.86ms]
@@ -29,7 +29,7 @@ To regenerate snapshots, use the `--update-snapshots` flag.
29
29
 
30
30
  ```sh
31
31
  $ bun test --update-snapshots
32
- bun test v1.2.11-canary.20250428T140649 (9c68abdb)
32
+ bun test v1.2.12-canary.20250429T140735 (9c68abdb)
33
33
 
34
34
  test/snap.test.ts:
35
35
  ✓ snapshot [0.86ms]
@@ -5,7 +5,7 @@ name: Get the current Bun version
5
5
  Get the current version of Bun in a semver format.
6
6
 
7
7
  ```ts#index.ts
8
- Bun.version; // => "1.2.11-canary.20250428T140649"
8
+ Bun.version; // => "1.2.12-canary.20250429T140735"
9
9
  ```
10
10
 
11
11
  ---
@@ -14,7 +14,7 @@ Kernel version 5.6 or higher is strongly recommended, but the minimum is 5.1. Us
14
14
  ```bash#macOS/Linux_(curl)
15
15
  $ curl -fsSL https://bun.sh/install | bash # for macOS, Linux, and WSL
16
16
  # to install a specific version
17
- $ curl -fsSL https://bun.sh/install | bash -s "bun-v1.2.11-canary.20250428T140649"
17
+ $ curl -fsSL https://bun.sh/install | bash -s "bun-v1.2.12-canary.20250429T140735"
18
18
  ```
19
19
 
20
20
  ```bash#npm
@@ -189,10 +189,10 @@ Since Bun is a single binary, you can install older versions of Bun by re-runnin
189
189
 
190
190
  ### Installing a specific version of Bun on Linux/Mac
191
191
 
192
- To install a specific version of Bun, you can pass the git tag of the version you want to install to the install script, such as `bun-v1.2.0` or `bun-v1.2.11-canary.20250428T140649`.
192
+ To install a specific version of Bun, you can pass the git tag of the version you want to install to the install script, such as `bun-v1.2.0` or `bun-v1.2.12-canary.20250429T140735`.
193
193
 
194
194
  ```sh
195
- $ curl -fsSL https://bun.sh/install | bash -s "bun-v1.2.11-canary.20250428T140649"
195
+ $ curl -fsSL https://bun.sh/install | bash -s "bun-v1.2.12-canary.20250429T140735"
196
196
  ```
197
197
 
198
198
  ### Installing a specific version of Bun on Windows
@@ -201,7 +201,7 @@ On Windows, you can install a specific version of Bun by passing the version num
201
201
 
202
202
  ```sh
203
203
  # PowerShell:
204
- $ iex "& {$(irm https://bun.sh/install.ps1)} -Version 1.2.11-canary.20250428T140649"
204
+ $ iex "& {$(irm https://bun.sh/install.ps1)} -Version 1.2.12-canary.20250429T140735"
205
205
  ```
206
206
 
207
207
  ## Downloading Bun binaries directly
@@ -124,11 +124,11 @@ await fetch("https://example.com", {
124
124
  This prints the `fetch` request as a single-line `curl` command to let you copy-paste into your terminal to replicate the request.
125
125
 
126
126
  ```sh
127
- [fetch] $ curl --http1.1 "https://example.com/" -X POST -H "content-type: application/json" -H "Connection: keep-alive" -H "User-Agent: Bun/1.2.11-canary.20250428T140649" -H "Accept: */*" -H "Host: example.com" -H "Accept-Encoding: gzip, deflate, br" --compressed -H "Content-Length: 13" --data-raw "{\"foo\":\"bar\"}"
127
+ [fetch] $ curl --http1.1 "https://example.com/" -X POST -H "content-type: application/json" -H "Connection: keep-alive" -H "User-Agent: Bun/1.2.12-canary.20250429T140735" -H "Accept: */*" -H "Host: example.com" -H "Accept-Encoding: gzip, deflate, br" --compressed -H "Content-Length: 13" --data-raw "{\"foo\":\"bar\"}"
128
128
  [fetch] > HTTP/1.1 POST https://example.com/
129
129
  [fetch] > content-type: application/json
130
130
  [fetch] > Connection: keep-alive
131
- [fetch] > User-Agent: Bun/1.2.11-canary.20250428T140649
131
+ [fetch] > User-Agent: Bun/1.2.12-canary.20250429T140735
132
132
  [fetch] > Accept: */*
133
133
  [fetch] > Host: example.com
134
134
  [fetch] > Accept-Encoding: gzip, deflate, br
@@ -170,7 +170,7 @@ This prints the following to the console:
170
170
  [fetch] > HTTP/1.1 POST https://example.com/
171
171
  [fetch] > content-type: application/json
172
172
  [fetch] > Connection: keep-alive
173
- [fetch] > User-Agent: Bun/1.2.11-canary.20250428T140649
173
+ [fetch] > User-Agent: Bun/1.2.12-canary.20250429T140735
174
174
  [fetch] > Accept: */*
175
175
  [fetch] > Host: example.com
176
176
  [fetch] > Accept-Encoding: gzip, deflate, br
package/docs/test/dom.md CHANGED
@@ -55,7 +55,7 @@ Let's run this test with `bun test`:
55
55
 
56
56
  ```bash
57
57
  $ bun test
58
- bun test v1.2.11-canary.20250428T140649
58
+ bun test v1.2.12-canary.20250429T140735
59
59
 
60
60
  dom.test.ts:
61
61
  ✓ dom test [0.82ms]
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.11-canary.20250428T140649",
2
+ "version": "1.2.12-canary.20250429T140735",
3
3
  "name": "bun-types",
4
4
  "license": "MIT",
5
5
  "types": "./index.d.ts",
package/sqlite.d.ts CHANGED
@@ -849,147 +849,146 @@ declare module "bun:sqlite" {
849
849
  *
850
850
  * This list isn't exhaustive, but some of the ones which are relevant
851
851
  */
852
- export const constants: {
852
+ export namespace constants {
853
853
  /**
854
854
  * Open the database as read-only (no write operations, no create).
855
855
  * @constant 0x00000001
856
856
  */
857
- SQLITE_OPEN_READONLY: number;
857
+ const SQLITE_OPEN_READONLY: number;
858
858
  /**
859
859
  * Open the database for reading and writing
860
860
  * @constant 0x00000002
861
861
  */
862
- SQLITE_OPEN_READWRITE: number;
862
+ const SQLITE_OPEN_READWRITE: number;
863
863
  /**
864
864
  * Allow creating a new database
865
865
  * @constant 0x00000004
866
866
  */
867
- SQLITE_OPEN_CREATE: number;
867
+ const SQLITE_OPEN_CREATE: number;
868
868
  /**
869
869
  * @constant 0x00000008
870
870
  */
871
- SQLITE_OPEN_DELETEONCLOSE: number;
871
+ const SQLITE_OPEN_DELETEONCLOSE: number;
872
872
  /**
873
873
  * @constant 0x00000010
874
874
  */
875
- SQLITE_OPEN_EXCLUSIVE: number;
875
+ const SQLITE_OPEN_EXCLUSIVE: number;
876
876
  /**
877
877
  * @constant 0x00000020
878
878
  */
879
- SQLITE_OPEN_AUTOPROXY: number;
879
+ const SQLITE_OPEN_AUTOPROXY: number;
880
880
  /**
881
881
  * @constant 0x00000040
882
882
  */
883
- SQLITE_OPEN_URI: number;
883
+ const SQLITE_OPEN_URI: number;
884
884
  /**
885
885
  * @constant 0x00000080
886
886
  */
887
- SQLITE_OPEN_MEMORY: number;
887
+ const SQLITE_OPEN_MEMORY: number;
888
888
  /**
889
889
  * @constant 0x00000100
890
890
  */
891
- SQLITE_OPEN_MAIN_DB: number;
891
+ const SQLITE_OPEN_MAIN_DB: number;
892
892
  /**
893
893
  * @constant 0x00000200
894
894
  */
895
- SQLITE_OPEN_TEMP_DB: number;
895
+ const SQLITE_OPEN_TEMP_DB: number;
896
896
  /**
897
897
  * @constant 0x00000400
898
898
  */
899
- SQLITE_OPEN_TRANSIENT_DB: number;
899
+ const SQLITE_OPEN_TRANSIENT_DB: number;
900
900
  /**
901
901
  * @constant 0x00000800
902
902
  */
903
- SQLITE_OPEN_MAIN_JOURNAL: number;
903
+ const SQLITE_OPEN_MAIN_JOURNAL: number;
904
904
  /**
905
905
  * @constant 0x00001000
906
906
  */
907
- SQLITE_OPEN_TEMP_JOURNAL: number;
907
+ const SQLITE_OPEN_TEMP_JOURNAL: number;
908
908
  /**
909
909
  * @constant 0x00002000
910
910
  */
911
- SQLITE_OPEN_SUBJOURNAL: number;
911
+ const SQLITE_OPEN_SUBJOURNAL: number;
912
912
  /**
913
913
  * @constant 0x00004000
914
914
  */
915
- SQLITE_OPEN_SUPER_JOURNAL: number;
915
+ const SQLITE_OPEN_SUPER_JOURNAL: number;
916
916
  /**
917
917
  * @constant 0x00008000
918
918
  */
919
- SQLITE_OPEN_NOMUTEX: number;
919
+ const SQLITE_OPEN_NOMUTEX: number;
920
920
  /**
921
921
  * @constant 0x00010000
922
922
  */
923
- SQLITE_OPEN_FULLMUTEX: number;
923
+ const SQLITE_OPEN_FULLMUTEX: number;
924
924
  /**
925
925
  * @constant 0x00020000
926
926
  */
927
- SQLITE_OPEN_SHAREDCACHE: number;
927
+ const SQLITE_OPEN_SHAREDCACHE: number;
928
928
  /**
929
929
  * @constant 0x00040000
930
930
  */
931
- SQLITE_OPEN_PRIVATECACHE: number;
931
+ const SQLITE_OPEN_PRIVATECACHE: number;
932
932
  /**
933
933
  * @constant 0x00080000
934
934
  */
935
- SQLITE_OPEN_WAL: number;
935
+ const SQLITE_OPEN_WAL: number;
936
936
  /**
937
937
  * @constant 0x01000000
938
938
  */
939
- SQLITE_OPEN_NOFOLLOW: number;
939
+ const SQLITE_OPEN_NOFOLLOW: number;
940
940
  /**
941
941
  * @constant 0x02000000
942
942
  */
943
- SQLITE_OPEN_EXRESCODE: number;
943
+ const SQLITE_OPEN_EXRESCODE: number;
944
944
  /**
945
945
  * @constant 0x01
946
946
  */
947
- SQLITE_PREPARE_PERSISTENT: number;
947
+ const SQLITE_PREPARE_PERSISTENT: number;
948
948
  /**
949
949
  * @constant 0x02
950
950
  */
951
- SQLITE_PREPARE_NORMALIZE: number;
951
+ const SQLITE_PREPARE_NORMALIZE: number;
952
952
  /**
953
953
  * @constant 0x04
954
954
  */
955
- SQLITE_PREPARE_NO_VTAB: number;
956
-
955
+ const SQLITE_PREPARE_NO_VTAB: number;
957
956
  /**
958
957
  * @constant 1
959
958
  */
960
- SQLITE_FCNTL_LOCKSTATE: number;
959
+ const SQLITE_FCNTL_LOCKSTATE: number;
961
960
  /**
962
961
  * @constant 2
963
962
  */
964
- SQLITE_FCNTL_GET_LOCKPROXYFILE: number;
963
+ const SQLITE_FCNTL_GET_LOCKPROXYFILE: number;
965
964
  /**
966
965
  * @constant 3
967
966
  */
968
- SQLITE_FCNTL_SET_LOCKPROXYFILE: number;
967
+ const SQLITE_FCNTL_SET_LOCKPROXYFILE: number;
969
968
  /**
970
969
  * @constant 4
971
970
  */
972
- SQLITE_FCNTL_LAST_ERRNO: number;
971
+ const SQLITE_FCNTL_LAST_ERRNO: number;
973
972
  /**
974
973
  * @constant 5
975
974
  */
976
- SQLITE_FCNTL_SIZE_HINT: number;
975
+ const SQLITE_FCNTL_SIZE_HINT: number;
977
976
  /**
978
977
  * @constant 6
979
978
  */
980
- SQLITE_FCNTL_CHUNK_SIZE: number;
979
+ const SQLITE_FCNTL_CHUNK_SIZE: number;
981
980
  /**
982
981
  * @constant 7
983
982
  */
984
- SQLITE_FCNTL_FILE_POINTER: number;
983
+ const SQLITE_FCNTL_FILE_POINTER: number;
985
984
  /**
986
985
  * @constant 8
987
986
  */
988
- SQLITE_FCNTL_SYNC_OMITTED: number;
987
+ const SQLITE_FCNTL_SYNC_OMITTED: number;
989
988
  /**
990
989
  * @constant 9
991
990
  */
992
- SQLITE_FCNTL_WIN32_AV_RETRY: number;
991
+ const SQLITE_FCNTL_WIN32_AV_RETRY: number;
993
992
  /**
994
993
  * @constant 10
995
994
  *
@@ -998,7 +997,7 @@ declare module "bun:sqlite" {
998
997
  *
999
998
  * You can change this with code like the below:
1000
999
  * ```ts
1001
- * import { Database } from "bun:sqlite";
1000
+ * import { Database, constants } from "bun:sqlite";
1002
1001
  *
1003
1002
  * const db = Database.open("mydb.sqlite");
1004
1003
  * db.fileControl(constants.SQLITE_FCNTL_PERSIST_WAL, 0);
@@ -1009,132 +1008,132 @@ declare module "bun:sqlite" {
1009
1008
  * ```
1010
1009
  *
1011
1010
  */
1012
- SQLITE_FCNTL_PERSIST_WAL: number;
1011
+ const SQLITE_FCNTL_PERSIST_WAL: number;
1013
1012
  /**
1014
1013
  * @constant 11
1015
1014
  */
1016
- SQLITE_FCNTL_OVERWRITE: number;
1015
+ const SQLITE_FCNTL_OVERWRITE: number;
1017
1016
  /**
1018
1017
  * @constant 12
1019
1018
  */
1020
- SQLITE_FCNTL_VFSNAME: number;
1019
+ const SQLITE_FCNTL_VFSNAME: number;
1021
1020
  /**
1022
1021
  * @constant 13
1023
1022
  */
1024
- SQLITE_FCNTL_POWERSAFE_OVERWRITE: number;
1023
+ const SQLITE_FCNTL_POWERSAFE_OVERWRITE: number;
1025
1024
  /**
1026
1025
  * @constant 14
1027
1026
  */
1028
- SQLITE_FCNTL_PRAGMA: number;
1027
+ const SQLITE_FCNTL_PRAGMA: number;
1029
1028
  /**
1030
1029
  * @constant 15
1031
1030
  */
1032
- SQLITE_FCNTL_BUSYHANDLER: number;
1031
+ const SQLITE_FCNTL_BUSYHANDLER: number;
1033
1032
  /**
1034
1033
  * @constant 16
1035
1034
  */
1036
- SQLITE_FCNTL_TEMPFILENAME: number;
1035
+ const SQLITE_FCNTL_TEMPFILENAME: number;
1037
1036
  /**
1038
1037
  * @constant 18
1039
1038
  */
1040
- SQLITE_FCNTL_MMAP_SIZE: number;
1039
+ const SQLITE_FCNTL_MMAP_SIZE: number;
1041
1040
  /**
1042
1041
  * @constant 19
1043
1042
  */
1044
- SQLITE_FCNTL_TRACE: number;
1043
+ const SQLITE_FCNTL_TRACE: number;
1045
1044
  /**
1046
1045
  * @constant 20
1047
1046
  */
1048
- SQLITE_FCNTL_HAS_MOVED: number;
1047
+ const SQLITE_FCNTL_HAS_MOVED: number;
1049
1048
  /**
1050
1049
  * @constant 21
1051
1050
  */
1052
- SQLITE_FCNTL_SYNC: number;
1051
+ const SQLITE_FCNTL_SYNC: number;
1053
1052
  /**
1054
1053
  * @constant 22
1055
1054
  */
1056
- SQLITE_FCNTL_COMMIT_PHASETWO: number;
1055
+ const SQLITE_FCNTL_COMMIT_PHASETWO: number;
1057
1056
  /**
1058
1057
  * @constant 23
1059
1058
  */
1060
- SQLITE_FCNTL_WIN32_SET_HANDLE: number;
1059
+ const SQLITE_FCNTL_WIN32_SET_HANDLE: number;
1061
1060
  /**
1062
1061
  * @constant 24
1063
1062
  */
1064
- SQLITE_FCNTL_WAL_BLOCK: number;
1063
+ const SQLITE_FCNTL_WAL_BLOCK: number;
1065
1064
  /**
1066
1065
  * @constant 25
1067
1066
  */
1068
- SQLITE_FCNTL_ZIPVFS: number;
1067
+ const SQLITE_FCNTL_ZIPVFS: number;
1069
1068
  /**
1070
1069
  * @constant 26
1071
1070
  */
1072
- SQLITE_FCNTL_RBU: number;
1071
+ const SQLITE_FCNTL_RBU: number;
1073
1072
  /**
1074
1073
  * @constant 27
1075
1074
  */
1076
- SQLITE_FCNTL_VFS_POINTER: number;
1075
+ const SQLITE_FCNTL_VFS_POINTER: number;
1077
1076
  /**
1078
1077
  * @constant 28
1079
1078
  */
1080
- SQLITE_FCNTL_JOURNAL_POINTER: number;
1079
+ const SQLITE_FCNTL_JOURNAL_POINTER: number;
1081
1080
  /**
1082
1081
  * @constant 29
1083
1082
  */
1084
- SQLITE_FCNTL_WIN32_GET_HANDLE: number;
1083
+ const SQLITE_FCNTL_WIN32_GET_HANDLE: number;
1085
1084
  /**
1086
1085
  * @constant 30
1087
1086
  */
1088
- SQLITE_FCNTL_PDB: number;
1087
+ const SQLITE_FCNTL_PDB: number;
1089
1088
  /**
1090
1089
  * @constant 31
1091
1090
  */
1092
- SQLITE_FCNTL_BEGIN_ATOMIC_WRITE: number;
1091
+ const SQLITE_FCNTL_BEGIN_ATOMIC_WRITE: number;
1093
1092
  /**
1094
1093
  * @constant 32
1095
1094
  */
1096
- SQLITE_FCNTL_COMMIT_ATOMIC_WRITE: number;
1095
+ const SQLITE_FCNTL_COMMIT_ATOMIC_WRITE: number;
1097
1096
  /**
1098
1097
  * @constant 33
1099
1098
  */
1100
- SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE: number;
1099
+ const SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE: number;
1101
1100
  /**
1102
1101
  * @constant 34
1103
1102
  */
1104
- SQLITE_FCNTL_LOCK_TIMEOUT: number;
1103
+ const SQLITE_FCNTL_LOCK_TIMEOUT: number;
1105
1104
  /**
1106
1105
  * @constant 35
1107
1106
  */
1108
- SQLITE_FCNTL_DATA_VERSION: number;
1107
+ const SQLITE_FCNTL_DATA_VERSION: number;
1109
1108
  /**
1110
1109
  * @constant 36
1111
1110
  */
1112
- SQLITE_FCNTL_SIZE_LIMIT: number;
1111
+ const SQLITE_FCNTL_SIZE_LIMIT: number;
1113
1112
  /**
1114
1113
  * @constant 37
1115
1114
  */
1116
- SQLITE_FCNTL_CKPT_DONE: number;
1115
+ const SQLITE_FCNTL_CKPT_DONE: number;
1117
1116
  /**
1118
1117
  * @constant 38
1119
1118
  */
1120
- SQLITE_FCNTL_RESERVE_BYTES: number;
1119
+ const SQLITE_FCNTL_RESERVE_BYTES: number;
1121
1120
  /**
1122
1121
  * @constant 39
1123
1122
  */
1124
- SQLITE_FCNTL_CKPT_START: number;
1123
+ const SQLITE_FCNTL_CKPT_START: number;
1125
1124
  /**
1126
1125
  * @constant 40
1127
1126
  */
1128
- SQLITE_FCNTL_EXTERNAL_READER: number;
1127
+ const SQLITE_FCNTL_EXTERNAL_READER: number;
1129
1128
  /**
1130
1129
  * @constant 41
1131
1130
  */
1132
- SQLITE_FCNTL_CKSM_FILE: number;
1131
+ const SQLITE_FCNTL_CKSM_FILE: number;
1133
1132
  /**
1134
1133
  * @constant 42
1135
1134
  */
1136
- SQLITE_FCNTL_RESET_CACHE: number;
1137
- };
1135
+ const SQLITE_FCNTL_RESET_CACHE: number;
1136
+ }
1138
1137
 
1139
1138
  /**
1140
1139
  * The native module implementing the sqlite3 C bindings