From 6455dde024a6d13b7e481e4bafc86050b5e4dfd0 Mon Sep 17 00:00:00 2001 From: Artem Ustimov Date: Thu, 18 Oct 2018 15:19:37 +0200 Subject: [PATCH] v0.0.5 --- README.md | 2 -- package.json | 6 +++--- src/cli/flow-drawer.js | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) 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;