diff --git a/package-lock.json b/package-lock.json index d804647..15ebc88 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "aladin-lite": "^3.3.3-beta", "axios": "^1.6.0", "core-js": "^3.29.0", - "json-big": "^1.0.2", + "json-bigint": "^1.0.0", "pinia": "^2.0.0", "pinia-plugin-persistedstate": "^3.2.1", "roboto-fontface": "*", @@ -27,6 +27,7 @@ "@pinia/testing": "^0.1.0", "@playwright/test": "^1.33.0", "@types/jsdom": "^21.1.1", + "@types/json-bigint": "^1.0.4", "@types/node": "^20.0.0", "@types/webfontloader": "^1.6.35", "@vitejs/plugin-vue": "^5.0.0", @@ -1035,6 +1036,12 @@ "parse5": "^7.0.0" } }, + "node_modules/@types/json-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@types/json-bigint/-/json-bigint-1.0.4.tgz", + "integrity": "sha512-ydHooXLbOmxBbubnA7Eh+RpBzuaIiQjh8WGJYQB50JFGFrdxW7JzVlyEV7fAXw0T2sqJ1ysTneJbiyNLqZRAag==", + "dev": true + }, "node_modules/@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", @@ -3706,10 +3713,10 @@ "node": ">=18" } }, - "node_modules/json-big": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-big/-/json-big-1.0.2.tgz", - "integrity": "sha512-o77ndb+SgKSocZ94ewjr0nsJcJw4WIlKQArPjaQhSeZE4dIzXMiwaWDBrw9+xP1ErLwvF960qFaWhASSIIg55Q==", + "node_modules/json-bigint": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", + "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", "dependencies": { "bignumber.js": "^9.0.0" } diff --git a/package.json b/package.json index 49e0c56..5561513 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "aladin-lite": "^3.3.3-beta", "axios": "^1.6.0", "core-js": "^3.29.0", - "json-big": "^1.0.2", + "json-bigint": "^1.0.0", "pinia": "^2.0.0", "pinia-plugin-persistedstate": "^3.2.1", "roboto-fontface": "*", @@ -34,6 +34,7 @@ "@pinia/testing": "^0.1.0", "@playwright/test": "^1.33.0", "@types/jsdom": "^21.1.1", + "@types/json-bigint": "^1.0.4", "@types/node": "^20.0.0", "@types/webfontloader": "^1.6.35", "@vitejs/plugin-vue": "^5.0.0", diff --git a/src/axios.ts b/src/axios.ts index 6a1ca47..3739696 100644 --- a/src/axios.ts +++ b/src/axios.ts @@ -1,5 +1,5 @@ import axios from 'axios' -import JSONbig from 'json-big' +import JSONbig from 'json-bigint' // Defines the API instance in Axios with special handling for big integers. const axiosInstance = axios.create({ diff --git a/src/components/ConeSearch.vue b/src/components/ConeSearch.vue index c159eb6..c113ed5 100644 --- a/src/components/ConeSearch.vue +++ b/src/components/ConeSearch.vue @@ -1,18 +1,20 @@