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.
Files changed (165) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/lib/cjs/AbortController.cjs +1 -1
  3. package/dist/lib/cjs/Array.cjs +1 -1
  4. package/dist/lib/cjs/Async.cjs +1 -1
  5. package/dist/lib/cjs/AsyncEvents.cjs +1 -1
  6. package/dist/lib/cjs/Blob.cjs +1 -1
  7. package/dist/lib/cjs/CssClass.cjs +1 -1
  8. package/dist/lib/cjs/Debug.cjs +1 -1
  9. package/dist/lib/cjs/DebugController.cjs +1 -1
  10. package/dist/lib/cjs/Enum.cjs +1 -1
  11. package/dist/lib/cjs/Error.cjs +1 -1
  12. package/dist/lib/cjs/Function.cjs +1 -1
  13. package/dist/lib/cjs/HTMLElement.cjs +1 -1
  14. package/dist/lib/cjs/Library.cjs +2 -2
  15. package/dist/lib/cjs/ObjectUtils.cjs +1 -1
  16. package/dist/lib/cjs/Path.cjs +1 -1
  17. package/dist/lib/cjs/RegExp.cjs +1 -1
  18. package/dist/lib/cjs/ScriptUtils/CliUtils.cjs +1 -1
  19. package/dist/lib/cjs/ScriptUtils/CodeGenerator.cjs +1 -1
  20. package/dist/lib/cjs/ScriptUtils/ESLint/ESLint.cjs +1 -1
  21. package/dist/lib/cjs/ScriptUtils/ESLint/eslint.config.cjs +1 -1
  22. package/dist/lib/cjs/ScriptUtils/ESLint/index.cjs +1 -1
  23. package/dist/lib/cjs/ScriptUtils/Exec.cjs +1 -1
  24. package/dist/lib/cjs/ScriptUtils/Fs.cjs +1 -1
  25. package/dist/lib/cjs/ScriptUtils/JSON.cjs +1 -1
  26. package/dist/lib/cjs/ScriptUtils/NodeModules.cjs +1 -1
  27. package/dist/lib/cjs/ScriptUtils/Npm.cjs +1 -1
  28. package/dist/lib/cjs/ScriptUtils/NpmPublish.cjs +1 -1
  29. package/dist/lib/cjs/ScriptUtils/NpmRun.cjs +1 -1
  30. package/dist/lib/cjs/ScriptUtils/ObsidianDevUtilsRepoPaths.cjs +1 -1
  31. package/dist/lib/cjs/ScriptUtils/Root.cjs +1 -1
  32. package/dist/lib/cjs/ScriptUtils/build.cjs +1 -1
  33. package/dist/lib/cjs/ScriptUtils/cli.cjs +1 -1
  34. package/dist/lib/cjs/ScriptUtils/esbuild/Dependency.cjs +1 -1
  35. package/dist/lib/cjs/ScriptUtils/esbuild/ObsidianPluginBuilder.cjs +1 -1
  36. package/dist/lib/cjs/ScriptUtils/esbuild/changeExtensionPlugin.cjs +1 -1
  37. package/dist/lib/cjs/ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin.cjs +1 -1
  38. package/dist/lib/cjs/ScriptUtils/esbuild/customEsbuildOptionsPlugin.cjs +1 -1
  39. package/dist/lib/cjs/ScriptUtils/esbuild/fixEsmPlugin.cjs +1 -1
  40. package/dist/lib/cjs/ScriptUtils/esbuild/fixSourceMapsPlugin.cjs +1 -1
  41. package/dist/lib/cjs/ScriptUtils/esbuild/index.cjs +1 -1
  42. package/dist/lib/cjs/ScriptUtils/esbuild/preprocessPlugin.cjs +3 -3
  43. package/dist/lib/cjs/ScriptUtils/esbuild/renameCssPlugin.cjs +1 -1
  44. package/dist/lib/cjs/ScriptUtils/esbuild/svelteWrapperPlugin.cjs +1 -1
  45. package/dist/lib/cjs/ScriptUtils/format.cjs +1 -1
  46. package/dist/lib/cjs/ScriptUtils/index.cjs +1 -1
  47. package/dist/lib/cjs/ScriptUtils/markdownlint/index.cjs +1 -1
  48. package/dist/lib/cjs/ScriptUtils/markdownlint/markdownlint-cli2-config.cjs +1 -1
  49. package/dist/lib/cjs/ScriptUtils/markdownlint/markdownlint.cjs +1 -1
  50. package/dist/lib/cjs/ScriptUtils/spellcheck.cjs +1 -1
  51. package/dist/lib/cjs/ScriptUtils/version.cjs +1 -1
  52. package/dist/lib/cjs/String.cjs +1 -1
  53. package/dist/lib/cjs/Transformers/DateTransformer.cjs +1 -1
  54. package/dist/lib/cjs/Transformers/DurationTransformer.cjs +1 -1
  55. package/dist/lib/cjs/Transformers/GroupTransformer.cjs +1 -1
  56. package/dist/lib/cjs/Transformers/MapTransformer.cjs +1 -1
  57. package/dist/lib/cjs/Transformers/SetTransformer.cjs +1 -1
  58. package/dist/lib/cjs/Transformers/SkipPrivatePropertyTransformer.cjs +1 -1
  59. package/dist/lib/cjs/Transformers/Transformer.cjs +1 -1
  60. package/dist/lib/cjs/Transformers/TwoWayMapTransformer.cjs +1 -1
  61. package/dist/lib/cjs/Transformers/TypedTransformer.cjs +1 -1
  62. package/dist/lib/cjs/Transformers/index.cjs +1 -1
  63. package/dist/lib/cjs/TwoWayMap.cjs +1 -1
  64. package/dist/lib/cjs/Type.cjs +1 -1
  65. package/dist/lib/cjs/ValueProvider.cjs +1 -1
  66. package/dist/lib/cjs/codemirror/StateFieldSpec.cjs +1 -1
  67. package/dist/lib/cjs/codemirror/index.cjs +1 -1
  68. package/dist/lib/cjs/index.cjs +1 -1
  69. package/dist/lib/cjs/obsidian/App.cjs +1 -1
  70. package/dist/lib/cjs/obsidian/AttachmentPath.cjs +1 -1
  71. package/dist/lib/cjs/obsidian/Backlink.cjs +1 -1
  72. package/dist/lib/cjs/obsidian/Callout.cjs +1 -1
  73. package/dist/lib/cjs/obsidian/CodeBlockMarkdownInformation.cjs +1 -1
  74. package/dist/lib/cjs/obsidian/Commands/AbstractFileCommandBase.cjs +1 -1
  75. package/dist/lib/cjs/obsidian/Commands/CommandBase.cjs +1 -1
  76. package/dist/lib/cjs/obsidian/Commands/EditorCommandBase.cjs +1 -1
  77. package/dist/lib/cjs/obsidian/Commands/FileCommandBase.cjs +1 -1
  78. package/dist/lib/cjs/obsidian/Commands/FolderCommandBase.cjs +1 -1
  79. package/dist/lib/cjs/obsidian/Commands/NonEditorCommandBase.cjs +1 -1
  80. package/dist/lib/cjs/obsidian/Commands/index.cjs +1 -1
  81. package/dist/lib/cjs/obsidian/Components/AsyncEventsComponent.cjs +1 -1
  82. package/dist/lib/cjs/obsidian/Components/SettingComponents/CheckboxComponent.cjs +1 -1
  83. package/dist/lib/cjs/obsidian/Components/SettingComponents/CodeHighlighterComponent.cjs +1 -1
  84. package/dist/lib/cjs/obsidian/Components/SettingComponents/DateComponent.cjs +1 -1
  85. package/dist/lib/cjs/obsidian/Components/SettingComponents/DateTimeComponent.cjs +1 -1
  86. package/dist/lib/cjs/obsidian/Components/SettingComponents/EmailComponent.cjs +1 -1
  87. package/dist/lib/cjs/obsidian/Components/SettingComponents/FileComponent.cjs +1 -1
  88. package/dist/lib/cjs/obsidian/Components/SettingComponents/MonthComponent.cjs +1 -1
  89. package/dist/lib/cjs/obsidian/Components/SettingComponents/MultipleDropdownComponent.cjs +1 -1
  90. package/dist/lib/cjs/obsidian/Components/SettingComponents/MultipleEmailComponent.cjs +1 -1
  91. package/dist/lib/cjs/obsidian/Components/SettingComponents/MultipleFileComponent.cjs +1 -1
  92. package/dist/lib/cjs/obsidian/Components/SettingComponents/MultipleTextComponent.cjs +1 -1
  93. package/dist/lib/cjs/obsidian/Components/SettingComponents/NumberComponent.cjs +1 -1
  94. package/dist/lib/cjs/obsidian/Components/SettingComponents/PasswordComponent.cjs +1 -1
  95. package/dist/lib/cjs/obsidian/Components/SettingComponents/SettingComponentWrapper.cjs +1 -1
  96. package/dist/lib/cjs/obsidian/Components/SettingComponents/TelephoneComponent.cjs +1 -1
  97. package/dist/lib/cjs/obsidian/Components/SettingComponents/TextBasedComponent.cjs +1 -1
  98. package/dist/lib/cjs/obsidian/Components/SettingComponents/TimeComponent.cjs +1 -1
  99. package/dist/lib/cjs/obsidian/Components/SettingComponents/TriStateCheckboxComponent.cjs +1 -1
  100. package/dist/lib/cjs/obsidian/Components/SettingComponents/TypedDropdownComponent.cjs +1 -1
  101. package/dist/lib/cjs/obsidian/Components/SettingComponents/TypedMultipleDropdownComponent.cjs +1 -1
  102. package/dist/lib/cjs/obsidian/Components/SettingComponents/TypedRangeTextComponent.cjs +1 -1
  103. package/dist/lib/cjs/obsidian/Components/SettingComponents/TypedTextComponent.cjs +1 -1
  104. package/dist/lib/cjs/obsidian/Components/SettingComponents/UrlComponent.cjs +1 -1
  105. package/dist/lib/cjs/obsidian/Components/SettingComponents/ValidatorComponent.cjs +1 -1
  106. package/dist/lib/cjs/obsidian/Components/SettingComponents/ValueComponentWithChangeTracking.cjs +1 -1
  107. package/dist/lib/cjs/obsidian/Components/SettingComponents/WeekComponent.cjs +1 -1
  108. package/dist/lib/cjs/obsidian/Components/SettingComponents/index.cjs +1 -1
  109. package/dist/lib/cjs/obsidian/Components/index.cjs +1 -1
  110. package/dist/lib/cjs/obsidian/Dataview.cjs +1 -1
  111. package/dist/lib/cjs/obsidian/DataviewLink.cjs +1 -1
  112. package/dist/lib/cjs/obsidian/FileChange.cjs +1 -1
  113. package/dist/lib/cjs/obsidian/FileManager.cjs +1 -1
  114. package/dist/lib/cjs/obsidian/FileSystem.cjs +1 -1
  115. package/dist/lib/cjs/obsidian/Frontmatter.cjs +1 -1
  116. package/dist/lib/cjs/obsidian/FrontmatterLinkCacheWithOffsets.cjs +1 -1
  117. package/dist/lib/cjs/obsidian/Link.cjs +1 -1
  118. package/dist/lib/cjs/obsidian/Logger.cjs +1 -1
  119. package/dist/lib/cjs/obsidian/Loop.cjs +1 -1
  120. package/dist/lib/cjs/obsidian/Markdown.cjs +1 -1
  121. package/dist/lib/cjs/obsidian/MarkdownCodeBlockProcessor.cjs +1 -1
  122. package/dist/lib/cjs/obsidian/MarkdownView.cjs +1 -1
  123. package/dist/lib/cjs/obsidian/MetadataCache.cjs +1 -1
  124. package/dist/lib/cjs/obsidian/Modals/Alert.cjs +1 -1
  125. package/dist/lib/cjs/obsidian/Modals/Confirm.cjs +1 -1
  126. package/dist/lib/cjs/obsidian/Modals/ModalBase.cjs +1 -1
  127. package/dist/lib/cjs/obsidian/Modals/Prompt.cjs +1 -1
  128. package/dist/lib/cjs/obsidian/Modals/SelectItem.cjs +1 -1
  129. package/dist/lib/cjs/obsidian/Modals/index.cjs +1 -1
  130. package/dist/lib/cjs/obsidian/MonkeyAround.cjs +1 -1
  131. package/dist/lib/cjs/obsidian/ObsidianSettings.cjs +1 -1
  132. package/dist/lib/cjs/obsidian/Pdf.cjs +1 -1
  133. package/dist/lib/cjs/obsidian/Plugin/ObsidianPluginRepoPaths.cjs +1 -1
  134. package/dist/lib/cjs/obsidian/Plugin/Plugin.cjs +1 -1
  135. package/dist/lib/cjs/obsidian/Plugin/PluginBase.cjs +1 -1
  136. package/dist/lib/cjs/obsidian/Plugin/PluginContext.cjs +1 -1
  137. package/dist/lib/cjs/obsidian/Plugin/PluginId.cjs +1 -1
  138. package/dist/lib/cjs/obsidian/Plugin/PluginSettingsManagerBase.cjs +1 -1
  139. package/dist/lib/cjs/obsidian/Plugin/PluginSettingsTabBase.cjs +1 -1
  140. package/dist/lib/cjs/obsidian/Plugin/PluginSettingsWrapper.cjs +1 -1
  141. package/dist/lib/cjs/obsidian/Plugin/PluginTypesBase.cjs +1 -1
  142. package/dist/lib/cjs/obsidian/Plugin/index.cjs +1 -1
  143. package/dist/lib/cjs/obsidian/Queue.cjs +1 -1
  144. package/dist/lib/cjs/obsidian/React/AppContext.cjs +1 -1
  145. package/dist/lib/cjs/obsidian/React/index.cjs +1 -1
  146. package/dist/lib/cjs/obsidian/Reference.cjs +1 -1
  147. package/dist/lib/cjs/obsidian/RenameDeleteHandler.cjs +1 -1
  148. package/dist/lib/cjs/obsidian/ResourceUrl.cjs +1 -1
  149. package/dist/lib/cjs/obsidian/SettingEx.cjs +1 -1
  150. package/dist/lib/cjs/obsidian/Validation.cjs +1 -1
  151. package/dist/lib/cjs/obsidian/Vault.cjs +1 -1
  152. package/dist/lib/cjs/obsidian/VaultEx.cjs +1 -1
  153. package/dist/lib/cjs/obsidian/Workspace.cjs +1 -1
  154. package/dist/lib/cjs/obsidian/i18n/CustomTypeOptionsBase.cjs +1 -1
  155. package/dist/lib/cjs/obsidian/i18n/DefaultTranslationsBase.cjs +1 -1
  156. package/dist/lib/cjs/obsidian/i18n/i18n.cjs +1 -1
  157. package/dist/lib/cjs/obsidian/i18n/index.cjs +1 -1
  158. package/dist/lib/cjs/obsidian/i18n/locales/en.cjs +1 -1
  159. package/dist/lib/cjs/obsidian/i18n/locales/index.cjs +1 -1
  160. package/dist/lib/cjs/obsidian/i18n/locales/translationsMap.cjs +1 -1
  161. package/dist/lib/cjs/obsidian/index.cjs +1 -1
  162. package/dist/lib/cjs/url.cjs +1 -1
  163. package/dist/lib/esm/Library.mjs +1 -1
  164. package/dist/lib/esm/ScriptUtils/esbuild/preprocessPlugin.mjs +2 -2
  165. 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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
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 = window?.app?.isMobile ? undefined : originalRequire?.(id);
51
+ const module = globalThis?.app?.isMobile ? undefined : originalRequire?.(id);
52
52
  if (module) {
53
53
  return extractDefault(module);
54
54
  }