{"version":3,"file":"globs-u_gXJPLt.mjs","names":["e: any"],"sources":["../../src/globs.ts"],"sourcesContent":["import globToRegexp from 'glob-to-regexp';\n\nexport const globs = {\n  toRegexp: (pattern: string): RegExp => {\n    try {\n      return globToRegexp(pattern);\n    } catch (e: any) {\n      throw new Error(\n        `Invalid pattern: ${pattern}.\\nConsult the documentation of glob-to-regexp here: https://www.npmjs.com/package/glob-to-regexp.\\n${e.message}`,\n      );\n    }\n  },\n};\n"],"mappings":";;;AAEA,MAAa,QAAQ,EACnB,WAAW,YAA4B;AACrC,KAAI;AACF,SAAO,aAAa,QAAQ;UACrBA,GAAQ;AACf,QAAM,IAAI,MACR,oBAAoB,QAAQ,sGAAsG,EAAE,UACrI;;GAGN"}