@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/dicom.cjs +6 -1
- package/dist/dicom.cjs.map +1 -1
- package/dist/dicom.js +6 -1
- package/dist/dicom.js.map +1 -1
- package/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/servers.cjs +6 -1
- package/dist/servers.cjs.map +1 -1
- package/dist/servers.js +6 -1
- package/dist/servers.js.map +1 -1
- package/dist/tools.cjs +6 -1
- package/dist/tools.cjs.map +1 -1
- package/dist/tools.js +6 -1
- package/dist/tools.js.map +1 -1
- package/package.json +1 -1
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 {
|