@visulima/pail 3.2.2 → 4.0.0-alpha.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.
Files changed (29) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/LICENSE.md +374 -0
  3. package/README.md +32 -24
  4. package/dist/index.browser.js +2 -2
  5. package/dist/index.server.js +5 -5
  6. package/dist/interactive/index.js +1 -1
  7. package/dist/packem_shared/{AbstractJsonReporter-intFdT_A.js → AbstractJsonReporter-BaZ33PlE.js} +1 -1
  8. package/dist/packem_shared/{InteractiveManager-CZ85hGNW.js → InteractiveManager-CbE7d1kY.js} +1 -1
  9. package/dist/packem_shared/{JsonReporter-DcM2LBX9.js → JsonReporter-BRw4skd5.js} +1 -1
  10. package/dist/packem_shared/{JsonReporter-C0AXk99i.js → JsonReporter-VzgyLEYz.js} +1 -1
  11. package/dist/packem_shared/{PrettyReporter-BFWaYP_J.js → PrettyReporter-C2wVB7yu.js} +4 -4
  12. package/dist/packem_shared/{PrettyReporter-CuLLKr6-.js → PrettyReporter-DySIXBjQ.js} +2 -2
  13. package/dist/packem_shared/{abstract-pretty-reporter-DMPDCslJ.js → abstract-pretty-reporter-Di_sdm2r.js} +1 -1
  14. package/dist/packem_shared/{constants-DfDr4MHC.js → constants-omsTHUWB.js} +1 -1
  15. package/dist/packem_shared/{format-label-Btft2KGP.js → format-label-De49vNPd.js} +4 -5
  16. package/dist/packem_shared/{index-DqKWykfa.js → index-EZ_WSQZS.js} +17 -17
  17. package/dist/packem_shared/{pail.browser-CPjQrsyy.js → pail.browser-u2CSR_af.js} +1 -1
  18. package/dist/processor/message-formatter-processor.d.ts +2 -1
  19. package/dist/processor/message-formatter-processor.js +0 -1
  20. package/dist/reporter/file/json-file-reporter.js +1 -1
  21. package/dist/reporter/http/abstract-http-reporter.js +1 -1
  22. package/dist/reporter/http/http-reporter.edge-light.js +1 -1
  23. package/dist/reporter/json/index.browser.js +2 -2
  24. package/dist/reporter/json/index.js +2 -2
  25. package/dist/reporter/pretty/index.browser.js +1 -1
  26. package/dist/reporter/pretty/index.js +1 -1
  27. package/dist/reporter/simple/simple-reporter.server.js +4 -4
  28. package/dist/types.d.ts +1 -1
  29. package/package.json +6 -5
package/CHANGELOG.md CHANGED
@@ -1,3 +1,34 @@
1
+ ## @visulima/pail [4.0.0-alpha.2](https://github.com/visulima/visulima/compare/@visulima/pail@4.0.0-alpha.1...@visulima/pail@4.0.0-alpha.2) (2025-12-08)
2
+
3
+
4
+ ### Dependencies
5
+
6
+ * **@visulima/string:** upgraded to 3.0.0-alpha.2
7
+
8
+ ## @visulima/pail [4.0.0-alpha.1](https://github.com/visulima/visulima/compare/@visulima/pail@3.2.2...@visulima/pail@4.0.0-alpha.1) (2025-12-07)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+
12
+ * change min node version to 22.13
13
+
14
+ ### Bug Fixes
15
+
16
+ * add new package image, fixed readme rendering on npm, fixed building of packages ([b790ba2](https://github.com/visulima/visulima/commit/b790ba253ea07fef83528fd822a678facf021b5f))
17
+ * update Node.js engine version requirement to >=22.13 in multiple package.json files for improved compatibility ([b828e9a](https://github.com/visulima/visulima/commit/b828e9aeaebfc798eecddccd90e6ec7560c6d36a))
18
+
19
+ ### Miscellaneous Chores
20
+
21
+ * moved all packages into groups ([0615e9d](https://github.com/visulima/visulima/commit/0615e9d14a8a886e11da529ce150cf31ca973c10))
22
+ * update @anolilab/semantic-release-pnpm and @anolilab/semantic-release-preset to versions 3.2.2 and 12.1.2 across multiple package.json files for improved compatibility ([3921626](https://github.com/visulima/visulima/commit/3921626141fe5da398749bf0ba675f1596f18afb))
23
+ * update dependencies across multiple packages to improve compatibility and performance, including upgrading `@anolilab/semantic-release-pnpm` and `@anolilab/semantic-release-preset` to versions 3.2.0 and 12.1.0 respectively, and updating `react`, `react-dom`, and `next` versions to 19.2.1 and 16.0.7 in various package.json files ([aee8fcd](https://github.com/visulima/visulima/commit/aee8fcd796ae9b8d055903260e7150996ea9f53d))
24
+
25
+
26
+ ### Dependencies
27
+
28
+ * **@visulima/error:** upgraded to 6.0.0-alpha.1
29
+ * **@visulima/inspector:** upgraded to 2.0.0-alpha.1
30
+ * **@visulima/string:** upgraded to 3.0.0-alpha.1
31
+
1
32
  ## @visulima/pail [3.2.2](https://github.com/visulima/visulima/compare/@visulima/pail@3.2.1...@visulima/pail@3.2.2) (2025-11-13)
2
33
 
3
34
  ### Bug Fixes
package/LICENSE.md CHANGED
@@ -446,6 +446,36 @@ Repository: git+https://github.com/visulima/visulima.git
446
446
  > MIT
447
447
  >
448
448
  > # Bundled dependencies:
449
+ > ## codsen-utils
450
+ > License: MIT
451
+ > By: Roy Revelt
452
+ > Repository: git+https://github.com/codsen/codsen.git
453
+ >
454
+ > > MIT License
455
+ > >
456
+ > > Copyright © 2010-2025 Roy Revelt and other contributors
457
+ > >
458
+ > > Permission is hereby granted, free of charge, to any person obtaining
459
+ > > a copy of this software and associated documentation files (the
460
+ > > "Software"), to deal in the Software without restriction, including
461
+ > > without limitation the rights to use, copy, modify, merge, publish,
462
+ > > distribute, sublicense, and/or sell copies of the Software, and to
463
+ > > permit persons to whom the Software is furnished to do so, subject to
464
+ > > the following conditions:
465
+ > >
466
+ > > The above copyright notice and this permission notice shall be
467
+ > > included in all copies or substantial portions of the Software.
468
+ > >
469
+ > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
470
+ > > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
471
+ > > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
472
+ > > NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
473
+ > > LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
474
+ > > OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
475
+ > > WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
476
+ >
477
+ > ---------------------------------------
478
+ >
449
479
  > ## emoji-regex-xs
450
480
  > License: MIT
451
481
  > By: Steven Levithan
@@ -519,6 +549,350 @@ Repository: git+https://github.com/visulima/visulima.git
519
549
  > >
520
550
  > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
521
551
  >
552
+ > ---------------------------------------
553
+ >
554
+ > ## html-entities
555
+ > License: MIT
556
+ > By: Marat Dulin
557
+ > Repository: https://github.com/mdevils/html-entities.git
558
+ >
559
+ > > Copyright (c) 2021 Dulin Marat
560
+ > >
561
+ > > Permission is hereby granted, free of charge, to any person obtaining a copy
562
+ > > of this software and associated documentation files (the "Software"), to deal
563
+ > > in the Software without restriction, including without limitation the rights
564
+ > > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
565
+ > > copies of the Software, and to permit persons to whom the Software is
566
+ > > furnished to do so, subject to the following conditions:
567
+ > >
568
+ > > The above copyright notice and this permission notice shall be included in
569
+ > > all copies or substantial portions of the Software.
570
+ > >
571
+ > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
572
+ > > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
573
+ > > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
574
+ > > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
575
+ > > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
576
+ > > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
577
+ > > THE SOFTWARE.
578
+ >
579
+ > ---------------------------------------
580
+ >
581
+ > ## lodash-es
582
+ > License: MIT
583
+ > By: John-David Dalton, Mathias Bynens
584
+ > Repository: lodash/lodash
585
+ >
586
+ > > Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
587
+ > >
588
+ > > Based on Underscore.js, copyright Jeremy Ashkenas,
589
+ > > DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
590
+ > >
591
+ > > This software consists of voluntary contributions made by many
592
+ > > individuals. For exact contribution history, see the revision history
593
+ > > available at https://github.com/lodash/lodash
594
+ > >
595
+ > > The following license applies to all parts of this software except as
596
+ > > documented below:
597
+ > >
598
+ > > ====
599
+ > >
600
+ > > Permission is hereby granted, free of charge, to any person obtaining
601
+ > > a copy of this software and associated documentation files (the
602
+ > > "Software"), to deal in the Software without restriction, including
603
+ > > without limitation the rights to use, copy, modify, merge, publish,
604
+ > > distribute, sublicense, and/or sell copies of the Software, and to
605
+ > > permit persons to whom the Software is furnished to do so, subject to
606
+ > > the following conditions:
607
+ > >
608
+ > > The above copyright notice and this permission notice shall be
609
+ > > included in all copies or substantial portions of the Software.
610
+ > >
611
+ > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
612
+ > > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
613
+ > > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
614
+ > > NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
615
+ > > LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
616
+ > > OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
617
+ > > WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
618
+ > >
619
+ > > ====
620
+ > >
621
+ > > Copyright and related rights for sample code are waived via CC0. Sample
622
+ > > code is defined as all source code displayed within the prose of the
623
+ > > documentation.
624
+ > >
625
+ > > CC0: http://creativecommons.org/publicdomain/zero/1.0/
626
+ > >
627
+ > > ====
628
+ > >
629
+ > > Files located in the node_modules and vendor directories are externally
630
+ > > maintained libraries used by this software which have their own
631
+ > > licenses; we recommend you read them, as their terms may differ from the
632
+ > > terms above.
633
+ >
634
+ > ---------------------------------------
635
+ >
636
+ > ## ranges-apply
637
+ > License: MIT
638
+ > By: Roy Revelt
639
+ > Repository: git+https://github.com/codsen/codsen.git
640
+ >
641
+ > > MIT License
642
+ > >
643
+ > > Copyright © 2010-2025 Roy Revelt and other contributors
644
+ > >
645
+ > > Permission is hereby granted, free of charge, to any person obtaining
646
+ > > a copy of this software and associated documentation files (the
647
+ > > "Software"), to deal in the Software without restriction, including
648
+ > > without limitation the rights to use, copy, modify, merge, publish,
649
+ > > distribute, sublicense, and/or sell copies of the Software, and to
650
+ > > permit persons to whom the Software is furnished to do so, subject to
651
+ > > the following conditions:
652
+ > >
653
+ > > The above copyright notice and this permission notice shall be
654
+ > > included in all copies or substantial portions of the Software.
655
+ > >
656
+ > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
657
+ > > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
658
+ > > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
659
+ > > NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
660
+ > > LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
661
+ > > OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
662
+ > > WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
663
+ >
664
+ > ---------------------------------------
665
+ >
666
+ > ## ranges-merge
667
+ > License: MIT
668
+ > By: Roy Revelt
669
+ > Repository: git+https://github.com/codsen/codsen.git
670
+ >
671
+ > > MIT License
672
+ > >
673
+ > > Copyright © 2010-2025 Roy Revelt and other contributors
674
+ > >
675
+ > > Permission is hereby granted, free of charge, to any person obtaining
676
+ > > a copy of this software and associated documentation files (the
677
+ > > "Software"), to deal in the Software without restriction, including
678
+ > > without limitation the rights to use, copy, modify, merge, publish,
679
+ > > distribute, sublicense, and/or sell copies of the Software, and to
680
+ > > permit persons to whom the Software is furnished to do so, subject to
681
+ > > the following conditions:
682
+ > >
683
+ > > The above copyright notice and this permission notice shall be
684
+ > > included in all copies or substantial portions of the Software.
685
+ > >
686
+ > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
687
+ > > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
688
+ > > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
689
+ > > NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
690
+ > > LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
691
+ > > OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
692
+ > > WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
693
+ >
694
+ > ---------------------------------------
695
+ >
696
+ > ## ranges-push
697
+ > License: MIT
698
+ > By: Roy Revelt
699
+ > Repository: git+https://github.com/codsen/codsen.git
700
+ >
701
+ > > MIT License
702
+ > >
703
+ > > Copyright © 2010-2025 Roy Revelt and other contributors
704
+ > >
705
+ > > Permission is hereby granted, free of charge, to any person obtaining
706
+ > > a copy of this software and associated documentation files (the
707
+ > > "Software"), to deal in the Software without restriction, including
708
+ > > without limitation the rights to use, copy, modify, merge, publish,
709
+ > > distribute, sublicense, and/or sell copies of the Software, and to
710
+ > > permit persons to whom the Software is furnished to do so, subject to
711
+ > > the following conditions:
712
+ > >
713
+ > > The above copyright notice and this permission notice shall be
714
+ > > included in all copies or substantial portions of the Software.
715
+ > >
716
+ > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
717
+ > > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
718
+ > > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
719
+ > > NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
720
+ > > LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
721
+ > > OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
722
+ > > WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
723
+ >
724
+ > ---------------------------------------
725
+ >
726
+ > ## ranges-sort
727
+ > License: MIT
728
+ > By: Roy Revelt
729
+ > Repository: git+https://github.com/codsen/codsen.git
730
+ >
731
+ > > MIT License
732
+ > >
733
+ > > Copyright © 2010-2025 Roy Revelt and other contributors
734
+ > >
735
+ > > Permission is hereby granted, free of charge, to any person obtaining
736
+ > > a copy of this software and associated documentation files (the
737
+ > > "Software"), to deal in the Software without restriction, including
738
+ > > without limitation the rights to use, copy, modify, merge, publish,
739
+ > > distribute, sublicense, and/or sell copies of the Software, and to
740
+ > > permit persons to whom the Software is furnished to do so, subject to
741
+ > > the following conditions:
742
+ > >
743
+ > > The above copyright notice and this permission notice shall be
744
+ > > included in all copies or substantial portions of the Software.
745
+ > >
746
+ > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
747
+ > > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
748
+ > > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
749
+ > > NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
750
+ > > LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
751
+ > > OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
752
+ > > WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
753
+ >
754
+ > ---------------------------------------
755
+ >
756
+ > ## rfdc
757
+ > License: MIT
758
+ > By: David Mark Clements
759
+ > Repository: git+https://github.com/davidmarkclements/rfdc.git
760
+ >
761
+ > > Copyright 2019 "David Mark Clements <david.mark.clements@gmail.com>"
762
+ > >
763
+ > > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
764
+ > > documentation files (the "Software"), to deal in the Software without restriction, including without limitation
765
+ > > the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
766
+ > > to permit persons to whom the Software is furnished to do so, subject to the following conditions:
767
+ > >
768
+ > > The above copyright notice and this permission notice shall be included in all copies or substantial portions
769
+ > > of the Software.
770
+ > >
771
+ > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
772
+ > > TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
773
+ > > THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
774
+ > > CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
775
+ > > IN THE SOFTWARE.
776
+ >
777
+ > ---------------------------------------
778
+ >
779
+ > ## string-collapse-leading-whitespace
780
+ > License: MIT
781
+ > By: Roy Revelt
782
+ > Repository: git+https://github.com/codsen/codsen.git
783
+ >
784
+ > > MIT License
785
+ > >
786
+ > > Copyright © 2010-2025 Roy Revelt and other contributors
787
+ > >
788
+ > > Permission is hereby granted, free of charge, to any person obtaining
789
+ > > a copy of this software and associated documentation files (the
790
+ > > "Software"), to deal in the Software without restriction, including
791
+ > > without limitation the rights to use, copy, modify, merge, publish,
792
+ > > distribute, sublicense, and/or sell copies of the Software, and to
793
+ > > permit persons to whom the Software is furnished to do so, subject to
794
+ > > the following conditions:
795
+ > >
796
+ > > The above copyright notice and this permission notice shall be
797
+ > > included in all copies or substantial portions of the Software.
798
+ > >
799
+ > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
800
+ > > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
801
+ > > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
802
+ > > NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
803
+ > > LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
804
+ > > OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
805
+ > > WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
806
+ >
807
+ > ---------------------------------------
808
+ >
809
+ > ## string-left-right
810
+ > License: MIT
811
+ > By: Roy Revelt
812
+ > Repository: git+https://github.com/codsen/codsen.git
813
+ >
814
+ > > MIT License
815
+ > >
816
+ > > Copyright © 2010-2025 Roy Revelt and other contributors
817
+ > >
818
+ > > Permission is hereby granted, free of charge, to any person obtaining
819
+ > > a copy of this software and associated documentation files (the
820
+ > > "Software"), to deal in the Software without restriction, including
821
+ > > without limitation the rights to use, copy, modify, merge, publish,
822
+ > > distribute, sublicense, and/or sell copies of the Software, and to
823
+ > > permit persons to whom the Software is furnished to do so, subject to
824
+ > > the following conditions:
825
+ > >
826
+ > > The above copyright notice and this permission notice shall be
827
+ > > included in all copies or substantial portions of the Software.
828
+ > >
829
+ > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
830
+ > > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
831
+ > > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
832
+ > > NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
833
+ > > LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
834
+ > > OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
835
+ > > WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
836
+ >
837
+ > ---------------------------------------
838
+ >
839
+ > ## string-strip-html
840
+ > License: MIT
841
+ > By: Roy Revelt
842
+ > Repository: git+https://github.com/codsen/codsen.git
843
+ >
844
+ > > MIT License
845
+ > >
846
+ > > Copyright © 2010-2025 Roy Revelt and other contributors
847
+ > >
848
+ > > Permission is hereby granted, free of charge, to any person obtaining
849
+ > > a copy of this software and associated documentation files (the
850
+ > > "Software"), to deal in the Software without restriction, including
851
+ > > without limitation the rights to use, copy, modify, merge, publish,
852
+ > > distribute, sublicense, and/or sell copies of the Software, and to
853
+ > > permit persons to whom the Software is furnished to do so, subject to
854
+ > > the following conditions:
855
+ > >
856
+ > > The above copyright notice and this permission notice shall be
857
+ > > included in all copies or substantial portions of the Software.
858
+ > >
859
+ > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
860
+ > > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
861
+ > > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
862
+ > > NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
863
+ > > LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
864
+ > > OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
865
+ > > WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
866
+ >
867
+ > ---------------------------------------
868
+ >
869
+ > ## tiny-invariant
870
+ > License: MIT
871
+ > By: Alex Reardon
872
+ > Repository: https://github.com/alexreardon/tiny-invariant.git
873
+ >
874
+ > > MIT License
875
+ > >
876
+ > > Copyright (c) 2019 Alexander Reardon
877
+ > >
878
+ > > Permission is hereby granted, free of charge, to any person obtaining a copy
879
+ > > of this software and associated documentation files (the "Software"), to deal
880
+ > > in the Software without restriction, including without limitation the rights
881
+ > > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
882
+ > > copies of the Software, and to permit persons to whom the Software is
883
+ > > furnished to do so, subject to the following conditions:
884
+ > >
885
+ > > The above copyright notice and this permission notice shall be included in all
886
+ > > copies or substantial portions of the Software.
887
+ > >
888
+ > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
889
+ > > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
890
+ > > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
891
+ > > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
892
+ > > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
893
+ > > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
894
+ > > SOFTWARE.
895
+ >
522
896
  >
523
897
  >
524
898
  >
package/README.md CHANGED
@@ -1,23 +1,24 @@
1
- <div align="center">
2
- <h3>Visulima Pail</h3>
3
- <p>
4
- Highly configurable Logger for Node.js, Edge and Browser, built on top of
5
-
6
- [@visulima/fmt][fmt],
7
- [@visulima/colorize](https://github.com/visulima/visulima/tree/main/packages/colorize),
8
- [@visulima/string](https://github.com/visulima/visulima/tree/main/packages/string),
9
- [ansi-escapes](https://www.npmjs.com/package/ansi-escapes),
10
- [safe-stable-stringify](https://www.npmjs.com/package/safe-stable-stringify), and
11
- [terminal-size](https://www.npmjs.com/package/terminal-size)
12
-
13
- </p>
14
- </div>
1
+ <!-- START_PACKAGE_OG_IMAGE_PLACEHOLDER -->
2
+
3
+ <a href="https://www.anolilab.com/open-source" align="center">
4
+
5
+ <img src="__assets__/package-og.svg" alt="pail" />
6
+
7
+ </a>
8
+
9
+ <h3 align="center">Highly configurable Logger for Node.js, Edge and Browser.</h3>
10
+
11
+ <!-- END_PACKAGE_OG_IMAGE_PLACEHOLDER -->
15
12
 
16
13
  <br />
17
14
 
18
15
  <div align="center">
19
16
 
20
- [![typescript-image]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url]
17
+ [![typescript-image][typescript-badge]][typescript-url]
18
+ [![mit licence][license-badge]][license]
19
+ [![npm downloads][npm-downloads-badge]][npm-downloads]
20
+ [![Chat][chat-badge]][chat]
21
+ [![PRs Welcome][prs-welcome-badge]][prs-welcome]
21
22
 
22
23
  </div>
23
24
 
@@ -1195,16 +1196,23 @@ If you would like to help take a look at the [list of issues](https://github.com
1195
1196
  - [signale](https://github.com/klaudiosinani/signale) - Highly configurable logging utility
1196
1197
  - [consola](https://github.com/unjs/consola) - 🐨 Elegant Console Logger for Node.js and Browser
1197
1198
 
1199
+ ## Made with ❤️ at Anolilab
1200
+
1201
+ This is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Anolilab](https://www.anolilab.com/open-source) is a Development and AI Studio. Contact us at [hello@anolilab.com](mailto:hello@anolilab.com) if you need any help with these technologies or just want to say hi!
1202
+
1198
1203
  ## License
1199
1204
 
1200
- The visulima pail is open-sourced software licensed under the [MIT][license-url]
1205
+ The visulima pail is open-sourced software licensed under the [MIT][license]
1201
1206
 
1202
- [typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
1207
+ <!-- badges -->
1203
1208
 
1204
- [typescript-url]: https://www.typescriptlang.org/ "TypeScript" "typescript"
1205
- [license-image]: https://img.shields.io/npm/l/@visulima/pail?color=blueviolet&style=for-the-badge
1206
- [license-url]: LICENSE.md "license"
1207
- [npm-image]: https://img.shields.io/npm/v/@visulima/pail/latest.svg?style=for-the-badge&logo=npm
1208
- [npm-url]: https://www.npmjs.com/package/@visulima/pail/v/latest "npm"
1209
- [rfc-5424]: https://datatracker.ietf.org/doc/html/rfc5424#page-36
1210
- [fmt]: https://github.com/visulima/visulima/tree/main/packages/fmt
1209
+ [license-badge]: https://img.shields.io/npm/l/@visulima/pail?style=for-the-badge
1210
+ [license]: https://github.com/visulima/visulima/blob/main/LICENSE
1211
+ [npm-downloads-badge]: https://img.shields.io/npm/dm/@visulima/pail?style=for-the-badge
1212
+ [npm-downloads]: https://www.npmjs.com/package/@visulima/pail
1213
+ [prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
1214
+ [prs-welcome]: https://github.com/visulima/visulima/blob/main/.github/CONTRIBUTING.md
1215
+ [chat-badge]: https://img.shields.io/discord/932323359193186354.svg?style=for-the-badge
1216
+ [chat]: https://discord.gg/TtFJY8xkFK
1217
+ [typescript-badge]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
1218
+ [typescript-url]: https://www.typescriptlang.org/
@@ -1,6 +1,6 @@
1
- import { P as PailBrowser } from './packem_shared/pail.browser-CPjQrsyy.js';
1
+ import { P as PailBrowser } from './packem_shared/pail.browser-u2CSR_af.js';
2
2
  import MessageFormatterProcessor from './processor/message-formatter-processor.js';
3
- import JsonReporter from './packem_shared/JsonReporter-DcM2LBX9.js';
3
+ import JsonReporter from './packem_shared/JsonReporter-BRw4skd5.js';
4
4
 
5
5
  const createPail = (options) => new PailBrowser({
6
6
  processors: [new MessageFormatterProcessor()],
@@ -9,18 +9,18 @@ const {
9
9
  stderr,
10
10
  env
11
11
  } = __cjs_getProcess;
12
- import InteractiveManager from './packem_shared/InteractiveManager-CZ85hGNW.js';
12
+ import InteractiveManager from './packem_shared/InteractiveManager-CbE7d1kY.js';
13
13
  import { I as InteractiveStreamHook, c as clearTerminal } from './packem_shared/interactive-stream-hook-DG4BtN12.js';
14
- import { a as PailBrowserImpl, m as mergeTypes, b as arrayify } from './packem_shared/pail.browser-CPjQrsyy.js';
14
+ import { a as PailBrowserImpl, m as mergeTypes, b as arrayify } from './packem_shared/pail.browser-u2CSR_af.js';
15
15
  import { ProgressBar, applyStyleToOptions, MultiProgressBar } from './progress-bar.js';
16
16
  export { getBarChar } from './progress-bar.js';
17
- import { i as inspect } from './packem_shared/format-label-Btft2KGP.js';
18
- import { E as EMPTY_SYMBOL } from './packem_shared/constants-DfDr4MHC.js';
17
+ import { i as inspect } from './packem_shared/format-label-De49vNPd.js';
18
+ import { E as EMPTY_SYMBOL } from './packem_shared/constants-omsTHUWB.js';
19
19
  import { w as writeStream } from './packem_shared/write-stream-BG8fhcs3.js';
20
20
  import { Spinner, MultiSpinner } from './spinner.js';
21
21
  import { g as getLongestLabel } from './packem_shared/get-longest-label-C9PWeyKq.js';
22
22
  import MessageFormatterProcessor from './processor/message-formatter-processor.js';
23
- import { PrettyReporter } from './packem_shared/PrettyReporter-BFWaYP_J.js';
23
+ import { PrettyReporter } from './packem_shared/PrettyReporter-C2wVB7yu.js';
24
24
 
25
25
  class RawReporter {
26
26
  #stdout;
@@ -1,2 +1,2 @@
1
- export { default as InteractiveManager } from '../packem_shared/InteractiveManager-CZ85hGNW.js';
1
+ export { default as InteractiveManager } from '../packem_shared/InteractiveManager-CbE7d1kY.js';
2
2
  export { I as InteractiveStreamHook } from '../packem_shared/interactive-stream-hook-DG4BtN12.js';
@@ -1,4 +1,4 @@
1
- import { E as EMPTY_SYMBOL } from './constants-DfDr4MHC.js';
1
+ import { E as EMPTY_SYMBOL } from './constants-omsTHUWB.js';
2
2
 
3
3
  function isPlainObject(value) {
4
4
  if (typeof value !== "object" || value === null) {
@@ -1,4 +1,4 @@
1
- import { t as terminalSize, w as wordWrap, W as WrapMode } from './index-DqKWykfa.js';
1
+ import { t as terminalSize, w as wordWrap, W as WrapMode } from './index-EZ_WSQZS.js';
2
2
 
3
3
  class InteractiveManager {
4
4
  #stream;
@@ -1,4 +1,4 @@
1
- import { AbstractJsonReporter } from './AbstractJsonReporter-intFdT_A.js';
1
+ import { AbstractJsonReporter } from './AbstractJsonReporter-BaZ33PlE.js';
2
2
  import { w as writeConsoleLogBasedOnLevel } from './write-console-log-based-on-level-DBmRYXpj.js';
3
3
 
4
4
  class JsonReporter extends AbstractJsonReporter {
@@ -9,7 +9,7 @@ const {
9
9
  stderr
10
10
  } = __cjs_getProcess;
11
11
  import { w as writeStream } from './write-stream-BG8fhcs3.js';
12
- import { AbstractJsonReporter } from './AbstractJsonReporter-intFdT_A.js';
12
+ import { AbstractJsonReporter } from './AbstractJsonReporter-BaZ33PlE.js';
13
13
 
14
14
  class JsonReporter extends AbstractJsonReporter {
15
15
  /** Standard output stream */
@@ -9,10 +9,10 @@ const {
9
9
  stderr
10
10
  } = __cjs_getProcess;
11
11
  import colorize, { red, greenBright, cyan, green, grey, white, bgGrey, underline } from '@visulima/colorize';
12
- import { d as defaultInspectorConfig, f as formatLabel, i as inspect, r as renderError } from './format-label-Btft2KGP.js';
13
- import { t as terminalSize, g as getStringWidth, w as wordWrap, W as WrapMode } from './index-DqKWykfa.js';
14
- import { E as EMPTY_SYMBOL } from './constants-DfDr4MHC.js';
15
- import { A as AbstractPrettyReporter, g as getLongestBadge } from './abstract-pretty-reporter-DMPDCslJ.js';
12
+ import { d as defaultInspectorConfig, f as formatLabel, i as inspect, r as renderError } from './format-label-De49vNPd.js';
13
+ import { t as terminalSize, g as getStringWidth, w as wordWrap, W as WrapMode } from './index-EZ_WSQZS.js';
14
+ import { E as EMPTY_SYMBOL } from './constants-omsTHUWB.js';
15
+ import { A as AbstractPrettyReporter, g as getLongestBadge } from './abstract-pretty-reporter-Di_sdm2r.js';
16
16
  import { g as getLongestLabel } from './get-longest-label-C9PWeyKq.js';
17
17
  import { w as writeStream } from './write-stream-BG8fhcs3.js';
18
18
 
@@ -1,7 +1,7 @@
1
1
  import colorize, { grey, white, underline, bold } from '@visulima/colorize/browser';
2
2
  import { f as format } from './index-BomQ3E6J.js';
3
- import { E as EMPTY_SYMBOL } from './constants-DfDr4MHC.js';
4
- import { A as AbstractPrettyReporter, g as getLongestBadge } from './abstract-pretty-reporter-DMPDCslJ.js';
3
+ import { E as EMPTY_SYMBOL } from './constants-omsTHUWB.js';
4
+ import { A as AbstractPrettyReporter, g as getLongestBadge } from './abstract-pretty-reporter-Di_sdm2r.js';
5
5
  import { g as getLongestLabel } from './get-longest-label-C9PWeyKq.js';
6
6
  import { w as writeConsoleLogBasedOnLevel } from './write-console-log-based-on-level-DBmRYXpj.js';
7
7
 
@@ -1,4 +1,4 @@
1
- import { L as LOG_TYPES } from './constants-DfDr4MHC.js';
1
+ import { L as LOG_TYPES } from './constants-omsTHUWB.js';
2
2
 
3
3
  const getLongestBadge = (types) => {
4
4
  const badges = Object.keys(types).map((x) => types[x].badge ?? "");
@@ -114,6 +114,6 @@ const LOG_TYPES = {
114
114
  logLevel: "informational"
115
115
  }
116
116
  };
117
- const EMPTY_SYMBOL = Symbol("EMPTY");
117
+ const EMPTY_SYMBOL = /* @__PURE__ */ Symbol("EMPTY");
118
118
 
119
119
  export { EMPTY_SYMBOL as E, LOG_TYPES as L, EXTENDED_RFC_5424_LOG_LEVELS as a };
@@ -977,7 +977,7 @@ const escapeCharacters = {
977
977
  "\\": "\\\\"
978
978
  };
979
979
  const hex = 16;
980
- const escape = (char) => escapeCharacters[char] || `\\u${`0000${char.codePointAt(0).toString(hex)}`.slice(-4)}`;
980
+ const escape = (char) => escapeCharacters[char] || String.raw`\u${`0000${char.codePointAt(0).toString(hex)}`.slice(-4)}`;
981
981
  const inspectString = (string_, options) => {
982
982
  if (stringEscapeChars.test(string_)) {
983
983
  string_ = string_.replaceAll(stringEscapeChars, escape);
@@ -1075,8 +1075,8 @@ const baseTypesMap = {
1075
1075
  WeakSet: (_value, options) => options.stylize("WeakSet{…}", "special")
1076
1076
  };
1077
1077
  const inspectCustom = (value, options, type, depth) => {
1078
- if (globalThis.window === void 0 && typeof value[Symbol.for("nodejs.util.inspect.custom")] === "function") {
1079
- return value[Symbol.for("nodejs.util.inspect.custom")](depth, options);
1078
+ if (globalThis.window === void 0 && typeof value[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] === "function") {
1079
+ return value[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")](depth, options);
1080
1080
  }
1081
1081
  if ("inspect" in value && typeof value.inspect === "function") {
1082
1082
  return value.inspect(depth, options);
@@ -1098,8 +1098,7 @@ const internalInspect = (value, options, depth, seen) => {
1098
1098
  }
1099
1099
  const inspect2 = (object, from, options2) => {
1100
1100
  if (from) {
1101
- seen = [...seen];
1102
- seen.push(from);
1101
+ seen = [...seen, from];
1103
1102
  }
1104
1103
  return internalInspect(object, options2, depth + 1, seen);
1105
1104
  };
@@ -442,8 +442,8 @@ const getStringTruncatedWidth = (input, options = {}) => {
442
442
  const getStringWidth = (input, options = {}) => getStringTruncatedWidth(input, { ...options, ellipsis: "", ellipsisWidth: 0, limit: Number.POSITIVE_INFINITY }).width;
443
443
 
444
444
  class AnsiStateTracker {
445
- activeForeground = null;
446
- activeBackground = null;
445
+ activeForeground = void 0;
446
+ activeBackground = void 0;
447
447
  // Track other formatting (bold, italic, etc.)
448
448
  activeFormatting = [];
449
449
  /**
@@ -458,17 +458,17 @@ class AnsiStateTracker {
458
458
  const code = Number.parseInt(match[1], 10);
459
459
  switch (code) {
460
460
  case 0: {
461
- this.activeForeground = null;
462
- this.activeBackground = null;
461
+ this.activeForeground = void 0;
462
+ this.activeBackground = void 0;
463
463
  this.activeFormatting = [];
464
464
  break;
465
465
  }
466
466
  case 39: {
467
- this.activeForeground = null;
467
+ this.activeForeground = void 0;
468
468
  break;
469
469
  }
470
470
  case 49: {
471
- this.activeBackground = null;
471
+ this.activeBackground = void 0;
472
472
  break;
473
473
  }
474
474
  default: {
@@ -532,7 +532,7 @@ class AnsiStateTracker {
532
532
  "\x1B[9m": "\x1B[29m"
533
533
  // Strikethrough
534
534
  };
535
- [...this.activeFormatting].reverse().forEach((formatCode) => {
535
+ [...this.activeFormatting].toReversed().forEach((formatCode) => {
536
536
  const resetCode = formatResetMap[formatCode];
537
537
  if (resetCode) {
538
538
  closingEscapes.push(resetCode);
@@ -791,7 +791,8 @@ const wrapWithBreakAtWidth = (string, width, trim) => {
791
791
  let isInsideEscape = false;
792
792
  let isInsideLinkEscape = false;
793
793
  let escapeBuffer = "";
794
- for (let index = 0; index < string.length; index++) {
794
+ let index = 0;
795
+ while (index < string.length) {
795
796
  const char = string[index];
796
797
  if (ESCAPES.has(char)) {
797
798
  isInsideEscape = true;
@@ -799,6 +800,7 @@ const wrapWithBreakAtWidth = (string, width, trim) => {
799
800
  currentLine += char;
800
801
  const escapeInfo = checkEscapeSequence([...string], index);
801
802
  isInsideLinkEscape = escapeInfo.isInsideLinkEscape;
803
+ index += 1;
802
804
  continue;
803
805
  }
804
806
  if (isInsideEscape) {
@@ -812,12 +814,14 @@ const wrapWithBreakAtWidth = (string, width, trim) => {
812
814
  isInsideEscape = false;
813
815
  ansiTracker.processEscape(escapeBuffer);
814
816
  }
817
+ index += 1;
815
818
  continue;
816
819
  }
817
820
  const charWidth = getStringWidth(char);
818
821
  const isSpace = char === " ";
819
822
  if (charWidth === 0) {
820
823
  currentLine += char;
824
+ index += 1;
821
825
  continue;
822
826
  }
823
827
  if (currentWidth + charWidth > width) {
@@ -829,12 +833,6 @@ const wrapWithBreakAtWidth = (string, width, trim) => {
829
833
  if (isSpace && trim) {
830
834
  while (index < string.length && string[index] === " ") {
831
835
  index += 1;
832
- if (index >= string.length) {
833
- break;
834
- }
835
- }
836
- if (index < string.length) {
837
- index--;
838
836
  }
839
837
  continue;
840
838
  }
@@ -850,9 +848,10 @@ const wrapWithBreakAtWidth = (string, width, trim) => {
850
848
  while (index < string.length && string[index] === " ") {
851
849
  index += 1;
852
850
  }
853
- index--;
851
+ continue;
854
852
  }
855
853
  }
854
+ index += 1;
856
855
  }
857
856
  if (currentLine) {
858
857
  rows.push(currentLine + ansiTracker.getEndEscapesForAllActiveAttributes());
@@ -872,6 +871,7 @@ const wrapCharByChar = (string, width, trim) => {
872
871
  let currentWidth = 0;
873
872
  processAnsiString(inputToProcess, {
874
873
  getWidth: getStringWidth,
874
+ // eslint-disable-next-line sonarjs/cognitive-complexity,sonarjs/no-invariant-returns
875
875
  onSegment: (segment, stateTracker) => {
876
876
  if (segment.isEscapeSequence) {
877
877
  currentLine += segment.text;
@@ -985,8 +985,8 @@ const wrapAndBreakWords = (string, width, trim) => {
985
985
  }
986
986
  const brokenLines = wrapWithBreakAtWidth(token, width, trim);
987
987
  if (brokenLines.length > 0) {
988
- for (let index_ = 0; index_ < brokenLines.length - 1; index_++) {
989
- rows.push(brokenLines[index_]);
988
+ for (let brokenLineIndex = 0; brokenLineIndex < brokenLines.length - 1; brokenLineIndex += 1) {
989
+ rows.push(brokenLines[brokenLineIndex]);
990
990
  }
991
991
  currentLine = brokenLines[brokenLines.length - 1];
992
992
  currentWidth = getStringWidth(currentLine);
@@ -1,4 +1,4 @@
1
- import { a as EXTENDED_RFC_5424_LOG_LEVELS, E as EMPTY_SYMBOL, L as LOG_TYPES } from './constants-DfDr4MHC.js';
1
+ import { a as EXTENDED_RFC_5424_LOG_LEVELS, E as EMPTY_SYMBOL, L as LOG_TYPES } from './constants-omsTHUWB.js';
2
2
  import { w as writeConsoleLogBasedOnLevel } from './write-console-log-based-on-level-DBmRYXpj.js';
3
3
  import { g as getLongestLabel } from './get-longest-label-C9PWeyKq.js';
4
4
 
@@ -1,4 +1,5 @@
1
1
  import type { FormatterFunction } from "@visulima/fmt";
2
+ import type { stringify } from "safe-stable-stringify";
2
3
  import type { Meta, StringifyAwareProcessor } from "../types.d.ts";
3
4
  /**
4
5
  * Message Formatter Processor.
@@ -38,7 +39,7 @@ declare class MessageFormatterProcessor<L extends string = string> implements St
38
39
  * Sets the stringify function for object serialization.
39
40
  * @param function_ The stringify function to use for serializing objects
40
41
  */
41
- setStringify(function_: any): void;
42
+ setStringify(function_: typeof stringify): void;
42
43
  /**
43
44
  * Processes log metadata to format messages.
44
45
  *
@@ -17,7 +17,6 @@ class MessageFormatterProcessor {
17
17
  * Sets the stringify function for object serialization.
18
18
  * @param function_ The stringify function to use for serializing objects
19
19
  */
20
- // eslint-disable-next-line , @typescript-eslint/no-explicit-any
21
20
  setStringify(function_) {
22
21
  this.#stringify = function_;
23
22
  }
@@ -1,4 +1,4 @@
1
- import { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-intFdT_A.js';
1
+ import { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-BaZ33PlE.js';
2
2
 
3
3
  class SafeStreamHandler {
4
4
  #ready = true;
@@ -20,7 +20,7 @@ const __cjs_getBuiltinModule = (module) => {
20
20
  const {
21
21
  Buffer
22
22
  } = __cjs_getBuiltinModule("node:buffer");
23
- import { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-intFdT_A.js';
23
+ import { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-BaZ33PlE.js';
24
24
  const {
25
25
  gzipSync
26
26
  } = __cjs_getBuiltinModule("node:zlib");
@@ -170,7 +170,7 @@ const serialize = (error, options = {}) => _serialize(
170
170
  0
171
171
  );
172
172
 
173
- const EMPTY_SYMBOL = Symbol("EMPTY");
173
+ const EMPTY_SYMBOL = /* @__PURE__ */ Symbol("EMPTY");
174
174
 
175
175
  class AbstractJsonReporter {
176
176
  /** Custom stringify function for object serialization */
@@ -1,2 +1,2 @@
1
- export { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-intFdT_A.js';
2
- export { default as JsonReporter } from '../../packem_shared/JsonReporter-DcM2LBX9.js';
1
+ export { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-BaZ33PlE.js';
2
+ export { default as JsonReporter } from '../../packem_shared/JsonReporter-BRw4skd5.js';
@@ -1,2 +1,2 @@
1
- export { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-intFdT_A.js';
2
- export { default as JsonReporter } from '../../packem_shared/JsonReporter-C0AXk99i.js';
1
+ export { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-BaZ33PlE.js';
2
+ export { default as JsonReporter } from '../../packem_shared/JsonReporter-VzgyLEYz.js';
@@ -1 +1 @@
1
- export { default as PrettyReporter } from '../../packem_shared/PrettyReporter-CuLLKr6-.js';
1
+ export { default as PrettyReporter } from '../../packem_shared/PrettyReporter-DySIXBjQ.js';
@@ -1 +1 @@
1
- export { PrettyReporter } from '../../packem_shared/PrettyReporter-BFWaYP_J.js';
1
+ export { PrettyReporter } from '../../packem_shared/PrettyReporter-C2wVB7yu.js';
@@ -9,10 +9,10 @@ const {
9
9
  stderr
10
10
  } = __cjs_getProcess;
11
11
  import colorize, { red, greenBright, cyan, green, grey, bold, white, bgGrey, underline } from '@visulima/colorize';
12
- import { d as defaultInspectorConfig, f as formatLabel, i as inspect, r as renderError } from '../../packem_shared/format-label-Btft2KGP.js';
13
- import { t as terminalSize, g as getStringWidth, w as wordWrap, W as WrapMode } from '../../packem_shared/index-DqKWykfa.js';
14
- import { E as EMPTY_SYMBOL } from '../../packem_shared/constants-DfDr4MHC.js';
15
- import { A as AbstractPrettyReporter, g as getLongestBadge } from '../../packem_shared/abstract-pretty-reporter-DMPDCslJ.js';
12
+ import { d as defaultInspectorConfig, f as formatLabel, i as inspect, r as renderError } from '../../packem_shared/format-label-De49vNPd.js';
13
+ import { t as terminalSize, g as getStringWidth, w as wordWrap, W as WrapMode } from '../../packem_shared/index-EZ_WSQZS.js';
14
+ import { E as EMPTY_SYMBOL } from '../../packem_shared/constants-omsTHUWB.js';
15
+ import { A as AbstractPrettyReporter, g as getLongestBadge } from '../../packem_shared/abstract-pretty-reporter-Di_sdm2r.js';
16
16
  import { g as getLongestLabel } from '../../packem_shared/get-longest-label-C9PWeyKq.js';
17
17
  import { w as writeStream } from '../../packem_shared/write-stream-BG8fhcs3.js';
18
18
 
package/dist/types.d.ts CHANGED
@@ -158,7 +158,7 @@ export interface LoggerTypesAwareReporter<T extends string, L extends string> ex
158
158
  */
159
159
  export interface StringifyAwareReporter<L extends string> extends Reporter<L> {
160
160
  /** Set the stringify function for object serialization */
161
- setStringify: (stringify: typeof JSON.stringify) => void;
161
+ setStringify: (stringify: any) => void;
162
162
  }
163
163
  /**
164
164
  * Interactive Stream Reporter Interface.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/pail",
3
- "version": "3.2.2",
3
+ "version": "4.0.0-alpha.2",
4
4
  "description": "Highly configurable Logger for Node.js, Edge and Browser.",
5
5
  "keywords": [
6
6
  "ansi",
@@ -62,7 +62,7 @@
62
62
  "repository": {
63
63
  "type": "git",
64
64
  "url": "git+https://github.com/visulima/visulima.git",
65
- "directory": "packages/pail"
65
+ "directory": "packages/error-debugging/pail"
66
66
  },
67
67
  "funding": [
68
68
  {
@@ -203,11 +203,12 @@
203
203
  "LICENSE.md"
204
204
  ],
205
205
  "dependencies": {
206
- "@visulima/colorize": "1.4.29"
206
+ "type-fest": "^5.3.0",
207
+ "@visulima/colorize": "2.0.0-alpha.2"
207
208
  },
208
209
  "peerDependencies": {
209
210
  "@opentelemetry/api": "^1.9",
210
- "@visulima/redact": "2.0.5",
211
+ "@visulima/redact": "3.0.0-alpha.2",
211
212
  "rotating-file-stream": "^3.2.7"
212
213
  },
213
214
  "peerDependenciesMeta": {
@@ -222,7 +223,7 @@
222
223
  }
223
224
  },
224
225
  "engines": {
225
- "node": ">=20.19 <=25.x"
226
+ "node": ">=22.13 <=25.x"
226
227
  },
227
228
  "os": [
228
229
  "darwin",