node-sqlite3-wasm
Advanced tools
Comparing version
{ | ||
"name": "node-sqlite3-wasm", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "WebAssembly port of SQLite3 for Node.js with file system access", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/tndrle/node-sqlite3-wasm", |
@@ -17,4 +17,4 @@ **_node-sqlite3-wasm_** | ||
notably [sql.js](https://github.com/sql-js/sql.js/), but none supports | ||
persistent storage. There also exist native bindings like | ||
[better-sqlite3](https://github.com/WiseLibs/better-sqlite3) or | ||
persistent storage with direct file access. There also exist native bindings | ||
like [better-sqlite3](https://github.com/WiseLibs/better-sqlite3) or | ||
[node-sqlite3](https://github.com/TryGhost/node-sqlite3). However, native | ||
@@ -24,7 +24,8 @@ bindings must be recompiled for every target platform or pre-built binaries must | ||
_node-sqlite3-wasm_ supports persistent storage by implementing a [SQLite OS | ||
Interface or "VFS"](https://www.sqlite.org/vfs.html) that translates SQLite file | ||
access to [Node.js' file system API](https://nodejs.org/api/fs.html). | ||
_node-sqlite3-wasm_ supports persistent storage with direct file access by | ||
implementing an [SQLite OS Interface or "VFS"](https://www.sqlite.org/vfs.html) | ||
that translates SQLite file access to [Node.js' file system | ||
API](https://nodejs.org/api/fs.html). | ||
_node-sqlite3-wasm_ is a minimal implementation, without much testing. In | ||
_node-sqlite3-wasm_ is a minimal implementation. In | ||
particular, it does not support | ||
@@ -34,4 +35,2 @@ | ||
- Loading of dynamic extensions | ||
- Temporary files (this is why _node-sqlite3-wasm_ is compiled with the | ||
`SQLITE_TEMP_STORE=3` flag) | ||
- Binary large objects (BLOBs) | ||
@@ -283,3 +282,3 @@ | ||
if its value exceeds | ||
[Number.MAX_SAFE_INTEGER](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER). | ||
[`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER). | ||
The prepared statement is finalized automatically. | ||
@@ -414,3 +413,3 @@ | ||
if its value exceeds | ||
[Number.MAX_SAFE_INTEGER](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER). | ||
[`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER). | ||
@@ -417,0 +416,0 @@ Arguments |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
985848
1.25%0
-100%475
-0.21%