diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2024-03-22 02:33:33 +0530 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2024-03-21 21:24:35 +0000 |
commit | 2f3f2ae7f098376f535e5aa993c9eedc14e36f5d (patch) | |
tree | d919bda212744493a7b66c2e91a75455421d62cc /src/helpers | |
parent | Upgrade electron to '29.1.5' (diff) | |
download | ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.gz ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.zst ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.zip |
Upgrade node modules
Diffstat (limited to 'src/helpers')
-rw-r--r-- | src/helpers/certs-helpers.ts | 2 | ||||
-rw-r--r-- | src/helpers/password-helpers.ts | 2 | ||||
-rw-r--r-- | src/helpers/update-helpers.ts | 2 | ||||
-rw-r--r-- | src/helpers/url-helpers.ts | 2 | ||||
-rw-r--r-- | src/helpers/userAgent-helpers.ts | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/helpers/certs-helpers.ts b/src/helpers/certs-helpers.ts index a6c83f5c4..fdbc495bc 100644 --- a/src/helpers/certs-helpers.ts +++ b/src/helpers/certs-helpers.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { readdirSync, readFileSync, ensureDirSync } from 'fs-extra'; | ||
2 | import { join } from 'node:path'; | 1 | import { join } from 'node:path'; |
2 | import { ensureDirSync, readFileSync, readdirSync } from 'fs-extra'; | ||
3 | import { userDataCertsPath } from '../environment-remote'; | 3 | import { userDataCertsPath } from '../environment-remote'; |
4 | import { removeNewLines } from '../jsUtils'; | 4 | import { removeNewLines } from '../jsUtils'; |
5 | 5 | ||
diff --git a/src/helpers/password-helpers.ts b/src/helpers/password-helpers.ts index 75ef5606a..a628ea51e 100644 --- a/src/helpers/password-helpers.ts +++ b/src/helpers/password-helpers.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { createHash, BinaryLike } from 'node:crypto'; | 1 | import { type BinaryLike, createHash } from 'node:crypto'; |
2 | 2 | ||
3 | export function hash(password: BinaryLike): string { | 3 | export function hash(password: BinaryLike): string { |
4 | return createHash('sha256').update(password).digest('base64'); | 4 | return createHash('sha256').update(password).digest('base64'); |
diff --git a/src/helpers/update-helpers.ts b/src/helpers/update-helpers.ts index ca541c4b0..3e548c69b 100644 --- a/src/helpers/update-helpers.ts +++ b/src/helpers/update-helpers.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { Octokit } from '@octokit/core'; | 1 | import { Octokit } from '@octokit/core'; |
2 | import { defineMessages, IntlShape } from 'react-intl'; | 2 | import { type IntlShape, defineMessages } from 'react-intl'; |
3 | 3 | ||
4 | export function getFerdiumVersion( | 4 | export function getFerdiumVersion( |
5 | currentLocation: string, | 5 | currentLocation: string, |
diff --git a/src/helpers/url-helpers.ts b/src/helpers/url-helpers.ts index fe637bb08..b30c2cd83 100644 --- a/src/helpers/url-helpers.ts +++ b/src/helpers/url-helpers.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | // This is taken from: https://benjamin-altpeter.de/shell-openexternal-dangers/ | 1 | // This is taken from: https://benjamin-altpeter.de/shell-openexternal-dangers/ |
2 | import { URL } from 'node:url'; | 2 | import { URL } from 'node:url'; |
3 | import { ensureDirSync, existsSync } from 'fs-extra'; | ||
4 | import { shell } from 'electron'; | 3 | import { shell } from 'electron'; |
4 | import { ensureDirSync, existsSync } from 'fs-extra'; | ||
5 | import normalizeUrl from 'normalize-url'; | 5 | import normalizeUrl from 'normalize-url'; |
6 | import { ALLOWED_PROTOCOLS } from '../config'; | 6 | import { ALLOWED_PROTOCOLS } from '../config'; |
7 | 7 | ||
diff --git a/src/helpers/userAgent-helpers.ts b/src/helpers/userAgent-helpers.ts index 42e3a9851..fd9b8c835 100644 --- a/src/helpers/userAgent-helpers.ts +++ b/src/helpers/userAgent-helpers.ts | |||
@@ -3,9 +3,9 @@ import macosVersion from 'macos-version'; | |||
3 | import { chrome } from 'useragent-generator'; | 3 | import { chrome } from 'useragent-generator'; |
4 | import { | 4 | import { |
5 | chromeVersion, | 5 | chromeVersion, |
6 | is64Bit, | ||
6 | isMac, | 7 | isMac, |
7 | isWindows, | 8 | isWindows, |
8 | is64Bit, | ||
9 | osArch, | 9 | osArch, |
10 | osRelease, | 10 | osRelease, |
11 | } from '../environment'; | 11 | } from '../environment'; |