larvitar 3.8.6 → 3.8.8

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/logger.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { LogType } from "consola";
2
- export declare const logger: import("consola").ConsolaInstance;
1
+ import consola, { LogType } from "consola";
2
+ export declare const logger: consola.ConsolaInstance;
3
3
  /**
4
4
  * Set the log level
5
5
  * @function setLogLevel
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "medical",
7
7
  "cornerstone"
8
8
  ],
9
- "version": "3.8.6",
9
+ "version": "3.8.8",
10
10
  "description": "typescript library for parsing, loading, rendering and interacting with DICOM images",
11
11
  "repository": {
12
12
  "url": "https://github.com/dvisionlab/Larvitar.git",
@@ -19,7 +19,10 @@
19
19
  "imaging/**/*.d.ts"
20
20
  ],
21
21
  "scripts": {
22
- "coverage": "typescript-coverage-report",
22
+ "typecov:txt": "type-coverage --detail --strict --ignore-files \"imaging/tools/**/*\" > typecov.txt",
23
+ "typecov:json": "type-coverage --detail --strict --ignore-files \"imaging/tools/**/*\" --json-output > typecov.json",
24
+ "typecov:md": "node .github/scripts/typecov-badge-md.js typecov.txt typecov.json coverage-summary.md",
25
+ "coverage": "npm run typecov:txt && npm run typecov:json && npm run typecov:md",
23
26
  "format": "prettier --write \"imaging/**/*.{js,ts,json,css,md}\" \"docs/examples/**/*.html\"",
24
27
  "format:check": "prettier --check \"imaging/**/*.{js,ts,json,css,md}\" \"docs/examples/**/*.html\"",
25
28
  "postinstall": "patch-package",
@@ -39,7 +42,7 @@
39
42
  ],
40
43
  "license": "MIT",
41
44
  "dependencies": {
42
- "@hyzyla/pdfium": "^2.1.2",
45
+ "@hyzyla/pdfium": "=2.1.2",
43
46
  "consola": "^3.4.0",
44
47
  "cornerstone-core": "^2.6.1",
45
48
  "cornerstone-file-image-loader": "^0.3.0",
@@ -54,12 +57,14 @@
54
57
  "keycode-js": "^3.1.0",
55
58
  "lodash": "^4.17.15",
56
59
  "pako": "^1.0.10",
60
+ "patch-package": "^8.0.1",
57
61
  "plotly.js-dist-min": "^2.27.1",
58
62
  "uuid": "^8.3.2"
59
63
  },
60
64
  "devDependencies": {
61
65
  "@babel/core": "^7.21.8",
62
66
  "@rollup/plugin-commonjs": "^28.0.3",
67
+ "@simonsmith/cypress-image-snapshot": "^10.0.3",
63
68
  "@types/cornerstone-core": "^2.3.0",
64
69
  "@types/crypto-js": "^4.1.1",
65
70
  "@types/hammerjs": "^2.0.41",
@@ -74,7 +79,6 @@
74
79
  "babel-loader": "^9.1.2",
75
80
  "clean-webpack-plugin": "^4.0.0",
76
81
  "cypress": "^14.2.0",
77
- "cypress-image-snapshot": "^4.0.1",
78
82
  "cypress-mochawesome-reporter": "^3.8.2",
79
83
  "cypress-multi-reporters": "^2.0.5",
80
84
  "eslint": "^9.17.0",
@@ -83,12 +87,11 @@
83
87
  "jsdom": "^26.0.0",
84
88
  "lodash-webpack-plugin": "^0.11.6",
85
89
  "mocha-json-reporter": "^1.0.0-1",
86
- "patch-package": "^8.0.0",
87
90
  "prettier": "^3.5.3",
88
91
  "sass-embedded": "^1.80.7",
89
92
  "ts-loader": "^9.4.2",
93
+ "type-coverage": "^2.29.7",
90
94
  "typescript": "^5.0.2",
91
- "typescript-coverage-report": "^0.7.0",
92
95
  "vuepress": "^2.0.0-rc.18",
93
96
  "webpack": "^5.76.3",
94
97
  "webpack-cli": "^5.0.1",