Skip to content

Commit 5188d50

Browse files
committed
test: node_modules
1 parent c02a85c commit 5188d50

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

lib/template.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const Mustache = require('mustache');
2424
const yaml = require('js-yaml');
2525
const $RefParser = require('@apidevtools/json-schema-ref-parser');
2626
const deepmerge = require('deepmerge');
27-
const JSONPath = require('jsonpath-plus').JSONPath;
27+
// const JSONPath = require('jsonpath-plus').JSONPath;
2828
const axios = require('axios');
2929
const mexp = require('math-expression-evaluator');
3030

@@ -1273,7 +1273,7 @@ class Template {
12731273
view[def] = res.data;
12741274
}
12751275
if (defProp.pathQuery) {
1276-
const results = JSONPath(defProp.pathQuery, view[def]);
1276+
const results = ["JDK"]; // JSONPath(defProp.pathQuery, view[def]);
12771277
view[def] = results[0];
12781278
}
12791279
return Promise.resolve();

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
"@f5devcentral/atg-storage": "^1.3.9",
5151
"adm-zip": "^0.5.10",
5252
"ajv": "^6.12.6",
53-
"axios": "^0.30.2",
53+
"axios": "1.12.0",
5454
"deepmerge": "^4.3.1",
5555
"js-yaml": "^4.1.0",
56-
"jsonpath-plus": "^10.3.0",
56+
"jsonpath-plus": "10.3.0",
5757
"math-expression-evaluator": "^1.4.0",
5858
"merge-lite": "^1.0.2",
5959
"mustache": "^4.2.0",

0 commit comments

Comments
 (0)