diff --git a/README.md b/README.md index 9a08681..c97e489 100644 --- a/README.md +++ b/README.md @@ -160,8 +160,6 @@ RED.nodes.registerType('Cache',{ You can register in one file as much nodes as you want. -*Some node definitions may access context objects such as **RED.validators**. This can cause fail during usage of the library. If you faced such issue, it's recommended to replace this parts of the code.* - ## CLI ### Installation diff --git a/package.json b/package.json index 2498844..19bb624 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "node-red-flow-drawer", - "version": "0.0.4", - "description": "A Node-RED flow drawer", + "version": "0.0.5", + "description": "A library and CLI for drawning Node-RED flows from JSON files", "main": "src/flow-drawer.js", "scripts": { "test": "mocha" @@ -25,7 +25,7 @@ "flow-drawer": "src/cli/flow-drawer.js" }, "dependencies": { - "canvas": "^2.0.0-alpha.14", + "canvas": "^2.0.1", "commander": "^2.18.0", "d3": "^3.5.17", "jsdom": "^12.0.0", diff --git a/src/cli/flow-drawer.js b/src/cli/flow-drawer.js index ee8edfa..863b700 100644 --- a/src/cli/flow-drawer.js +++ b/src/cli/flow-drawer.js @@ -9,7 +9,7 @@ let inputFileOrDirValue; let outputDirValue; program - .version('0.0.4', '-v, --version') + .version('0.0.5', '-v, --version') .arguments(' [outputDir]') .action((inputFileOrDir, outputDir) => { inputFileOrDirValue = inputFileOrDir;