@rstest/core 0.5.1 → 0.5.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/LICENSE.md +270 -12
- package/dist/0~33.js +12 -6
- package/dist/0~655.js +3 -3
- package/dist/0~816.js +105 -52
- package/dist/0~85.js +0 -1
- package/dist/0~971.js +12 -6
- package/dist/index.js +1846 -32
- package/dist/worker.js +1783 -65
- package/dist-types/index.d.ts +74 -2
- package/dist-types/worker.d.ts +15 -5
- package/package.json +6 -3
- package/dist/0~223.js +0 -158
- package/dist/0~876.js +0 -771
- package/dist/0~908.js +0 -920
- package/dist/0~969.js +0 -1738
package/LICENSE.md
CHANGED
|
@@ -390,6 +390,54 @@ Licensed under MIT license in the repository at https://github.com/jestjs/jest.g
|
|
|
390
390
|
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
391
391
|
> SOFTWARE.
|
|
392
392
|
|
|
393
|
+
### @jridgewell/resolve-uri
|
|
394
|
+
|
|
395
|
+
Licensed under MIT license in the repository at https://github.com/jridgewell/resolve-uri.
|
|
396
|
+
|
|
397
|
+
> Copyright 2019 Justin Ridgewell <jridgewell@google.com>
|
|
398
|
+
>
|
|
399
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
400
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
401
|
+
> in the Software without restriction, including without limitation the rights
|
|
402
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
403
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
404
|
+
> furnished to do so, subject to the following conditions:
|
|
405
|
+
>
|
|
406
|
+
> The above copyright notice and this permission notice shall be included in
|
|
407
|
+
> all copies or substantial portions of the Software.
|
|
408
|
+
>
|
|
409
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
410
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
411
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
412
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
413
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
414
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
415
|
+
> SOFTWARE.
|
|
416
|
+
|
|
417
|
+
### @jridgewell/sourcemap-codec
|
|
418
|
+
|
|
419
|
+
Licensed under MIT license in the repository at git+https://github.com/jridgewell/sourcemaps.git.
|
|
420
|
+
|
|
421
|
+
> Copyright 2024 Justin Ridgewell <justin@ridgewell.name>
|
|
422
|
+
>
|
|
423
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
424
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
425
|
+
> in the Software without restriction, including without limitation the rights
|
|
426
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
427
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
428
|
+
> furnished to do so, subject to the following conditions:
|
|
429
|
+
>
|
|
430
|
+
> The above copyright notice and this permission notice shall be included in
|
|
431
|
+
> all copies or substantial portions of the Software.
|
|
432
|
+
>
|
|
433
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
434
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
435
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
436
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
437
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
438
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
439
|
+
> SOFTWARE.
|
|
440
|
+
|
|
393
441
|
### @jridgewell/trace-mapping
|
|
394
442
|
|
|
395
443
|
Licensed under MIT license in the repository at git+https://github.com/jridgewell/sourcemaps.git.
|
|
@@ -538,9 +586,89 @@ Licensed under MIT license in the repository at git+https://github.com/vitest-de
|
|
|
538
586
|
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
539
587
|
> SOFTWARE.
|
|
540
588
|
|
|
589
|
+
### @vitest/spy
|
|
590
|
+
|
|
591
|
+
Licensed under MIT license in the repository at git+https://github.com/vitest-dev/vitest.git.
|
|
592
|
+
|
|
593
|
+
> MIT License
|
|
594
|
+
>
|
|
595
|
+
> Copyright (c) 2021-Present Vitest Team
|
|
596
|
+
>
|
|
597
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
598
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
599
|
+
> in the Software without restriction, including without limitation the rights
|
|
600
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
601
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
602
|
+
> furnished to do so, subject to the following conditions:
|
|
603
|
+
>
|
|
604
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
605
|
+
> copies or substantial portions of the Software.
|
|
606
|
+
>
|
|
607
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
608
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
609
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
610
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
611
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
612
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
613
|
+
> SOFTWARE.
|
|
614
|
+
|
|
615
|
+
### @vitest/utils
|
|
616
|
+
|
|
617
|
+
Licensed under MIT license in the repository at git+https://github.com/vitest-dev/vitest.git.
|
|
618
|
+
|
|
619
|
+
> MIT License
|
|
620
|
+
>
|
|
621
|
+
> Copyright (c) 2021-Present Vitest Team
|
|
622
|
+
>
|
|
623
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
624
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
625
|
+
> in the Software without restriction, including without limitation the rights
|
|
626
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
627
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
628
|
+
> furnished to do so, subject to the following conditions:
|
|
629
|
+
>
|
|
630
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
631
|
+
> copies or substantial portions of the Software.
|
|
632
|
+
>
|
|
633
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
634
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
635
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
636
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
637
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
638
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
639
|
+
> SOFTWARE.
|
|
640
|
+
|
|
641
|
+
### ansi-regex
|
|
642
|
+
|
|
643
|
+
Licensed under MIT license in the repository at chalk/ansi-regex.
|
|
644
|
+
|
|
645
|
+
> MIT License
|
|
646
|
+
>
|
|
647
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
648
|
+
>
|
|
649
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
650
|
+
>
|
|
651
|
+
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
652
|
+
>
|
|
653
|
+
> 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.
|
|
654
|
+
|
|
655
|
+
### ansi-styles
|
|
656
|
+
|
|
657
|
+
Licensed under MIT license in the repository at chalk/ansi-styles.
|
|
658
|
+
|
|
659
|
+
> MIT License
|
|
660
|
+
>
|
|
661
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
662
|
+
>
|
|
663
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
664
|
+
>
|
|
665
|
+
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
666
|
+
>
|
|
667
|
+
> 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.
|
|
668
|
+
|
|
541
669
|
### ansi-styles
|
|
542
670
|
|
|
543
|
-
Licensed under MIT license.
|
|
671
|
+
Licensed under MIT license in the repository at chalk/ansi-styles.
|
|
544
672
|
|
|
545
673
|
> MIT License
|
|
546
674
|
>
|
|
@@ -552,9 +680,35 @@ Licensed under MIT license.
|
|
|
552
680
|
>
|
|
553
681
|
> 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.
|
|
554
682
|
|
|
683
|
+
### birpc
|
|
684
|
+
|
|
685
|
+
Licensed under MIT license in the repository at git+https://github.com/antfu/birpc.git.
|
|
686
|
+
|
|
687
|
+
> MIT License
|
|
688
|
+
>
|
|
689
|
+
> Copyright (c) 2021 Anthony Fu <https://github.com/antfu>
|
|
690
|
+
>
|
|
691
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
692
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
693
|
+
> in the Software without restriction, including without limitation the rights
|
|
694
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
695
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
696
|
+
> furnished to do so, subject to the following conditions:
|
|
697
|
+
>
|
|
698
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
699
|
+
> copies or substantial portions of the Software.
|
|
700
|
+
>
|
|
701
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
702
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
703
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
704
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
705
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
706
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
707
|
+
> SOFTWARE.
|
|
708
|
+
|
|
555
709
|
### buffer-from
|
|
556
710
|
|
|
557
|
-
Licensed under MIT license.
|
|
711
|
+
Licensed under MIT license in the repository at LinusU/buffer-from.
|
|
558
712
|
|
|
559
713
|
> MIT License
|
|
560
714
|
>
|
|
@@ -578,6 +732,32 @@ Licensed under MIT license.
|
|
|
578
732
|
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
579
733
|
> SOFTWARE.
|
|
580
734
|
|
|
735
|
+
### cac
|
|
736
|
+
|
|
737
|
+
Licensed under MIT license in the repository at egoist/cac.
|
|
738
|
+
|
|
739
|
+
> The MIT License (MIT)
|
|
740
|
+
>
|
|
741
|
+
> Copyright (c) EGOIST <0x142857@gmail.com> (https://github.com/egoist)
|
|
742
|
+
>
|
|
743
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
744
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
745
|
+
> in the Software without restriction, including without limitation the rights
|
|
746
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
747
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
748
|
+
> furnished to do so, subject to the following conditions:
|
|
749
|
+
>
|
|
750
|
+
> The above copyright notice and this permission notice shall be included in
|
|
751
|
+
> all copies or substantial portions of the Software.
|
|
752
|
+
>
|
|
753
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
754
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
755
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
756
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
757
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
758
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
759
|
+
> THE SOFTWARE.
|
|
760
|
+
|
|
581
761
|
### chai
|
|
582
762
|
|
|
583
763
|
Licensed under MIT license in the repository at https://github.com/chaijs/chai.
|
|
@@ -606,7 +786,7 @@ Licensed under MIT license in the repository at https://github.com/chaijs/chai.
|
|
|
606
786
|
|
|
607
787
|
### chalk
|
|
608
788
|
|
|
609
|
-
Licensed under MIT license.
|
|
789
|
+
Licensed under MIT license in the repository at chalk/chalk.
|
|
610
790
|
|
|
611
791
|
> MIT License
|
|
612
792
|
>
|
|
@@ -646,7 +826,7 @@ Licensed under MIT license in the repository at git+https://github.com/paulmillr
|
|
|
646
826
|
|
|
647
827
|
### color-convert
|
|
648
828
|
|
|
649
|
-
Licensed under MIT license.
|
|
829
|
+
Licensed under MIT license in the repository at Qix-/color-convert.
|
|
650
830
|
|
|
651
831
|
> Copyright (c) 2011-2016 Heather Arthur <fayearthur@gmail.com>
|
|
652
832
|
>
|
|
@@ -682,9 +862,21 @@ Licensed under MIT license in the repository at git@github.com:colorjs/color-nam
|
|
|
682
862
|
>
|
|
683
863
|
> 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.
|
|
684
864
|
|
|
865
|
+
### fdir
|
|
866
|
+
|
|
867
|
+
Licensed under MIT license in the repository at git+https://github.com/thecodrr/fdir.git.
|
|
868
|
+
|
|
869
|
+
> Copyright 2023 Abdullah Atta
|
|
870
|
+
>
|
|
871
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
872
|
+
>
|
|
873
|
+
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
874
|
+
>
|
|
875
|
+
> 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.
|
|
876
|
+
|
|
685
877
|
### has-flag
|
|
686
878
|
|
|
687
|
-
Licensed under MIT license.
|
|
879
|
+
Licensed under MIT license in the repository at sindresorhus/has-flag.
|
|
688
880
|
|
|
689
881
|
> MIT License
|
|
690
882
|
>
|
|
@@ -725,7 +917,7 @@ Licensed under MIT license in the repository at https://github.com/jestjs/jest.g
|
|
|
725
917
|
|
|
726
918
|
### js-tokens
|
|
727
919
|
|
|
728
|
-
Licensed under MIT license.
|
|
920
|
+
Licensed under MIT license in the repository at lydell/js-tokens.
|
|
729
921
|
|
|
730
922
|
> The MIT License (MIT)
|
|
731
923
|
>
|
|
@@ -749,6 +941,20 @@ Licensed under MIT license.
|
|
|
749
941
|
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
750
942
|
> THE SOFTWARE.
|
|
751
943
|
|
|
944
|
+
### loupe
|
|
945
|
+
|
|
946
|
+
Licensed under MIT license in the repository at https://github.com/chaijs/loupe.
|
|
947
|
+
|
|
948
|
+
> (The MIT License)
|
|
949
|
+
>
|
|
950
|
+
> Copyright (c) 2011-2013 Jake Luer jake@alogicalparadox.com
|
|
951
|
+
>
|
|
952
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
953
|
+
>
|
|
954
|
+
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
955
|
+
>
|
|
956
|
+
> 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.
|
|
957
|
+
|
|
752
958
|
### magic-string
|
|
753
959
|
|
|
754
960
|
Licensed under MIT license in the repository at https://github.com/rich-harris/magic-string.git.
|
|
@@ -763,7 +969,7 @@ Licensed under MIT license in the repository at https://github.com/rich-harris/m
|
|
|
763
969
|
|
|
764
970
|
### pathe
|
|
765
971
|
|
|
766
|
-
Licensed under MIT license.
|
|
972
|
+
Licensed under MIT license in the repository at unjs/pathe.
|
|
767
973
|
|
|
768
974
|
> MIT License
|
|
769
975
|
>
|
|
@@ -838,7 +1044,7 @@ Licensed under MIT license.
|
|
|
838
1044
|
|
|
839
1045
|
### picocolors
|
|
840
1046
|
|
|
841
|
-
Licensed under ISC license.
|
|
1047
|
+
Licensed under ISC license in the repository at alexeyraspopov/picocolors.
|
|
842
1048
|
|
|
843
1049
|
> ISC License
|
|
844
1050
|
>
|
|
@@ -858,7 +1064,7 @@ Licensed under ISC license.
|
|
|
858
1064
|
|
|
859
1065
|
### picomatch
|
|
860
1066
|
|
|
861
|
-
Licensed under MIT license.
|
|
1067
|
+
Licensed under MIT license in the repository at micromatch/picomatch.
|
|
862
1068
|
|
|
863
1069
|
> The MIT License (MIT)
|
|
864
1070
|
>
|
|
@@ -935,6 +1141,58 @@ Licensed under MIT license in the repository at https://github.com/facebook/reac
|
|
|
935
1141
|
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
936
1142
|
> SOFTWARE.
|
|
937
1143
|
|
|
1144
|
+
### readdirp
|
|
1145
|
+
|
|
1146
|
+
Licensed under MIT license in the repository at git://github.com/paulmillr/readdirp.git.
|
|
1147
|
+
|
|
1148
|
+
> MIT License
|
|
1149
|
+
>
|
|
1150
|
+
> Copyright (c) 2012-2019 Thorsten Lorenz, Paul Miller (https://paulmillr.com)
|
|
1151
|
+
>
|
|
1152
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1153
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
1154
|
+
> in the Software without restriction, including without limitation the rights
|
|
1155
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1156
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
1157
|
+
> furnished to do so, subject to the following conditions:
|
|
1158
|
+
>
|
|
1159
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
1160
|
+
> copies or substantial portions of the Software.
|
|
1161
|
+
>
|
|
1162
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1163
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1164
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1165
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1166
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1167
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1168
|
+
> SOFTWARE.
|
|
1169
|
+
|
|
1170
|
+
### rslog
|
|
1171
|
+
|
|
1172
|
+
Licensed under MIT license in the repository at https://github.com/rspack-contrib/rslog.git.
|
|
1173
|
+
|
|
1174
|
+
> MIT License
|
|
1175
|
+
>
|
|
1176
|
+
> Copyright (c) 2023-present Bytedance, Inc. and its affiliates.
|
|
1177
|
+
>
|
|
1178
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1179
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
1180
|
+
> in the Software without restriction, including without limitation the rights
|
|
1181
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1182
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
1183
|
+
> furnished to do so, subject to the following conditions:
|
|
1184
|
+
>
|
|
1185
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
1186
|
+
> copies or substantial portions of the Software.
|
|
1187
|
+
>
|
|
1188
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1189
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1190
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1191
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1192
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1193
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1194
|
+
> SOFTWARE.
|
|
1195
|
+
|
|
938
1196
|
### source-map
|
|
939
1197
|
|
|
940
1198
|
Licensed under BSD-3-Clause license in the repository at http://github.com/mozilla/source-map.git.
|
|
@@ -1019,7 +1277,7 @@ Licensed under MIT license in the repository at git+https://github.com/errwischt
|
|
|
1019
1277
|
|
|
1020
1278
|
### std-env
|
|
1021
1279
|
|
|
1022
|
-
Licensed under MIT license.
|
|
1280
|
+
Licensed under MIT license in the repository at unjs/std-env.
|
|
1023
1281
|
|
|
1024
1282
|
> MIT License
|
|
1025
1283
|
>
|
|
@@ -1045,7 +1303,7 @@ Licensed under MIT license.
|
|
|
1045
1303
|
|
|
1046
1304
|
### strip-ansi
|
|
1047
1305
|
|
|
1048
|
-
Licensed under MIT license.
|
|
1306
|
+
Licensed under MIT license in the repository at chalk/strip-ansi.
|
|
1049
1307
|
|
|
1050
1308
|
> MIT License
|
|
1051
1309
|
>
|
|
@@ -1059,7 +1317,7 @@ Licensed under MIT license.
|
|
|
1059
1317
|
|
|
1060
1318
|
### supports-color
|
|
1061
1319
|
|
|
1062
|
-
Licensed under MIT license.
|
|
1320
|
+
Licensed under MIT license in the repository at chalk/supports-color.
|
|
1063
1321
|
|
|
1064
1322
|
> MIT License
|
|
1065
1323
|
>
|
package/dist/0~33.js
CHANGED
|
@@ -207,7 +207,7 @@ export const __webpack_modules__ = {
|
|
|
207
207
|
const currentEntries = [];
|
|
208
208
|
const currentDeletedEntries = [];
|
|
209
209
|
const returns = await Promise.all(context.projects.map(async (p)=>{
|
|
210
|
-
const { entries, setupEntries,
|
|
210
|
+
const { assetNames, entries, setupEntries, getAssetFiles, getSourceMaps, affectedEntries, deletedEntries } = await getRsbuildStats({
|
|
211
211
|
environmentName: p.environmentName,
|
|
212
212
|
fileFilters
|
|
213
213
|
});
|
|
@@ -222,16 +222,17 @@ export const __webpack_modules__ = {
|
|
|
222
222
|
currentEntries.push(...finalEntries);
|
|
223
223
|
const { results, testResults } = await pool.runTests({
|
|
224
224
|
entries: finalEntries,
|
|
225
|
-
|
|
225
|
+
getSourceMaps,
|
|
226
226
|
setupEntries,
|
|
227
|
-
|
|
227
|
+
getAssetFiles,
|
|
228
228
|
project: p,
|
|
229
229
|
updateSnapshot: context.snapshotManager.options.updateSnapshot
|
|
230
230
|
});
|
|
231
231
|
return {
|
|
232
232
|
results,
|
|
233
233
|
testResults,
|
|
234
|
-
|
|
234
|
+
assetNames,
|
|
235
|
+
getSourceMaps
|
|
235
236
|
};
|
|
236
237
|
}));
|
|
237
238
|
const buildTime = testStart - buildStart;
|
|
@@ -243,7 +244,6 @@ export const __webpack_modules__ = {
|
|
|
243
244
|
};
|
|
244
245
|
const results = returns.flatMap((r)=>r.results);
|
|
245
246
|
const testResults = returns.flatMap((r)=>r.testResults);
|
|
246
|
-
const sourceMaps = Object.assign({}, ...returns.map((r)=>r.sourceMaps));
|
|
247
247
|
context.updateReporterResultState(results, testResults, currentDeletedEntries);
|
|
248
248
|
if (0 === results.length) {
|
|
249
249
|
if ('watch' === command) if ('on-demand' === mode) utils.vF.log(utils.yW.yellow('No test files need re-run.'));
|
|
@@ -272,7 +272,13 @@ export const __webpack_modules__ = {
|
|
|
272
272
|
testResults: context.reporterResults.testResults,
|
|
273
273
|
snapshotSummary: snapshotManager.summary,
|
|
274
274
|
duration,
|
|
275
|
-
getSourcemap: (name)=>
|
|
275
|
+
getSourcemap: async (name)=>{
|
|
276
|
+
const resource = returns.find((r)=>r.assetNames.includes(name));
|
|
277
|
+
const sourceMap = (await resource?.getSourceMaps([
|
|
278
|
+
name
|
|
279
|
+
]))?.[name];
|
|
280
|
+
return sourceMap ? JSON.parse(sourceMap) : null;
|
|
281
|
+
},
|
|
276
282
|
filterRerunTestPaths: currentEntries.length ? currentEntries.map((e)=>e.testPath) : void 0
|
|
277
283
|
});
|
|
278
284
|
if (coverageProvider && (!isFailure || coverage.reportOnFailure)) {
|
package/dist/0~655.js
CHANGED
|
@@ -1541,7 +1541,7 @@ export const __webpack_modules__ = {
|
|
|
1541
1541
|
const string = `${options.stylize(helpers_truncate(array[i], options.truncate), 'number')}${i === array.length - 1 ? '' : ', '}`;
|
|
1542
1542
|
options.truncate -= string.length;
|
|
1543
1543
|
if (array[i] !== array.length && options.truncate <= 3) {
|
|
1544
|
-
output +=
|
|
1544
|
+
output += `${truncator}(${array.length - array[i] + 1})`;
|
|
1545
1545
|
break;
|
|
1546
1546
|
}
|
|
1547
1547
|
output += string;
|
|
@@ -1598,7 +1598,7 @@ export const __webpack_modules__ = {
|
|
|
1598
1598
|
}
|
|
1599
1599
|
function inspectBigInt(number, options) {
|
|
1600
1600
|
let nums = helpers_truncate(number.toString(), options.truncate - 1);
|
|
1601
|
-
if (
|
|
1601
|
+
if (nums !== truncator) nums += 'n';
|
|
1602
1602
|
return options.stylize(nums, 'bigint');
|
|
1603
1603
|
}
|
|
1604
1604
|
function inspectRegExp(value, options) {
|
|
@@ -1754,7 +1754,7 @@ export const __webpack_modules__ = {
|
|
|
1754
1754
|
options.truncate -= propertyContents.length;
|
|
1755
1755
|
const truncate = options.truncate;
|
|
1756
1756
|
let children = inspectNodeCollection(element.children, options);
|
|
1757
|
-
if (children && children.length > truncate) children =
|
|
1757
|
+
if (children && children.length > truncate) children = `${truncator}(${element.children.length})`;
|
|
1758
1758
|
return `${head}${propertyContents}${headClose}${children}${tail}`;
|
|
1759
1759
|
}
|
|
1760
1760
|
const symbolsSupported = 'function' == typeof Symbol && 'function' == typeof Symbol.for;
|