Skip to content

Commit

Permalink
Update dependency @types/node to v20.5.9 (#4125)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: tommychat <thomas.bennett@caminu.fr>
  • Loading branch information
renovate[bot] and tomibennett committed Sep 8, 2023
1 parent 5f448d5 commit dca9e6c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion opencti-platform/opencti-front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"devDependencies": {
"@rollup/plugin-graphql": "2.0.3",
"@testing-library/react": "14.0.0",
"@types/node": "20.4.10",
"@types/node": "20.5.9",
"@types/qrcode": "1.5.2",
"@types/ramda": "0.29.3",
"@types/react": "18.2.21",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ import DialogContent from '@mui/material/DialogContent';
import DialogTitle from '@mui/material/DialogTitle';
import DialogContentText from '@mui/material/DialogContentText';
import { useFormatter } from '../../components/i18n';
import {
ONE_SECOND,
formatSeconds,
secondsBetweenDates,
} from '../../utils/Time';
import { formatSeconds, ONE_SECOND, secondsBetweenDates } from '../../utils/Time';
import { handleLogout } from './nav/TopBar';
import useAuth from '../../utils/hooks/useAuth';

Expand Down Expand Up @@ -74,7 +70,7 @@ const TimeoutLock: React.FunctionComponent<TimeoutLockProps> = () => {
startDate: new Date(),
});
const [resetCounter, triggerReset] = useState(false);
const interval = useRef<NodeJS.Timer | null>(null);
const interval = useRef<NodeJS.Timeout | null>(null);

/**
* Decrements the idle timeout counter by one until it is zero.
Expand Down Expand Up @@ -197,7 +193,8 @@ const TimeoutLock: React.FunctionComponent<TimeoutLockProps> = () => {
return (
<Dialog
open={dialogOpen}
onClose={() => {}}
onClose={() => {
}}
disableEscapeKeyDown={true}
maxWidth="sm"
PaperProps={{ elevation: 1 }}
Expand All @@ -214,7 +211,7 @@ const TimeoutLock: React.FunctionComponent<TimeoutLockProps> = () => {
<DialogContent>
<DialogContentText sx={{ textAlign: 'center' }}>
{t('You will be automatically logged out at end of the timer.')}
<br />
<br/>
{t('Select')} <code>{t('CONTINUE')}</code>{' '}
{t('to keep working or select')} <code>{t('LOGOUT')}</code>{' '}
{t('to terminate your session.')}
Expand Down
10 changes: 5 additions & 5 deletions opencti-platform/opencti-front/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4262,10 +4262,10 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:20.4.10":
version: 20.4.10
resolution: "@types/node@npm:20.4.10"
checksum: 02a1ca415d9cc91144c4250383aa0ef1e48241bd36067ed7d1b239d8bacc2a11139dd90e223e11ac289345eeae624cc5dcf73359e684bd2e5a6c31bdfbab4811
"@types/node@npm:20.5.9":
version: 20.5.9
resolution: "@types/node@npm:20.5.9"
checksum: 717490e94131722144878b4ca1a963ede1673bb8f2ef78c2f5b50b918df6dc9b35e7f8283e5c2a7a9f137730f7c08dc6228e53d4494a94c9ee16881e6ce6caed
languageName: node
linkType: hard

Expand Down Expand Up @@ -13634,7 +13634,7 @@ __metadata:
"@rjsf/utils": 5.12.1
"@rollup/plugin-graphql": 2.0.3
"@testing-library/react": 14.0.0
"@types/node": 20.4.10
"@types/node": 20.5.9
"@types/qrcode": 1.5.2
"@types/ramda": 0.29.3
"@types/react": 18.2.21
Expand Down

0 comments on commit dca9e6c

Please sign in to comment.