@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/index.cjs
CHANGED
|
@@ -31402,7 +31402,12 @@ var parser = new fastXmlParser.XMLParser({
|
|
|
31402
31402
|
ignoreAttributes: false,
|
|
31403
31403
|
attributeNamePrefix: "@_",
|
|
31404
31404
|
parseTagValue: false,
|
|
31405
|
-
isArray: (name) => ARRAY_TAG_NAMES.has(name)
|
|
31405
|
+
isArray: (name) => ARRAY_TAG_NAMES.has(name),
|
|
31406
|
+
// DICOM XML does not use XML entities. Disable entity processing to avoid
|
|
31407
|
+
// the default expansion limit (1000) which rejects files with >1000 tags.
|
|
31408
|
+
// Without this, large studies fall through to dcm2json which hangs on
|
|
31409
|
+
// compressed pixel data (DCMTK bug).
|
|
31410
|
+
processEntities: false
|
|
31406
31411
|
});
|
|
31407
31412
|
function xmlToJson(xml) {
|
|
31408
31413
|
try {
|