builder.io 1.12.0 → 1.12.2

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.
@@ -0,0 +1 @@
1
+ export {};
@@ -87,5 +87,13 @@ interface RipgrepResult {
87
87
  matches: RipgrepMatch[];
88
88
  }
89
89
  export declare function runRipgrep(sys: DevToolsSys, bashWorkingDirectory: string, pattern: string, includeGlob?: string, excludeGlob?: string): Promise<RipgrepResult>;
90
+ /**
91
+ * Returns true if query is likely a string literal rather than a regex.
92
+ * Returns false otherwise.
93
+ * This is intended to ensure that queries such as "import {" do not get
94
+ * interpreted as invalid regex values by ripgrep.
95
+ * @param query - The query to check
96
+ */
97
+ export declare const isLikelyFixedString: (query: string) => boolean;
90
98
  export declare function newAbortError(): Error;
91
99
  export {};