@overmap-ai/core 1.0.71-mapbox.4 → 1.0.71-mapbox.6

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.
Files changed (132) hide show
  1. package/dist/constants/defaults.d.ts +2 -1
  2. package/dist/constants/index.d.ts +3 -3
  3. package/dist/enums/index.d.ts +5 -5
  4. package/dist/index.d.ts +6 -6
  5. package/dist/overmap-core.js +168 -305
  6. package/dist/overmap-core.js.map +1 -1
  7. package/dist/overmap-core.umd.cjs +177 -313
  8. package/dist/overmap-core.umd.cjs.map +1 -1
  9. package/dist/sdk/base.d.ts +8 -6
  10. package/dist/sdk/classes/OutboxCoordinator.d.ts +4 -4
  11. package/dist/sdk/classes/index.d.ts +1 -1
  12. package/dist/sdk/errors.d.ts +3 -1
  13. package/dist/sdk/globals.d.ts +7 -5
  14. package/dist/sdk/index.d.ts +6 -6
  15. package/dist/sdk/sdk.d.ts +6 -5
  16. package/dist/sdk/services/AgentService.d.ts +4 -3
  17. package/dist/sdk/services/AssetAttachmentService.d.ts +13 -12
  18. package/dist/sdk/services/AssetService.d.ts +5 -4
  19. package/dist/sdk/services/AssetStageCompletionService.d.ts +5 -4
  20. package/dist/sdk/services/AssetStageService.d.ts +5 -4
  21. package/dist/sdk/services/AssetTypeAttachmentService.d.ts +13 -12
  22. package/dist/sdk/services/AssetTypeService.d.ts +5 -4
  23. package/dist/sdk/services/BaseApiService.d.ts +5 -4
  24. package/dist/sdk/services/BaseAttachmentService.d.ts +7 -6
  25. package/dist/sdk/services/BaseAuthService.d.ts +5 -4
  26. package/dist/sdk/services/BaseService.d.ts +7 -5
  27. package/dist/sdk/services/BaseUploadService.d.ts +5 -4
  28. package/dist/sdk/services/CategoryService.d.ts +5 -4
  29. package/dist/sdk/services/DocumentAttachmentService.d.ts +13 -12
  30. package/dist/sdk/services/DocumentService.d.ts +5 -4
  31. package/dist/sdk/services/EmailDomainsService.d.ts +4 -3
  32. package/dist/sdk/services/EmailVerificationService.d.ts +4 -3
  33. package/dist/sdk/services/FileService.d.ts +5 -4
  34. package/dist/sdk/services/FormService.d.ts +5 -4
  35. package/dist/sdk/services/FormSubmissionService.d.ts +6 -5
  36. package/dist/sdk/services/GeoImageService.d.ts +5 -4
  37. package/dist/sdk/services/IssueAssociationService.d.ts +5 -4
  38. package/dist/sdk/services/IssueAttachmentService.d.ts +13 -12
  39. package/dist/sdk/services/IssueCommentService.d.ts +5 -4
  40. package/dist/sdk/services/IssueService.d.ts +5 -4
  41. package/dist/sdk/services/IssueTypeService.d.ts +5 -4
  42. package/dist/sdk/services/IssueUpdateService.d.ts +4 -3
  43. package/dist/sdk/services/JWTAuthService.d.ts +7 -6
  44. package/dist/sdk/services/LicenseService.d.ts +4 -3
  45. package/dist/sdk/services/OrganizationAccessService.d.ts +4 -3
  46. package/dist/sdk/services/OrganizationService.d.ts +4 -3
  47. package/dist/sdk/services/ProjectAccessService.d.ts +4 -3
  48. package/dist/sdk/services/ProjectAttachmentService.d.ts +13 -12
  49. package/dist/sdk/services/ProjectFileService.d.ts +5 -4
  50. package/dist/sdk/services/ProjectService.d.ts +4 -3
  51. package/dist/sdk/services/TeamService.d.ts +5 -4
  52. package/dist/sdk/services/UserService.d.ts +4 -3
  53. package/dist/sdk/services/WorkspaceService.d.ts +5 -4
  54. package/dist/sdk/services/index.d.ts +34 -34
  55. package/dist/sdk/typings.d.ts +9 -8
  56. package/dist/store/adapter.d.ts +12 -11
  57. package/dist/store/index.d.ts +2 -2
  58. package/dist/store/migrations.d.ts +2 -1
  59. package/dist/store/slices/agentsSlice.d.ts +11 -10
  60. package/dist/store/slices/assetAttachmentSlice.d.ts +16 -21
  61. package/dist/store/slices/assetSlice.d.ts +35 -24
  62. package/dist/store/slices/assetStageCompletionSlice.d.ts +33 -22
  63. package/dist/store/slices/assetStageSlice.d.ts +36 -25
  64. package/dist/store/slices/assetTypeAttachmentSlice.d.ts +16 -21
  65. package/dist/store/slices/assetTypeSlice.d.ts +16 -21
  66. package/dist/store/slices/authSlice.d.ts +10 -9
  67. package/dist/store/slices/categorySlice.d.ts +30 -16
  68. package/dist/store/slices/documentAttachmentSlice.d.ts +16 -21
  69. package/dist/store/slices/documentSlice.d.ts +30 -13
  70. package/dist/store/slices/emailDomainsSlice.d.ts +29 -15
  71. package/dist/store/slices/fileSlice.d.ts +7 -6
  72. package/dist/store/slices/formRevisionAttachmentSlice.d.ts +16 -21
  73. package/dist/store/slices/formRevisionSlice.d.ts +37 -26
  74. package/dist/store/slices/formSlice.d.ts +35 -21
  75. package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +16 -21
  76. package/dist/store/slices/formSubmissionSlice.d.ts +16 -21
  77. package/dist/store/slices/geoImageSlice.d.ts +35 -24
  78. package/dist/store/slices/index.d.ts +38 -38
  79. package/dist/store/slices/issueAssociationSlice.d.ts +35 -24
  80. package/dist/store/slices/issueAttachmentSlice.d.ts +16 -21
  81. package/dist/store/slices/issueCommentSlice.d.ts +13 -18
  82. package/dist/store/slices/issueSlice.d.ts +13 -18
  83. package/dist/store/slices/issueTypeSlice.d.ts +12 -14
  84. package/dist/store/slices/issueUpdateSlice.d.ts +13 -18
  85. package/dist/store/slices/licenseSlice.d.ts +10 -9
  86. package/dist/store/slices/organizationAccessSlice.d.ts +11 -13
  87. package/dist/store/slices/organizationSlice.d.ts +27 -10
  88. package/dist/store/slices/outboxSlice.d.ts +15 -15
  89. package/dist/store/slices/projectAccessSlice.d.ts +11 -16
  90. package/dist/store/slices/projectAttachmentSlice.d.ts +16 -21
  91. package/dist/store/slices/projectFileSlice.d.ts +61 -30
  92. package/dist/store/slices/projectSlice.d.ts +10 -9
  93. package/dist/store/slices/rehydratedSlice.d.ts +7 -6
  94. package/dist/store/slices/teamSlice.d.ts +12 -14
  95. package/dist/store/slices/userSlice.d.ts +14 -13
  96. package/dist/store/slices/versioningSlice.d.ts +3 -2
  97. package/dist/store/slices/workspaceSlice.d.ts +31 -17
  98. package/dist/store/store.d.ts +7 -7
  99. package/dist/typings/index.d.ts +6 -6
  100. package/dist/typings/models/access.d.ts +3 -2
  101. package/dist/typings/models/agents.d.ts +3 -2
  102. package/dist/typings/models/assets.d.ts +3 -2
  103. package/dist/typings/models/attachments.d.ts +3 -2
  104. package/dist/typings/models/base.d.ts +3 -2
  105. package/dist/typings/models/categories.d.ts +3 -2
  106. package/dist/typings/models/documents.d.ts +2 -1
  107. package/dist/typings/models/emailDomain.d.ts +2 -1
  108. package/dist/typings/models/emailVerification.d.ts +3 -2
  109. package/dist/typings/models/forms.d.ts +4 -3
  110. package/dist/typings/models/geo.d.ts +2 -1
  111. package/dist/typings/models/geoImages.d.ts +4 -3
  112. package/dist/typings/models/index.d.ts +21 -21
  113. package/dist/typings/models/issueTypes.d.ts +3 -2
  114. package/dist/typings/models/issues.d.ts +7 -6
  115. package/dist/typings/models/license.d.ts +3 -2
  116. package/dist/typings/models/organizations.d.ts +2 -1
  117. package/dist/typings/models/projects.d.ts +4 -3
  118. package/dist/typings/models/store.d.ts +3 -3
  119. package/dist/typings/models/teams.d.ts +4 -3
  120. package/dist/typings/models/users.d.ts +2 -1
  121. package/dist/typings/models/workspace.d.ts +2 -1
  122. package/dist/typings/search.d.ts +1 -1
  123. package/dist/typings/store.d.ts +2 -1
  124. package/dist/utils/async/DeferredPromise.d.ts +1 -1
  125. package/dist/utils/colors.d.ts +2 -1
  126. package/dist/utils/coordinates.d.ts +2 -1
  127. package/dist/utils/file.d.ts +2 -1
  128. package/dist/utils/forms.d.ts +2 -1
  129. package/dist/utils/index.d.ts +10 -10
  130. package/dist/utils/offline.d.ts +2 -1
  131. package/dist/utils/utils.d.ts +2 -1
  132. package/package.json +20 -21
@@ -1,21 +1,21 @@
1
- export * from "./access";
2
- export * from "./attachments";
3
- export * from "./base";
4
- export * from "./categories";
5
- export * from "./assets";
6
- export * from "./forms";
7
- export * from "./geo";
8
- export * from "./issues";
9
- export * from "./issueTypes";
10
- export * from "./organizations";
11
- export * from "./projects";
12
- export * from "./users";
13
- export * from "./workspace";
14
- export * from "./emailVerification";
15
- export * from "./store";
16
- export * from "./emailDomain";
17
- export * from "./license";
18
- export * from "./documents";
19
- export * from "./teams";
20
- export * from "./agents";
21
- export * from "./geoImages";
1
+ export * from './access';
2
+ export * from './attachments';
3
+ export * from './base';
4
+ export * from './categories';
5
+ export * from './assets';
6
+ export * from './forms';
7
+ export * from './geo';
8
+ export * from './issues';
9
+ export * from './issueTypes';
10
+ export * from './organizations';
11
+ export * from './projects';
12
+ export * from './users';
13
+ export * from './workspace';
14
+ export * from './emailVerification';
15
+ export * from './store';
16
+ export * from './emailDomain';
17
+ export * from './license';
18
+ export * from './documents';
19
+ export * from './teams';
20
+ export * from './agents';
21
+ export * from './geoImages';
@@ -1,5 +1,6 @@
1
- import type { ColorModel, CreatedByModel, IconModel, OfflineModel, SubmittedAtModel } from "./base";
2
- import type { Organization } from "./organizations";
1
+ import { ColorModel, CreatedByModel, IconModel, OfflineModel, SubmittedAtModel } from './base';
2
+ import { Organization } from './organizations';
3
+
3
4
  export interface IssueType extends OfflineModel, SubmittedAtModel, IconModel, ColorModel, CreatedByModel {
4
5
  name?: string;
5
6
  description?: string;
@@ -1,9 +1,10 @@
1
- import type { CreatedByModel, Offline, OfflineModel, SubmittedAtModel, TimestampedModel } from "./base";
2
- import type { IssuePriority, IssueStatus, IssueUpdateChange } from "../../enums";
3
- import type { WorkspaceIndexedModel } from "./workspace";
4
- import type { CanvasMarkableModel, MarkableModel } from "./geo";
5
- import type { User } from "./users";
6
- import type { CSSColor } from "../colors";
1
+ import { CreatedByModel, Offline, OfflineModel, SubmittedAtModel, TimestampedModel } from './base';
2
+ import { IssuePriority, IssueStatus, IssueUpdateChange } from '../../enums';
3
+ import { WorkspaceIndexedModel } from './workspace';
4
+ import { CanvasMarkableModel, MarkableModel } from './geo';
5
+ import { User } from './users';
6
+ import { CSSColor } from '../colors';
7
+
7
8
  /**
8
9
  * Represents a model instance that has been submitted to the backend. Some properties (depending on which model, but in
9
10
  * all cases, the `offline_id`) are guaranteed to be set.
@@ -1,5 +1,6 @@
1
- import type { OfflineModel, OwnedByOrganization } from "./base";
2
- import type { LicenseLevel, LicenseStatus } from "../../enums";
1
+ import { OfflineModel, OwnedByOrganization } from './base';
2
+ import { LicenseLevel, LicenseStatus } from '../../enums';
3
+
3
4
  export interface Transaction {
4
5
  id: string;
5
6
  }
@@ -1,4 +1,5 @@
1
- import type { CreatedByModel, Model } from "./base";
1
+ import { CreatedByModel, Model } from './base';
2
+
2
3
  export interface Organization extends Model, CreatedByModel {
3
4
  id: number;
4
5
  name: string;
@@ -1,6 +1,7 @@
1
- import type { Model, OfflineModel, OwnedByOrganization, SubmittedAtModel } from "./base";
2
- import type { FileWithNameModel } from "../files";
3
- import type { BoundableModel, CanvasBoundableModel } from "./geo";
1
+ import { Model, OfflineModel, OwnedByOrganization, SubmittedAtModel } from './base';
2
+ import { FileWithNameModel } from '../files';
3
+ import { BoundableModel, CanvasBoundableModel } from './geo';
4
+
4
5
  export interface Project extends Model, BoundableModel, CanvasBoundableModel, OwnedByOrganization {
5
6
  id: number;
6
7
  name: string;
@@ -1,6 +1,6 @@
1
- /// <reference types="@redux-offline/redux-offline" />
2
- import { OfflineState } from "@redux-offline/redux-offline/lib/types";
3
- import type { AgentsState, AssetAttachmentState, AssetStageCompletionState, AssetStageState, AssetState, AssetTypeAttachmentState, AssetTypeState, AuthState, CategoryState, DocumentAttachmentState, DocumentState, EmailDomainState, FileState, FormRevisionAttachmentState, FormRevisionState, FormState, FormSubmissionAttachmentState, FormSubmissionState, GeoImageSliceState, IssueAssociationSliceState, IssueAttachmentState, IssueCommentState, IssueState, IssueTypeState, IssueUpdateState, LicenseState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectAttachmentState, ProjectFileState, ProjectState, RehydratedState, TeamState, UserState, VERSION_REDUCER_KEY, VersioningState, WorkspaceState } from "../../store";
1
+ import { OfflineState } from '@redux-offline/redux-offline/lib/types';
2
+ import { AgentsState, AssetAttachmentState, AssetStageCompletionState, AssetStageState, AssetState, AssetTypeAttachmentState, AssetTypeState, AuthState, CategoryState, DocumentAttachmentState, DocumentState, EmailDomainState, FileState, FormRevisionAttachmentState, FormRevisionState, FormState, FormSubmissionAttachmentState, FormSubmissionState, GeoImageSliceState, IssueAssociationSliceState, IssueAttachmentState, IssueCommentState, IssueState, IssueTypeState, IssueUpdateState, LicenseState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectAttachmentState, ProjectFileState, ProjectState, RehydratedState, TeamState, UserState, VERSION_REDUCER_KEY, VersioningState, WorkspaceState } from '../../store';
3
+
4
4
  export interface BaseState {
5
5
  outboxReducer: OutboxState;
6
6
  offline: OfflineState;
@@ -1,6 +1,7 @@
1
- import type { ColorModel, IconModel, OfflineModel, SubmittedAtModel } from "./base";
2
- import type { Organization } from "./organizations";
3
- import type { User } from "./users";
1
+ import { ColorModel, IconModel, OfflineModel, SubmittedAtModel } from './base';
2
+ import { Organization } from './organizations';
3
+ import { User } from './users';
4
+
4
5
  export interface Team extends OfflineModel, SubmittedAtModel, IconModel, ColorModel {
5
6
  name: string;
6
7
  parent: OfflineModel["offline_id"] | null;
@@ -1,4 +1,5 @@
1
- import type { OptionalFileModel } from "./base";
1
+ import { OptionalFileModel } from './base';
2
+
2
3
  export interface Profile extends OptionalFileModel {
3
4
  favourite_project_ids: number[];
4
5
  tour_step: number;
@@ -1,4 +1,5 @@
1
- import type { CreatedByModel, Model, OfflineModel, SubmittedAtModel, TimestampedModel } from "./base";
1
+ import { CreatedByModel, Model, OfflineModel, SubmittedAtModel, TimestampedModel } from './base';
2
+
2
3
  export interface Workspace extends OfflineModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
3
4
  name: string;
4
5
  project: number;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Argument for standard (Redux) search selectors.
3
3
  */
4
- export type SearchArgs<TExtra = {}> = TExtra & {
4
+ export type SearchArgs<TExtra = object> = TExtra & {
5
5
  searchTerm: string;
6
6
  maxResults: number;
7
7
  };
@@ -1,4 +1,5 @@
1
- import type { OvermapRootState } from "./models";
1
+ import { OvermapRootState } from './models';
2
+
2
3
  export type SelectorWithArgs<TState, TArgs, TRet> = (args: TArgs) => (state: TState) => TRet;
3
4
  export type Selector<TState, TRet> = (state: TState) => TRet;
4
5
  export type OvermapSelectorWithArgs<TArgs, TRet> = SelectorWithArgs<OvermapRootState, TArgs, TRet>;
@@ -31,5 +31,5 @@ export declare class DeferredPromise<T> implements Promise<T> {
31
31
  catch<TResult>(onRejected?: (reason: unknown) => TResult | PromiseLike<TResult>): Promise<T | TResult>;
32
32
  resolve(value?: T | PromiseLike<T>): void;
33
33
  reject(reason?: unknown): void;
34
- finally(_onFinally?: (() => void) | undefined | null): Promise<T>;
34
+ finally(_onFinally?: (() => void) | null): Promise<T>;
35
35
  }
@@ -1,4 +1,5 @@
1
- import { CSSColor } from "../typings";
1
+ import { CSSColor } from '../typings';
2
+
2
3
  export declare const primaryColor: CSSColor;
3
4
  export declare const successColor: CSSColor;
4
5
  export declare const warningColor: CSSColor;
@@ -1,4 +1,5 @@
1
- import type { MultiPoint, Point, Position } from "geojson";
1
+ import { MultiPoint, Point, Position } from 'geojson';
2
+
2
3
  export declare const createPointGeometry: (position: Position) => Point;
3
4
  export declare const createMultiPointGeometry: (coordinates: Position[]) => MultiPoint;
4
5
  export declare const coordinatesAreEqual: (a: Position, b: Position) => boolean;
@@ -1,4 +1,5 @@
1
- import { FileUploadPayload } from "../typings";
1
+ import { FileUploadPayload } from '../typings';
2
+
2
3
  export declare const getFileS3Key: (file: File, hash?: string) => Promise<string>;
3
4
  export declare function hashFile(file: Blob): Promise<string>;
4
5
  export declare function getFileIdentifier(file: File): string;
@@ -1,2 +1,3 @@
1
- import { Stored, FormRevision } from "../typings";
1
+ import { Stored, FormRevision } from '../typings';
2
+
2
3
  export declare const formRevisionSortFn: (formRevisionA: Stored<FormRevision>, formRevisionB: Stored<FormRevision>) => 1 | -1;
@@ -1,10 +1,10 @@
1
- export * from "./coordinates";
2
- export * from "./file";
3
- export * from "./logging";
4
- export * from "./offline";
5
- export * from "./string";
6
- export * from "./utils";
7
- export * from "./optimization";
8
- export * from "./colors";
9
- export * from "./date";
10
- export * from "./async/DeferredPromise";
1
+ export * from './coordinates';
2
+ export * from './file';
3
+ export * from './logging';
4
+ export * from './offline';
5
+ export * from './string';
6
+ export * from './utils';
7
+ export * from './optimization';
8
+ export * from './colors';
9
+ export * from './date';
10
+ export * from './async/DeferredPromise';
@@ -1,4 +1,5 @@
1
- import { Offline, OfflineModel } from "../typings";
1
+ import { Offline, OfflineModel } from '../typings';
2
+
2
3
  /**
3
4
  * Adds a generated UUID to the "offline_id" key of the object.
4
5
  * @param draft The model data to add the offline_id to
@@ -1,4 +1,5 @@
1
- import type { IssueAttachment, OfflineModel, OvermapRootState } from "../typings";
1
+ import { IssueAttachment, OfflineModel, OvermapRootState } from '../typings';
2
+
2
3
  type MemoizedSelectorWithArgs<TArgs, TRet> = (state: OvermapRootState, args: TArgs) => TRet;
3
4
  export declare const restructureCreateSelectorWithArgs: <TArgs, TRet>(selector: MemoizedSelectorWithArgs<TArgs, TRet>) => (args: TArgs) => (state: OvermapRootState) => TRet;
4
5
  export declare function onlyUniqueOfflineIds(value: OfflineModel, index: number, self: OfflineModel[]): boolean;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Core functionality for Overmap",
4
4
  "author": "Wôrdn Inc.",
5
5
  "license": "UNLICENSED",
6
- "version": "1.0.71-mapbox.4",
6
+ "version": "1.0.71-mapbox.6",
7
7
  "type": "module",
8
8
  "main": "dist/overmap-core.umd.cjs",
9
9
  "module": "dist/overmap-core.js",
@@ -15,13 +15,13 @@
15
15
  "lint:fix": "eslint . --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0 --fix",
16
16
  "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,html,sass,yaml}\"",
17
17
  "preview": "vite preview",
18
- "prepare": "husky install",
18
+ "prepare": "husky",
19
19
  "test": "npx vitest"
20
20
  },
21
21
  "dependencies": {
22
22
  "@radix-ui/colors": "^3.0.0",
23
23
  "@redux-offline/redux-offline": "^2.6.0",
24
- "@reduxjs/toolkit": "^1.9.5",
24
+ "@reduxjs/toolkit": "^2.8.2",
25
25
  "color": "^4.2.3",
26
26
  "dependency-graph": "^1.0.0",
27
27
  "file-saver": "^2.0.5",
@@ -30,29 +30,29 @@
30
30
  "localforage": "^1.10.0",
31
31
  "redux-persist-migrate": "^5.0.0",
32
32
  "superagent": "^8.1.2",
33
- "uuid": "^9.0.0"
33
+ "uuid": "^11.1.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@esbuild-plugins/node-globals-polyfill": "^0.2.3",
37
37
  "@esbuild-plugins/node-modules-polyfill": "^0.2.2",
38
38
  "@overmap-ai/blocks": "^1.0.35-radio-card.2",
39
39
  "@overmap-ai/forms": "^1.0.17-radio-field.16",
40
- "@rollup/plugin-commonjs": "^25.0.4",
40
+ "@rollup/plugin-commonjs": "^28.0.0",
41
41
  "@testing-library/dom": "^9.3.4",
42
42
  "@testing-library/react": "^14.1.2",
43
43
  "@testing-library/user-event": "^14.5.2",
44
44
  "@tiptap/core": "^2.4.0",
45
45
  "@types/color": "^3.0.4",
46
+ "@types/file-saver": "^2.0.7",
47
+ "@types/geojson": "^7946.0.16",
46
48
  "@types/jwt-decode": "^3.1.0",
47
49
  "@types/node": "^20.12.11",
48
- "@types/react": "^19.0.8",
50
+ "@types/react": "^19.1.8",
49
51
  "@types/react-dom": "^19.0.3",
50
- "@types/react-redux": "^7.1.26",
51
52
  "@types/superagent": "^4.1.18",
52
53
  "@types/uuid": "^9.0.3",
53
- "@types/file-saver": "^2.0.7",
54
- "@typescript-eslint/eslint-plugin": "^6.4.1",
55
- "@typescript-eslint/parser": "^6.4.1",
54
+ "@typescript-eslint/eslint-plugin": "^8.35.1",
55
+ "@typescript-eslint/parser": "^8.35.1",
56
56
  "@vitejs/plugin-react-swc": "^3.3.2",
57
57
  "@vitest/coverage-v8": "^1.2.1",
58
58
  "eslint": "^8.47.0",
@@ -64,33 +64,28 @@
64
64
  "eslint-plugin-react-refresh": "^0.4.3",
65
65
  "eslint-plugin-simple-import-sort": "^10.0.0",
66
66
  "eslint-plugin-vitest": "^0.3.20",
67
- "happy-dom": "^13.3.1",
68
- "husky": "^8.0.3",
67
+ "happy-dom": "^15.10.2",
68
+ "husky": "^9.1.7",
69
69
  "jsdom": "^23.2.0",
70
70
  "lint-staged": "^15.1.0",
71
71
  "prettier": "^3.0.2",
72
- "react": "^19.0.0",
72
+ "react": "^19.1.0",
73
73
  "react-dom": "^19.0.0",
74
- "react-hooks": "^1.0.1",
75
- "react-redux": "^8.1.2",
76
- "redux": "^4.2.1",
77
74
  "rollup-plugin-polyfill-node": "^0.12.0",
78
75
  "typescript": "^5.2.2",
79
- "vite": "^4.4.5",
76
+ "vite": "^6.3.4",
80
77
  "vite-plugin-dts": "^3.5.2",
81
78
  "vite-plugin-externalize-deps": "^0.7.0",
82
- "vitest": "^1.2.1"
79
+ "vitest": "3.2.4"
83
80
  },
84
81
  "peerDependencies": {
85
82
  "@overmap-ai/blocks": "^1.0.35-radio-card.2",
86
83
  "@overmap-ai/forms": "^1.0.17-radio-field.16",
87
84
  "@tiptap/core": "^2.4.0",
88
85
  "react": ">=18.2.0 <20.0.0",
89
- "react-dom": ">=18.2.0 <20.0.0",
90
- "react-redux": "^8.1.2"
86
+ "react-dom": ">=18.2.0 <20.0.0"
91
87
  },
92
88
  "resolutions": {
93
- "//": "Workaround for eslint issue: https://github.com/eslint/eslint/discussions/17215",
94
89
  "strip-ansi": "6.0.1",
95
90
  "string-width": "4.2.2",
96
91
  "wrap-ansi": "7.0.0"
@@ -117,5 +112,9 @@
117
112
  },
118
113
  "bugs": {
119
114
  "url": "https://github.com/hemora-app/overmap-core/issues"
115
+ },
116
+ "volta": {
117
+ "node": "22.17.0",
118
+ "yarn": "4.9.2"
120
119
  }
121
120
  }