@rstest/core 0.9.5 → 0.9.7

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 CHANGED
@@ -756,6 +756,86 @@ Licensed under MIT license in the repository at git+https://github.com/paulmillr
756
756
  > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
757
757
  > THE SOFTWARE.
758
758
 
759
+ ### fast-string-truncated-width
760
+
761
+ Licensed under MIT license in the repository at github:fabiospampinato/fast-string-truncated-width.
762
+
763
+ > The MIT License (MIT)
764
+ >
765
+ > Copyright (c) 2024-present Fabio Spampinato
766
+ >
767
+ > Permission is hereby granted, free of charge, to any person obtaining a
768
+ > copy of this software and associated documentation files (the "Software"),
769
+ > to deal in the Software without restriction, including without limitation
770
+ > the rights to use, copy, modify, merge, publish, distribute, sublicense,
771
+ > and/or sell copies of the Software, and to permit persons to whom the
772
+ > Software is furnished to do so, subject to the following conditions:
773
+ >
774
+ > The above copyright notice and this permission notice shall be included in
775
+ > all copies or substantial portions of the Software.
776
+ >
777
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
778
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
779
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
780
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
781
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
782
+ > FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
783
+ > DEALINGS IN THE SOFTWARE.
784
+
785
+ ### fast-string-width
786
+
787
+ Licensed under MIT license in the repository at github:fabiospampinato/fast-string-width.
788
+
789
+ > The MIT License (MIT)
790
+ >
791
+ > Copyright (c) 2024-present Fabio Spampinato
792
+ >
793
+ > Permission is hereby granted, free of charge, to any person obtaining a
794
+ > copy of this software and associated documentation files (the "Software"),
795
+ > to deal in the Software without restriction, including without limitation
796
+ > the rights to use, copy, modify, merge, publish, distribute, sublicense,
797
+ > and/or sell copies of the Software, and to permit persons to whom the
798
+ > Software is furnished to do so, subject to the following conditions:
799
+ >
800
+ > The above copyright notice and this permission notice shall be included in
801
+ > all copies or substantial portions of the Software.
802
+ >
803
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
804
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
805
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
806
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
807
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
808
+ > FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
809
+ > DEALINGS IN THE SOFTWARE.
810
+
811
+ ### fast-wrap-ansi
812
+
813
+ Licensed under MIT license in the repository at git+https://github.com/43081j/fast-wrap-ansi.git.
814
+
815
+ > MIT License
816
+ >
817
+ > Copyright (c) 2025 James Garbutt
818
+ >
819
+ > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
820
+ >
821
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
822
+ > of this software and associated documentation files (the "Software"), to deal
823
+ > in the Software without restriction, including without limitation the rights
824
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
825
+ > copies of the Software, and to permit persons to whom the Software is
826
+ > furnished to do so, subject to the following conditions:
827
+ >
828
+ > The above copyright notice and this permission notice shall be included in all
829
+ > copies or substantial portions of the Software.
830
+ >
831
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
832
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
833
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
834
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
835
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
836
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
837
+ > SOFTWARE.
838
+
759
839
  ### fdir
760
840
 
761
841
  Licensed under MIT license in the repository at git+https://github.com/thecodrr/fdir.git.
package/dist/0~8843.js CHANGED
@@ -368,7 +368,15 @@ const getNodeExecArgv = ()=>{
368
368
  ].filter(Boolean);
369
369
  };
370
370
  const createPool = async ({ context, recommendWorkerCount = 1 / 0 })=>{
371
- const execArgv = process.execArgv.filter((execArg)=>execArg.startsWith('--perf') || execArg.startsWith('--cpu-prof') || execArg.startsWith('--heap-prof') || execArg.startsWith('--diagnostic-dir'));
371
+ const blockedFlags = [
372
+ '--prof',
373
+ '--title'
374
+ ];
375
+ const execArgv = process.execArgv.filter((arg, i, arr)=>{
376
+ if (blockedFlags.some((f)=>arg === f || arg.startsWith(`${f}=`))) return false;
377
+ if (i > 0 && '--title' === arr[i - 1]) return false;
378
+ return true;
379
+ });
372
380
  const numCpus = getNumCpus();
373
381
  const { normalizedConfig: { pool: poolOptions, isolate }, reporters } = context;
374
382
  const threadsCount = 'watch' === context.command ? Math.max(Math.floor(numCpus / 2), 1) : Math.max(numCpus - 1, 1);
@@ -642,6 +650,12 @@ const pluginBasic = (context)=>({
642
650
  'import.meta.env': 'process.env'
643
651
  }
644
652
  },
653
+ resolve: {
654
+ conditionNames: 'node' === testEnvironment.name ? void 0 : [
655
+ 'browser',
656
+ '...'
657
+ ]
658
+ },
645
659
  output: {
646
660
  assetPrefix: '',
647
661
  manifest: `${name}-manifest.json`,
@@ -1,6 +1,6 @@
1
1
  import "node:module";
2
- import { __webpack_require__ } from "./rslib-runtime.js";
3
- import "./6830.js";
2
+ import { __webpack_require__ } from "../0~rslib-runtime.js";
3
+ import "../6830.js";
4
4
  __webpack_require__.add({
5
5
  "../../node_modules/.pnpm/js-tokens@4.0.0/node_modules/js-tokens/index.js" (__unused_rspack_module, exports) {
6
6
  Object.defineProperty(exports, "__esModule", {