bump sqlite node deps for Node12 support

This commit is contained in:
Dave Conway-Jones 2019-10-12 11:37:44 +01:00
parent 27616df2dd
commit b35daf6bb7
No known key found for this signature in database
GPG Key ID: 302A6725C594817F
2 changed files with 5 additions and 6 deletions

View File

@ -16,22 +16,21 @@ devices like a Raspberry Pi - please be prepared to wait a long time. Also if no
cd ~/.node-red cd ~/.node-red
npm rebuild npm rebuild
Usage Usage
----- -----
Allows basic access to a Sqlite database. Allows basic access to a Sqlite database.
This node uses the <b>db.all</b> operation against the configured database. This node uses the **db.all** operation against the configured database.
This does allow INSERTS, UPDATES and DELETES. This does allow INSERTS, UPDATES and DELETES.
By it's very nature it is SQL injection... so *be careful* out there... By it's very nature it is SQL injection... so *be careful* out there...
`msg.topic` must hold the <i>query</i> for the database, and the result is returned in `msg.payload`. `msg.topic` must hold the *query* for the database, and the result is returned in `msg.payload`.
Typically the returned payload will be an array of the result rows, (or an error). Typically the returned payload will be an array of the result rows, (or an error).
You can load sqlite extensions by inputting a <code>msg.extension</code> property containing the full path and filename. You can load sqlite extensions by inputting a `msg.extension` property containing the full path and filename.
The reconnect timeout in milliseconds can be changed by adding a line to **settings.js** The reconnect timeout in milliseconds can be changed by adding a line to **settings.js**

View File

@ -1,9 +1,9 @@
{ {
"name": "node-red-node-sqlite", "name": "node-red-node-sqlite",
"version": "0.3.7", "version": "0.4.0",
"description": "A sqlite node for Node-RED", "description": "A sqlite node for Node-RED",
"dependencies": { "dependencies": {
"sqlite3": "^4.0.6" "sqlite3": "^4.1.0"
}, },
"repository": { "repository": {
"type": "git", "type": "git",