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

bump mysql package and lib

This commit is contained in:
Dave Conway-Jones 2020-03-01 17:06:22 +00:00
parent 2631a7937a
commit eb9d379014
No known key found for this signature in database
GPG Key ID: 302A6725C594817F
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<script type="text/x-red" data-template-name="MySQLdatabase"> <script type="text/html" data-template-name="MySQLdatabase">
<div class="form-row"> <div class="form-row">
<label for="node-config-input-host"><i class="fa fa-globe"></i> Host</label> <label for="node-config-input-host"><i class="fa fa-globe"></i> Host</label>
<input type="text" id="node-config-input-host"> <input type="text" id="node-config-input-host">
@ -48,7 +48,7 @@
</script> </script>
<script type="text/x-red" data-template-name="mysql"> <script type="text/html" data-template-name="mysql">
<div class="form-row"> <div class="form-row">
<label for="node-input-mydb"><i class="fa fa-database"></i> Database</label> <label for="node-input-mydb"><i class="fa fa-database"></i> Database</label>
<input type="text" id="node-input-mydb"> <input type="text" id="node-input-mydb">
@ -59,7 +59,7 @@
</div> </div>
</script> </script>
<script type="text/x-red" data-help-name="mysql"> <script type="text/html" data-help-name="mysql">
<p>Allows basic access to a MySQL database.</p> <p>Allows basic access to a MySQL database.</p>
<p>This node uses the <b>query</b> operation against the configured database. This does allow both INSERTS and DELETES. <p>This node uses the <b>query</b> operation against the configured database. This does allow both INSERTS and DELETES.
By its very nature it allows SQL injection... so <i>be careful out there...</i></p> By its very nature it allows SQL injection... so <i>be careful out there...</i></p>

View File

@ -5,7 +5,7 @@ A <a href="http://nodered.org" target="_new">Node-RED</a> node to read and write
Install Install
------- -------
Run the following command in your Node-RED user directory - typically `~/.node-red` Either use the `Node-RED Menu - Manage Palette - Install`, or run the following command in your Node-RED user directory - typically `~/.node-red`
npm install node-red-node-mysql npm install node-red-node-mysql

View File

@ -1,9 +1,9 @@
{ {
"name": "node-red-node-mysql", "name": "node-red-node-mysql",
"version": "0.0.19", "version": "0.0.2-",
"description": "A Node-RED node to read and write to a MySQL database", "description": "A Node-RED node to read and write to a MySQL database",
"dependencies": { "dependencies": {
"mysql": "^2.17.1" "mysql": "^2.18.1"
}, },
"repository": { "repository": {
"type": "git", "type": "git",