@hasna/hooks 0.7.0 → 0.7.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/bin/serve.js CHANGED
@@ -540,113 +540,113 @@ import { basename, dirname, isAbsolute, join as join3, normalize, resolve, sep }
540
540
  // ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
541
541
  var exports_external = {};
542
542
  __export(exports_external, {
543
- BRAND: () => BRAND,
544
- DIRTY: () => DIRTY,
545
- EMPTY_PATH: () => EMPTY_PATH,
546
- INVALID: () => INVALID,
547
- NEVER: () => NEVER,
548
- OK: () => OK,
549
- ParseStatus: () => ParseStatus,
550
- Schema: () => ZodType,
551
- ZodAny: () => ZodAny,
552
- ZodArray: () => ZodArray,
553
- ZodBigInt: () => ZodBigInt,
554
- ZodBoolean: () => ZodBoolean,
555
- ZodBranded: () => ZodBranded,
556
- ZodCatch: () => ZodCatch,
557
- ZodDate: () => ZodDate,
558
- ZodDefault: () => ZodDefault,
559
- ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
560
- ZodEffects: () => ZodEffects,
561
- ZodEnum: () => ZodEnum,
562
- ZodError: () => ZodError,
563
- ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
564
- ZodFunction: () => ZodFunction,
565
- ZodIntersection: () => ZodIntersection,
566
- ZodIssueCode: () => ZodIssueCode,
567
- ZodLazy: () => ZodLazy,
568
- ZodLiteral: () => ZodLiteral,
569
- ZodMap: () => ZodMap,
570
- ZodNaN: () => ZodNaN,
571
- ZodNativeEnum: () => ZodNativeEnum,
572
- ZodNever: () => ZodNever,
573
- ZodNull: () => ZodNull,
574
- ZodNullable: () => ZodNullable,
575
- ZodNumber: () => ZodNumber,
576
- ZodObject: () => ZodObject,
577
- ZodOptional: () => ZodOptional,
578
- ZodParsedType: () => ZodParsedType,
579
- ZodPipeline: () => ZodPipeline,
580
- ZodPromise: () => ZodPromise,
581
- ZodReadonly: () => ZodReadonly,
582
- ZodRecord: () => ZodRecord,
583
- ZodSchema: () => ZodType,
584
- ZodSet: () => ZodSet,
585
- ZodString: () => ZodString,
586
- ZodSymbol: () => ZodSymbol,
587
- ZodTransformer: () => ZodEffects,
588
- ZodTuple: () => ZodTuple,
589
- ZodType: () => ZodType,
590
- ZodUndefined: () => ZodUndefined,
591
- ZodUnion: () => ZodUnion,
592
- ZodUnknown: () => ZodUnknown,
593
- ZodVoid: () => ZodVoid,
594
- addIssueToContext: () => addIssueToContext,
595
- any: () => anyType,
596
- array: () => arrayType,
597
- bigint: () => bigIntType,
598
- boolean: () => booleanType,
599
- coerce: () => coerce,
600
- custom: () => custom,
601
- date: () => dateType,
602
- datetimeRegex: () => datetimeRegex,
603
- defaultErrorMap: () => en_default,
604
- discriminatedUnion: () => discriminatedUnionType,
605
- effect: () => effectsType,
606
- enum: () => enumType,
607
- function: () => functionType,
608
- getErrorMap: () => getErrorMap,
609
- getParsedType: () => getParsedType,
610
- instanceof: () => instanceOfType,
611
- intersection: () => intersectionType,
612
- isAborted: () => isAborted,
613
- isAsync: () => isAsync,
614
- isDirty: () => isDirty,
615
- isValid: () => isValid,
616
- late: () => late,
617
- lazy: () => lazyType,
618
- literal: () => literalType,
619
- makeIssue: () => makeIssue,
620
- map: () => mapType,
621
- nan: () => nanType,
622
- nativeEnum: () => nativeEnumType,
623
- never: () => neverType,
624
- null: () => nullType,
625
- nullable: () => nullableType,
626
- number: () => numberType,
627
- object: () => objectType,
628
- objectUtil: () => objectUtil,
629
- oboolean: () => oboolean,
630
- onumber: () => onumber,
631
- optional: () => optionalType,
632
- ostring: () => ostring,
633
- pipeline: () => pipelineType,
634
- preprocess: () => preprocessType,
635
- promise: () => promiseType,
636
- quotelessJson: () => quotelessJson,
637
- record: () => recordType,
638
- set: () => setType,
639
- setErrorMap: () => setErrorMap,
640
- strictObject: () => strictObjectType,
641
- string: () => stringType,
642
- symbol: () => symbolType,
643
- transformer: () => effectsType,
644
- tuple: () => tupleType,
645
- undefined: () => undefinedType,
646
- union: () => unionType,
647
- unknown: () => unknownType,
543
+ void: () => voidType,
648
544
  util: () => util,
649
- void: () => voidType
545
+ unknown: () => unknownType,
546
+ union: () => unionType,
547
+ undefined: () => undefinedType,
548
+ tuple: () => tupleType,
549
+ transformer: () => effectsType,
550
+ symbol: () => symbolType,
551
+ string: () => stringType,
552
+ strictObject: () => strictObjectType,
553
+ setErrorMap: () => setErrorMap,
554
+ set: () => setType,
555
+ record: () => recordType,
556
+ quotelessJson: () => quotelessJson,
557
+ promise: () => promiseType,
558
+ preprocess: () => preprocessType,
559
+ pipeline: () => pipelineType,
560
+ ostring: () => ostring,
561
+ optional: () => optionalType,
562
+ onumber: () => onumber,
563
+ oboolean: () => oboolean,
564
+ objectUtil: () => objectUtil,
565
+ object: () => objectType,
566
+ number: () => numberType,
567
+ nullable: () => nullableType,
568
+ null: () => nullType,
569
+ never: () => neverType,
570
+ nativeEnum: () => nativeEnumType,
571
+ nan: () => nanType,
572
+ map: () => mapType,
573
+ makeIssue: () => makeIssue,
574
+ literal: () => literalType,
575
+ lazy: () => lazyType,
576
+ late: () => late,
577
+ isValid: () => isValid,
578
+ isDirty: () => isDirty,
579
+ isAsync: () => isAsync,
580
+ isAborted: () => isAborted,
581
+ intersection: () => intersectionType,
582
+ instanceof: () => instanceOfType,
583
+ getParsedType: () => getParsedType,
584
+ getErrorMap: () => getErrorMap,
585
+ function: () => functionType,
586
+ enum: () => enumType,
587
+ effect: () => effectsType,
588
+ discriminatedUnion: () => discriminatedUnionType,
589
+ defaultErrorMap: () => en_default,
590
+ datetimeRegex: () => datetimeRegex,
591
+ date: () => dateType,
592
+ custom: () => custom,
593
+ coerce: () => coerce,
594
+ boolean: () => booleanType,
595
+ bigint: () => bigIntType,
596
+ array: () => arrayType,
597
+ any: () => anyType,
598
+ addIssueToContext: () => addIssueToContext,
599
+ ZodVoid: () => ZodVoid,
600
+ ZodUnknown: () => ZodUnknown,
601
+ ZodUnion: () => ZodUnion,
602
+ ZodUndefined: () => ZodUndefined,
603
+ ZodType: () => ZodType,
604
+ ZodTuple: () => ZodTuple,
605
+ ZodTransformer: () => ZodEffects,
606
+ ZodSymbol: () => ZodSymbol,
607
+ ZodString: () => ZodString,
608
+ ZodSet: () => ZodSet,
609
+ ZodSchema: () => ZodType,
610
+ ZodRecord: () => ZodRecord,
611
+ ZodReadonly: () => ZodReadonly,
612
+ ZodPromise: () => ZodPromise,
613
+ ZodPipeline: () => ZodPipeline,
614
+ ZodParsedType: () => ZodParsedType,
615
+ ZodOptional: () => ZodOptional,
616
+ ZodObject: () => ZodObject,
617
+ ZodNumber: () => ZodNumber,
618
+ ZodNullable: () => ZodNullable,
619
+ ZodNull: () => ZodNull,
620
+ ZodNever: () => ZodNever,
621
+ ZodNativeEnum: () => ZodNativeEnum,
622
+ ZodNaN: () => ZodNaN,
623
+ ZodMap: () => ZodMap,
624
+ ZodLiteral: () => ZodLiteral,
625
+ ZodLazy: () => ZodLazy,
626
+ ZodIssueCode: () => ZodIssueCode,
627
+ ZodIntersection: () => ZodIntersection,
628
+ ZodFunction: () => ZodFunction,
629
+ ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
630
+ ZodError: () => ZodError,
631
+ ZodEnum: () => ZodEnum,
632
+ ZodEffects: () => ZodEffects,
633
+ ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
634
+ ZodDefault: () => ZodDefault,
635
+ ZodDate: () => ZodDate,
636
+ ZodCatch: () => ZodCatch,
637
+ ZodBranded: () => ZodBranded,
638
+ ZodBoolean: () => ZodBoolean,
639
+ ZodBigInt: () => ZodBigInt,
640
+ ZodArray: () => ZodArray,
641
+ ZodAny: () => ZodAny,
642
+ Schema: () => ZodType,
643
+ ParseStatus: () => ParseStatus,
644
+ OK: () => OK,
645
+ NEVER: () => NEVER,
646
+ INVALID: () => INVALID,
647
+ EMPTY_PATH: () => EMPTY_PATH,
648
+ DIRTY: () => DIRTY,
649
+ BRAND: () => BRAND
650
650
  });
651
651
 
652
652
  // ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
@@ -5847,9 +5847,9 @@ if (import.meta.main) {
5847
5847
  });
5848
5848
  }
5849
5849
  export {
5850
- DEFAULT_SERVE_PORT,
5851
- SERVE_HOST,
5852
- SERVE_SERVICE_NAME,
5850
+ startServeServer,
5853
5851
  handleServeRequest,
5854
- startServeServer
5852
+ SERVE_SERVICE_NAME,
5853
+ SERVE_HOST,
5854
+ DEFAULT_SERVE_PORT
5855
5855
  };