Skip to content

Commit

Permalink
fix: autoLogout when tab is inactive
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentC35 committed Apr 25, 2024
1 parent 156dbd1 commit c81b011
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stromae",
"version": "2.4.18-rc.2",
"version": "2.4.18-rc.3",
"description": "Web application for the management of questionnaires powered by Lunatic",
"repository": {
"type": "git",
Expand All @@ -18,7 +18,7 @@
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"date-fns": "^2.29.3",
"oidc-spa": "^4.5.0",
"oidc-spa": "^4.5.3",
"powerhooks": "^1.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
54 changes: 49 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1150,6 +1150,13 @@
dependencies:
regenerator-runtime "^0.14.0"

"@babel/runtime@^7.23.8", "@babel/runtime@^7.24.4":
version "7.24.4"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.4.tgz#de795accd698007a66ba44add6cc86542aff1edd"
integrity sha512-dkxf7+hn8mFBwKjs9bvBlArzLVxVbS8usaPUDd5p2a9JCL9tB8OaOVN1isD4+Xyk4ns89/xeOmbQvgdK7IIVdA==
dependencies:
regenerator-runtime "^0.14.0"

"@babel/template@^7.10.4", "@babel/template@^7.22.15", "@babel/template@^7.22.5", "@babel/template@^7.3.3":
version "7.22.15"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38"
Expand Down Expand Up @@ -6345,6 +6352,14 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6:
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==

fast-unique-numbers@^8.0.13:
version "8.0.13"
resolved "https://registry.yarnpkg.com/fast-unique-numbers/-/fast-unique-numbers-8.0.13.tgz#3c87232061ff5f408a216e1f0121232f76f695d7"
integrity sha512-7OnTFAVPefgw2eBJ1xj2PGGR9FwYzSUso9decayHgCDX4sJkHLdcsYTytTg+tYv+wKF3U8gJuSBz2jJpQV4u/g==
dependencies:
"@babel/runtime" "^7.23.8"
tslib "^2.6.2"

fastq@^1.6.0:
version "1.15.0"
resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a"
Expand Down Expand Up @@ -10121,14 +10136,15 @@ [email protected]:
crypto-js "^4.2.0"
jwt-decode "^3.1.2"

oidc-spa@^4.5.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/oidc-spa/-/oidc-spa-4.5.0.tgz#eab4643f80006ad6d0db906e646241f64c88c304"
integrity sha512-3E32oaOaL2/NfJWyg7vjHPOb1SRe3q9oJ5OMSDcuF9AVZYbfgrKeCTvQcQhkxlIDLfZ4zKVQYVm45ft8Wj5W7w==
oidc-spa@^4.5.3:
version "4.5.3"
resolved "https://registry.yarnpkg.com/oidc-spa/-/oidc-spa-4.5.3.tgz#85af29c9181660311861b2fe5b760ad830da679f"
integrity sha512-lYTSBYTqn9odAycR7OBwp3e7Oi0+Px6rGh1zBTUPbZfBuyJVOwsfRI647IoniCL5PKwtDOE9PTyW+Ab30H39iw==
dependencies:
jwt-decode "^3.1.2"
oidc-client-ts "2.4.0"
tsafe "^1.6.5"
worker-timers "^7.1.7"

[email protected]:
version "2.4.1"
Expand Down Expand Up @@ -13606,7 +13622,7 @@ tslib@^1.8.1:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==

tslib@^2.0.3:
tslib@^2.0.3, tslib@^2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==
Expand Down Expand Up @@ -14654,6 +14670,34 @@ worker-rpc@^0.1.0:
dependencies:
microevent.ts "~0.1.1"

worker-timers-broker@^6.1.7:
version "6.1.7"
resolved "https://registry.yarnpkg.com/worker-timers-broker/-/worker-timers-broker-6.1.7.tgz#c570552f1576f81226dbeb0dc14bb64144c9597c"
integrity sha512-8hb4lSMAijDY/Dp/MOw9Hc2x6uU59XWFYjcWQgC4bai+sxcLXjeexd9aYKdYMFZPiPoieGzMYIs9WGpv2Co3eA==
dependencies:
"@babel/runtime" "^7.24.4"
fast-unique-numbers "^8.0.13"
tslib "^2.6.2"
worker-timers-worker "^7.0.70"

worker-timers-worker@^7.0.70:
version "7.0.70"
resolved "https://registry.yarnpkg.com/worker-timers-worker/-/worker-timers-worker-7.0.70.tgz#064758e1ca3bed908950d152e3e3006595dd9600"
integrity sha512-lemWEME0RHB78hzGkkQcKfF6L82gqVhV3T9iY14jHBhbLxLq9t1RRCLmPDBZV7sdnUoW6Khkfn6coqPjgEK6cw==
dependencies:
"@babel/runtime" "^7.24.4"
tslib "^2.6.2"

worker-timers@^7.1.7:
version "7.1.7"
resolved "https://registry.yarnpkg.com/worker-timers/-/worker-timers-7.1.7.tgz#1119f6454cb7c8653097ffb66f592115fb6693ea"
integrity sha512-Dr4La61d94SjOA8P57h2LN8W3MXOVe/m1P7jER8cmuIy+JaDMqPttSwo6QRJFSK6YnG9cD6SU7J8m7CVlu8jlw==
dependencies:
"@babel/runtime" "^7.24.4"
tslib "^2.6.2"
worker-timers-broker "^6.1.7"
worker-timers-worker "^7.0.70"

wrap-ansi@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09"
Expand Down

0 comments on commit c81b011

Please sign in to comment.