Skip to content

Commit 2a20938

Browse files
authored
fix: exports mapping and update dependencies (#3634)
1 parent 85d5187 commit 2a20938

34 files changed

Lines changed: 762 additions & 911 deletions

package-lock.json

Lines changed: 689 additions & 839 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"version": "1.1.0",
55
"license": "MIT",
66
"type": "module",
7-
"exports": "./lib/component/main/index.js",
7+
"exports": {
8+
".": "./lib/component/main/index.js"
9+
},
810
"files": [
911
"lib",
1012
"src"
@@ -66,7 +68,7 @@
6668
"@zakodium/nmr-types": "^0.1.0",
6769
"@zakodium/nmrium-core": "^0.1.5",
6870
"@zakodium/nmrium-core-plugins": "^0.1.8",
69-
"@zip.js/zip.js": "^2.7.71",
71+
"@zip.js/zip.js": "^2.7.72",
7072
"cheminfo-font": "^1.13.1",
7173
"cheminfo-types": "^1.8.1",
7274
"clipboard-polyfill": "^4.1.1",
@@ -78,13 +80,13 @@
7880
"file-saver": "^2.0.5",
7981
"immer": "^10.1.1",
8082
"lodash": "^4.17.21",
81-
"mf-parser": "^3.5.0",
83+
"mf-parser": "^3.6.0",
8284
"ml-array-mean": "^1.1.6",
8385
"ml-array-median": "^1.1.6",
8486
"ml-conrec": "^5.0.3",
8587
"ml-gsd": "^13.0.1",
8688
"ml-signal-processing": "^2.0.0",
87-
"ml-spectra-processing": "^14.14.0",
89+
"ml-spectra-processing": "^14.15.0",
8890
"ml-tree-similarity": "^2.2.0",
8991
"nmr-correlation": "2.3.3",
9092
"nmr-processing": "^19.0.3",
@@ -114,17 +116,17 @@
114116
"@types/d3": "^7.4.3",
115117
"@types/dlv": "^1.1.5",
116118
"@types/lodash": "^4.17.20",
117-
"@types/node": "^24.1.0",
119+
"@types/node": "^24.2.1",
118120
"@types/papaparse": "^5.3.16",
119121
"@types/react": "^18.3.13",
120122
"@types/react-dom": "^18.3.1",
121123
"@types/react-table": "^7.7.20",
122-
"@vitejs/plugin-react": "^4.7.0",
124+
"@vitejs/plugin-react": "^5.0.0",
123125
"@vitest/coverage-v8": "^3.2.4",
124126
"@zakodium/tsconfig": "^1.0.2",
125127
"cross-env": "^10.0.0",
126128
"cspell": "^9.2.0",
127-
"eslint": "^9.32.0",
129+
"eslint": "^9.33.0",
128130
"eslint-config-cheminfo-react": "^17.0.1",
129131
"eslint-config-cheminfo-typescript": "^19.0.0",
130132
"knip": "^5.62.0",
@@ -134,17 +136,17 @@
134136
"rc-menu": "^9.16.1",
135137
"react": "^18.3.1",
136138
"react-dom": "^18.3.1",
137-
"react-router-dom": "^7.7.1",
139+
"react-router-dom": "^7.8.0",
138140
"rimraf": "^6.0.1",
139141
"rollup-plugin-analyzer": "^4.0.0",
140142
"serve": "^14.2.4",
141-
"stylelint": "^16.23.0",
142-
"stylelint-config-standard": "^38.0.0",
143+
"stylelint": "^16.23.1",
144+
"stylelint-config-standard": "^39.0.0",
143145
"typescript": "^5.9.2",
144-
"vite": "^7.0.6",
146+
"vite": "^7.1.2",
145147
"vitest": "^3.2.4"
146148
},
147149
"volta": {
148-
"node": "24.4.1"
150+
"node": "24.5.0"
149151
}
150152
}

src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const ReactRnd = styled(Rnd)`
4040
width: 100%;
4141
}
4242
43-
&:hover {
43+
:hover {
4444
background-color: white;
4545
border: 1px solid #ebecf1;
4646
}

src/component/1d/ExclusionZoneAnnotation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface ExclusionZoneProps {
1616
}
1717

1818
const Rect = styled.rect`
19-
&:hover {
19+
:hover {
2020
fill: #ff6f0057 !important;
2121
}
2222
`;

src/component/1d/FloatPublicationString.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { useCheckExportStatus } from '../hooks/useViewportSize.js';
2121
const ReactRnd = styled(Rnd)`
2222
border: 1px solid transparent;
2323
24-
&:hover {
24+
:hover {
2525
background-color: white;
2626
border: 1px solid #ebecf1;
2727

src/component/1d/FloatingRanges.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { formatNumber } from '../utility/formatNumber.js';
2626
const ReactRnd = styled(Rnd)`
2727
border: 1px solid transparent;
2828
29-
&:hover {
29+
:hover {
3030
background-color: white;
3131
border: 1px solid #ebecf1;
3232
@@ -76,7 +76,7 @@ function useMapRanges(ranges: Ranges['values']) {
7676
const { multiplicity, delta, js = [] } = signal;
7777
const coupling = js
7878
.map((jsItem) =>
79-
!Number.isNaN(Number(jsItem.coupling))
79+
!Number.isNaN(jsItem.coupling)
8080
? formatNumber(jsItem.coupling, preferences.coupling.format)
8181
: '',
8282
)

src/component/1d/LinesSeries.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const BOX_SIZE = 10;
1818
const Rect = styled.rect`
1919
fill: transparent;
2020
21-
&:hover {
21+
:hover {
2222
fill: #ff6f0057;
2323
}
2424
`;

src/component/1d/PredictionErrorsNotations.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const boxPadding = 4;
1616
const Rect = styled.rect<{ isHighlighted: boolean }>`
1717
fill: ${({ isHighlighted }) => (isHighlighted ? '#ff6f0057' : 'transparent')};
1818
19-
&:hover {
19+
:hover {
2020
fill: #ff6f0057;
2121
}
2222
`;

src/component/1d/inset/DraggableInset.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ interface InsetBounding {
4040
const ReactRnd = styled(Rnd)`
4141
border: 1px solid transparent;
4242
43-
&:hover {
43+
:hover {
4444
background-color: white;
4545
border: 1px solid #ebecf1;
4646

src/component/1d/multiplicityTree/MultiplicityTree.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function Tree(props: TreeProps) {
154154
onClick: () => unAssignHandler(),
155155
intent: 'danger',
156156
title: 'Unassign range',
157-
visible: !!(isAssignmentActive || hasDiaIDs),
157+
visible: isAssignmentActive || hasDiaIDs,
158158
},
159159
];
160160

0 commit comments

Comments
 (0)