@optique/core 1.0.0-dev.1309 → 1.0.0-dev.1313
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.
- package/dist/modifiers.cjs +1 -1
- package/dist/modifiers.js +1 -1
- package/dist/suggestion.cjs +1 -1
- package/dist/suggestion.js +1 -1
- package/package.json +1 -1
package/dist/modifiers.cjs
CHANGED
|
@@ -628,7 +628,7 @@ function multiple(parser, options = {}) {
|
|
|
628
628
|
suggestion.type,
|
|
629
629
|
suggestion.pattern ?? "",
|
|
630
630
|
suggestion.includeHidden === true,
|
|
631
|
-
suggestion.extensions == null ? "" : suggestion.extensions.join("\0"),
|
|
631
|
+
suggestion.extensions == null ? "" : suggestion.extensions.toSorted().join("\0"),
|
|
632
632
|
description
|
|
633
633
|
]);
|
|
634
634
|
};
|
package/dist/modifiers.js
CHANGED
|
@@ -628,7 +628,7 @@ function multiple(parser, options = {}) {
|
|
|
628
628
|
suggestion.type,
|
|
629
629
|
suggestion.pattern ?? "",
|
|
630
630
|
suggestion.includeHidden === true,
|
|
631
|
-
suggestion.extensions == null ? "" : suggestion.extensions.join("\0"),
|
|
631
|
+
suggestion.extensions == null ? "" : suggestion.extensions.toSorted().join("\0"),
|
|
632
632
|
description
|
|
633
633
|
]);
|
|
634
634
|
};
|
package/dist/suggestion.cjs
CHANGED
|
@@ -192,7 +192,7 @@ function createErrorWithSuggestions(baseError, invalidInput, usage, type = "both
|
|
|
192
192
|
*/
|
|
193
193
|
function getSuggestionKey(suggestion) {
|
|
194
194
|
if (suggestion.kind === "literal") return suggestion.text;
|
|
195
|
-
return `__FILE__:${suggestion.type}:${suggestion.extensions?.join(",") ?? ""}:${suggestion.pattern ?? ""}`;
|
|
195
|
+
return `__FILE__:${suggestion.type}:${suggestion.extensions?.toSorted().join(",") ?? ""}:${suggestion.pattern ?? ""}`;
|
|
196
196
|
}
|
|
197
197
|
/**
|
|
198
198
|
* Removes duplicate suggestions from an array while preserving order.
|
package/dist/suggestion.js
CHANGED
|
@@ -192,7 +192,7 @@ function createErrorWithSuggestions(baseError, invalidInput, usage, type = "both
|
|
|
192
192
|
*/
|
|
193
193
|
function getSuggestionKey(suggestion) {
|
|
194
194
|
if (suggestion.kind === "literal") return suggestion.text;
|
|
195
|
-
return `__FILE__:${suggestion.type}:${suggestion.extensions?.join(",") ?? ""}:${suggestion.pattern ?? ""}`;
|
|
195
|
+
return `__FILE__:${suggestion.type}:${suggestion.extensions?.toSorted().join(",") ?? ""}:${suggestion.pattern ?? ""}`;
|
|
196
196
|
}
|
|
197
197
|
/**
|
|
198
198
|
* Removes duplicate suggestions from an array while preserving order.
|