forked from potsda.mn/mobilizon
chore(deps): upgrade dependencies
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
435bd9dccc
commit
3d9beaa1ca
|
@ -25,9 +25,9 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@apollo/client": "^3.3.16",
|
"@apollo/client": "^3.3.16",
|
||||||
"@oruga-ui/oruga-next": "^0.7.0",
|
|
||||||
"@framasoft/socket": "^1.0.0",
|
"@framasoft/socket": "^1.0.0",
|
||||||
"@framasoft/socket-apollo-link": "^1.0.0",
|
"@framasoft/socket-apollo-link": "^1.0.0",
|
||||||
|
"@oruga-ui/oruga-next": "^0.7.0",
|
||||||
"@sentry/tracing": "^7.1",
|
"@sentry/tracing": "^7.1",
|
||||||
"@sentry/vue": "^7.1",
|
"@sentry/vue": "^7.1",
|
||||||
"@tiptap/core": "^2.0.0-beta.41",
|
"@tiptap/core": "^2.0.0-beta.41",
|
||||||
|
@ -68,11 +68,11 @@
|
||||||
"date-fns": "^2.16.0",
|
"date-fns": "^2.16.0",
|
||||||
"date-fns-tz": "^2.0.0",
|
"date-fns-tz": "^2.0.0",
|
||||||
"floating-vue": "^2.0.0-beta.24",
|
"floating-vue": "^2.0.0-beta.24",
|
||||||
"graphql": "^15.8.0",
|
"graphql": "^16.8.1",
|
||||||
"graphql-tag": "^2.10.3",
|
"graphql-tag": "^2.10.3",
|
||||||
"hammerjs": "^2.0.8",
|
"hammerjs": "^2.0.8",
|
||||||
"intersection-observer": "^0.12.0",
|
"intersection-observer": "^0.12.0",
|
||||||
"jwt-decode": "^3.1.2",
|
"jwt-decode": "^4.0.0",
|
||||||
"leaflet": "^1.4.0",
|
"leaflet": "^1.4.0",
|
||||||
"leaflet.locatecontrol": "^0.79",
|
"leaflet.locatecontrol": "^0.79",
|
||||||
"leaflet.markercluster": "^1.5.3",
|
"leaflet.markercluster": "^1.5.3",
|
||||||
|
@ -125,10 +125,10 @@
|
||||||
"histoire": "^0.17.0",
|
"histoire": "^0.17.0",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
"jsdom": "^22.0.0",
|
"jsdom": "^22.0.0",
|
||||||
"lint-staged": "^14.0.1",
|
"lint-staged": "^15.1.0",
|
||||||
"mock-apollo-client": "^1.1.0",
|
"mock-apollo-client": "^1.1.0",
|
||||||
"prettier": "^3.0.0",
|
"prettier": "^3.0.0",
|
||||||
"prettier-eslint": "^15.0.1",
|
"prettier-eslint": "^16.1.2",
|
||||||
"rollup-plugin-visualizer": "^5.7.1",
|
"rollup-plugin-visualizer": "^5.7.1",
|
||||||
"sass": "^1.34.1",
|
"sass": "^1.34.1",
|
||||||
"typescript": "~5.2.2",
|
"typescript": "~5.2.2",
|
||||||
|
|
|
@ -41,7 +41,8 @@ import {
|
||||||
} from "@/constants";
|
} from "@/constants";
|
||||||
import { UPDATE_CURRENT_USER_CLIENT } from "@/graphql/user";
|
import { UPDATE_CURRENT_USER_CLIENT } from "@/graphql/user";
|
||||||
import MobilizonFooter from "@/components/PageFooter.vue";
|
import MobilizonFooter from "@/components/PageFooter.vue";
|
||||||
import jwt_decode, { JwtPayload } from "jwt-decode";
|
import { jwtDecode } from "jwt-decode";
|
||||||
|
import type { JwtPayload } from "jwt-decode";
|
||||||
import { refreshAccessToken } from "@/apollo/utils";
|
import { refreshAccessToken } from "@/apollo/utils";
|
||||||
import {
|
import {
|
||||||
reactive,
|
reactive,
|
||||||
|
@ -127,7 +128,7 @@ const notifier = inject<Notifier>("notifier");
|
||||||
interval.value = window.setInterval(async () => {
|
interval.value = window.setInterval(async () => {
|
||||||
const accessToken = localStorage.getItem(AUTH_ACCESS_TOKEN);
|
const accessToken = localStorage.getItem(AUTH_ACCESS_TOKEN);
|
||||||
if (accessToken) {
|
if (accessToken) {
|
||||||
const token = jwt_decode<JwtPayload>(accessToken);
|
const token = jwtDecode<JwtPayload>(accessToken);
|
||||||
if (
|
if (
|
||||||
token?.exp !== undefined &&
|
token?.exp !== undefined &&
|
||||||
new Date(token.exp * 1000 - 60000) < new Date()
|
new Date(token.exp * 1000 - 60000) < new Date()
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { Socket as PhoenixSocket } from "phoenix";
|
import { Socket as PhoenixSocket } from "phoenix";
|
||||||
import { create } from "@pluralsh/socket";
|
import { create } from "@framasoft/socket";
|
||||||
import { createAbsintheSocketLink } from "@pluralsh/socket-apollo-link";
|
import { createAbsintheSocketLink } from "@framasoft/socket-apollo-link";
|
||||||
import { AUTH_ACCESS_TOKEN } from "@/constants";
|
import { AUTH_ACCESS_TOKEN } from "@/constants";
|
||||||
import { GRAPHQL_API_ENDPOINT } from "@/api/_entrypoint";
|
import { GRAPHQL_API_ENDPOINT } from "@/api/_entrypoint";
|
||||||
|
|
||||||
|
|
4
js/src/typings/absinthe.d.ts
vendored
4
js/src/typings/absinthe.d.ts
vendored
|
@ -1,5 +1,5 @@
|
||||||
declare module "@pluralsh/socket";
|
declare module "@framasoft/socket";
|
||||||
|
|
||||||
declare module "@pluralsh/socket-apollo-link";
|
declare module "@framasoft/socket-apollo-link";
|
||||||
|
|
||||||
declare module "apollo-absinthe-upload-link";
|
declare module "apollo-absinthe-upload-link";
|
||||||
|
|
2572
js/yarn.lock
2572
js/yarn.lock
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue