diff options
author | 2024-03-22 02:33:33 +0530 | |
---|---|---|
committer | 2024-03-21 21:24:35 +0000 | |
commit | 2f3f2ae7f098376f535e5aa993c9eedc14e36f5d (patch) | |
tree | d919bda212744493a7b66c2e91a75455421d62cc /src/models | |
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/models')
-rw-r--r-- | src/models/Recipe.ts | 2 | ||||
-rw-r--r-- | src/models/Service.ts | 16 | ||||
-rw-r--r-- | src/models/UserAgent.ts | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/models/Recipe.ts b/src/models/Recipe.ts index 53d6c4b89..e8f11df5f 100644 --- a/src/models/Recipe.ts +++ b/src/models/Recipe.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { join } from 'node:path'; | 1 | import { join } from 'node:path'; |
2 | import semver from 'semver'; | ||
3 | import { pathExistsSync } from 'fs-extra'; | 2 | import { pathExistsSync } from 'fs-extra'; |
3 | import semver from 'semver'; | ||
4 | import { DEFAULT_SERVICE_SETTINGS } from '../config'; | 4 | import { DEFAULT_SERVICE_SETTINGS } from '../config'; |
5 | import { ifUndefined } from '../jsUtils'; | 5 | import { ifUndefined } from '../jsUtils'; |
6 | 6 | ||
diff --git a/src/models/Service.ts b/src/models/Service.ts index da9fa43dd..6d19f44f1 100644 --- a/src/models/Service.ts +++ b/src/models/Service.ts | |||
@@ -1,17 +1,17 @@ | |||
1 | import { join, basename } from 'node:path'; | 1 | import { basename, join } from 'node:path'; |
2 | import { autorun, action, computed, makeObservable, observable } from 'mobx'; | ||
3 | import { ipcRenderer } from 'electron'; | ||
4 | import { webContents } from '@electron/remote'; | 2 | import { webContents } from '@electron/remote'; |
5 | import ElectronWebView from 'react-electron-web-view'; | 3 | import { ipcRenderer } from 'electron'; |
4 | import { action, autorun, computed, makeObservable, observable } from 'mobx'; | ||
5 | import type ElectronWebView from 'react-electron-web-view'; | ||
6 | 6 | ||
7 | import { v4 as uuidV4 } from 'uuid'; | 7 | import { v4 as uuidV4 } from 'uuid'; |
8 | import { needsToken } from '../api/apiBase'; | ||
9 | import { DEFAULT_SERVICE_ORDER, DEFAULT_SERVICE_SETTINGS } from '../config'; | ||
8 | import { todosStore } from '../features/todos'; | 10 | import { todosStore } from '../features/todos'; |
9 | import { isValidExternalURL, normalizedUrl } from '../helpers/url-helpers'; | 11 | import { isValidExternalURL, normalizedUrl } from '../helpers/url-helpers'; |
10 | import UserAgent from './UserAgent'; | ||
11 | import { DEFAULT_SERVICE_ORDER, DEFAULT_SERVICE_SETTINGS } from '../config'; | ||
12 | import { ifUndefined } from '../jsUtils'; | 12 | import { ifUndefined } from '../jsUtils'; |
13 | import { IRecipe } from './Recipe'; | 13 | import type { IRecipe } from './Recipe'; |
14 | import { needsToken } from '../api/apiBase'; | 14 | import UserAgent from './UserAgent'; |
15 | 15 | ||
16 | const debug = require('../preload-safe-debug')('Ferdium:Service'); | 16 | const debug = require('../preload-safe-debug')('Ferdium:Service'); |
17 | 17 | ||
diff --git a/src/models/UserAgent.ts b/src/models/UserAgent.ts index d54286ee8..817dea4a1 100644 --- a/src/models/UserAgent.ts +++ b/src/models/UserAgent.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { action, computed, makeObservable, observable, observe } from 'mobx'; | 1 | import { action, computed, makeObservable, observable, observe } from 'mobx'; |
2 | 2 | ||
3 | import ElectronWebView from 'react-electron-web-view'; | 3 | import type ElectronWebView from 'react-electron-web-view'; |
4 | import defaultUserAgent from '../helpers/userAgent-helpers'; | 4 | import defaultUserAgent from '../helpers/userAgent-helpers'; |
5 | 5 | ||
6 | const debug = require('../preload-safe-debug')('Ferdium:UserAgent'); | 6 | const debug = require('../preload-safe-debug')('Ferdium:UserAgent'); |