Socket
Socket
Sign inDemoInstall

axway-flow-sdk

Package Overview
Dependencies
Maintainers
12
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axway-flow-sdk - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

templates/package.json

6

package.json
{
"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)) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc