obsidian-dev-utils 43.2.5 → 43.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/lib/cjs/AbortController.cjs +1 -1
- package/dist/lib/cjs/Array.cjs +1 -1
- package/dist/lib/cjs/Async.cjs +1 -1
- package/dist/lib/cjs/AsyncEvents.cjs +1 -1
- package/dist/lib/cjs/Blob.cjs +1 -1
- package/dist/lib/cjs/CssClass.cjs +1 -1
- package/dist/lib/cjs/Debug.cjs +1 -1
- package/dist/lib/cjs/DebugController.cjs +1 -1
- package/dist/lib/cjs/Enum.cjs +1 -1
- package/dist/lib/cjs/Error.cjs +1 -1
- package/dist/lib/cjs/Function.cjs +1 -1
- package/dist/lib/cjs/HTMLElement.cjs +1 -1
- package/dist/lib/cjs/Library.cjs +2 -2
- package/dist/lib/cjs/ObjectUtils.cjs +1 -1
- package/dist/lib/cjs/Path.cjs +1 -1
- package/dist/lib/cjs/RegExp.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/CliUtils.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/CodeGenerator.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/ESLint/ESLint.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/ESLint/eslint.config.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/ESLint/index.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/Exec.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/Fs.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/JSON.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/NodeModules.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/Npm.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/NpmPublish.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/NpmRun.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/ObsidianDevUtilsRepoPaths.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/Root.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/build.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/cli.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/esbuild/Dependency.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/esbuild/ObsidianPluginBuilder.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/esbuild/changeExtensionPlugin.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/esbuild/customEsbuildOptionsPlugin.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/esbuild/fixEsmPlugin.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/esbuild/fixSourceMapsPlugin.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/esbuild/index.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/esbuild/preprocessPlugin.cjs +3 -3
- package/dist/lib/cjs/ScriptUtils/esbuild/renameCssPlugin.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/esbuild/svelteWrapperPlugin.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/format.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/index.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/markdownlint/index.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/markdownlint/markdownlint-cli2-config.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/markdownlint/markdownlint.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/spellcheck.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/version.cjs +1 -1
- package/dist/lib/cjs/String.cjs +1 -1
- package/dist/lib/cjs/Transformers/DateTransformer.cjs +1 -1
- package/dist/lib/cjs/Transformers/DurationTransformer.cjs +1 -1
- package/dist/lib/cjs/Transformers/GroupTransformer.cjs +1 -1
- package/dist/lib/cjs/Transformers/MapTransformer.cjs +1 -1
- package/dist/lib/cjs/Transformers/SetTransformer.cjs +1 -1
- package/dist/lib/cjs/Transformers/SkipPrivatePropertyTransformer.cjs +1 -1
- package/dist/lib/cjs/Transformers/Transformer.cjs +1 -1
- package/dist/lib/cjs/Transformers/TwoWayMapTransformer.cjs +1 -1
- package/dist/lib/cjs/Transformers/TypedTransformer.cjs +1 -1
- package/dist/lib/cjs/Transformers/index.cjs +1 -1
- package/dist/lib/cjs/TwoWayMap.cjs +1 -1
- package/dist/lib/cjs/Type.cjs +1 -1
- package/dist/lib/cjs/ValueProvider.cjs +1 -1
- package/dist/lib/cjs/codemirror/StateFieldSpec.cjs +1 -1
- package/dist/lib/cjs/codemirror/index.cjs +1 -1
- package/dist/lib/cjs/index.cjs +1 -1
- package/dist/lib/cjs/obsidian/App.cjs +1 -1
- package/dist/lib/cjs/obsidian/AttachmentPath.cjs +1 -1
- package/dist/lib/cjs/obsidian/Backlink.cjs +1 -1
- package/dist/lib/cjs/obsidian/Callout.cjs +1 -1
- package/dist/lib/cjs/obsidian/CodeBlockMarkdownInformation.cjs +1 -1
- package/dist/lib/cjs/obsidian/Commands/AbstractFileCommandBase.cjs +1 -1
- package/dist/lib/cjs/obsidian/Commands/CommandBase.cjs +1 -1
- package/dist/lib/cjs/obsidian/Commands/EditorCommandBase.cjs +1 -1
- package/dist/lib/cjs/obsidian/Commands/FileCommandBase.cjs +1 -1
- package/dist/lib/cjs/obsidian/Commands/FolderCommandBase.cjs +1 -1
- package/dist/lib/cjs/obsidian/Commands/NonEditorCommandBase.cjs +1 -1
- package/dist/lib/cjs/obsidian/Commands/index.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/AsyncEventsComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/CheckboxComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/CodeHighlighterComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/DateComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/DateTimeComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/EmailComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/FileComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/MonthComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/MultipleDropdownComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/MultipleEmailComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/MultipleFileComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/MultipleTextComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/NumberComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/PasswordComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/SettingComponentWrapper.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/TelephoneComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/TextBasedComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/TimeComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/TriStateCheckboxComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/TypedDropdownComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/TypedMultipleDropdownComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/TypedRangeTextComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/TypedTextComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/UrlComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/ValidatorComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/ValueComponentWithChangeTracking.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/WeekComponent.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/SettingComponents/index.cjs +1 -1
- package/dist/lib/cjs/obsidian/Components/index.cjs +1 -1
- package/dist/lib/cjs/obsidian/Dataview.cjs +1 -1
- package/dist/lib/cjs/obsidian/DataviewLink.cjs +1 -1
- package/dist/lib/cjs/obsidian/FileChange.cjs +1 -1
- package/dist/lib/cjs/obsidian/FileManager.cjs +1 -1
- package/dist/lib/cjs/obsidian/FileSystem.cjs +1 -1
- package/dist/lib/cjs/obsidian/Frontmatter.cjs +1 -1
- package/dist/lib/cjs/obsidian/FrontmatterLinkCacheWithOffsets.cjs +1 -1
- package/dist/lib/cjs/obsidian/Link.cjs +1 -1
- package/dist/lib/cjs/obsidian/Logger.cjs +1 -1
- package/dist/lib/cjs/obsidian/Loop.cjs +1 -1
- package/dist/lib/cjs/obsidian/Markdown.cjs +1 -1
- package/dist/lib/cjs/obsidian/MarkdownCodeBlockProcessor.cjs +1 -1
- package/dist/lib/cjs/obsidian/MarkdownView.cjs +1 -1
- package/dist/lib/cjs/obsidian/MetadataCache.cjs +1 -1
- package/dist/lib/cjs/obsidian/Modals/Alert.cjs +1 -1
- package/dist/lib/cjs/obsidian/Modals/Confirm.cjs +1 -1
- package/dist/lib/cjs/obsidian/Modals/ModalBase.cjs +1 -1
- package/dist/lib/cjs/obsidian/Modals/Prompt.cjs +1 -1
- package/dist/lib/cjs/obsidian/Modals/SelectItem.cjs +1 -1
- package/dist/lib/cjs/obsidian/Modals/index.cjs +1 -1
- package/dist/lib/cjs/obsidian/MonkeyAround.cjs +1 -1
- package/dist/lib/cjs/obsidian/ObsidianSettings.cjs +1 -1
- package/dist/lib/cjs/obsidian/Pdf.cjs +1 -1
- package/dist/lib/cjs/obsidian/Plugin/ObsidianPluginRepoPaths.cjs +1 -1
- package/dist/lib/cjs/obsidian/Plugin/Plugin.cjs +1 -1
- package/dist/lib/cjs/obsidian/Plugin/PluginBase.cjs +1 -1
- package/dist/lib/cjs/obsidian/Plugin/PluginContext.cjs +1 -1
- package/dist/lib/cjs/obsidian/Plugin/PluginId.cjs +1 -1
- package/dist/lib/cjs/obsidian/Plugin/PluginSettingsManagerBase.cjs +1 -1
- package/dist/lib/cjs/obsidian/Plugin/PluginSettingsTabBase.cjs +1 -1
- package/dist/lib/cjs/obsidian/Plugin/PluginSettingsWrapper.cjs +1 -1
- package/dist/lib/cjs/obsidian/Plugin/PluginTypesBase.cjs +1 -1
- package/dist/lib/cjs/obsidian/Plugin/index.cjs +1 -1
- package/dist/lib/cjs/obsidian/Queue.cjs +1 -1
- package/dist/lib/cjs/obsidian/React/AppContext.cjs +1 -1
- package/dist/lib/cjs/obsidian/React/index.cjs +1 -1
- package/dist/lib/cjs/obsidian/Reference.cjs +1 -1
- package/dist/lib/cjs/obsidian/RenameDeleteHandler.cjs +1 -1
- package/dist/lib/cjs/obsidian/ResourceUrl.cjs +1 -1
- package/dist/lib/cjs/obsidian/SettingEx.cjs +1 -1
- package/dist/lib/cjs/obsidian/Validation.cjs +1 -1
- package/dist/lib/cjs/obsidian/Vault.cjs +1 -1
- package/dist/lib/cjs/obsidian/VaultEx.cjs +1 -1
- package/dist/lib/cjs/obsidian/Workspace.cjs +1 -1
- package/dist/lib/cjs/obsidian/i18n/CustomTypeOptionsBase.cjs +1 -1
- package/dist/lib/cjs/obsidian/i18n/DefaultTranslationsBase.cjs +1 -1
- package/dist/lib/cjs/obsidian/i18n/i18n.cjs +1 -1
- package/dist/lib/cjs/obsidian/i18n/index.cjs +1 -1
- package/dist/lib/cjs/obsidian/i18n/locales/en.cjs +1 -1
- package/dist/lib/cjs/obsidian/i18n/locales/index.cjs +1 -1
- package/dist/lib/cjs/obsidian/i18n/locales/translationsMap.cjs +1 -1
- package/dist/lib/cjs/obsidian/index.cjs +1 -1
- package/dist/lib/cjs/url.cjs +1 -1
- package/dist/lib/esm/Library.mjs +1 -1
- package/dist/lib/esm/ScriptUtils/esbuild/preprocessPlugin.mjs +2 -2
- package/package.json +1 -1
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
package/dist/lib/cjs/String.cjs
CHANGED
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
package/dist/lib/cjs/Type.cjs
CHANGED
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
package/dist/lib/cjs/index.cjs
CHANGED
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
package/dist/lib/cjs/obsidian/Components/SettingComponents/TypedMultipleDropdownComponent.cjs
CHANGED
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|
|
48
48
|
|
|
49
49
|
function requirePatched(id) {
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-unnecessary-condition -- We need access to app here which might not be available yet.
|
|
51
|
-
const module =
|
|
51
|
+
const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
|
|
52
52
|
if (module) {
|
|
53
53
|
return extractDefault(module);
|
|
54
54
|
}
|