Skip to content

Commit ec21ccd

Browse files
committed
chore: swap out xml parser
xmlbuilder2 no longer works in browsers with their latest update which prompted this change the new XML parser is usable in browser environments with one 1 dependency which was already a transient dependency Replaced parsing and serialization with fast-xml-parser
1 parent 97ce9f1 commit ec21ccd

File tree

17 files changed

+1634
-116
lines changed

17 files changed

+1634
-116
lines changed

libs/features/record-type-manager/src/lib/utils/__tests__/record-types.utils.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const TEST_DATA: { 'Contact.Record_Type_1': ReadMetadataRecordTypeExtended; 'Con
55
'Contact.Record_Type_1': {
66
sobject: 'Contact',
77
recordType: 'Record_Type_1',
8-
'@xsi:type': 'RecordType',
8+
'@_type': 'RecordType',
99
fullName: 'Contact.Record_Type_1',
1010
active: true,
1111
description: '123',
@@ -60,7 +60,7 @@ const TEST_DATA: { 'Contact.Record_Type_1': ReadMetadataRecordTypeExtended; 'Con
6060
'Contact.Record_Type_2': {
6161
sobject: 'Contact',
6262
recordType: 'Record_Type_2',
63-
'@xsi:type': 'RecordType',
63+
'@_type': 'RecordType',
6464
fullName: 'Contact.Record_Type_2',
6565
active: true,
6666
label: 'Record Type 2',

0 commit comments

Comments
 (0)