@ubercode/dcmtk 0.12.0 → 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/index.js CHANGED
@@ -31377,7 +31377,12 @@ var parser = new XMLParser({
31377
31377
  ignoreAttributes: false,
31378
31378
  attributeNamePrefix: "@_",
31379
31379
  parseTagValue: false,
31380
- isArray: (name) => ARRAY_TAG_NAMES.has(name)
31380
+ isArray: (name) => ARRAY_TAG_NAMES.has(name),
31381
+ // DICOM XML does not use XML entities. Disable entity processing to avoid
31382
+ // the default expansion limit (1000) which rejects files with >1000 tags.
31383
+ // Without this, large studies fall through to dcm2json which hangs on
31384
+ // compressed pixel data (DCMTK bug).
31385
+ processEntities: false
31381
31386
  });
31382
31387
  function xmlToJson(xml) {
31383
31388
  try {