inferred-types 1.4.0 → 1.4.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.
- package/modules/constants/dist/index.d.cts.map +1 -1
- package/modules/inferred-types/dist/index.d.cts +3 -3
- package/modules/inferred-types/dist/index.d.cts.map +1 -1
- package/modules/inferred-types/dist/index.d.ts +3 -3
- package/modules/inferred-types/dist/index.d.ts.map +1 -1
- package/modules/runtime/dist/index.d.cts +2 -2
- package/modules/runtime/dist/index.d.cts.map +1 -1
- package/modules/runtime/dist/index.d.ts +2 -2
- package/modules/runtime/dist/index.d.ts.map +1 -1
- package/modules/types/dist/index.d.cts +1 -1
- package/modules/types/dist/index.d.cts.map +1 -1
- package/modules/types/dist/index.d.ts +1 -1
- package/modules/types/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -24425,7 +24425,7 @@ type PolicyHandlerForDropped$1<TPolicy$1 extends DropRulePolicy$1, TState$1 exte
|
|
|
24425
24425
|
* object can be easily be serialized into the `kept` property which is
|
|
24426
24426
|
* typically what people want to extract.
|
|
24427
24427
|
*/
|
|
24428
|
-
type AsDropResult$1<TContent$1 extends string, TRules extends readonly FinalizedDropRule$1[], TState$1 extends "keep" | FinalizedDropRule$1 = "keep", TKept extends string = "", TDropped extends readonly string[] = []> = MatchRule$1<TContent$1, TRules, TState$1> extends {
|
|
24428
|
+
type AsDropResult$1<TContent$1 extends string, TRules extends readonly FinalizedDropRule$1[], TState$1 extends "keep" | FinalizedDropRule$1 = "keep", TKept extends string = "", TDropped extends readonly string[] = []> = string extends TContent$1 ? DropResult$1 : MatchRule$1<TContent$1, TRules, TState$1> extends {
|
|
24429
24429
|
newState: infer NewState extends "keep" | FinalizedDropRule$1;
|
|
24430
24430
|
extract: infer Extracted extends string;
|
|
24431
24431
|
policy: infer Policy extends DropRulePolicy$1;
|
|
@@ -26467,7 +26467,7 @@ declare function getUrlQueryParams<T$1 extends string, S$1 extends string | unde
|
|
|
26467
26467
|
* Returns the default port which the given URL string would use
|
|
26468
26468
|
* based on the protocol detected in this string.
|
|
26469
26469
|
*/
|
|
26470
|
-
declare function getUrlDefaultPort<T$1 extends string>(url: T$1):
|
|
26470
|
+
declare function getUrlDefaultPort<T$1 extends string>(url: T$1): 22 | 21 | 23 | 25 | 80 | 443 | 53 | 853 | 142 | 110;
|
|
26471
26471
|
/**
|
|
26472
26472
|
* **getUrlPort**`(url, [resolve])`
|
|
26473
26473
|
*
|
|
@@ -59753,7 +59753,7 @@ type PolicyHandlerForDropped<TPolicy$1 extends DropRulePolicy, TState$1 extends
|
|
|
59753
59753
|
* object can be easily be serialized into the `kept` property which is
|
|
59754
59754
|
* typically what people want to extract.
|
|
59755
59755
|
*/
|
|
59756
|
-
type AsDropResult<TContent$1 extends string, TRules extends readonly FinalizedDropRule[], TState$1 extends "keep" | FinalizedDropRule = "keep", TKept extends string = "", TDropped extends readonly string[] = []> = MatchRule<TContent$1, TRules, TState$1> extends {
|
|
59756
|
+
type AsDropResult<TContent$1 extends string, TRules extends readonly FinalizedDropRule[], TState$1 extends "keep" | FinalizedDropRule = "keep", TKept extends string = "", TDropped extends readonly string[] = []> = string extends TContent$1 ? DropResult : MatchRule<TContent$1, TRules, TState$1> extends {
|
|
59757
59757
|
newState: infer NewState extends "keep" | FinalizedDropRule;
|
|
59758
59758
|
extract: infer Extracted extends string;
|
|
59759
59759
|
policy: infer Policy extends DropRulePolicy;
|