From: =?utf-8?q?Bastien_Roucari=C3=A8s?= <rouca@debian.org>
Date: Mon, 21 Apr 2025 00:44:27 +0200
Subject: Reexport default

Allow smooth upgrade

Forwarded: not-needed
---
 src/index.ts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/index.ts b/src/index.ts
index f04a240..983b699 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -224,3 +224,11 @@ export const glob = Object.assign(glob_, {
   unescape,
 })
 glob.glob = glob
+
+export default glob
+
+// CJS compatibility
+if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
+  module.exports = glob;
+}
+
