dwv 0.36.0-beta.9 → 0.36.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dwv",
3
- "version": "0.36.0-beta.9",
3
+ "version": "0.36.1",
4
4
  "description": "DICOM Web Viewer.",
5
5
  "keywords": [
6
6
  "DICOM",
@@ -31,35 +31,31 @@
31
31
  ],
32
32
  "dependencies": {
33
33
  "jszip": "^3.10.1",
34
- "konva": "~9.3.20",
34
+ "konva": "~10.2.0",
35
35
  "magic-wand-tool": "~1.1.7"
36
36
  },
37
37
  "devDependencies": {
38
- "@babel/core": "^7.28.3",
39
- "@babel/preset-env": "^7.28.3",
40
- "@eslint/js": "^9.34.0",
41
- "@microsoft/api-extractor": "^7.52.11",
42
- "@stylistic/eslint-plugin": "^5.2.3",
38
+ "@babel/core": "^7.28.5",
39
+ "@babel/preset-env": "^7.28.5",
40
+ "@eslint/js": "^9.39.2",
41
+ "@microsoft/api-extractor": "^7.55.1",
42
+ "@stylistic/eslint-plugin": "^5.7.0",
43
+ "@vitest/coverage-v8": "^4.0.17",
43
44
  "babel-loader": "^10.0.0",
44
- "babel-plugin-istanbul": "^7.0.0",
45
+ "babel-plugin-istanbul": "^7.0.1",
45
46
  "benchmark": "^2.1.4",
47
+ "canvas": "^3.2.1",
46
48
  "clean-jsdoc-theme": "^4.3.0",
47
- "eslint": "^9.34.0",
48
- "eslint-plugin-jsdoc": "^54.1.1",
49
+ "eslint": "^9.39.2",
50
+ "eslint-plugin-jsdoc": "^62.0.0",
49
51
  "github-release-notes": "0.17.2",
50
- "globals": "^16.3.0",
51
- "html-webpack-plugin": "^5.6.4",
52
- "jsdoc": "^4.0.4",
53
- "karma": "^6.4.4",
54
- "karma-chrome-launcher": "^3.2.0",
55
- "karma-coverage": "^2.2.1",
56
- "karma-json-reporter": "1.2.1",
57
- "karma-qunit": "^4.2.1",
58
- "karma-sourcemap-loader": "^0.4.0",
59
- "karma-webpack": "^5.0.1",
60
- "qunit": "^2.24.1",
52
+ "globals": "^17.0.0",
53
+ "html-webpack-plugin": "^5.6.5",
54
+ "jsdoc": "^4.0.5",
55
+ "jsdom": "^28.0.0",
61
56
  "typescript": "5.6.3",
62
- "webpack": "^5.101.3",
57
+ "vitest": "^4.0.17",
58
+ "webpack": "^5.104.1",
63
59
  "webpack-cli": "^6.0.1",
64
60
  "webpack-dev-server": "^5.2.2",
65
61
  "webpack-merge": "^6.0.1"
@@ -72,11 +68,12 @@
72
68
  "build-all": "yarn run build && yarn run pack-node",
73
69
  "build-demo": "webpack --config config/webpack.demo.js",
74
70
  "lint": "eslint -c config/eslint.config-full.js 'src/**/*.js' 'tests/**/*.js' '*.js'",
75
- "test": "karma start karma.conf.js",
76
- "test-ci": "karma start karma.conf.js --browsers ChromeHeadless --reporters progress,coverage,json --single-run",
71
+ "test": "vitest",
72
+ "test-ci": "vitest --coverage --watch false --reporter default --reporter json",
77
73
  "doc": "jsdoc -c resources/doc/jsdoc.conf.json",
78
74
  "gren": "gren",
79
75
  "types": "tsc -p resources/api/tsconfig.json",
80
76
  "api": "api-extractor run -c resources/api/api-extractor.json --local"
81
- }
77
+ },
78
+ "packageManager": "yarn@4.12.0"
82
79
  }
package/readme.md CHANGED
@@ -17,13 +17,14 @@ If you have questions, please [open an issue](https://www.github.com/ivmartel/dw
17
17
 
18
18
  - `ìnstall`: install dependencies
19
19
  - `lint`: run code linting
20
- - `test`: opens a web page with test pages and karmas' results (with live reload)
20
+ - `test`: run tests with live reload
21
21
  - `test-ci`: one shot test run
22
22
  - `build`: create release files
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.
26
+ the lock file (that contains the exact dependency tree) is a yarn file. No need
27
+ to install it, just run `corepack enable` should be enough.
27
28
  All scripts also work with `npm`.
28
29
 
29
30
  ## Steps to run the viewer from scratch