@visulima/pail 4.0.0-alpha.1 → 4.0.0-alpha.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ ## @visulima/pail [4.0.0-alpha.3](https://github.com/visulima/visulima/compare/@visulima/pail@4.0.0-alpha.2...@visulima/pail@4.0.0-alpha.3) (2025-12-11)
2
+
3
+ ### Bug Fixes
4
+
5
+ * update package OG images across multiple packages ([f08e4dd](https://github.com/visulima/visulima/commit/f08e4dd2b105ccb29c8412020a9c2be36d6c1e9e))
6
+
7
+ ### Miscellaneous Chores
8
+
9
+ * update package dependencies and improve configuration ([4ed22d6](https://github.com/visulima/visulima/commit/4ed22d6511aa8150dcd4ba7b9dccf05dbe2d6adc))
10
+
11
+
12
+ ### Dependencies
13
+
14
+ * **@visulima/colorize:** upgraded to 2.0.0-alpha.3
15
+ * **@visulima/error:** upgraded to 6.0.0-alpha.2
16
+ * **@visulima/fmt:** upgraded to 2.0.0-alpha.3
17
+ * **@visulima/inspector:** upgraded to 2.0.0-alpha.2
18
+ * **@visulima/redact:** upgraded to 3.0.0-alpha.3
19
+ * **@visulima/string:** upgraded to 3.0.0-alpha.3
20
+
21
+ ## @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)
22
+
23
+
24
+ ### Dependencies
25
+
26
+ * **@visulima/string:** upgraded to 3.0.0-alpha.2
27
+
1
28
  ## @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)
2
29
 
3
30
  ### ⚠ BREAKING CHANGES
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
  >
@@ -9,7 +9,7 @@ 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
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';
@@ -20,7 +20,7 @@ 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-DgZB2eBG.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 { 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;
@@ -10,7 +10,7 @@ const {
10
10
  } = __cjs_getProcess;
11
11
  import colorize, { red, greenBright, cyan, green, grey, white, bgGrey, underline } from '@visulima/colorize';
12
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-DqKWykfa.js';
13
+ import { t as terminalSize, g as getStringWidth, w as wordWrap, W as WrapMode } from './index-EZ_WSQZS.js';
14
14
  import { E as EMPTY_SYMBOL } from './constants-omsTHUWB.js';
15
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';
@@ -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 +1 @@
1
- export { PrettyReporter } from '../../packem_shared/PrettyReporter-DgZB2eBG.js';
1
+ export { PrettyReporter } from '../../packem_shared/PrettyReporter-C2wVB7yu.js';
@@ -10,7 +10,7 @@ const {
10
10
  } = __cjs_getProcess;
11
11
  import colorize, { red, greenBright, cyan, green, grey, bold, white, bgGrey, underline } from '@visulima/colorize';
12
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-DqKWykfa.js';
13
+ import { t as terminalSize, g as getStringWidth, w as wordWrap, W as WrapMode } from '../../packem_shared/index-EZ_WSQZS.js';
14
14
  import { E as EMPTY_SYMBOL } from '../../packem_shared/constants-omsTHUWB.js';
15
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/pail",
3
- "version": "4.0.0-alpha.1",
3
+ "version": "4.0.0-alpha.3",
4
4
  "description": "Highly configurable Logger for Node.js, Edge and Browser.",
5
5
  "keywords": [
6
6
  "ansi",
@@ -203,12 +203,12 @@
203
203
  "LICENSE.md"
204
204
  ],
205
205
  "dependencies": {
206
- "type-fest": "^5.3.0",
207
- "@visulima/colorize": "2.0.0-alpha.2"
206
+ "@visulima/colorize": "2.0.0-alpha.3",
207
+ "type-fest": "^5.3.0"
208
208
  },
209
209
  "peerDependencies": {
210
210
  "@opentelemetry/api": "^1.9",
211
- "@visulima/redact": "3.0.0-alpha.2",
211
+ "@visulima/redact": "3.0.0-alpha.3",
212
212
  "rotating-file-stream": "^3.2.7"
213
213
  },
214
214
  "peerDependenciesMeta": {