Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
220 changes: 99 additions & 121 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there no way to make this PR work without updating tooling? It might impact unexpected parts of the code.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's been a while, but, if I remember correctly, the build was just not working for me.
Otherwise, the tooling changes should not be needed.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit message "Update webpack so it build on modern node" support my memory.

Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
"rusha": "^0.8.14",
"shx": "^0.3.3",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^4.4.1",
"webpack-cli": "^4.8.0",
"webpack": "^4.47.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.2.1"
}
}
4 changes: 2 additions & 2 deletions src/parseDicomDataSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function parseDicomDataSetExplicit (dataSet, byteStream, maxPosition, opt
const element = readDicomElementExplicit(byteStream, dataSet.warnings, options.untilTag);

elements[element.tag] = element;
if (element.tag === options.untilTag) {
if (element.tag >= options.untilTag) {
return;
}
}
Expand Down Expand Up @@ -59,7 +59,7 @@ export function parseDicomDataSetImplicit (dataSet, byteStream, maxPosition, opt
const element = readDicomElementImplicit(byteStream, options.untilTag, options.vrCallback);

elements[element.tag] = element;
if (element.tag === options.untilTag) {
if (element.tag >= options.untilTag) {
return;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/readDicomElementExplicit.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function readDicomElementExplicit (byteStream, warnings, untilTag
element.hadUndefinedLength = true;
}

if (element.tag === untilTag) {
if (element.tag >= untilTag) {
return element;
}

Expand Down
Loading