obsidian-dev-utils 3.11.2 → 3.11.3

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 (68) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/lib/@types.cjs +1 -1
  3. package/dist/lib/Async.cjs +1 -1
  4. package/dist/lib/Blob.cjs +1 -1
  5. package/dist/lib/DocumentFragment.cjs +1 -1
  6. package/dist/lib/Error.cjs +1 -1
  7. package/dist/lib/Object.cjs +1 -1
  8. package/dist/lib/Path.cjs +1 -1
  9. package/dist/lib/RegExp.cjs +1 -1
  10. package/dist/lib/String.cjs +1 -1
  11. package/dist/lib/ValueProvider.cjs +1 -1
  12. package/dist/lib/index.cjs +1 -1
  13. package/dist/lib/obsidian/App.cjs +1 -1
  14. package/dist/lib/obsidian/AttachmentPath.cjs +1 -1
  15. package/dist/lib/obsidian/Backlink.cjs +1 -1
  16. package/dist/lib/obsidian/Callout.cjs +1 -1
  17. package/dist/lib/obsidian/Dataview.cjs +1 -1
  18. package/dist/lib/obsidian/DataviewLink.cjs +1 -1
  19. package/dist/lib/obsidian/FrontMatter.cjs +1 -1
  20. package/dist/lib/obsidian/Link.cjs +1 -1
  21. package/dist/lib/obsidian/MarkdownCodeBlockProcessor.cjs +1 -1
  22. package/dist/lib/obsidian/MetadataCache.cjs +1 -1
  23. package/dist/lib/obsidian/Modal/Alert.cjs +1 -1
  24. package/dist/lib/obsidian/Modal/Confirm.cjs +1 -1
  25. package/dist/lib/obsidian/Modal/Prompt.cjs +1 -1
  26. package/dist/lib/obsidian/Modal/SelectItem.cjs +1 -1
  27. package/dist/lib/obsidian/Modal/index.cjs +1 -1
  28. package/dist/lib/obsidian/ObsidianSettings.cjs +1 -1
  29. package/dist/lib/obsidian/Plugin/ObsidianPluginRepoPaths.cjs +1 -1
  30. package/dist/lib/obsidian/Plugin/Plugin.cjs +1 -1
  31. package/dist/lib/obsidian/Plugin/PluginBase.cjs +1 -1
  32. package/dist/lib/obsidian/Plugin/PluginSettings.cjs +1 -1
  33. package/dist/lib/obsidian/Plugin/PluginSettingsTabBase.cjs +1 -1
  34. package/dist/lib/obsidian/Plugin/UIComponent.cjs +1 -1
  35. package/dist/lib/obsidian/Plugin/index.cjs +1 -1
  36. package/dist/lib/obsidian/RenameDeleteHandler.cjs +1 -1
  37. package/dist/lib/obsidian/ResourceUrl.cjs +1 -1
  38. package/dist/lib/obsidian/TAbstractFile.cjs +1 -1
  39. package/dist/lib/obsidian/TFile.cjs +1 -1
  40. package/dist/lib/obsidian/TFolder.cjs +1 -1
  41. package/dist/lib/obsidian/Vault.cjs +1 -1
  42. package/dist/lib/obsidian/index.cjs +1 -1
  43. package/dist/lib/scripts/CliUtils.cjs +1 -1
  44. package/dist/lib/scripts/CodeGenerator.cjs +1 -1
  45. package/dist/lib/scripts/ESLint/ESLint.cjs +1 -1
  46. package/dist/lib/scripts/ESLint/eslint.config.cjs +1 -1
  47. package/dist/lib/scripts/ESLint/index.cjs +1 -1
  48. package/dist/lib/scripts/Fs.cjs +1 -1
  49. package/dist/lib/scripts/JSON.cjs +1 -1
  50. package/dist/lib/scripts/NodeModules.cjs +1 -1
  51. package/dist/lib/scripts/Npm.cjs +1 -1
  52. package/dist/lib/scripts/ObsidianDevUtilsRepoPaths.cjs +1 -1
  53. package/dist/lib/scripts/Root.cjs +1 -1
  54. package/dist/lib/scripts/build.cjs +1 -1
  55. package/dist/lib/scripts/cli.cjs +1 -1
  56. package/dist/lib/scripts/esbuild/Dependency.cjs +1 -1
  57. package/dist/lib/scripts/esbuild/ObsidianPluginBuilder.cjs +1 -1
  58. package/dist/lib/scripts/esbuild/copyToObsidianPluginsFolderPlugin.cjs +1 -1
  59. package/dist/lib/scripts/esbuild/fixSourceMapsPlugin.cjs +1 -1
  60. package/dist/lib/scripts/esbuild/index.cjs +1 -1
  61. package/dist/lib/scripts/esbuild/lintPlugin.cjs +1 -1
  62. package/dist/lib/scripts/esbuild/preprocessPlugin.cjs +1 -1
  63. package/dist/lib/scripts/esbuild/renameToCjsPlugin.cjs +3 -3
  64. package/dist/lib/scripts/index.cjs +1 -1
  65. package/dist/lib/scripts/spellcheck.cjs +1 -1
  66. package/dist/lib/scripts/version.cjs +1 -1
  67. package/dist/lib/url.cjs +1 -1
  68. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 3.11.3
4
+
5
+ - Use proper `require()` function
6
+
3
7
  ## 3.11.2
4
8
 
5
9
  - Handle default requires
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
package/dist/lib/Blob.cjs CHANGED
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
package/dist/lib/Path.cjs CHANGED
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __create = Object.create;
9
9
  var __defProp = Object.defineProperty;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __create = Object.create;
9
9
  var __defProp = Object.defineProperty;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __create = Object.create;
9
9
  var __defProp = Object.defineProperty;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __create = Object.create;
9
9
  var __defProp = Object.defineProperty;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __create = Object.create;
9
9
  var __defProp = Object.defineProperty;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __create = Object.create;
9
9
  var __defProp = Object.defineProperty;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __create = Object.create;
9
9
  var __defProp = Object.defineProperty;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __create = Object.create;
9
9
  var __defProp = Object.defineProperty;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __create = Object.create;
9
9
  var __defProp = Object.defineProperty;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __create = Object.create;
9
9
  var __defProp = Object.defineProperty;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __create = Object.create;
9
9
  var __defProp = Object.defineProperty;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -66,11 +66,11 @@ function renameToCjsPlugin() {
66
66
  };
67
67
  }
68
68
  function __require(id) {
69
- const module2 = globalThis.require(id);
69
+ const module2 = require(id);
70
70
  return module2.__esModule && module2.default ? module2.default : module2;
71
71
  }
72
72
  // Annotate the CommonJS export names for ESM import in node:
73
73
  0 && (module.exports = {
74
74
  renameToCjsPlugin
75
75
  });
76
- //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vLi4vLi4vLi4vc3JjL3NjcmlwdHMvZXNidWlsZC9yZW5hbWVUb0Nqc1BsdWdpbi50cyJdLAogICJzb3VyY2VzQ29udGVudCI6IFsidmFyIF9faW1wb3J0X21ldGFfdXJsID0gZ2xvYmFsVGhpc1snaW1wb3J0Lm1ldGEudXJsJ10gPz8gKCgpPT57aWYodHlwZW9mIF9fZmlsZW5hbWUhPT1cInN0cmluZ1wiKXtyZXR1cm4gbmV3IFVSTCh3aW5kb3cubG9jYXRpb24uaHJlZil9cmV0dXJuIHJlcXVpcmUoXCJub2RlOnVybFwiKS5wYXRoVG9GaWxlVVJMKF9fZmlsZW5hbWUpfSkoKTtcbnZhciBfX3Byb2Nlc3MgPSBnbG9iYWxUaGlzWydwcm9jZXNzJ10gPz8ge1xuICBcImN3ZFwiOiAoKT0+XCIvXCIsXG4gIFwiZW52XCI6IHt9LFxuICBcInBsYXRmb3JtXCI6IFwiYW5kcm9pZFwiXG59O1xuLyoqXG4gKiBAcGFja2FnZURvY3VtZW50YXRpb24gcmVuYW1lVG9DanNQbHVnaW5cbiAqIFRoaXMgbW9kdWxlIGRlZmluZXMgYW4gZXNidWlsZCBwbHVnaW4gdGhhdCByZW5hbWVzIEphdmFTY3JpcHQgZmlsZXMgdG8gQ29tbW9uSlMgKGAuY2pzYCkgZmlsZXMgYWZ0ZXIgdGhlIGJ1aWxkIHByb2Nlc3MuXG4gKiBJdCBhbHNvIGFkanVzd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cnO1xuICAgICAgYnVpbGQuaW5pdGlhbE9wdGlvbnMuYmFubmVyWydqcyddICs9ICdcXG4nICsgX19yZXF1aXJlLnRvU3RyaW5nKCk7XG5cbiAgICAgIGJ1aWxkLm9uRW5kKGFzeW5jIChyZXN1bHQpID0+IHtcbiAgICAgICAgZm9yIChjb25zdCBmaWxlIG9mIHJlc3VsdC5vdXRwdXRGaWxlcyA/PyBbXSkge1xuICAgICAgICAgIGlmICghZmlsZS5wYXRoLmVuZHNXaXRoKCcuanMnKSB8fCBmaWxlLnBhdGguZW5kc1dpdGgoJy5kLmpzJykpIHtcbiAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIGNvbnN0IG5ld1BhdGggPSBmaWxlLnBhdGgucmVwbGFjZUFsbCgvXFwuanMkL2csICcuY2pzJyk7XG5cbiAgICAgICAgICBjb25zdCBuZXdUZXh0ID0gZmlsZS50ZXh0LnJlcGxhY2VBbGwoL3JlcXVpcmVcXChbXCInXSguKz8pW1wiJ11cXCkvZywgKF8sIGltcG9ydFBhdGg6IHN0cmluZykgPT4ge1xuICAgICAgICAgICAgaWYgKGltcG9ydFBhdGguZW5kc1dpdGgoJy5kLnRzJykpIHtcbiAgICAgICAgICAgICAgcmV0dXJuICd1bmRlZmluZWQnO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBjb25zdCBjanNJbXBvcnRQYXRoID0gaW1wb3J0UGF0aC5yZXBsYWNlQWxsKC9cXC50cyQvZywgJy5janMnKTtcbiAgICAgICAgICAgIHJldHVybiBgX19yZXF1aXJlKCcke2Nqc0ltcG9ydFBhdGh9JylgO1xuICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgYXdhaXQgd3JpdGVGaWxlKG5ld1BhdGgsIG5ld1RleHQpO1xuICAgICAgICB9XG4gICAgICB9KTtcbiAgICB9XG4gIH07XG59XG5cbmZ1bmN0aW9uIF9fcmVxdWlyZShpZDogc3RyaW5nKTogdW5rbm93biB7X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ibW9kdWxlIl0KfQo=
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __create = Object.create;
9
9
  var __defProp = Object.defineProperty;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __create = Object.create;
9
9
  var __defProp = Object.defineProperty;
package/dist/lib/url.cjs CHANGED
@@ -3,7 +3,7 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
3
  if you want to view the source, please visit the github repository of this plugin
4
4
  */
5
5
 
6
- function __require(id){const module=globalThis.require(id);return module.__esModule&&module.default?module.default:module}
6
+ function __require(id){const module=require(id);return module.__esModule&&module.default?module.default:module}
7
7
  "use strict";
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "obsidian-dev-utils",
3
- "version": "3.11.2",
3
+ "version": "3.11.3",
4
4
  "description": "This is the collection of useful functions that you can use for your Obsidian plugin development",
5
5
  "main": "./dist/lib/index.cjs",
6
6
  "types": "./dist/lib/index.d.ts",