@microsoft.azure/autorest-core
Advanced tools
Comparing version 3.0.5447 to 3.0.5449
@@ -87,5 +87,5 @@ "use strict"; | ||
async process(data, sink, isObject, documentId) { | ||
const trans1 = !isObject ? await sink.WriteObject(`trans_input?${data.key}`, data.ReadData(), data.identity) : data; | ||
const trans1 = !isObject ? await sink.WriteObject(`trans_input?${data.key}`, data.ReadData(), data.identity, data.artifactType) : data; | ||
const result = await this.processInternal(trans1, sink, documentId); | ||
return (!isObject) ? sink.WriteData(`trans_output?${data.key}`, result.ReadObject(), data.identity) : result; | ||
return (!isObject) ? sink.WriteData(`trans_output?${data.key}`, result.ReadObject(), data.identity, data.artifactType) : result; | ||
} | ||
@@ -92,0 +92,0 @@ } |
@@ -12,2 +12,13 @@ "use strict"; | ||
mappingInfo) { | ||
if (whereJsonQuery === '$') { | ||
const data = src.ReadData(); | ||
const newObject = transformer(null, data, []); | ||
if (newObject !== data) { | ||
const resultHandle = await target.WriteData(src.Description, newObject, src.identity, src.artifactType, undefined, mappingInfo ? [src, mappingInfo.transformerSourceHandle] : [src]); | ||
return { | ||
anyHit: true, | ||
result: resultHandle | ||
}; | ||
} | ||
} | ||
// find paths matched by `whereJsonQuery` | ||
@@ -14,0 +25,0 @@ let ast = datastore_1.CloneAst(src.ReadYamlAst()); |
{ | ||
"name": "@microsoft.azure/autorest-core", | ||
"version": "3.0.5447", | ||
"version": "3.0.5449", | ||
"description": "AutoRest core module", | ||
@@ -58,12 +58,12 @@ "engines": { | ||
"vscode-languageserver": "3.5.1", | ||
"@microsoft.azure/async-io": "^2.1.72", | ||
"@microsoft.azure/extension": "^2.2.69", | ||
"@microsoft.azure/uri": "^2.1.64", | ||
"@microsoft.azure/datastore": "^2.1.96", | ||
"@microsoft.azure/oai2-to-oai3": "^2.1.111", | ||
"@microsoft.azure/codegen": "^1.0.80", | ||
"@microsoft.azure/openapi": "^2.1.63", | ||
"@microsoft.azure/linq": "^2.1.67", | ||
"@microsoft.azure/deduplication": "^1.0.77", | ||
"@microsoft.azure/object-comparison": "^2.1.60", | ||
"@microsoft.azure/async-io": "^2.1.86", | ||
"@microsoft.azure/extension": "^2.2.82", | ||
"@microsoft.azure/uri": "^2.1.77", | ||
"@microsoft.azure/datastore": "^2.1.110", | ||
"@microsoft.azure/oai2-to-oai3": "^2.1.130", | ||
"@microsoft.azure/codegen": "^1.0.98", | ||
"@microsoft.azure/openapi": "^2.1.77", | ||
"@microsoft.azure/linq": "^2.1.80", | ||
"@microsoft.azure/deduplication": "^1.0.92", | ||
"@microsoft.azure/object-comparison": "^2.1.73", | ||
"compare-versions": "^3.4.0", | ||
@@ -86,12 +86,12 @@ "commonmark": "^0.27.0", | ||
"vscode-languageserver": "3.5.1", | ||
"@microsoft.azure/async-io": "^2.1.72", | ||
"@microsoft.azure/extension": "^2.2.69", | ||
"@microsoft.azure/uri": "^2.1.64", | ||
"@microsoft.azure/datastore": "^2.1.96", | ||
"@microsoft.azure/oai2-to-oai3": "^2.1.111", | ||
"@microsoft.azure/codegen": "^1.0.80", | ||
"@microsoft.azure/openapi": "^2.1.63", | ||
"@microsoft.azure/linq": "^2.1.67", | ||
"@microsoft.azure/deduplication": "^1.0.77", | ||
"@microsoft.azure/object-comparison": "^2.1.60", | ||
"@microsoft.azure/async-io": "^2.1.86", | ||
"@microsoft.azure/extension": "^2.2.82", | ||
"@microsoft.azure/uri": "^2.1.77", | ||
"@microsoft.azure/datastore": "^2.1.110", | ||
"@microsoft.azure/oai2-to-oai3": "^2.1.130", | ||
"@microsoft.azure/codegen": "^1.0.98", | ||
"@microsoft.azure/openapi": "^2.1.77", | ||
"@microsoft.azure/linq": "^2.1.80", | ||
"@microsoft.azure/deduplication": "^1.0.92", | ||
"@microsoft.azure/object-comparison": "^2.1.73", | ||
"commonmark": "^0.27.0", | ||
@@ -98,0 +98,0 @@ "jsonpath": "1.0.0", |
@@ -52,3 +52,2 @@ # Default Configuration - Multi API Version Pipeline | ||
openapi-document/multi-api/identity: | ||
@@ -55,0 +54,0 @@ input: subset-reducer |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
14577
26155456