From afa87af01c79a9baa539f2992d32154d2a4739bd Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sat, 14 Feb 2026 14:46:37 -0800 Subject: task: delete vanilla js prototype\n\n- Removed vanilla/ directory and web/dist/vanilla directory\n- Updated Makefile, Dockerfile, and CI workflow to remove vanilla references\n- Cleaned up web/web.go to remove vanilla embed and routes\n- Verified build and tests pass\n\nCloses NK-2tcnmq --- vanilla/node_modules/vitest/LICENSE.md | 691 - vanilla/node_modules/vitest/README.md | 7 - vanilla/node_modules/vitest/browser/context.d.ts | 7 - vanilla/node_modules/vitest/browser/context.js | 20 - vanilla/node_modules/vitest/config.d.ts | 3 - vanilla/node_modules/vitest/coverage.d.ts | 1 - vanilla/node_modules/vitest/dist/browser.d.ts | 46 - vanilla/node_modules/vitest/dist/browser.js | 20 - .../dist/chunks/_commonjsHelpers.D26ty3Ew.js | 6 - .../vitest/dist/chunks/base.CJ0Y4ePK.js | 165 - .../vitest/dist/chunks/benchmark.B3N2zMcH.js | 40 - .../vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts | 24 - .../vitest/dist/chunks/browser.d.ChKACdzH.d.ts | 59 - .../vitest/dist/chunks/cac.DVeoLl0M.js | 1409 -- .../vitest/dist/chunks/cli-api.B7PN_QUv.js | 13657 ------------------- .../vitest/dist/chunks/config.d.Cy95HiCx.d.ts | 210 - .../vitest/dist/chunks/console.Cf-YriPC.js | 146 - .../vitest/dist/chunks/constants.D_Q9UYh-.js | 36 - .../vitest/dist/chunks/coverage.AVPTjMgw.js | 3292 ----- .../vitest/dist/chunks/coverage.D_JHT54q.js | 25 - .../vitest/dist/chunks/coverage.d.BZtK59WP.d.ts | 37 - .../vitest/dist/chunks/creator.DAmOKTvJ.js | 673 - .../vitest/dist/chunks/date.Bq6ZW5rf.js | 73 - .../vitest/dist/chunks/defaults.BOqNVLsY.js | 74 - .../vitest/dist/chunks/env.D4Lgay0q.js | 8 - .../vitest/dist/chunks/environment.d.CrsxCzP1.d.ts | 29 - .../dist/chunks/evaluatedModules.Dg1zASAC.js | 17 - .../dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts | 7 - .../vitest/dist/chunks/git.Bm2pzPAa.js | 71 - .../vitest/dist/chunks/global.d.B15mdLcR.d.ts | 99 - .../vitest/dist/chunks/globals.DOayXfHP.js | 30 - .../vitest/dist/chunks/index.6Qv1eEA6.js | 109 - .../vitest/dist/chunks/index.C5r1PdPD.js | 231 - .../vitest/dist/chunks/index.Chj8NDwU.js | 206 - .../vitest/dist/chunks/index.CyBMJtT7.js | 727 - .../vitest/dist/chunks/index.D3XRDfWc.js | 213 - .../vitest/dist/chunks/index.D4KonVSU.js | 6343 --------- .../vitest/dist/chunks/index.M8mOzt4Y.js | 3839 ------ .../vitest/dist/chunks/index.Z5E_ObnR.js | 37 - .../vitest/dist/chunks/init-forks._y3TW739.js | 41 - .../vitest/dist/chunks/init-threads.DBO2kn-p.js | 18 - .../vitest/dist/chunks/init.B6MLFIaN.js | 334 - .../vitest/dist/chunks/inspector.CvyFGlXm.js | 53 - .../vitest/dist/chunks/modules.BJuCwlRJ.js | 36 - .../vitest/dist/chunks/node.Ce0vMQM7.js | 14 - .../vitest/dist/chunks/plugin.d.CtqpEehP.d.ts | 38 - .../vitest/dist/chunks/reporters.d.CWXNI2jG.d.ts | 3271 ----- .../vitest/dist/chunks/rpc.BoxB0q7B.js | 76 - .../vitest/dist/chunks/rpc.d.RH3apGEf.d.ts | 64 - .../vitest/dist/chunks/setup-common.Cm-kSBVi.js | 60 - .../dist/chunks/startModuleRunner.DEj0jb3e.js | 861 -- .../vitest/dist/chunks/suite.d.BJWk38HB.d.ts | 10 - .../vitest/dist/chunks/test.B8ej_ZHS.js | 254 - .../vitest/dist/chunks/traces.CCmnQaNT.js | 217 - .../vitest/dist/chunks/traces.d.402V_yFI.d.ts | 18 - .../vitest/dist/chunks/utils.DvEY5TfP.js | 52 - .../node_modules/vitest/dist/chunks/vi.2VT5v0um.js | 3919 ------ .../node_modules/vitest/dist/chunks/vm.D3epNOPZ.js | 744 - .../vitest/dist/chunks/worker.d.Dyxm8DEL.d.ts | 255 - vanilla/node_modules/vitest/dist/cli.js | 28 - vanilla/node_modules/vitest/dist/config.cjs | 94 - vanilla/node_modules/vitest/dist/config.d.ts | 104 - vanilla/node_modules/vitest/dist/config.js | 15 - vanilla/node_modules/vitest/dist/coverage.d.ts | 118 - vanilla/node_modules/vitest/dist/coverage.js | 23 - vanilla/node_modules/vitest/dist/environments.d.ts | 22 - vanilla/node_modules/vitest/dist/environments.js | 3 - vanilla/node_modules/vitest/dist/index.d.ts | 510 - vanilla/node_modules/vitest/dist/index.js | 20 - vanilla/node_modules/vitest/dist/mocker.d.ts | 1 - vanilla/node_modules/vitest/dist/mocker.js | 1 - .../node_modules/vitest/dist/module-evaluator.d.ts | 124 - .../node_modules/vitest/dist/module-evaluator.js | 343 - vanilla/node_modules/vitest/dist/module-runner.js | 17 - vanilla/node_modules/vitest/dist/node.d.ts | 251 - vanilla/node_modules/vitest/dist/node.js | 98 - vanilla/node_modules/vitest/dist/path.js | 7 - vanilla/node_modules/vitest/dist/reporters.d.ts | 27 - vanilla/node_modules/vitest/dist/reporters.js | 24 - vanilla/node_modules/vitest/dist/runners.d.ts | 50 - vanilla/node_modules/vitest/dist/runners.js | 19 - vanilla/node_modules/vitest/dist/snapshot.d.ts | 9 - vanilla/node_modules/vitest/dist/snapshot.js | 4 - vanilla/node_modules/vitest/dist/spy.js | 1 - vanilla/node_modules/vitest/dist/suite.d.ts | 5 - vanilla/node_modules/vitest/dist/suite.js | 6 - vanilla/node_modules/vitest/dist/worker.d.ts | 32 - vanilla/node_modules/vitest/dist/worker.js | 48 - vanilla/node_modules/vitest/dist/workers/forks.js | 54 - .../node_modules/vitest/dist/workers/runVmTests.js | 95 - .../node_modules/vitest/dist/workers/threads.js | 55 - .../node_modules/vitest/dist/workers/vmForks.js | 36 - .../node_modules/vitest/dist/workers/vmThreads.js | 37 - vanilla/node_modules/vitest/environments.d.ts | 1 - vanilla/node_modules/vitest/globals.d.ts | 20 - vanilla/node_modules/vitest/import-meta.d.ts | 5 - vanilla/node_modules/vitest/importMeta.d.ts | 4 - vanilla/node_modules/vitest/index.cjs | 5 - vanilla/node_modules/vitest/index.d.cts | 1 - vanilla/node_modules/vitest/jsdom.d.ts | 6 - vanilla/node_modules/vitest/mocker.d.ts | 1 - vanilla/node_modules/vitest/node.d.ts | 1 - vanilla/node_modules/vitest/optional-types.d.ts | 7 - vanilla/node_modules/vitest/package.json | 224 - vanilla/node_modules/vitest/reporters.d.ts | 1 - vanilla/node_modules/vitest/runners.d.ts | 1 - vanilla/node_modules/vitest/snapshot.d.ts | 1 - vanilla/node_modules/vitest/suite.d.ts | 1 - vanilla/node_modules/vitest/suppress-warnings.cjs | 21 - vanilla/node_modules/vitest/vitest.mjs | 2 - vanilla/node_modules/vitest/worker.d.ts | 1 - 111 files changed, 45606 deletions(-) delete mode 100644 vanilla/node_modules/vitest/LICENSE.md delete mode 100644 vanilla/node_modules/vitest/README.md delete mode 100644 vanilla/node_modules/vitest/browser/context.d.ts delete mode 100644 vanilla/node_modules/vitest/browser/context.js delete mode 100644 vanilla/node_modules/vitest/config.d.ts delete mode 100644 vanilla/node_modules/vitest/coverage.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/browser.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/browser.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/base.CJ0Y4ePK.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/benchmark.B3N2zMcH.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/chunks/browser.d.ChKACdzH.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/chunks/cac.DVeoLl0M.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/config.d.Cy95HiCx.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/chunks/console.Cf-YriPC.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/constants.D_Q9UYh-.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/coverage.AVPTjMgw.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/coverage.D_JHT54q.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/coverage.d.BZtK59WP.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/chunks/creator.DAmOKTvJ.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/defaults.BOqNVLsY.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/env.D4Lgay0q.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/environment.d.CrsxCzP1.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/chunks/evaluatedModules.Dg1zASAC.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/chunks/git.Bm2pzPAa.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/global.d.B15mdLcR.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/chunks/globals.DOayXfHP.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/index.6Qv1eEA6.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/index.C5r1PdPD.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/index.Chj8NDwU.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/index.CyBMJtT7.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/index.D3XRDfWc.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/index.D4KonVSU.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/index.M8mOzt4Y.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/index.Z5E_ObnR.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/init-forks._y3TW739.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/init-threads.DBO2kn-p.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/init.B6MLFIaN.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/inspector.CvyFGlXm.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/modules.BJuCwlRJ.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/node.Ce0vMQM7.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/plugin.d.CtqpEehP.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/chunks/reporters.d.CWXNI2jG.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/chunks/rpc.BoxB0q7B.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/rpc.d.RH3apGEf.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/chunks/setup-common.Cm-kSBVi.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/startModuleRunner.DEj0jb3e.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/suite.d.BJWk38HB.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/chunks/test.B8ej_ZHS.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/traces.CCmnQaNT.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/traces.d.402V_yFI.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/chunks/utils.DvEY5TfP.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/vi.2VT5v0um.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/vm.D3epNOPZ.js delete mode 100644 vanilla/node_modules/vitest/dist/chunks/worker.d.Dyxm8DEL.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/cli.js delete mode 100644 vanilla/node_modules/vitest/dist/config.cjs delete mode 100644 vanilla/node_modules/vitest/dist/config.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/config.js delete mode 100644 vanilla/node_modules/vitest/dist/coverage.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/coverage.js delete mode 100644 vanilla/node_modules/vitest/dist/environments.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/environments.js delete mode 100644 vanilla/node_modules/vitest/dist/index.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/index.js delete mode 100644 vanilla/node_modules/vitest/dist/mocker.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/mocker.js delete mode 100644 vanilla/node_modules/vitest/dist/module-evaluator.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/module-evaluator.js delete mode 100644 vanilla/node_modules/vitest/dist/module-runner.js delete mode 100644 vanilla/node_modules/vitest/dist/node.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/node.js delete mode 100644 vanilla/node_modules/vitest/dist/path.js delete mode 100644 vanilla/node_modules/vitest/dist/reporters.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/reporters.js delete mode 100644 vanilla/node_modules/vitest/dist/runners.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/runners.js delete mode 100644 vanilla/node_modules/vitest/dist/snapshot.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/snapshot.js delete mode 100644 vanilla/node_modules/vitest/dist/spy.js delete mode 100644 vanilla/node_modules/vitest/dist/suite.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/suite.js delete mode 100644 vanilla/node_modules/vitest/dist/worker.d.ts delete mode 100644 vanilla/node_modules/vitest/dist/worker.js delete mode 100644 vanilla/node_modules/vitest/dist/workers/forks.js delete mode 100644 vanilla/node_modules/vitest/dist/workers/runVmTests.js delete mode 100644 vanilla/node_modules/vitest/dist/workers/threads.js delete mode 100644 vanilla/node_modules/vitest/dist/workers/vmForks.js delete mode 100644 vanilla/node_modules/vitest/dist/workers/vmThreads.js delete mode 100644 vanilla/node_modules/vitest/environments.d.ts delete mode 100644 vanilla/node_modules/vitest/globals.d.ts delete mode 100644 vanilla/node_modules/vitest/import-meta.d.ts delete mode 100644 vanilla/node_modules/vitest/importMeta.d.ts delete mode 100644 vanilla/node_modules/vitest/index.cjs delete mode 100644 vanilla/node_modules/vitest/index.d.cts delete mode 100644 vanilla/node_modules/vitest/jsdom.d.ts delete mode 100644 vanilla/node_modules/vitest/mocker.d.ts delete mode 100644 vanilla/node_modules/vitest/node.d.ts delete mode 100644 vanilla/node_modules/vitest/optional-types.d.ts delete mode 100644 vanilla/node_modules/vitest/package.json delete mode 100644 vanilla/node_modules/vitest/reporters.d.ts delete mode 100644 vanilla/node_modules/vitest/runners.d.ts delete mode 100644 vanilla/node_modules/vitest/snapshot.d.ts delete mode 100644 vanilla/node_modules/vitest/suite.d.ts delete mode 100644 vanilla/node_modules/vitest/suppress-warnings.cjs delete mode 100755 vanilla/node_modules/vitest/vitest.mjs delete mode 100644 vanilla/node_modules/vitest/worker.d.ts (limited to 'vanilla/node_modules/vitest') diff --git a/vanilla/node_modules/vitest/LICENSE.md b/vanilla/node_modules/vitest/LICENSE.md deleted file mode 100644 index ba4ea56..0000000 --- a/vanilla/node_modules/vitest/LICENSE.md +++ /dev/null @@ -1,691 +0,0 @@ -# Vitest core license -Vitest is released under the MIT license: - -MIT License - -Copyright (c) 2021-Present VoidZero Inc. and Vitest contributors - -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: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -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. - -# Licenses of bundled dependencies -The published Vitest artifact additionally contains code with the following licenses: -BSD-3-Clause, ISC, MIT - -# Bundled dependencies: -## @antfu/install-pkg -License: MIT -By: Anthony Fu -Repository: git+https://github.com/antfu/install-pkg.git - -> MIT License -> -> Copyright (c) 2021 Anthony Fu -> -> 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: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## @jridgewell/resolve-uri -License: MIT -By: Justin Ridgewell -Repository: https://github.com/jridgewell/resolve-uri - -> Copyright 2019 Justin Ridgewell -> -> 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: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## @jridgewell/sourcemap-codec -License: MIT -By: Justin Ridgewell -Repository: git+https://github.com/jridgewell/sourcemaps.git - -> Copyright 2024 Justin Ridgewell -> -> 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: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## @jridgewell/trace-mapping -License: MIT -By: Justin Ridgewell -Repository: git+https://github.com/jridgewell/sourcemaps.git - -> Copyright 2024 Justin Ridgewell -> -> 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: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## @sinonjs/commons -License: BSD-3-Clause -Repository: git+https://github.com/sinonjs/commons.git - -> BSD 3-Clause License -> -> Copyright (c) 2018, Sinon.JS -> All rights reserved. -> -> Redistribution and use in source and binary forms, with or without -> modification, are permitted provided that the following conditions are met: -> -> * Redistributions of source code must retain the above copyright notice, this -> list of conditions and the following disclaimer. -> -> * Redistributions in binary form must reproduce the above copyright notice, -> this list of conditions and the following disclaimer in the documentation -> and/or other materials provided with the distribution. -> -> * Neither the name of the copyright holder nor the names of its -> contributors may be used to endorse or promote products derived from -> this software without specific prior written permission. -> -> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -> AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -> DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -> DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -> SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -> CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -> OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -> OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ---------------------------------------- - -## @sinonjs/fake-timers -License: BSD-3-Clause -By: Christian Johansen -Repository: git+https://github.com/sinonjs/fake-timers.git - -> Copyright (c) 2010-2014, Christian Johansen, christian@cjohansen.no. All rights reserved. -> -> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -> -> 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -> -> 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -> -> 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. -> -> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ---------------------------------------- - -## acorn-walk -License: MIT -By: Marijn Haverbeke, Ingvar Stepanyan, Adrian Heine -Repository: https://github.com/acornjs/acorn.git - -> MIT License -> -> Copyright (C) 2012-2020 by various contributors (see AUTHORS) -> -> 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: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## birpc -License: MIT -By: Anthony Fu -Repository: git+https://github.com/antfu-collective/birpc.git - -> MIT License -> -> Copyright (c) 2021 Anthony Fu -> -> 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: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## cac -License: MIT -By: egoist -Repository: egoist/cac - -> The MIT License (MIT) -> -> Copyright (c) EGOIST <0x142857@gmail.com> (https://github.com/egoist) -> -> 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: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## empathic -License: MIT -By: Luke Edwards -Repository: lukeed/empathic - -> MIT License -> -> Copyright (c) Luke Edwards (lukeed.com) -> -> 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: -> -> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## flatted -License: ISC -By: Andrea Giammarchi -Repository: git+https://github.com/WebReflection/flatted.git - -> ISC License -> -> Copyright (c) 2018-2020, Andrea Giammarchi, @WebReflection -> -> Permission to use, copy, modify, and/or distribute this software for any -> purpose with or without fee is hereby granted, provided that the above -> copyright notice and this permission notice appear in all copies. -> -> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -> REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -> AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -> INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -> LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -> OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -> PERFORMANCE OF THIS SOFTWARE. - ---------------------------------------- - -## js-tokens -License: MIT -By: Simon Lydell -Repository: lydell/js-tokens - -> The MIT License (MIT) -> -> Copyright (c) 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024 Simon Lydell -> -> 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: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## kleur -License: MIT -By: Luke Edwards -Repository: lukeed/kleur - -> The MIT License (MIT) -> -> Copyright (c) Luke Edwards (lukeed.com) -> -> 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: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## local-pkg -License: MIT -By: Anthony Fu -Repository: git+https://github.com/antfu-collective/local-pkg.git - -> MIT License -> -> Copyright (c) 2021 Anthony Fu -> -> 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: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## mime -License: MIT -By: Robert Kieffer -Repository: https://github.com/broofa/mime - -> MIT License -> -> Copyright (c) 2023 Robert Kieffer -> -> 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: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## mlly -License: MIT -Repository: unjs/mlly - -> MIT License -> -> Copyright (c) Pooya Parsa -> -> 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: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## package-manager-detector -License: MIT -By: Anthony Fu -Repository: git+https://github.com/antfu-collective/package-manager-detector.git - -> MIT License -> -> Copyright (c) 2020-PRESENT Anthony Fu -> -> 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: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## prompts -License: MIT -By: Terkel Gjervig -Repository: terkelg/prompts - -> MIT License -> -> Copyright (c) 2018 Terkel Gjervig Nielsen -> -> 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: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## quansync -License: MIT -By: Anthony Fu, 三咲智子 Kevin Deng -Repository: git+https://github.com/quansync-dev/quansync.git - -> MIT License -> -> Copyright (c) 2025-PRESENT Anthony Fu and Kevin Deng -> -> 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: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## sisteransi -License: MIT -By: Terkel Gjervig -Repository: https://github.com/terkelg/sisteransi - -> MIT License -> -> Copyright (c) 2018 Terkel Gjervig Nielsen -> -> 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: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## strip-literal -License: MIT -By: Anthony Fu -Repository: git+https://github.com/antfu/strip-literal.git - -> MIT License -> -> Copyright (c) 2022 Anthony Fu -> -> 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: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## type-detect -License: MIT -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š -Repository: git+ssh://git@github.com/chaijs/type-detect.git - -> Copyright (c) 2013 Jake Luer (http://alogicalparadox.com) -> -> 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: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## ufo -License: MIT -Repository: unjs/ufo - -> MIT License -> -> Copyright (c) Pooya Parsa -> -> 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: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> 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. - ---------------------------------------- - -## ws -License: MIT -By: Einar Otto Stangvik -Repository: git+https://github.com/websockets/ws.git - -> Copyright (c) 2011 Einar Otto Stangvik -> Copyright (c) 2013 Arnout Kazemier and contributors -> Copyright (c) 2016 Luigi Pinca and contributors -> -> 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: -> -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. -> -> 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. diff --git a/vanilla/node_modules/vitest/README.md b/vanilla/node_modules/vitest/README.md deleted file mode 100644 index 3af9a29..0000000 --- a/vanilla/node_modules/vitest/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# vitest - -[![NPM version](https://img.shields.io/npm/v/vitest?color=a1b858&label=)](https://www.npmjs.com/package/vitest) - -Next generation testing framework powered by Vite. - -[GitHub](https://github.com/vitest-dev/vitest) | [Documentation](https://vitest.dev/) diff --git a/vanilla/node_modules/vitest/browser/context.d.ts b/vanilla/node_modules/vitest/browser/context.d.ts deleted file mode 100644 index a0f9bc6..0000000 --- a/vanilla/node_modules/vitest/browser/context.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -// @ts-ignore -- @vitest/browser-playwright might not be installed -export * from '@vitest/browser-playwright/context' -// @ts-ignore -- @vitest/browser-webdriverio might not be installed -export * from '@vitest/browser-webdriverio/context' -// @ts-ignore -- @vitest/browser-preview might not be installed -export * from '@vitest/browser-preview/context' -export { BrowserCommands, FsOptions } from 'vitest/internal/browser' diff --git a/vanilla/node_modules/vitest/browser/context.js b/vanilla/node_modules/vitest/browser/context.js deleted file mode 100644 index 17119bb..0000000 --- a/vanilla/node_modules/vitest/browser/context.js +++ /dev/null @@ -1,20 +0,0 @@ -// Vitest resolves "vitest/browser" as a virtual module instead - -// fake exports for static analysis -export const page = null -export const server = null -export const userEvent = null -export const cdp = null -export const commands = null -export const locators = null -export const utils = null - -const pool = globalThis.__vitest_worker__?.ctx?.pool - -throw new Error( - // eslint-disable-next-line prefer-template - 'vitest/browser can be imported only inside the Browser Mode. ' - + (pool - ? `Your test is running in ${pool} pool. Make sure your regular tests are excluded from the "test.include" glob pattern.` - : 'Instead, it was imported outside of Vitest.'), -) diff --git a/vanilla/node_modules/vitest/config.d.ts b/vanilla/node_modules/vitest/config.d.ts deleted file mode 100644 index 36afa87..0000000 --- a/vanilla/node_modules/vitest/config.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -// ensure `@vitest/expect` provides `chai` types -import type {} from '@vitest/expect' -export * from './dist/config.js' diff --git a/vanilla/node_modules/vitest/coverage.d.ts b/vanilla/node_modules/vitest/coverage.d.ts deleted file mode 100644 index cf1145f..0000000 --- a/vanilla/node_modules/vitest/coverage.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './dist/coverage.js' diff --git a/vanilla/node_modules/vitest/dist/browser.d.ts b/vanilla/node_modules/vitest/dist/browser.d.ts deleted file mode 100644 index 909014a..0000000 --- a/vanilla/node_modules/vitest/dist/browser.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { a as SerializedCoverageConfig, S as SerializedConfig } from './chunks/config.d.Cy95HiCx.js'; -import { R as RuntimeCoverageModuleLoader } from './chunks/coverage.d.BZtK59WP.js'; -import { SerializedDiffOptions } from '@vitest/utils/diff'; -export { O as OTELCarrier, T as Traces } from './chunks/traces.d.402V_yFI.js'; -export { collectTests, startTests } from '@vitest/runner'; -import * as _vitest_spy from '@vitest/spy'; -export { _vitest_spy as SpyModule }; -export { LoupeOptions, ParsedStack, StringifyOptions } from '@vitest/utils'; -export { browserFormat, format, inspect, stringify } from '@vitest/utils/display'; -export { processError } from '@vitest/utils/error'; -export { getType } from '@vitest/utils/helpers'; -export { DecodedMap, getOriginalPosition } from '@vitest/utils/source-map'; -export { getSafeTimers, setSafeTimers } from '@vitest/utils/timers'; -import '@vitest/pretty-format'; -import '@vitest/snapshot'; - -declare function startCoverageInsideWorker(options: SerializedCoverageConfig | undefined, loader: RuntimeCoverageModuleLoader, runtimeOptions: { - isolate: boolean; -}): Promise; -declare function takeCoverageInsideWorker(options: SerializedCoverageConfig | undefined, loader: RuntimeCoverageModuleLoader): Promise; -declare function stopCoverageInsideWorker(options: SerializedCoverageConfig | undefined, loader: RuntimeCoverageModuleLoader, runtimeOptions: { - isolate: boolean; -}): Promise; - -interface PublicModuleRunner { - import: (id: string) => Promise; -} - -declare function setupCommonEnv(config: SerializedConfig): Promise; -declare function loadDiffConfig(config: SerializedConfig, moduleRunner: PublicModuleRunner): Promise; -declare function loadSnapshotSerializers(config: SerializedConfig, moduleRunner: PublicModuleRunner): Promise; - -interface FsOptions { - encoding?: BufferEncoding; - flag?: string | number; -} -interface BrowserCommands { - readFile: (path: string, options?: BufferEncoding | FsOptions) => Promise; - writeFile: (path: string, content: string, options?: BufferEncoding | (FsOptions & { - mode?: number | string; - })) => Promise; - removeFile: (path: string) => Promise; -} - -export { loadDiffConfig, loadSnapshotSerializers, setupCommonEnv, startCoverageInsideWorker, stopCoverageInsideWorker, takeCoverageInsideWorker }; -export type { BrowserCommands, FsOptions }; diff --git a/vanilla/node_modules/vitest/dist/browser.js b/vanilla/node_modules/vitest/dist/browser.js deleted file mode 100644 index 526cd7e..0000000 --- a/vanilla/node_modules/vitest/dist/browser.js +++ /dev/null @@ -1,20 +0,0 @@ -export { l as loadDiffConfig, b as loadSnapshotSerializers, c as setupCommonEnv, s as startCoverageInsideWorker, a as stopCoverageInsideWorker, t as takeCoverageInsideWorker } from './chunks/setup-common.Cm-kSBVi.js'; -export { T as Traces } from './chunks/traces.CCmnQaNT.js'; -export { collectTests, startTests } from '@vitest/runner'; -import * as spyModule from '@vitest/spy'; -export { spyModule as SpyModule }; -export { browserFormat, format, inspect, stringify } from '@vitest/utils/display'; -export { processError } from '@vitest/utils/error'; -export { getType } from '@vitest/utils/helpers'; -export { DecodedMap, getOriginalPosition } from '@vitest/utils/source-map'; -export { getSafeTimers, setSafeTimers } from '@vitest/utils/timers'; -import './chunks/coverage.D_JHT54q.js'; -import '@vitest/snapshot'; -import './chunks/utils.DvEY5TfP.js'; - -/** -* @internal -*/ -const __INTERNAL = { _extendedMethods: /* @__PURE__ */ new Set() }; - -export { __INTERNAL }; diff --git a/vanilla/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js b/vanilla/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js deleted file mode 100644 index 95e8e2e..0000000 --- a/vanilla/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js +++ /dev/null @@ -1,6 +0,0 @@ -var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {}; -function getDefaultExportFromCjs(x) { - return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x; -} - -export { commonjsGlobal as c, getDefaultExportFromCjs as g }; diff --git a/vanilla/node_modules/vitest/dist/chunks/base.CJ0Y4ePK.js b/vanilla/node_modules/vitest/dist/chunks/base.CJ0Y4ePK.js deleted file mode 100644 index f00681d..0000000 --- a/vanilla/node_modules/vitest/dist/chunks/base.CJ0Y4ePK.js +++ /dev/null @@ -1,165 +0,0 @@ -import { runInThisContext } from 'node:vm'; -import * as spyModule from '@vitest/spy'; -import { r as resolveTestRunner, a as resolveSnapshotEnvironment, s as setupChaiConfig } from './index.6Qv1eEA6.js'; -import { l as loadEnvironment, e as emitModuleRunner } from './init.B6MLFIaN.js'; -import { V as VitestEvaluatedModules } from './evaluatedModules.Dg1zASAC.js'; -import { s as startVitestModuleRunner, c as createNodeImportMeta } from './startModuleRunner.DEj0jb3e.js'; -import { performance as performance$1 } from 'node:perf_hooks'; -import { startTests, collectTests } from '@vitest/runner'; -import { c as setupCommonEnv, s as startCoverageInsideWorker, a as stopCoverageInsideWorker } from './setup-common.Cm-kSBVi.js'; -import { g as globalExpect, v as vi } from './vi.2VT5v0um.js'; -import { c as closeInspector } from './inspector.CvyFGlXm.js'; -import { createRequire } from 'node:module'; -import timers from 'node:timers'; -import timersPromises from 'node:timers/promises'; -import util from 'node:util'; -import { KNOWN_ASSET_TYPES } from '@vitest/utils/constants'; -import { i as index } from './index.Z5E_ObnR.js'; -import { g as getWorkerState, r as resetModules, p as provideWorkerState } from './utils.DvEY5TfP.js'; - -// this should only be used in Node -let globalSetup = false; -async function setupGlobalEnv(config, environment) { - await setupCommonEnv(config); - Object.defineProperty(globalThis, "__vitest_index__", { - value: index, - enumerable: false - }); - globalExpect.setState({ environment: environment.name }); - if (globalSetup) return; - globalSetup = true; - if ((environment.viteEnvironment || environment.name) === "client") { - const _require = createRequire(import.meta.url); - // always mock "required" `css` files, because we cannot process them - _require.extensions[".css"] = resolveCss; - _require.extensions[".scss"] = resolveCss; - _require.extensions[".sass"] = resolveCss; - _require.extensions[".less"] = resolveCss; - // since we are using Vite, we can assume how these will be resolved - KNOWN_ASSET_TYPES.forEach((type) => { - _require.extensions[`.${type}`] = resolveAsset; - }); - process.env.SSR = ""; - } else process.env.SSR = "1"; - // @ts-expect-error not typed global for patched timers - globalThis.__vitest_required__ = { - util, - timers, - timersPromises - }; - if (!config.disableConsoleIntercept) await setupConsoleLogSpy(); -} -function resolveCss(mod) { - mod.exports = ""; -} -function resolveAsset(mod, url) { - mod.exports = url; -} -async function setupConsoleLogSpy() { - const { createCustomConsole } = await import('./console.Cf-YriPC.js'); - globalThis.console = createCustomConsole(); -} - -// browser shouldn't call this! -async function run(method, files, config, moduleRunner, environment, traces) { - const workerState = getWorkerState(); - const [testRunner] = await Promise.all([ - traces.$("vitest.runtime.runner", () => resolveTestRunner(config, moduleRunner, traces)), - traces.$("vitest.runtime.global_env", () => setupGlobalEnv(config, environment)), - traces.$("vitest.runtime.coverage.start", () => startCoverageInsideWorker(config.coverage, moduleRunner, { isolate: config.isolate })), - traces.$("vitest.runtime.snapshot.environment", async () => { - if (!workerState.config.snapshotOptions.snapshotEnvironment) workerState.config.snapshotOptions.snapshotEnvironment = await resolveSnapshotEnvironment(config, moduleRunner); - }) - ]); - workerState.onCancel((reason) => { - closeInspector(config); - testRunner.cancel?.(reason); - }); - workerState.durations.prepare = performance$1.now() - workerState.durations.prepare; - await traces.$(`vitest.test.runner.${method}`, async () => { - for (const file of files) { - if (config.isolate) { - moduleRunner.mocker.reset(); - resetModules(workerState.evaluatedModules, true); - } - workerState.filepath = file.filepath; - if (method === "run") await traces.$(`vitest.test.runner.${method}.module`, { attributes: { "code.file.path": file.filepath } }, () => startTests([file], testRunner)); - else await traces.$(`vitest.test.runner.${method}.module`, { attributes: { "code.file.path": file.filepath } }, () => collectTests([file], testRunner)); - // reset after tests, because user might call `vi.setConfig` in setupFile - vi.resetConfig(); - // mocks should not affect different files - vi.restoreAllMocks(); - } - }); - await traces.$("vitest.runtime.coverage.stop", () => stopCoverageInsideWorker(config.coverage, moduleRunner, { isolate: config.isolate })); -} - -let _moduleRunner; -const evaluatedModules = new VitestEvaluatedModules(); -const moduleExecutionInfo = /* @__PURE__ */ new Map(); -function startModuleRunner(options) { - if (_moduleRunner) return _moduleRunner; - _moduleRunner = startVitestModuleRunner(options); - return _moduleRunner; -} -let _currentEnvironment; -let _environmentTime; -/** @experimental */ -async function setupEnvironment(context) { - const startTime = performance.now(); - const { environment: { name: environmentName, options: environmentOptions }, rpc, config } = context; - // we could load @vite/env, but it would take ~8ms, while this takes ~0,02ms - if (context.config.serializedDefines) try { - runInThisContext(`(() =>{\n${context.config.serializedDefines}})()`, { - lineOffset: 1, - filename: "virtual:load-defines.js" - }); - } catch (error) { - throw new Error(`Failed to load custom "defines": ${error.message}`); - } - const otel = context.traces; - const { environment, loader } = await loadEnvironment(environmentName, config.root, rpc, otel); - _currentEnvironment = environment; - const env = await otel.$("vitest.runtime.environment.setup", { attributes: { - "vitest.environment": environment.name, - "vitest.environment.vite_environment": environment.viteEnvironment || environment.name - } }, () => environment.setup(globalThis, environmentOptions || config.environmentOptions || {})); - _environmentTime = performance.now() - startTime; - if (config.chaiConfig) setupChaiConfig(config.chaiConfig); - return async () => { - await otel.$("vitest.runtime.environment.teardown", () => env.teardown(globalThis)); - await loader?.close(); - }; -} -/** @experimental */ -async function runBaseTests(method, state, traces) { - const { ctx } = state; - state.environment = _currentEnvironment; - state.durations.environment = _environmentTime; - // state has new context, but we want to reuse existing ones - state.evaluatedModules = evaluatedModules; - state.moduleExecutionInfo = moduleExecutionInfo; - provideWorkerState(globalThis, state); - if (ctx.invalidates) ctx.invalidates.forEach((filepath) => { - (state.evaluatedModules.fileToModulesMap.get(filepath) || []).forEach((module) => { - state.evaluatedModules.invalidateModule(module); - }); - }); - ctx.files.forEach((i) => { - const filepath = i.filepath; - (state.evaluatedModules.fileToModulesMap.get(filepath) || []).forEach((module) => { - state.evaluatedModules.invalidateModule(module); - }); - }); - const moduleRunner = startModuleRunner({ - state, - evaluatedModules: state.evaluatedModules, - spyModule, - createImportMeta: createNodeImportMeta, - traces - }); - emitModuleRunner(moduleRunner); - await run(method, ctx.files, ctx.config, moduleRunner, _currentEnvironment, traces); -} - -export { runBaseTests as r, setupEnvironment as s }; diff --git a/vanilla/node_modules/vitest/dist/chunks/benchmark.B3N2zMcH.js b/vanilla/node_modules/vitest/dist/chunks/benchmark.B3N2zMcH.js deleted file mode 100644 index f51879c..0000000 --- a/vanilla/node_modules/vitest/dist/chunks/benchmark.B3N2zMcH.js +++ /dev/null @@ -1,40 +0,0 @@ -import { getCurrentSuite } from '@vitest/runner'; -import { createChainable } from '@vitest/runner/utils'; -import { noop } from '@vitest/utils/helpers'; -import { g as getWorkerState } from './utils.DvEY5TfP.js'; - -const benchFns = /* @__PURE__ */ new WeakMap(); -const benchOptsMap = /* @__PURE__ */ new WeakMap(); -function getBenchOptions(key) { - return benchOptsMap.get(key); -} -function getBenchFn(key) { - return benchFns.get(key); -} -const bench = createBenchmark(function(name, fn = noop, options = {}) { - if (getWorkerState().config.mode !== "benchmark") throw new Error("`bench()` is only available in benchmark mode."); - const task = getCurrentSuite().task(formatName(name), { - ...this, - meta: { benchmark: true } - }); - benchFns.set(task, fn); - benchOptsMap.set(task, options); - // vitest runner sets mode to `todo` if handler is not passed down - // but we store handler separetly - if (!this.todo && task.mode === "todo") task.mode = "run"; -}); -function createBenchmark(fn) { - const benchmark = createChainable([ - "skip", - "only", - "todo" - ], fn); - benchmark.skipIf = (condition) => condition ? benchmark.skip : benchmark; - benchmark.runIf = (condition) => condition ? benchmark : benchmark.skip; - return benchmark; -} -function formatName(name) { - return typeof name === "string" ? name : typeof name === "function" ? name.name || "" : String(name); -} - -export { getBenchOptions as a, bench as b, getBenchFn as g }; diff --git a/vanilla/node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts b/vanilla/node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts deleted file mode 100644 index 388d1c3..0000000 --- a/vanilla/node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Test } from '@vitest/runner'; -import { ChainableFunction } from '@vitest/runner/utils'; -import { TaskResult, Bench, Options } from 'tinybench'; - -interface Benchmark extends Test { - meta: { - benchmark: true; - result?: TaskResult; - }; -} -interface BenchmarkResult extends TaskResult { - name: string; - rank: number; - sampleCount: number; - median: number; -} -type BenchFunction = (this: Bench) => Promise | void; -type ChainableBenchmarkAPI = ChainableFunction<"skip" | "only" | "todo", (name: string | Function, fn?: BenchFunction, options?: Options) => void>; -type BenchmarkAPI = ChainableBenchmarkAPI & { - skipIf: (condition: any) => ChainableBenchmarkAPI; - runIf: (condition: any) => ChainableBenchmarkAPI; -}; - -export type { BenchmarkResult as B, BenchFunction as a, Benchmark as b, BenchmarkAPI as c }; diff --git a/vanilla/node_modules/vitest/dist/chunks/browser.d.ChKACdzH.d.ts b/vanilla/node_modules/vitest/dist/chunks/browser.d.ChKACdzH.d.ts deleted file mode 100644 index 98b415a..0000000 --- a/vanilla/node_modules/vitest/dist/chunks/browser.d.ChKACdzH.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { FileSpecification } from '@vitest/runner'; -import { O as OTELCarrier } from './traces.d.402V_yFI.js'; -import { T as TestExecutionMethod } from './worker.d.Dyxm8DEL.js'; - -type SerializedTestSpecification = [project: { - name: string | undefined; - root: string; -}, file: string, options: { - pool: string; - testLines?: number[] | undefined; -}]; - -interface ModuleDefinitionLocation { - line: number; - column: number; -} -interface SourceModuleLocations { - modules: ModuleDefinitionDiagnostic[]; - untracked: ModuleDefinitionDiagnostic[]; -} -interface ModuleDefinitionDiagnostic { - start: ModuleDefinitionLocation; - end: ModuleDefinitionLocation; - startIndex: number; - endIndex: number; - rawUrl: string; - resolvedUrl: string; - resolvedId: string; -} -interface ModuleDefinitionDurationsDiagnostic extends ModuleDefinitionDiagnostic { - selfTime: number; - totalTime: number; - transformTime?: number; - external?: boolean; - importer?: string; -} -interface UntrackedModuleDefinitionDiagnostic { - url: string; - resolvedId: string; - resolvedUrl: string; - selfTime: number; - totalTime: number; - transformTime?: number; - external?: boolean; - importer?: string; -} -interface SourceModuleDiagnostic { - modules: ModuleDefinitionDurationsDiagnostic[]; - untrackedModules: UntrackedModuleDefinitionDiagnostic[]; -} - -interface BrowserTesterOptions { - method: TestExecutionMethod; - files: FileSpecification[]; - providedContext: string; - otelCarrier?: OTELCarrier; -} - -export type { BrowserTesterOptions as B, ModuleDefinitionDurationsDiagnostic as M, SerializedTestSpecification as S, UntrackedModuleDefinitionDiagnostic as U, ModuleDefinitionDiagnostic as a, ModuleDefinitionLocation as b, SourceModuleDiagnostic as c, SourceModuleLocations as d }; diff --git a/vanilla/node_modules/vitest/dist/chunks/cac.DVeoLl0M.js b/vanilla/node_modules/vitest/dist/chunks/cac.DVeoLl0M.js deleted file mode 100644 index 31b7ad1..0000000 --- a/vanilla/node_modules/vitest/dist/chunks/cac.DVeoLl0M.js +++ /dev/null @@ -1,1409 +0,0 @@ -import { toArray } from '@vitest/utils/helpers'; -import { EventEmitter } from 'events'; -import { normalize } from 'pathe'; -import c from 'tinyrainbow'; -import { a as defaultPort, d as defaultBrowserPort } from './constants.D_Q9UYh-.js'; -import { R as ReportersMap } from './index.M8mOzt4Y.js'; - -function toArr(any) { - return any == null ? [] : Array.isArray(any) ? any : [any]; -} - -function toVal(out, key, val, opts) { - var x, old=out[key], nxt=( - !!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val)) - : typeof val === 'boolean' ? val - : !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val)) - : (x = +val,x * 0 === 0) ? x : val - ); - out[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]); -} - -function mri2 (args, opts) { - args = args || []; - opts = opts || {}; - - var k, arr, arg, name, val, out={ _:[] }; - var i=0, j=0, idx=0, len=args.length; - - const alibi = opts.alias !== void 0; - const strict = opts.unknown !== void 0; - const defaults = opts.default !== void 0; - - opts.alias = opts.alias || {}; - opts.string = toArr(opts.string); - opts.boolean = toArr(opts.boolean); - - if (alibi) { - for (k in opts.alias) { - arr = opts.alias[k] = toArr(opts.alias[k]); - for (i=0; i < arr.length; i++) { - (opts.alias[arr[i]] = arr.concat(k)).splice(i, 1); - } - } - } - - for (i=opts.boolean.length; i-- > 0;) { - arr = opts.alias[opts.boolean[i]] || []; - for (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]); - } - - for (i=opts.string.length; i-- > 0;) { - arr = opts.alias[opts.string[i]] || []; - for (j=arr.length; j-- > 0;) opts.string.push(arr[j]); - } - - if (defaults) { - for (k in opts.default) { - name = typeof opts.default[k]; - arr = opts.alias[k] = opts.alias[k] || []; - if (opts[name] !== void 0) { - opts[name].push(k); - for (i=0; i < arr.length; i++) { - opts[name].push(arr[i]); - } - } - } - } - - const keys = strict ? Object.keys(opts.alias) : []; - - for (i=0; i < len; i++) { - arg = args[i]; - - if (arg === '--') { - out._ = out._.concat(args.slice(++i)); - break; - } - - for (j=0; j < arg.length; j++) { - if (arg.charCodeAt(j) !== 45) break; // "-" - } - - if (j === 0) { - out._.push(arg); - } else if (arg.substring(j, j + 3) === 'no-') { - name = arg.substring(j + 3); - if (strict && !~keys.indexOf(name)) { - return opts.unknown(arg); - } - out[name] = false; - } else { - for (idx=j+1; idx < arg.length; idx++) { - if (arg.charCodeAt(idx) === 61) break; // "=" - } - - name = arg.substring(j, idx); - val = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]); - arr = (j === 2 ? [name] : name); - - for (idx=0; idx < arr.length; idx++) { - name = arr[idx]; - if (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name); - toVal(out, name, (idx + 1 < arr.length) || val, opts); - } - } - } - - if (defaults) { - for (k in opts.default) { - if (out[k] === void 0) { - out[k] = opts.default[k]; - } - } - } - - if (alibi) { - for (k in out) { - arr = opts.alias[k] || []; - while (arr.length > 0) { - out[arr.shift()] = out[k]; - } - } - } - - return out; -} - -const removeBrackets = (v) => v.replace(/[<[].+/, "").trim(); -const findAllBrackets = (v) => { - const ANGLED_BRACKET_RE_GLOBAL = /<([^>]+)>/g; - const SQUARE_BRACKET_RE_GLOBAL = /\[([^\]]+)\]/g; - const res = []; - const parse = (match) => { - let variadic = false; - let value = match[1]; - if (value.startsWith("...")) { - value = value.slice(3); - variadic = true; - } - return { - required: match[0].startsWith("<"), - value, - variadic - }; - }; - let angledMatch; - while (angledMatch = ANGLED_BRACKET_RE_GLOBAL.exec(v)) { - res.push(parse(angledMatch)); - } - let squareMatch; - while (squareMatch = SQUARE_BRACKET_RE_GLOBAL.exec(v)) { - res.push(parse(squareMatch)); - } - return res; -}; -const getMriOptions = (options) => { - const result = {alias: {}, boolean: []}; - for (const [index, option] of options.entries()) { - if (option.names.length > 1) { - result.alias[option.names[0]] = option.names.slice(1); - } - if (option.isBoolean) { - if (option.negated) { - const hasStringTypeOption = options.some((o, i) => { - return i !== index && o.names.some((name) => option.names.includes(name)) && typeof o.required === "boolean"; - }); - if (!hasStringTypeOption) { - result.boolean.push(option.names[0]); - } - } else { - result.boolean.push(option.names[0]); - } - } - } - return result; -}; -const findLongest = (arr) => { - return arr.sort((a, b) => { - return a.length > b.length ? -1 : 1; - })[0]; -}; -const padRight = (str, length) => { - return str.length >= length ? str : `${str}${" ".repeat(length - str.length)}`; -}; -const camelcase = (input) => { - return input.replace(/([a-z])-([a-z])/g, (_, p1, p2) => { - return p1 + p2.toUpperCase(); - }); -}; -const setDotProp = (obj, keys, val, transforms) => { - let i = 0; - let length = keys.length; - let t = obj; - let x; - let convertKey = (i) => { - let key = keys[i]; - i--; - while(i >= 0) { - key = keys[i] + '.' + key; - i--; - } - return key - }; - for (; i < length; ++i) { - x = t[keys[i]]; - const transform = transforms[convertKey(i)] || ((v) => v); - t = t[keys[i]] = transform(i === length - 1 ? val : x != null ? x : !!~keys[i + 1].indexOf(".") || !(+keys[i + 1] > -1) ? {} : []); - } -}; -const getFileName = (input) => { - const m = /([^\\\/]+)$/.exec(input); - return m ? m[1] : ""; -}; -const camelcaseOptionName = (name) => { - return name.split(".").map((v, i) => { - return i === 0 ? camelcase(v) : v; - }).join("."); -}; -class CACError extends Error { - constructor(message) { - super(message); - this.name = this.constructor.name; - if (typeof Error.captureStackTrace === "function") { - Error.captureStackTrace(this, this.constructor); - } else { - this.stack = new Error(message).stack; - } - } -} - -class Option { - constructor(rawName, description, config) { - this.rawName = rawName; - this.description = description; - this.config = Object.assign({}, config); - rawName = rawName.replace(/\.\*/g, ""); - this.negated = false; - this.names = removeBrackets(rawName).split(",").map((v) => { - let name = v.trim().replace(/^-{1,2}/, ""); - if (name.startsWith("no-")) { - this.negated = true; - name = name.replace(/^no-/, ""); - } - return camelcaseOptionName(name); - }).sort((a, b) => a.length > b.length ? 1 : -1); - this.name = this.names[this.names.length - 1]; - if (this.negated && this.config.default == null) { - this.config.default = true; - } - if (rawName.includes("<")) { - this.required = true; - } else if (rawName.includes("[")) { - this.required = false; - } else { - this.isBoolean = true; - } - } -} - -const processArgs = process.argv; -const platformInfo = `${process.platform}-${process.arch} node-${process.version}`; - -class Command { - constructor(rawName, description, config = {}, cli) { - this.rawName = rawName; - this.description = description; - this.config = config; - this.cli = cli; - this.options = []; - this.aliasNames = []; - this.name = removeBrackets(rawName); - this.args = findAllBrackets(rawName); - this.examples = []; - } - usage(text) { - this.usageText = text; - return this; - } - allowUnknownOptions() { - this.config.allowUnknownOptions = true; - return this; - } - ignoreOptionDefaultValue() { - this.config.ignoreOptionDefaultValue = true; - return this; - } - version(version, customFlags = "-v, --version") { - this.versionNumber = version; - this.option(customFlags, "Display version number"); - return this; - } - example(example) { - this.examples.push(example); - return this; - } - option(rawName, description, config) { - const option = new Option(rawName, description, config); - this.options.push(option); - return this; - } - alias(name) { - this.aliasNames.push(name); - return this; - } - action(callback) { - this.commandAction = callback; - return this; - } - isMatched(name) { - return this.name === name || this.aliasNames.includes(name); - } - get isDefaultCommand() { - return this.name === "" || this.aliasNames.includes("!"); - } - get isGlobalCommand() { - return this instanceof GlobalCommand; - } - hasOption(name) { - name = name.split(".")[0]; - return this.options.find((option) => { - return option.names.includes(name); - }); - } - outputHelp() { - const {name, commands} = this.cli; - const { - versionNumber, - options: globalOptions, - helpCallback - } = this.cli.globalCommand; - let sections = [ - { - body: `${name}${versionNumber ? `/${versionNumber}` : ""}` - } - ]; - sections.push({ - title: "Usage", - body: ` $ ${name} ${this.usageText || this.rawName}` - }); - const showCommands = (this.isGlobalCommand || this.isDefaultCommand) && commands.length > 0; - if (showCommands) { - const longestCommandName = findLongest(commands.map((command) => command.rawName)); - sections.push({ - title: "Commands", - body: commands.map((command) => { - return ` ${padRight(command.rawName, longestCommandName.length)} ${command.description}`; - }).join("\n") - }); - sections.push({ - title: `For more info, run any command with the \`--help\` flag`, - body: commands.map((command) => ` $ ${name}${command.name === "" ? "" : ` ${command.name}`} --help`).join("\n") - }); - } - let options = this.isGlobalCommand ? globalOptions : [...this.options, ...globalOptions || []]; - if (!this.isGlobalCommand && !this.isDefaultCommand) { - options = options.filter((option) => option.name !== "version"); - } - if (options.length > 0) { - const longestOptionName = findLongest(options.map((option) => option.rawName)); - sections.push({ - title: "Options", - body: options.map((option) => { - return ` ${padRight(option.rawName, longestOptionName.length)} ${option.description} ${option.config.default === void 0 ? "" : `(default: ${option.config.default})`}`; - }).join("\n") - }); - } - if (this.examples.length > 0) { - sections.push({ - title: "Examples", - body: this.examples.map((example) => { - if (typeof example === "function") { - return example(name); - } - return example; - }).join("\n") - }); - } - if (helpCallback) { - sections = helpCallback(sections) || sections; - } - console.log(sections.map((section) => { - return section.title ? `${section.title}: -${section.body}` : section.body; - }).join("\n\n")); - } - outputVersion() { - const {name} = this.cli; - const {versionNumber} = this.cli.globalCommand; - if (versionNumber) { - console.log(`${name}/${versionNumber} ${platformInfo}`); - } - } - checkRequiredArgs() { - const minimalArgsCount = this.args.filter((arg) => arg.required).length; - if (this.cli.args.length < minimalArgsCount) { - throw new CACError(`missing required args for command \`${this.rawName}\``); - } - } - checkUnknownOptions() { - const {options, globalCommand} = this.cli; - if (!this.config.allowUnknownOptions) { - for (const name of Object.keys(options)) { - if (name !== "--" && !this.hasOption(name) && !globalCommand.hasOption(name)) { - throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``); - } - } - } - } - checkOptionValue() { - const {options: parsedOptions, globalCommand} = this.cli; - const options = [...globalCommand.options, ...this.options]; - for (const option of options) { - // skip dot names because only top level options are required - if (option.name.includes('.')) { - continue; - } - const value = parsedOptions[option.name]; - if (option.required) { - const hasNegated = options.some((o) => o.negated && o.names.includes(option.name)); - if (value === true || value === false && !hasNegated) { - throw new CACError(`option \`${option.rawName}\` value is missing`); - } - } - } - } -} -class GlobalCommand extends Command { - constructor(cli) { - super("@@global@@", "", {}, cli); - } -} - -var __assign = Object.assign; -class CAC extends EventEmitter { - constructor(name = "") { - super(); - this.name = name; - this.commands = []; - this.rawArgs = []; - this.args = []; - this.options = {}; - this.globalCommand = new GlobalCommand(this); - this.globalCommand.usage(" [options]"); - } - usage(text) { - this.globalCommand.usage(text); - return this; - } - command(rawName, description, config) { - const command = new Command(rawName, description || "", config, this); - command.globalCommand = this.globalCommand; - this.commands.push(command); - return command; - } - option(rawName, description, config) { - this.globalCommand.option(rawName, description, config); - return this; - } - help(callback) { - this.globalCommand.option("-h, --help", "Display this message"); - this.globalCommand.helpCallback = callback; - this.showHelpOnExit = true; - return this; - } - version(version, customFlags = "-v, --version") { - this.globalCommand.version(version, customFlags); - this.showVersionOnExit = true; - return this; - } - example(example) { - this.globalCommand.example(example); - return this; - } - outputHelp() { - if (this.matchedCommand) { - this.matchedCommand.outputHelp(); - } else { - this.globalCommand.outputHelp(); - } - } - outputVersion() { - this.globalCommand.outputVersion(); - } - setParsedInfo({args, options}, matchedCommand, matchedCommandName) { - this.args = args; - this.options = options; - if (matchedCommand) { - this.matchedCommand = matchedCommand; - } - if (matchedCommandName) { - this.matchedCommandName = matchedCommandName; - } - return this; - } - unsetMatchedCommand() { - this.matchedCommand = void 0; - this.matchedCommandName = void 0; - } - parse(argv = processArgs, { - run = true - } = {}) { - this.rawArgs = argv; - if (!this.name) { - this.name = argv[1] ? getFileName(argv[1]) : "cli"; - } - let shouldParse = true; - for (const command of this.commands) { - const parsed = this.mri(argv.slice(2), command); - const commandName = parsed.args[0]; - if (command.isMatched(commandName)) { - shouldParse = false; - const parsedInfo = __assign(__assign({}, parsed), { - args: parsed.args.slice(1) - }); - this.setParsedInfo(parsedInfo, command, commandName); - this.emit(`command:${commandName}`, command); - } - } - if (shouldParse) { - for (const command of this.commands) { - if (command.name === "") { - shouldParse = false; - const parsed = this.mri(argv.slice(2), command); - this.setParsedInfo(parsed, command); - this.emit(`command:!`, command); - } - } - } - if (shouldParse) { - const parsed = this.mri(argv.slice(2)); - this.setParsedInfo(parsed); - } - if (this.options.help && this.showHelpOnExit) { - this.outputHelp(); - run = false; - this.unsetMatchedCommand(); - } - if (this.options.version && this.showVersionOnExit && this.matchedCommandName == null) { - this.outputVersion(); - run = false; - this.unsetMatchedCommand(); - } - const parsedArgv = {args: this.args, options: this.options}; - if (run) { - this.runMatchedCommand(); - } - if (!this.matchedCommand && this.args[0]) { - this.emit("command:*"); - } - return parsedArgv; - } - mri(argv, command) { - const cliOptions = [ - ...this.globalCommand.options, - ...command ? command.options : [] - ]; - const mriOptions = getMriOptions(cliOptions); - let argsAfterDoubleDashes = []; - const doubleDashesIndex = argv.indexOf("--"); - if (doubleDashesIndex > -1) { - argsAfterDoubleDashes = argv.slice(doubleDashesIndex + 1); - argv = argv.slice(0, doubleDashesIndex); - } - let parsed = mri2(argv, mriOptions); - parsed = Object.keys(parsed).reduce((res, name) => { - return __assign(__assign({}, res), { - [camelcaseOptionName(name)]: parsed[name] - }); - }, {_: []}); - const args = parsed._; - const options = { - "--": argsAfterDoubleDashes - }; - const ignoreDefault = command && command.config.ignoreOptionDefaultValue ? command.config.ignoreOptionDefaultValue : this.globalCommand.config.ignoreOptionDefaultValue; - let transforms = Object.create(null); - for (const cliOption of cliOptions) { - if (!ignoreDefault && cliOption.config.default !== void 0) { - for (const name of cliOption.names) { - options[name] = cliOption.config.default; - } - } - if (cliOption.config.type != null) { - if (transforms[cliOption.name] === void 0) { - transforms[cliOption.name] = cliOption.config.type; - } - } - } - for (const key of Object.keys(parsed)) { - if (key !== "_") { - const keys = key.split("."); - setDotProp(options, keys, parsed[key], transforms); - // setByType(options, transforms); - } - } - return { - args, - options - }; - } - runMatchedCommand() { - const {args, options, matchedCommand: command} = this; - if (!command || !command.commandAction) - return; - command.checkUnknownOptions(); - command.checkOptionValue(); - command.checkRequiredArgs(); - const actionArgs = []; - command.args.forEach((arg, index) => { - if (arg.variadic) { - actionArgs.push(args.slice(index)); - } else { - actionArgs.push(args[index]); - } - }); - actionArgs.push(options); - return command.commandAction.apply(this, actionArgs); - } -} - -const cac = (name = "") => new CAC(name); - -var version = "4.0.18"; - -const apiConfig = (port) => ({ - port: { - description: `Specify server port. Note if the port is already being used, Vite will automatically try the next available port so this may not be the actual port the server ends up listening on. If true will be set to \`${port}\``, - argument: "[port]" - }, - host: { - description: "Specify which IP addresses the server should listen on. Set this to `0.0.0.0` or `true` to listen on all addresses, including LAN and public addresses", - argument: "[host]" - }, - strictPort: { description: "Set to true to exit if port is already in use, instead of automatically trying the next available port" }, - middlewareMode: null -}); -function watermarkTransform(value) { - if (typeof value === "string") return value.split(",").map(Number); - return value; -} -function transformNestedBoolean(value) { - if (typeof value === "boolean") return { enabled: value }; - return value; -} -const cliOptionsConfig = { - root: { - description: "Root path", - shorthand: "r", - argument: "", - normalize: true - }, - config: { - shorthand: "c", - description: "Path to config file", - argument: "", - normalize: true - }, - update: { - shorthand: "u", - description: "Update snapshot" - }, - watch: { - shorthand: "w", - description: "Enable watch mode" - }, - testNamePattern: { - description: "Run tests with full names matching the specified regexp pattern", - argument: "", - shorthand: "t" - }, - dir: { - description: "Base directory to scan for the test files", - argument: "", - normalize: true - }, - ui: { description: "Enable UI" }, - open: { description: "Open UI automatically (default: `!process.env.CI`)" }, - api: { - argument: "[port]", - description: `Specify server port. Note if the port is already being used, Vite will automatically try the next available port so this may not be the actual port the server ends up listening on. If true will be set to ${defaultPort}`, - subcommands: apiConfig(defaultPort) - }, - silent: { - description: "Silent console output from tests. Use `'passed-only'` to see logs from failing tests only.", - argument: "[value]", - transform(value) { - if (value === "true" || value === "yes" || value === true) return true; - if (value === "false" || value === "no" || value === false) return false; - if (value === "passed-only") return value; - throw new TypeError(`Unexpected value "--silent=${value}". Use "--silent=true ${value}" instead.`); - } - }, - hideSkippedTests: { description: "Hide logs for skipped tests" }, - reporters: { - alias: "reporter", - description: `Specify reporters (${Object.keys(ReportersMap).join(", ")})`, - argument: "", - subcommands: null, - array: true - }, - outputFile: { - argument: "", - description: "Write test results to a file when supporter reporter is also specified, use cac's dot notation for individual outputs of multiple reporters (example: `--outputFile.tap=./tap.txt`)", - subcommands: null - }, - coverage: { - description: "Enable coverage report", - argument: "", - transform: transformNestedBoolean, - subcommands: { - provider: { - description: "Select the tool for coverage collection, available values are: \"v8\", \"istanbul\" and \"custom\"", - argument: "" - }, - enabled: { description: "Enables coverage collection. Can be overridden using the `--coverage` CLI option (default: `false`)" }, - include: { - description: "Files included in coverage as glob patterns. May be specified more than once when using multiple patterns. By default only files covered by tests are included.", - argument: "", - array: true - }, - exclude: { - description: "Files to be excluded in coverage. May be specified more than once when using multiple extensions.", - argument: "", - array: true - }, - clean: { description: "Clean coverage results before running tests (default: true)" }, - cleanOnRerun: { description: "Clean coverage report on watch rerun (default: true)" }, - reportsDirectory: { - description: "Directory to write coverage report to (default: ./coverage)", - argument: "", - normalize: true - }, - reporter: { - description: "Coverage reporters to use. Visit [`coverage.reporter`](https://vitest.dev/config/#coverage-reporter) for more information (default: `[\"text\", \"html\", \"clover\", \"json\"]`)", - argument: "", - subcommands: null, - array: true - }, - reportOnFailure: { description: "Generate coverage report even when tests fail (default: `false`)" }, - allowExternal: { description: "Collect coverage of files outside the project root (default: `false`)" }, - skipFull: { description: "Do not show files with 100% statement, branch, and function coverage (default: `false`)" }, - thresholds: { - description: null, - argument: "", - subcommands: { - perFile: { description: "Check thresholds per file. See `--coverage.thresholds.lines`, `--coverage.thresholds.functions`, `--coverage.thresholds.branches` and `--coverage.thresholds.statements` for the actual thresholds (default: `false`)" }, - autoUpdate: { - description: "Update threshold values: \"lines\", \"functions\", \"branches\" and \"statements\" to configuration file when current coverage is above the configured thresholds (default: `false`)", - argument: "", - subcommands: null, - transform(value) { - if (value === "true" || value === "yes" || value === true) return true; - if (value === "false" || value === "no" || value === false) return false; - return value; - } - }, - lines: { - description: "Threshold for lines. Visit [istanbuljs](https://github.com/istanbuljs/nyc#coverage-thresholds) for more information. This option is not available for custom providers", - argument: "" - }, - functions: { - description: "Threshold for functions. Visit [istanbuljs](https://github.com/istanbuljs/nyc#coverage-thresholds) for more information. This option is not available for custom providers", - argument: "" - }, - branches: { - description: "Threshold for branches. Visit [istanbuljs](https://github.com/istanbuljs/nyc#coverage-thresholds) for more information. This option is not available for custom providers", - argument: "" - }, - statements: { - description: "Threshold for statements. Visit [istanbuljs](https://github.com/istanbuljs/nyc#coverage-thresholds) for more information. This option is not available for custom providers", - argument: "" - }, - 100: { description: "Shortcut to set all coverage thresholds to 100 (default: `false`)" } - } - }, - ignoreClassMethods: { - description: "Array of class method names to ignore for coverage. Visit [istanbuljs](https://github.com/istanbuljs/nyc#ignoring-methods) for more information. This option is only available for the istanbul providers (default: `[]`)", - argument: "", - array: true - }, - processingConcurrency: { - description: "Concurrency limit used when processing the coverage results. (default min between 20 and the number of CPUs)", - argument: "" - }, - customProviderModule: { - description: "Specifies the module name or path for the custom coverage provider module. Visit [Custom Coverage Provider](https://vitest.dev/guide/coverage#custom-coverage-provider) for more information. This option is only available for custom providers", - argument: "", - normalize: true - }, - watermarks: { - description: null, - argument: "", - subcommands: { - statements: { - description: "High and low watermarks for statements in the format of `,`", - argument: "", - transform: watermarkTransform - }, - lines: { - description: "High and low watermarks for lines in the format of `,`", - argument: "", - transform: watermarkTransform - }, - branches: { - description: "High and low watermarks for branches in the format of `,`", - argument: "", - transform: watermarkTransform - }, - functions: { - description: "High and low watermarks for functions in the format of `,`", - argument: "", - transform: watermarkTransform - } - } - } - } - }, - mode: { - description: "Override Vite mode (default: `test` or `benchmark`)", - argument: "" - }, - isolate: { description: "Run every test file in isolation. To disable isolation, use `--no-isolate` (default: `true`)" }, - globals: { description: "Inject apis globally" }, - dom: { description: "Mock browser API with happy-dom" }, - browser: { - description: "Run tests in the browser. Equivalent to `--browser.enabled` (default: `false`)", - argument: "", - transform(browser) { - if (typeof browser === "boolean") return { enabled: browser }; - if (browser === "true" || browser === "false") return { enabled: browser === "true" }; - if (browser === "yes" || browser === "no") return { enabled: browser === "yes" }; - if (typeof browser === "string") return { name: browser }; - return browser; - }, - subcommands: { - enabled: { description: "Run tests in the browser. Equivalent to `--browser.enabled` (default: `false`)" }, - name: { - description: "Run all tests in a specific browser. Some browsers are only available for specific providers (see `--browser.provider`).", - argument: "" - }, - headless: { description: "Run the browser in headless mode (i.e. without opening the GUI (Graphical User Interface)). If you are running Vitest in CI, it will be enabled by default (default: `process.env.CI`)" }, - api: { - description: "Specify options for the browser API server. Does not affect the --api option", - argument: "[port]", - subcommands: apiConfig(defaultBrowserPort) - }, - isolate: { description: "Run every browser test file in isolation. To disable isolation, use `--browser.isolate=false` (default: `true`)" }, - ui: { description: "Show Vitest UI when running tests (default: `!process.env.CI`)" }, - fileParallelism: { description: "Should browser test files run in parallel. Use `--browser.fileParallelism=false` to disable (default: `true`)" }, - connectTimeout: { - description: "If connection to the browser takes longer, the test suite will fail (default: `60_000`)", - argument: "" - }, - trackUnhandledErrors: { description: "Control if Vitest catches uncaught exceptions so they can be reported (default: `true`)" }, - trace: { - description: "Enable trace view mode. Supported: \"on\", \"off\", \"on-first-retry\", \"on-all-retries\", \"retain-on-failure\".", - argument: "", - subcommands: null, - transform(value) { - return { mode: value }; - } - }, - orchestratorScripts: null, - commands: null, - viewport: null, - screenshotDirectory: null, - screenshotFailures: null, - locators: null, - testerHtmlPath: null, - instances: null, - expect: null, - provider: null - } - }, - pool: { - description: "Specify pool, if not running in the browser (default: `forks`)", - argument: "", - subcommands: null - }, - execArgv: { - description: "Pass additional arguments to `node` process when spawning `worker_threads` or `child_process`.", - argument: "