@geode/opengeodeweb-front 10.26.0-rc.3 → 10.26.1-rc.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/.oxlintrc.json CHANGED
@@ -79,6 +79,7 @@
79
79
  "no-continue": "off",
80
80
  "vitest/require-hook": "off",
81
81
  "import/unambiguous": "off",
82
+ "node/no-sync": "off",
82
83
  "max-params": [
83
84
  "warn",
84
85
  {
@@ -28,7 +28,7 @@ export function useHoverhighlight() {
28
28
  }
29
29
 
30
30
  block_ids = (Array.isArray(block_ids) ? block_ids : [])
31
- .map((blockId) => Number.parseInt(blockId, 10))
31
+ .map((blockId) => Math.trunc(Number(blockId)))
32
32
  .filter((blockId) => !Number.isNaN(blockId));
33
33
 
34
34
  if (currentId !== id) {
@@ -178,7 +178,7 @@ export const useDataStore = defineStore("data", () => {
178
178
 
179
179
  async function getAllModelComponentsViewerIds(modelId) {
180
180
  const components = await model_components_db.where("id").equals(modelId).toArray();
181
- return components.map((component) => Number.parseInt(component.viewer_id, 10));
181
+ return components.map((component) => Math.trunc(Number(component.viewer_id)));
182
182
  }
183
183
 
184
184
  async function getMeshComponentsViewerIds(modelId, meshComponentGeodeIds) {
@@ -186,7 +186,7 @@ export const useDataStore = defineStore("data", () => {
186
186
  .where("[id+geode_id]")
187
187
  .anyOf(meshComponentGeodeIds.map((geode_id) => [modelId, geode_id]))
188
188
  .toArray();
189
- return components.map((component) => Number.parseInt(component.viewer_id, 10));
189
+ return components.map((component) => Math.trunc(Number(component.viewer_id)));
190
190
  }
191
191
 
192
192
  async function exportStores() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-front",
3
- "version": "10.26.0-rc.3",
3
+ "version": "10.26.1-rc.1",
4
4
  "description": "OpenSource Vue/Nuxt/Pinia/Vuetify framework for web applications",
5
5
  "homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Front",
6
6
  "bugs": {