@xliic/cicd-core-node
Advanced tools
Comparing version 5.0.0 to 5.1.0
@@ -64,3 +64,3 @@ "use strict"; | ||
const [root, lines] = yield getParsed(filename); | ||
const node = root.find(pointer); | ||
const node = (0, preserving_json_yaml_parser_1.find)(root, pointer); | ||
if (node) { | ||
@@ -74,3 +74,3 @@ const line = findLine(lines, node.getRange()); | ||
const [root, lines] = yield getParsed(mapping.file); | ||
const node = root.find(mapping.hash); | ||
const node = (0, preserving_json_yaml_parser_1.find)(root, mapping.hash); | ||
const line = findLine(lines, node.getRange()); | ||
@@ -77,0 +77,0 @@ return [mapping.file, line]; |
{ | ||
"name": "@xliic/cicd-core-node", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"description": "Performs API contract security audit to get a detailed analysis of the possible vulnerabilities and other issues in the API contract.", | ||
@@ -23,3 +23,3 @@ "main": "lib/index.js", | ||
"@xliic/json-schema-ref-parser": "^9.3.0", | ||
"@xliic/preserving-json-yaml-parser": "^1.7.2", | ||
"@xliic/preserving-json-yaml-parser": "^1.9.0", | ||
"ajv": "^7.0.3", | ||
@@ -26,0 +26,0 @@ "form-data": "^3.0.0", |
101566