1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

bump sqlite to latest library, which also drops nodejs <v12

This commit is contained in:
Dave Conway-Jones 2021-08-17 10:34:51 +01:00
parent c5bd7da8dc
commit 96fa500ad6
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF
2 changed files with 9 additions and 4 deletions

View File

@ -10,8 +10,10 @@ Run the following command in your Node-RED user directory - typically `~/.node-r
npm i --unsafe-perm node-red-node-sqlite
**Note**: the install process requires a compile of native code. This can take 15-20 minutes on
devices like a Raspberry Pi - please be prepared to wait a long time. Also if node.js is upgraded at any point you will need to rebuild the native part manually, for example.
**Notes**:
- Version 1.x requires nodejs v12 or greater.
- The install process requires a compile of native code. This can take 15-20 minutes on devices like a Raspberry Pi - please be prepared to wait a long time. Also if node.js is upgraded at any point you will need to rebuild the native part manually, for example.
cd ~/.node-red
npm rebuild

View File

@ -1,14 +1,17 @@
{
"name": "node-red-node-sqlite",
"version": "0.6.0",
"version": "1.0.0",
"description": "A sqlite node for Node-RED",
"dependencies": {
"sqlite3": "~4.2.0"
"sqlite3": "^5.0.2"
},
"repository": {
"type": "git",
"url": "https://github.com/node-red/node-red-nodes/tree/master/storage/sqlite"
},
"engines": {
"node": ">=12"
},
"license": "Apache-2.0",
"keywords": [
"node-red",