Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

Commit 7c00be1

Browse files
authored
chore: update dependencies (#488)
1 parent 59009fa commit 7c00be1

File tree

216 files changed

+1519
-220
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+1519
-220
lines changed

demo/components/testFunctions/testColorRois.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Image } from '../../../src/index.js';
2-
import { fromMask, colorRois } from '../../../src/roi/index.js';
2+
import { colorRois, fromMask } from '../../../src/roi/index.js';
33

44
/**
55
* Make a mask out of the image and detect all ROIs. Returns only the white ROIs on a black background.

demo/components/testFunctions/testCorrectColor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { polishAltered } from '../../../src/correctColor/__tests__/testUtils/imageColors.js';
2-
import { referenceColorCard } from '../../../src/correctColor/utils/referenceColorCard.ts';
32
import { correctColor } from '../../../src/correctColor/correctColor.js';
43
import {
54
getMeasuredColors,
65
getReferenceColors,
76
} from '../../../src/correctColor/utils/formatData.js';
7+
import { referenceColorCard } from '../../../src/correctColor/utils/referenceColorCard.ts';
88
import type { Image } from '../../../src/index.js';
99

1010
/**

demo/components/testFunctions/testExtract.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { fromMask, Image } from '../../../src/index.js';
1+
import { Image, fromMask } from '../../../src/index.js';
22

33
/**
44
* Extract the pixels of a mask from the image.

demo/components/testFunctions/testGetBorderPoints.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Image } from '../../../src/index.js';
2-
import { fromMask, Mask } from '../../../src/index.js';
2+
import { Mask, fromMask } from '../../../src/index.js';
33
/**
44
* Paint the border of the larger black ROI on the image.
55
* @param image - The image to process

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -43,46 +43,46 @@
4343
"ml-ransac": "^1.0.0",
4444
"ml-regression-multivariate-linear": "^2.0.4",
4545
"ml-regression-polynomial-2d": "^1.0.0",
46-
"ml-spectra-processing": "^14.12.0",
46+
"ml-spectra-processing": "^14.14.0",
4747
"robust-point-in-polygon": "^1.0.3",
4848
"ssim.js": "^3.5.0",
49-
"tiff": "^7.0.0",
49+
"tiff": "^7.1.0",
5050
"ts-pattern": "^5.7.1",
5151
"uint8-base64": "^1.0.0"
5252
},
5353
"devDependencies": {
54-
"@microsoft/api-extractor": "^7.52.8",
54+
"@microsoft/api-extractor": "^7.52.9",
5555
"@tailwindcss/forms": "^0.5.10",
56-
"@tailwindcss/vite": "^4.1.10",
56+
"@tailwindcss/vite": "^4.1.11",
5757
"@types/jest-image-snapshot": "^6.4.0",
5858
"@types/js-priority-queue": "^0.0.9",
59-
"@types/node": "^24.0.1",
59+
"@types/node": "^24.1.0",
6060
"@types/react": "^19.1.8",
6161
"@types/react-dom": "^19.1.6",
6262
"@types/robust-point-in-polygon": "^1.0.4",
63-
"@vitejs/plugin-react": "^4.5.2",
64-
"@vitest/coverage-v8": "^3.2.3",
65-
"@vitest/expect": "^3.2.3",
66-
"@zakodium/tsconfig": "^1.0.1",
63+
"@vitejs/plugin-react": "^4.7.0",
64+
"@vitest/coverage-v8": "^3.2.4",
65+
"@vitest/expect": "^3.2.4",
66+
"@zakodium/tsconfig": "^1.0.2",
6767
"autoprefixer": "^10.4.21",
6868
"clsx": "^2.1.1",
6969
"cross-env": "^7.0.3",
70-
"eslint": "^9.29.0",
71-
"eslint-config-cheminfo-react": "^16.1.0",
72-
"eslint-config-cheminfo-typescript": "^18.0.1",
70+
"eslint": "^9.31.0",
71+
"eslint-config-cheminfo-react": "^17.0.1",
72+
"eslint-config-cheminfo-typescript": "^19.0.0",
7373
"immer": "^10.1.1",
7474
"jest-image-snapshot": "^6.5.1",
7575
"jest-matcher-deep-close-to": "^3.0.2",
76-
"postcss": "^8.5.5",
77-
"prettier": "^3.5.3",
76+
"postcss": "^8.5.6",
77+
"prettier": "^3.6.2",
7878
"react": "^19.1.0",
7979
"react-dom": "^19.1.0",
80-
"react-router-dom": "^7.6.2",
80+
"react-router-dom": "^7.7.1",
8181
"rimraf": "^6.0.1",
82-
"tailwindcss": "^4.1.10",
82+
"tailwindcss": "^4.1.11",
8383
"typescript": "~5.8.3",
84-
"vite": "^6.3.5",
85-
"vitest": "^3.2.3"
84+
"vite": "^7.0.6",
85+
"vitest": "^3.2.4"
8686
},
8787
"repository": {
8888
"type": "git",

scripts/featureMatching/featureMatchingTest.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ import util from 'node:util';
22

33
import type { GetBriefOptions } from '../../src/featureMatching/descriptors/getBrief.js';
44
import { getBrief } from '../../src/featureMatching/descriptors/getBrief.js';
5+
import type {
6+
DrawKeypointsOptions,
7+
GetColorsOptions,
8+
} from '../../src/index.js';
59
import {
6-
getCrosscheckMatches,
710
Montage,
11+
getCrosscheckMatches,
812
readSync,
913
writeSync,
1014
} from '../../src/index.js';
11-
import type {
12-
DrawKeypointsOptions,
13-
GetColorsOptions,
14-
} from '../../src/index.js';
1515
import { getMinMax } from '../../src/utils/getMinMax.js';
1616

1717
util.inspect.defaultOptions.depth = 5;

src/Image.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ import { match } from 'ts-pattern';
44
import type { Mask } from './Mask.js';
55
import type { DivideOptions } from './compare/divide.js';
66
import { divide } from './compare/divide.js';
7-
import { add, subtract } from './compare/index.js';
87
import type { SubtractImageOptions } from './compare/index.js';
8+
import { add, subtract } from './compare/index.js';
99
import type { MultiplyOptions } from './compare/multiply.js';
1010
import { multiply } from './compare/multiply.js';
1111
import type {
12-
MedianOptions,
12+
HistogramOptions,
1313
MeanOptions,
14+
MedianOptions,
1415
VarianceOptions,
15-
HistogramOptions,
1616
} from './compute/index.js';
1717
import { histogram, mean, median, variance } from './compute/index.js';
1818
import { correctColor } from './correctColor/index.js';

src/Mask.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
import type { BitDepth, Image } from './Image.js';
22
import type { SubtractImageOptions } from './compare/index.js';
33
import { subtract } from './compare/index.js';
4-
import {
5-
drawLineOnMask,
6-
drawPoints,
7-
drawPolygonOnMask,
8-
drawPolylineOnMask,
9-
drawRectangle,
10-
} from './draw/index.js';
114
import type {
125
DrawLineOnMaskOptions,
136
DrawPointsOptions,
147
DrawPolygonOnMaskOptions,
158
DrawPolylineOnMaskOptions,
169
DrawRectangleOptions,
1710
} from './draw/index.js';
11+
import {
12+
drawLineOnMask,
13+
drawPoints,
14+
drawPolygonOnMask,
15+
drawPolylineOnMask,
16+
drawRectangle,
17+
} from './draw/index.js';
1818
import type { AndOptions, InvertOptions, OrOptions } from './filters/index.js';
1919
import { and, invert, or } from './filters/index.js';
2020
import { getBorderPoints } from './maskAnalysis/getBorderPoints.js';

0 commit comments

Comments
 (0)