You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Posting this here too as this is where people will likely experience the issue; strnum has published a backwards-incompatible change in 1.1.0 from 1.0.5 - see issue NaturalIntelligence/strnum#11. This causes new installations of the 4.x branch to fail parsing UUID-like strings.
import { XMLParser } from 'fast-xml-parser';
const xml = `
<?xml version="1.0" encoding="UTF-8"?>' +
<Id1>0e406434-49ea-46fd-a01a-2e4ddd76e91c</Id1>
<Id2>e406434-49ea-46fd-a01a-2e4ddd76e91c</Id2>
<Id3>1e406434-49ea-46fd-a01a-2e4ddd76e91c</Id3>
<Id4>0f406434-49ea-46fd-a01a-2e4ddd76e91c</Id4>
`
const parser = new XMLParser();
const result = parser.parse(xml);
console.log('result', result);
We're glad you find this project helpful. We'll try to address this issue ASAP. You can vist https://solothought.com to know recent features. Don't forget to star this repo.
Posting this here too as this is where people will likely experience the issue; strnum has published a backwards-incompatible change in 1.1.0 from 1.0.5 - see issue NaturalIntelligence/strnum#11. This causes new installations of the 4.x branch to fail parsing UUID-like strings.
Result will be
The text was updated successfully, but these errors were encountered: