@salesforce/source-deploy-retrieve
Advanced tools
Comparing version
@@ -0,1 +1,7 @@ | ||
# 2.1.3 - April 29, 2021 | ||
## Fixed | ||
- Preserve leading zeroes in xml node values ([PR #319](https://github.com/forcedotcom/source-deploy-retrieve/pull/319)) | ||
# 2.1.1 - April 20, 2021 | ||
@@ -2,0 +8,0 @@ |
@@ -101,3 +101,7 @@ "use strict"; | ||
parse(contents) { | ||
const parsed = fast_xml_parser_1.parse(contents.toString(), { ignoreAttributes: false }); | ||
// include tag attributes and don't parse text node as number | ||
const parsed = fast_xml_parser_1.parse(contents.toString(), { | ||
ignoreAttributes: false, | ||
parseNodeValue: false, | ||
}); | ||
const [firstElement] = Object.keys(parsed); | ||
@@ -104,0 +108,0 @@ if (firstElement === this.type.name) { |
{ | ||
"name": "@salesforce/source-deploy-retrieve", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"gusBuild": "49.1.0", | ||
@@ -5,0 +5,0 @@ "description": "JavaScript library to run Salesforce metadata deploys and retrieves", |
Sorry, the diff of this file is not supported yet
611363
0.05%11651
0.03%