axway-flow-sdk
Advanced tools
Comparing version 3.1.1 to 3.1.2
{ | ||
"name": "axway-flow-sdk", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "SDK for implementing custom flow nodes for API Builder flows", | ||
@@ -36,3 +36,3 @@ "homepage": "https://platform.axway.com", | ||
"axway-flow-schema": "^5.0.0", | ||
"dot": "^1.1.2", | ||
"ejs": "^2.6.1", | ||
"nomnom": "^1.8.1", | ||
@@ -62,3 +62,3 @@ "validate-npm-package-name": "^3.0.0" | ||
}, | ||
"gitHead": "a081a7234a36cee162d99fafaa23415de60a934a" | ||
"gitHead": "464b406181a2399aeec80b0fc35bff5cd156773e" | ||
} |
@@ -406,2 +406,6 @@ # axway-flow-sdk | ||
## Changes | ||
#### 3.1.2 | ||
- #5742: Internal change to replace `dot` dependency with `ejs` when generating new flow-node plugins. | ||
#### 3.1.0 | ||
@@ -408,0 +412,0 @@ - #5600: Support schema references by disabling validation when building flow-nodes. |
const fs = require('fs'); | ||
const path = require('path'); | ||
const dot = require('dot'); | ||
const ejs = require('ejs'); | ||
const validate = require('validate-npm-package-name'); | ||
dot.templateSettings.strip = false; | ||
function generate(from, to, args) { | ||
@@ -17,4 +15,4 @@ const names = fs.readdirSync(from); | ||
} | ||
const data = dot.template(fs.readFileSync(fname, 'utf8'))(args); | ||
const dest = path.join(to, path.basename(tname, '.dot')); | ||
const data = ejs.render(fs.readFileSync(fname, 'utf8'), args); | ||
const dest = path.join(to, path.basename(tname)); | ||
const dir = path.dirname(dest); | ||
@@ -21,0 +19,0 @@ if (!fs.existsSync(dir)) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
636
423
46575
12
+ Addedejs@^2.6.1
+ Addedejs@2.7.4(transitive)
- Removeddot@^1.1.2
- Removeddot@1.1.3(transitive)