obsidian-dev-utils 13.15.1-beta.6 → 13.15.1-beta.8

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.
@@ -1,37 +0,0 @@
1
- /**
2
- * @packageDocumentation compare-versions
3
- * Fixed typings for the `compare-versions` package.
4
- */
5
-
6
- declare module 'compare-versions' {
7
- /**
8
- * Defines the set of comparison operators that can be used to compare version strings.
9
- *
10
- * - `>`: Checks if the first version is greater than the second.
11
- * - `>=`: Checks if the first version is greater than or equal to the second.
12
- * - `=`: Checks if the first version is equal to the second.
13
- * - `<`: Checks if the first version is less than the second.
14
- * - `<=`: Checks if the first version is less than or equal to the second.
15
- */
16
- export type CompareOperator = '<' | '<=' | '=' | '>' | '>=';
17
-
18
- /**
19
- * Compares two version strings using semantic versioning rules.
20
- *
21
- * @param v1 - The first version string to compare.
22
- * @param v2 - The second version string to compare.
23
- * @param operator - The comparison operator to use. If not provided, defaults to `"="`.
24
- * @returns `true` if the comparison between `v1` and `v2` is true based on the provided operator, otherwise `false`.
25
- */
26
- const compareVersions: {
27
- (v1: string, v2: string, operator?: CompareOperator): boolean;
28
-
29
- /**
30
- * The set of valid comparison operators that can be used with the `compareVersions` function.
31
- */
32
- CompareOperator: CompareOperator;
33
- };
34
-
35
- // eslint-disable-next-line import-x/no-default-export
36
- export default compareVersions;
37
- }