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

Bump version and dependencies

This commit is contained in:
Nick O'Leary 2016-01-18 11:09:52 +00:00
parent 3288efdad6
commit 03558b012c
3 changed files with 8 additions and 8 deletions

View File

@ -471,6 +471,7 @@ RED.view = (function() {
function canvasMouseMove() { function canvasMouseMove() {
var i; var i;
var node;
mouse_position = d3.touches(this)[0]||d3.mouse(this); mouse_position = d3.touches(this)[0]||d3.mouse(this);
// Prevent touch scrolling... // Prevent touch scrolling...
//if (d3.touches(this)[0]) { //if (d3.touches(this)[0]) {
@ -605,7 +606,6 @@ RED.view = (function() {
} }
} else if (mouse_mode == RED.state.MOVING_ACTIVE || mouse_mode == RED.state.IMPORT_DRAGGING) { } else if (mouse_mode == RED.state.MOVING_ACTIVE || mouse_mode == RED.state.IMPORT_DRAGGING) {
mousePos = mouse_position; mousePos = mouse_position;
var node;
var minX = 0; var minX = 0;
var minY = 0; var minY = 0;
for (var n = 0; n<moving_set.length; n++) { for (var n = 0; n<moving_set.length; n++) {

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red", "name" : "node-red",
"version" : "0.12.5", "version" : "0.13.0",
"description" : "A visual tool for wiring the Internet of Things", "description" : "A visual tool for wiring the Internet of Things",
"homepage" : "http://nodered.org", "homepage" : "http://nodered.org",
"license" : "Apache-2.0", "license" : "Apache-2.0",
@ -22,7 +22,7 @@
{"name": "Dave Conway-Jones"} {"name": "Dave Conway-Jones"}
], ],
"keywords": [ "keywords": [
"editor", "messaging", "iot", "m2m", "pi", "arduino", "beaglebone", "ibm", "flow" "editor", "messaging", "iot", "ibm", "flow"
], ],
"dependencies": { "dependencies": {
"basic-auth": "1.0.3", "basic-auth": "1.0.3",
@ -49,11 +49,11 @@
"passport-oauth2-client-password":"0.1.2", "passport-oauth2-client-password":"0.1.2",
"raw-body":"2.1.5", "raw-body":"2.1.5",
"semver": "5.1.0", "semver": "5.1.0",
"sentiment":"1.0.4", "sentiment":"1.0.5",
"uglify-js":"2.6.1", "uglify-js":"2.6.1",
"when": "3.7.7", "when": "3.7.7",
"ws": "0.8.1", "ws": "0.8.1",
"xml2js":"0.4.15", "xml2js":"0.4.16",
"node-red-node-feedparser":"0.1.*", "node-red-node-feedparser":"0.1.*",
"node-red-node-email":"0.1.*", "node-red-node-email":"0.1.*",
"node-red-node-twitter":"0.1.*", "node-red-node-twitter":"0.1.*",
@ -72,7 +72,7 @@
"grunt-contrib-compress": "0.14.0", "grunt-contrib-compress": "0.14.0",
"grunt-contrib-concat":"0.5.1", "grunt-contrib-concat":"0.5.1",
"grunt-contrib-copy": "0.8.2", "grunt-contrib-copy": "0.8.2",
"grunt-contrib-jshint": "0.11.3", "grunt-contrib-jshint": "0.12.0",
"grunt-contrib-uglify": "0.11.0", "grunt-contrib-uglify": "0.11.0",
"grunt-contrib-watch":"0.6.1", "grunt-contrib-watch":"0.6.1",
"grunt-jsonlint":"1.0.7", "grunt-jsonlint":"1.0.7",

View File

@ -163,8 +163,8 @@ module.exports = {
res.status(400).json({error:"invalid_request", message:"Invalid request"}); res.status(400).json({error:"invalid_request", message:"Invalid request"});
return; return;
} }
try {
var id = req.params.mod + "/" + req.params.set; var id = req.params.mod + "/" + req.params.set;
try {
var node = redNodes.getNodeInfo(id); var node = redNodes.getNodeInfo(id);
var info; var info;
if (!node) { if (!node) {
@ -195,8 +195,8 @@ module.exports = {
res.status(400).json({error:"invalid_request", message:"Invalid request"}); res.status(400).json({error:"invalid_request", message:"Invalid request"});
return; return;
} }
try {
var mod = req.params.mod; var mod = req.params.mod;
try {
var module = redNodes.getModuleInfo(mod); var module = redNodes.getModuleInfo(mod);
if (!module) { if (!module) {
log.audit({event: "nodes.module.set",module:mod,error:"not_found"},req); log.audit({event: "nodes.module.set",module:mod,error:"not_found"},req);