@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.js CHANGED
@@ -30720,7 +30720,12 @@ var parser = new XMLParser({
30720
30720
  ignoreAttributes: false,
30721
30721
  attributeNamePrefix: "@_",
30722
30722
  parseTagValue: false,
30723
- isArray: (name) => ARRAY_TAG_NAMES.has(name)
30723
+ isArray: (name) => ARRAY_TAG_NAMES.has(name),
30724
+ // DICOM XML does not use XML entities. Disable entity processing to avoid
30725
+ // the default expansion limit (1000) which rejects files with >1000 tags.
30726
+ // Without this, large studies fall through to dcm2json which hangs on
30727
+ // compressed pixel data (DCMTK bug).
30728
+ processEntities: false
30724
30729
  });
30725
30730
  function xmlToJson(xml) {
30726
30731
  try {