@sirajchokshi/wa-sqlite 1.1.0
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/LICENSE +21 -0
- package/README.md +78 -0
- package/dist/mc-wa-sqlite-async.mjs +2 -0
- package/dist/mc-wa-sqlite-async.wasm +0 -0
- package/dist/mc-wa-sqlite-jspi.mjs +2 -0
- package/dist/mc-wa-sqlite-jspi.wasm +0 -0
- package/dist/mc-wa-sqlite.mjs +2 -0
- package/dist/mc-wa-sqlite.wasm +0 -0
- package/dist/wa-sqlite-async.mjs +2 -0
- package/dist/wa-sqlite-async.wasm +0 -0
- package/dist/wa-sqlite-jspi.mjs +2 -0
- package/dist/wa-sqlite-jspi.wasm +0 -0
- package/dist/wa-sqlite.mjs +2 -0
- package/dist/wa-sqlite.wasm +0 -0
- package/package.json +48 -0
- package/src/FacadeVFS.js +720 -0
- package/src/VFS.js +222 -0
- package/src/WebLocksMixin.js +411 -0
- package/src/examples/AccessHandlePoolVFS.js +458 -0
- package/src/examples/IDBBatchAtomicVFS.js +827 -0
- package/src/examples/IDBMirrorVFS.js +889 -0
- package/src/examples/MemoryAsyncVFS.js +100 -0
- package/src/examples/MemoryVFS.js +176 -0
- package/src/examples/OPFSAdaptiveVFS.js +437 -0
- package/src/examples/OPFSAnyContextVFS.js +300 -0
- package/src/examples/OPFSCoopSyncVFS.js +597 -0
- package/src/examples/OPFSPermutedVFS.js +1217 -0
- package/src/examples/README.md +89 -0
- package/src/examples/tag.js +82 -0
- package/src/sqlite-api.js +912 -0
- package/src/sqlite-constants.js +275 -0
- package/src/types/globals.d.ts +60 -0
- package/src/types/index.d.ts +1343 -0
- package/src/types/tsconfig.json +6 -0
- package/test/AccessHandlePoolVFS.test.js +27 -0
- package/test/IDBBatchAtomicVFS.test.js +97 -0
- package/test/IDBMirrorVFS.test.js +27 -0
- package/test/MemoryAsyncVFS.test.js +27 -0
- package/test/MemoryVFS.test.js +27 -0
- package/test/OPFSAdaptiveVFS.test.js +27 -0
- package/test/OPFSAnyContextVFS.test.js +27 -0
- package/test/OPFSCoopSyncVFS.test.js +27 -0
- package/test/OPFSPermutedVFS.test.js +27 -0
- package/test/TestContext.js +96 -0
- package/test/WebLocksMixin.test.js +521 -0
- package/test/api.test.js +49 -0
- package/test/api_exec.js +89 -0
- package/test/api_misc.js +63 -0
- package/test/api_statements.js +447 -0
- package/test/callbacks.test.js +581 -0
- package/test/data/idbv5.json +1 -0
- package/test/sql.test.js +64 -0
- package/test/sql_0001.js +49 -0
- package/test/sql_0002.js +52 -0
- package/test/sql_0003.js +83 -0
- package/test/sql_0004.js +81 -0
- package/test/sql_0005.js +76 -0
- package/test/test-worker.js +204 -0
- package/test/vfs_xAccess.js +2 -0
- package/test/vfs_xClose.js +52 -0
- package/test/vfs_xOpen.js +91 -0
- package/test/vfs_xRead.js +38 -0
- package/test/vfs_xWrite.js +36 -0
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sirajchokshi/wa-sqlite",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "src/sqlite-api.js",
|
|
6
|
+
"types": "src/types/index.d.ts",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"src/sqlite-constants.js",
|
|
12
|
+
"src/sqlite-api.js",
|
|
13
|
+
"src/types/*",
|
|
14
|
+
"src/FacadeVFS.js",
|
|
15
|
+
"src/VFS.js",
|
|
16
|
+
"src/WebLocksMixin.js",
|
|
17
|
+
"src/examples/*",
|
|
18
|
+
"dist/*",
|
|
19
|
+
"test/*"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build-docs": "typedoc",
|
|
23
|
+
"start": "web-dev-server --node-resolve",
|
|
24
|
+
"test": "web-test-runner",
|
|
25
|
+
"test-manual": "web-test-runner --manual"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@types/jasmine": "^5.1.4",
|
|
29
|
+
"@web/dev-server": "^0.4.6",
|
|
30
|
+
"@web/test-runner": "^0.20.0",
|
|
31
|
+
"@web/test-runner-core": "^0.13.4",
|
|
32
|
+
"comlink": "^4.4.1",
|
|
33
|
+
"jasmine-core": "^4.5.0",
|
|
34
|
+
"monaco-editor": "^0.34.1",
|
|
35
|
+
"typedoc": "^0.25.7",
|
|
36
|
+
"typescript": "^5.3.3",
|
|
37
|
+
"web-test-runner-jasmine": "^0.0.6"
|
|
38
|
+
},
|
|
39
|
+
"dependenciesMeta": {
|
|
40
|
+
"monaco-editor@0.34.1": {
|
|
41
|
+
"unplugged": true
|
|
42
|
+
},
|
|
43
|
+
"web-test-runner-jasmine@0.0.6": {
|
|
44
|
+
"unplugged": true
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"packageManager": "yarn@4.0.2"
|
|
48
|
+
}
|