dwv 0.37.0-beta.9 → 0.37.0
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/assets/workers/jpeg2000.worker.min.js +1 -1
- package/dist/assets/workers/jpeg2000.worker.min.js.map +1 -1
- package/dist/assets/workers/jpegbaseline.worker.min.js +1 -1
- package/dist/assets/workers/jpegbaseline.worker.min.js.map +1 -1
- package/dist/assets/workers/jpegloss.worker.min.js +1 -1
- package/dist/assets/workers/jpegloss.worker.min.js.map +1 -1
- package/dist/assets/workers/labeling.worker.min.js +1 -1
- package/dist/assets/workers/labeling.worker.min.js.map +1 -1
- package/dist/assets/workers/resampling.worker.min.js +1 -1
- package/dist/assets/workers/resampling.worker.min.js.map +1 -1
- package/dist/assets/workers/rle.worker.min.js +1 -1
- package/dist/assets/workers/rle.worker.min.js.map +1 -1
- package/dist/dwv.d.ts +1320 -331
- package/dist/dwv.min.js +1 -1
- package/dist/dwv.min.js.map +1 -1
- package/dist/dwv.node.min.js +1 -1
- package/dist/dwv.node.min.js.map +1 -1
- package/package.json +21 -23
- package/readme.md +7 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dwv",
|
|
3
|
-
"version": "0.37.0
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"description": "DICOM Web Viewer.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"DICOM",
|
|
@@ -24,41 +24,38 @@
|
|
|
24
24
|
"default": "./dist/dwv.min.js"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
27
|
-
"node": ">=
|
|
27
|
+
"node": ">= 18.0.0"
|
|
28
28
|
},
|
|
29
29
|
"browserslist": [
|
|
30
30
|
">1%, last 2 versions, not dead"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
+
"dcmstdtojs": "0.2.0",
|
|
33
34
|
"jszip": "^3.10.1",
|
|
34
|
-
"konva": "~10.
|
|
35
|
+
"konva": "~10.9.0",
|
|
35
36
|
"magic-wand-tool": "~1.1.7"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
|
-
"@babel/core": "^8.0.1",
|
|
39
|
-
"@babel/preset-env": "^8.0.2",
|
|
40
39
|
"@eslint/js": "^10.0.1",
|
|
41
|
-
"@microsoft/api-extractor": "^7.
|
|
40
|
+
"@microsoft/api-extractor": "^7.59.1",
|
|
42
41
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
43
|
-
"@vitest/coverage-v8": "^
|
|
44
|
-
"babel-loader": "^10.1.1",
|
|
45
|
-
"babel-plugin-istanbul": "^8.0.0",
|
|
42
|
+
"@vitest/coverage-v8": "^5.1.0",
|
|
46
43
|
"benchmark": "^2.1.4",
|
|
47
|
-
"canvas": "^3.2.
|
|
48
|
-
"clean-jsdoc-theme": "^5.0
|
|
44
|
+
"canvas": "^3.2.3",
|
|
45
|
+
"clean-jsdoc-theme": "^5.2.0",
|
|
49
46
|
"diff": "^9.0.0",
|
|
50
47
|
"diff2html": "^3.4.56",
|
|
51
|
-
"eslint": "^10.
|
|
52
|
-
"eslint-plugin-jsdoc": "^
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"html-webpack-plugin": "^5.6.6",
|
|
48
|
+
"eslint": "^10.10.0",
|
|
49
|
+
"eslint-plugin-jsdoc": "^65.0.2",
|
|
50
|
+
"globals": "^17.12.0",
|
|
51
|
+
"html-webpack-plugin": "^5.6.8",
|
|
56
52
|
"jsdoc": "^4.0.5",
|
|
57
|
-
"jsdom": "^
|
|
53
|
+
"jsdom": "^30.0.1",
|
|
58
54
|
"typescript": "5.6.3",
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"webpack
|
|
55
|
+
"vite": "^8.3.0",
|
|
56
|
+
"vitest": "^5.1.0",
|
|
57
|
+
"webpack": "^5.110.3",
|
|
58
|
+
"webpack-cli": "^7.2.3",
|
|
62
59
|
"webpack-dev-server": "^6.0.0",
|
|
63
60
|
"webpack-merge": "^6.0.1"
|
|
64
61
|
},
|
|
@@ -67,15 +64,16 @@
|
|
|
67
64
|
"pack": "webpack --config config/webpack.prod.js",
|
|
68
65
|
"pack-node": "webpack --config config/webpack.node.js",
|
|
69
66
|
"build": "yarn run pack && yarn run types && yarn run api",
|
|
67
|
+
"build-ci": "yarn run pack && yarn run types && yarn run api-ci",
|
|
70
68
|
"build-all": "yarn run build && yarn run pack-node",
|
|
71
69
|
"build-demo": "webpack --config config/webpack.demo.js",
|
|
72
70
|
"lint": "eslint -c config/eslint.config-full.js 'src/**/*.js' 'tests/**/*.js' '*.js'",
|
|
73
71
|
"test": "vitest",
|
|
74
72
|
"test-ci": "vitest --coverage --watch false --reporter default --reporter json",
|
|
75
73
|
"doc": "jsdoc -c resources/doc/jsdoc.conf.json",
|
|
76
|
-
"gren": "gren",
|
|
77
74
|
"types": "tsc -p resources/api/tsconfig.json",
|
|
78
|
-
"api": "api-extractor run -c resources/api/api-extractor.json --local"
|
|
75
|
+
"api": "api-extractor run -c resources/api/api-extractor.json --local",
|
|
76
|
+
"api-ci": "api-extractor run -c resources/api/api-extractor.json"
|
|
79
77
|
},
|
|
80
|
-
"packageManager": "yarn@4.
|
|
78
|
+
"packageManager": "yarn@4.18.0"
|
|
81
79
|
}
|
package/readme.md
CHANGED
|
@@ -7,7 +7,7 @@ DWV (DICOM Web Viewer) is an open source zero footprint medical image viewer lib
|
|
|
7
7
|
|
|
8
8
|
Try a [live demo](https://ivmartel.github.io/dwv/) and read a lot more information on the [docs](https://ivmartel.github.io/dwv/doc/stable/index.html) (such as [examples](https://ivmartel.github.io/dwv/doc/stable/tutorial-examples.html), [dicom conformance](https://ivmartel.github.io/dwv/doc/stable/tutorial-conformance.html), [pacs integrations](https://ivmartel.github.io/dwv/doc/stable/tutorial-integrations.html)). You can also check out the [wiki](https://github.com/ivmartel/dwv/wiki).
|
|
9
9
|
|
|
10
|
-
- All coding/implementation contributions and comments are welcome.
|
|
10
|
+
- All coding/implementation contributions and comments are welcome, see the [contributing guidelines](.github/contributing.md).
|
|
11
11
|
- DWV is not certified for diagnostic use.<sup>[1](#footnote1)</sup>
|
|
12
12
|
- Released under GNU GPL-3.0 license (see [license.txt](license.txt)).
|
|
13
13
|
|
|
@@ -23,8 +23,12 @@ If you have questions, please [open an issue](https://www.github.com/ivmartel/dw
|
|
|
23
23
|
- `doc`: create documentation
|
|
24
24
|
|
|
25
25
|
I'm using `yarn` as the main package manager. Best to use it to install since
|
|
26
|
-
the lock file (that contains the exact dependency tree) is a yarn file.
|
|
27
|
-
|
|
26
|
+
the lock file (that contains the exact dependency tree) is a yarn file. Run `corepack enable` to install `yarn` shims that read the
|
|
27
|
+
`packageManager` field of `package.json` and download and run that exact yarn
|
|
28
|
+
version. Without enabling it, `corepack yarn <script>` (for ex
|
|
29
|
+
`corepack yarn start`) does the same for a single command.
|
|
30
|
+
Corepack is bundled with Node up to v24 only; from Node 25, install it first
|
|
31
|
+
with `npm install -g corepack`.
|
|
28
32
|
All scripts also work with `npm`.
|
|
29
33
|
|
|
30
34
|
## Steps to run the viewer from scratch
|