@depup/vitest 4.0.18-depup.0 → 4.1.0-depup.0
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 +121 -1
- package/README.md +31 -4
- package/browser/context.d.ts +1 -1
- package/dist/browser.d.ts +3 -2
- package/dist/browser.js +2 -2
- package/dist/chunks/acorn.B2iPLyUM.js +5958 -0
- package/dist/chunks/{base.CJ0Y4ePK.js → base.DM0-RqVb.js} +54 -16
- package/dist/chunks/{benchmark.B3N2zMcH.js → benchmark.D0SlKNbZ.js} +1 -1
- package/dist/chunks/{browser.d.ChKACdzH.d.ts → browser.d.X3SXoOCV.d.ts} +4 -1
- package/dist/chunks/{cac.DVeoLl0M.js → cac.CWGDZnXT.js} +979 -20
- package/dist/chunks/{cli-api.B7PN_QUv.js → cli-api.DuT9iuvY.js} +8937 -8071
- package/dist/chunks/{config.d.Cy95HiCx.d.ts → config.d.EJLVE3es.d.ts} +30 -15
- package/dist/chunks/{console.Cf-YriPC.js → console.3WNpx0tS.js} +3 -2
- package/dist/chunks/{constants.D_Q9UYh-.js → constants.CPYnjOGj.js} +4 -2
- package/dist/chunks/coverage.Bri33R1t.js +1050 -0
- package/dist/chunks/{creator.DAmOKTvJ.js → creator.DgVhQm5q.js} +35 -4
- package/dist/chunks/{defaults.BOqNVLsY.js → defaults.CdU2lD-q.js} +4 -3
- package/dist/chunks/{global.d.B15mdLcR.d.ts → global.d.x-ILCfAE.d.ts} +1 -2
- package/dist/chunks/{globals.DOayXfHP.js → globals.BXNGLnTL.js} +11 -10
- package/dist/chunks/{coverage.AVPTjMgw.js → index.BCY_7LL2.js} +5 -959
- package/dist/chunks/{index.C5r1PdPD.js → index.CEzQDJGb.js} +1 -1
- package/dist/chunks/{index.D3XRDfWc.js → index.CMESou6r.js} +26 -1
- package/dist/chunks/{index.6Qv1eEA6.js → index.DGNSnENe.js} +95 -9
- package/dist/chunks/{index.M8mOzt4Y.js → index.DXMFO5MJ.js} +2948 -2583
- package/dist/chunks/{index.Z5E_ObnR.js → index.DlDSLQD3.js} +7 -3
- package/dist/chunks/{index.CyBMJtT7.js → index.EY6TCHpo.js} +10 -8
- package/dist/chunks/{index.D4KonVSU.js → index.og1WyBLx.js} +18 -3
- package/dist/chunks/{init-forks._y3TW739.js → init-forks.DeArv0jT.js} +1 -1
- package/dist/chunks/{init-threads.DBO2kn-p.js → init-threads.-2OUl4Nn.js} +1 -1
- package/dist/chunks/{init.B6MLFIaN.js → init.DICorXCo.js} +52 -13
- package/dist/chunks/native.DPzPHdi5.js +148 -0
- package/dist/chunks/nativeModuleMocker.DndvSdL6.js +206 -0
- package/dist/chunks/nativeModuleRunner.BIakptoF.js +36 -0
- package/dist/chunks/{node.Ce0vMQM7.js → node.COQbm6gK.js} +1 -1
- package/dist/chunks/{plugin.d.CtqpEehP.d.ts → plugin.d.BuW-flqo.d.ts} +1 -1
- package/dist/chunks/{reporters.d.CWXNI2jG.d.ts → reporters.d.DVUYHHhe.d.ts} +328 -79
- package/dist/chunks/rpc.MzXet3jl.js +144 -0
- package/dist/chunks/{rpc.d.RH3apGEf.d.ts → rpc.d.BFMWpdph.d.ts} +10 -2
- package/dist/chunks/{setup-common.Cm-kSBVi.js → setup-common.B41N_kPE.js} +3 -3
- package/dist/chunks/{startModuleRunner.DEj0jb3e.js → startVitestModuleRunner.C3ZR-4J3.js} +265 -405
- package/dist/chunks/{suite.d.BJWk38HB.d.ts → suite.d.udJtyAgw.d.ts} +1 -1
- package/dist/chunks/{vi.2VT5v0um.js → test.CTcmp4Su.js} +538 -181
- package/dist/chunks/{utils.DvEY5TfP.js → utils.BX5Fg8C4.js} +8 -1
- package/dist/chunks/{vm.D3epNOPZ.js → vm.Dh2rTtmP.js} +48 -8
- package/dist/chunks/{worker.d.Dyxm8DEL.d.ts → worker.d.B84sVRy0.d.ts} +2 -2
- package/dist/cli.js +6 -5
- package/dist/config.cjs +3 -2
- package/dist/config.d.ts +13 -12
- package/dist/config.js +2 -2
- package/dist/coverage.d.ts +12 -8
- package/dist/coverage.js +8 -5
- package/dist/environments.js +3 -1
- package/dist/index.d.ts +66 -27
- package/dist/index.js +10 -9
- package/dist/module-evaluator.d.ts +11 -1
- package/dist/module-evaluator.js +43 -26
- package/dist/node.d.ts +28 -14
- package/dist/node.js +42 -40
- package/dist/nodejs-worker-loader.js +41 -0
- package/dist/reporters.d.ts +8 -8
- package/dist/reporters.js +7 -5
- package/dist/runners.d.ts +24 -5
- package/dist/runners.js +6 -6
- package/dist/runtime.d.ts +6 -0
- package/dist/runtime.js +35 -0
- package/dist/snapshot.js +4 -2
- package/dist/suite.d.ts +1 -1
- package/dist/suite.js +4 -2
- package/dist/worker.d.ts +6 -6
- package/dist/worker.js +27 -21
- package/dist/workers/forks.js +23 -17
- package/dist/workers/runVmTests.js +18 -16
- package/dist/workers/threads.js +23 -17
- package/dist/workers/vmForks.js +15 -12
- package/dist/workers/vmThreads.js +15 -12
- package/globals.d.ts +2 -0
- package/package.json +65 -33
- package/suppress-warnings.cjs +1 -0
- package/dist/chunks/date.Bq6ZW5rf.js +0 -73
- package/dist/chunks/rpc.BoxB0q7B.js +0 -76
- package/dist/chunks/test.B8ej_ZHS.js +0 -254
- package/dist/mocker.d.ts +0 -1
- package/dist/mocker.js +0 -1
- package/dist/module-runner.js +0 -17
package/LICENSE.md
CHANGED
|
@@ -57,6 +57,13 @@ Repository: git+https://github.com/antfu/install-pkg.git
|
|
|
57
57
|
|
|
58
58
|
---------------------------------------
|
|
59
59
|
|
|
60
|
+
## @bomb.sh/tab
|
|
61
|
+
License: MIT
|
|
62
|
+
By: Bombshell Authors
|
|
63
|
+
Repository: git+https://github.com/bombshell-dev/tab.git
|
|
64
|
+
|
|
65
|
+
---------------------------------------
|
|
66
|
+
|
|
60
67
|
## @jridgewell/resolve-uri
|
|
61
68
|
License: MIT
|
|
62
69
|
By: Justin Ridgewell
|
|
@@ -193,6 +200,35 @@ Repository: git+https://github.com/sinonjs/fake-timers.git
|
|
|
193
200
|
|
|
194
201
|
---------------------------------------
|
|
195
202
|
|
|
203
|
+
## acorn
|
|
204
|
+
License: MIT
|
|
205
|
+
By: Marijn Haverbeke, Ingvar Stepanyan, Adrian Heine
|
|
206
|
+
Repository: https://github.com/acornjs/acorn.git
|
|
207
|
+
|
|
208
|
+
> MIT License
|
|
209
|
+
>
|
|
210
|
+
> Copyright (C) 2012-2022 by various contributors (see AUTHORS)
|
|
211
|
+
>
|
|
212
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
213
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
214
|
+
> in the Software without restriction, including without limitation the rights
|
|
215
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
216
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
217
|
+
> furnished to do so, subject to the following conditions:
|
|
218
|
+
>
|
|
219
|
+
> The above copyright notice and this permission notice shall be included in
|
|
220
|
+
> all copies or substantial portions of the Software.
|
|
221
|
+
>
|
|
222
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
223
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
224
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
225
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
226
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
227
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
228
|
+
> THE SOFTWARE.
|
|
229
|
+
|
|
230
|
+
---------------------------------------
|
|
231
|
+
|
|
196
232
|
## acorn-walk
|
|
197
233
|
License: MIT
|
|
198
234
|
By: Marijn Haverbeke, Ingvar Stepanyan, Adrian Heine
|
|
@@ -327,7 +363,7 @@ Repository: lydell/js-tokens
|
|
|
327
363
|
|
|
328
364
|
> The MIT License (MIT)
|
|
329
365
|
>
|
|
330
|
-
> Copyright (c) 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023
|
|
366
|
+
> Copyright (c) 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Simon Lydell
|
|
331
367
|
>
|
|
332
368
|
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
333
369
|
> of this software and associated documentation files (the "Software"), to deal
|
|
@@ -609,6 +645,90 @@ Repository: git+https://github.com/antfu/strip-literal.git
|
|
|
609
645
|
|
|
610
646
|
---------------------------------------
|
|
611
647
|
|
|
648
|
+
## tinyhighlight
|
|
649
|
+
License: MIT
|
|
650
|
+
Repository: git+https://github.com/tinylibs/tinyhighlight.git
|
|
651
|
+
|
|
652
|
+
> # Tinyhighlight core license
|
|
653
|
+
>
|
|
654
|
+
> MIT License
|
|
655
|
+
>
|
|
656
|
+
> Copyright (c) 2023 Tinylibs
|
|
657
|
+
>
|
|
658
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
659
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
660
|
+
> in the Software without restriction, including without limitation the rights
|
|
661
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
662
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
663
|
+
> furnished to do so, subject to the following conditions:
|
|
664
|
+
>
|
|
665
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
666
|
+
> copies or substantial portions of the Software.
|
|
667
|
+
>
|
|
668
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
669
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
670
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
671
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
672
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
673
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
674
|
+
> SOFTWARE.
|
|
675
|
+
>
|
|
676
|
+
> # Additionaly Tinyhighlight modifies code with the following licenses:
|
|
677
|
+
>
|
|
678
|
+
> MIT
|
|
679
|
+
>
|
|
680
|
+
> ## @babel/highlight
|
|
681
|
+
>
|
|
682
|
+
> MIT License
|
|
683
|
+
>
|
|
684
|
+
> Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
|
685
|
+
>
|
|
686
|
+
> Permission is hereby granted, free of charge, to any person obtaining
|
|
687
|
+
> a copy of this software and associated documentation files (the
|
|
688
|
+
> "Software"), to deal in the Software without restriction, including
|
|
689
|
+
> without limitation the rights to use, copy, modify, merge, publish,
|
|
690
|
+
> distribute, sublicense, and/or sell copies of the Software, and to
|
|
691
|
+
> permit persons to whom the Software is furnished to do so, subject to
|
|
692
|
+
> the following conditions:
|
|
693
|
+
>
|
|
694
|
+
> The above copyright notice and this permission notice shall be
|
|
695
|
+
> included in all copies or substantial portions of the Software.
|
|
696
|
+
>
|
|
697
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
698
|
+
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
699
|
+
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
700
|
+
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
701
|
+
> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
702
|
+
> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
703
|
+
> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
704
|
+
>
|
|
705
|
+
> ## @babel/helper-validator-identifier
|
|
706
|
+
>
|
|
707
|
+
> MIT License
|
|
708
|
+
>
|
|
709
|
+
> Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
|
710
|
+
>
|
|
711
|
+
> Permission is hereby granted, free of charge, to any person obtaining
|
|
712
|
+
> a copy of this software and associated documentation files (the
|
|
713
|
+
> "Software"), to deal in the Software without restriction, including
|
|
714
|
+
> without limitation the rights to use, copy, modify, merge, publish,
|
|
715
|
+
> distribute, sublicense, and/or sell copies of the Software, and to
|
|
716
|
+
> permit persons to whom the Software is furnished to do so, subject to
|
|
717
|
+
> the following conditions:
|
|
718
|
+
>
|
|
719
|
+
> The above copyright notice and this permission notice shall be
|
|
720
|
+
> included in all copies or substantial portions of the Software.
|
|
721
|
+
>
|
|
722
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
723
|
+
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
724
|
+
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
725
|
+
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
726
|
+
> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
727
|
+
> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
728
|
+
> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
729
|
+
|
|
730
|
+
---------------------------------------
|
|
731
|
+
|
|
612
732
|
## type-detect
|
|
613
733
|
License: MIT
|
|
614
734
|
By: Jake Luer, Keith Cirkel, David Losert, Aleksey Shvayka, Lucas Fernandes da Costa, Grant Snodgrass, Jeremy Tice, Edward Betts, dvlsg, Amila Welihinda, Jake Champion, Miroslav Bajtoš
|
package/README.md
CHANGED
|
@@ -1,7 +1,34 @@
|
|
|
1
|
-
# vitest
|
|
1
|
+
# @depup/vitest
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Dependency-bumped version of [vitest](https://www.npmjs.com/package/vitest)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Generated by [DepUp](https://github.com/depup/npm) -- all production
|
|
6
|
+
dependencies bumped to latest versions.
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @depup/vitest
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
| Field | Value |
|
|
15
|
+
|-------|-------|
|
|
16
|
+
| Original | [vitest](https://www.npmjs.com/package/vitest) @ 4.1.0 |
|
|
17
|
+
| Processed | 2026-03-12 |
|
|
18
|
+
| Smoke test | passed |
|
|
19
|
+
| Deps updated | 4 |
|
|
20
|
+
|
|
21
|
+
## Dependency Changes
|
|
22
|
+
|
|
23
|
+
| Dependency | From | To |
|
|
24
|
+
|------------|------|-----|
|
|
25
|
+
| std-env | ^4.0.0-rc.1 | ^4.0.0 |
|
|
26
|
+
| tinybench | ^2.9.0 | ^6.0.0 |
|
|
27
|
+
| tinyrainbow | ^3.0.3 | ^3.1.0 |
|
|
28
|
+
| why-is-node-running | ^2.3.0 | ^3.2.2 |
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
Source: https://github.com/depup/npm | Original: https://www.npmjs.com/package/vitest
|
|
33
|
+
|
|
34
|
+
License inherited from the original package.
|
package/browser/context.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export * from '@vitest/browser-playwright/context'
|
|
|
4
4
|
export * from '@vitest/browser-webdriverio/context'
|
|
5
5
|
// @ts-ignore -- @vitest/browser-preview might not be installed
|
|
6
6
|
export * from '@vitest/browser-preview/context'
|
|
7
|
-
export { BrowserCommands, FsOptions } from 'vitest/internal/browser'
|
|
7
|
+
export { BrowserCommands, CDPSession, FsOptions } from 'vitest/internal/browser'
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as SerializedCoverageConfig, S as SerializedConfig } from './chunks/config.d.
|
|
1
|
+
import { a as SerializedCoverageConfig, S as SerializedConfig } from './chunks/config.d.EJLVE3es.js';
|
|
2
2
|
import { R as RuntimeCoverageModuleLoader } from './chunks/coverage.d.BZtK59WP.js';
|
|
3
3
|
import { SerializedDiffOptions } from '@vitest/utils/diff';
|
|
4
4
|
export { O as OTELCarrier, T as Traces } from './chunks/traces.d.402V_yFI.js';
|
|
@@ -41,6 +41,7 @@ interface BrowserCommands {
|
|
|
41
41
|
})) => Promise<void>;
|
|
42
42
|
removeFile: (path: string) => Promise<void>;
|
|
43
43
|
}
|
|
44
|
+
interface CDPSession {}
|
|
44
45
|
|
|
45
46
|
export { loadDiffConfig, loadSnapshotSerializers, setupCommonEnv, startCoverageInsideWorker, stopCoverageInsideWorker, takeCoverageInsideWorker };
|
|
46
|
-
export type { BrowserCommands, FsOptions };
|
|
47
|
+
export type { BrowserCommands, CDPSession, FsOptions };
|
package/dist/browser.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { l as loadDiffConfig,
|
|
1
|
+
export { l as loadDiffConfig, a as loadSnapshotSerializers, s as setupCommonEnv, b as startCoverageInsideWorker, c as stopCoverageInsideWorker, t as takeCoverageInsideWorker } from './chunks/setup-common.B41N_kPE.js';
|
|
2
2
|
export { T as Traces } from './chunks/traces.CCmnQaNT.js';
|
|
3
3
|
export { collectTests, startTests } from '@vitest/runner';
|
|
4
4
|
import * as spyModule from '@vitest/spy';
|
|
@@ -10,7 +10,7 @@ export { DecodedMap, getOriginalPosition } from '@vitest/utils/source-map';
|
|
|
10
10
|
export { getSafeTimers, setSafeTimers } from '@vitest/utils/timers';
|
|
11
11
|
import './chunks/coverage.D_JHT54q.js';
|
|
12
12
|
import '@vitest/snapshot';
|
|
13
|
-
import './chunks/utils.
|
|
13
|
+
import './chunks/utils.BX5Fg8C4.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @internal
|