@ubercode/dcmtk 0.11.1 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dicom.cjs CHANGED
@@ -30726,7 +30726,12 @@ var parser = new fastXmlParser.XMLParser({
30726
30726
  ignoreAttributes: false,
30727
30727
  attributeNamePrefix: "@_",
30728
30728
  parseTagValue: false,
30729
- isArray: (name) => ARRAY_TAG_NAMES.has(name)
30729
+ isArray: (name) => ARRAY_TAG_NAMES.has(name),
30730
+ // DICOM XML does not use XML entities. Disable entity processing to avoid
30731
+ // the default expansion limit (1000) which rejects files with >1000 tags.
30732
+ // Without this, large studies fall through to dcm2json which hangs on
30733
+ // compressed pixel data (DCMTK bug).
30734
+ processEntities: false
30730
30735
  });
30731
30736
  function xmlToJson(xml) {
30732
30737
  try {