From e9cc380c126253fff2a3e4a1324adaebb896d4de Mon Sep 17 00:00:00 2001 From: Avi Vahl Date: Wed, 9 Nov 2022 00:25:37 +0200 Subject: [PATCH] infra: move c8 (coverage) to devDeps (#743) - used only in tests, but caused downstream to install it as well, raising the number of deps. - also bumped version to 7.12.0 (latest) --- package.json | 2 +- pnpm-lock.yaml | 53 +++++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 47 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 72b9326b..2da48304 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,6 @@ "ajv": "8.11.0", "arg": "5.0.2", "boxen": "7.0.0", - "c8": "7.11.3", "chalk": "5.0.1", "chalk-template": "0.4.0", "clipboardy": "3.0.0", @@ -52,6 +51,7 @@ "@types/compression": "1.7.2", "@types/serve-handler": "6.1.1", "@vercel/style-guide": "3.0.0", + "c8": "7.12.0", "eslint": "8.19.0", "got": "12.1.0", "husky": "8.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7bf19a79..089dddee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,7 +8,7 @@ specifiers: ajv: 8.11.0 arg: 5.0.2 boxen: 7.0.0 - c8: 7.11.3 + c8: 7.12.0 chalk: 5.0.1 chalk-template: 0.4.0 clipboardy: 3.0.0 @@ -31,7 +31,6 @@ dependencies: ajv: 8.11.0 arg: 5.0.2 boxen: 7.0.0 - c8: 7.11.3 chalk: 5.0.1 chalk-template: 0.4.0 clipboardy: 3.0.0 @@ -44,6 +43,7 @@ devDependencies: '@types/compression': 1.7.2 '@types/serve-handler': 6.1.1 '@vercel/style-guide': 3.0.0_rkmuuqx4yqfzhkhjmek6w3w2ju + c8: 7.12.0 eslint: 8.19.0 got: 12.1.0 husky: 8.0.1 @@ -52,7 +52,7 @@ devDependencies: tsup: 6.1.3_typescript@4.6.4 tsx: 3.7.1 typescript: 4.6.4 - vitest: 0.18.0_c8@7.11.3 + vitest: 0.18.0_c8@7.12.0 packages: /@babel/code-frame/7.18.6: @@ -127,6 +127,7 @@ packages: { integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==, } + dev: true /@esbuild-kit/cjs-loader/2.3.0: resolution: @@ -205,6 +206,7 @@ packages: integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==, } engines: { node: '>=8' } + dev: true /@jridgewell/resolve-uri/3.1.0: resolution: @@ -212,12 +214,14 @@ packages: integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==, } engines: { node: '>=6.0.0' } + dev: true /@jridgewell/sourcemap-codec/1.4.14: resolution: { integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==, } + dev: true /@jridgewell/trace-mapping/0.3.14: resolution: @@ -227,6 +231,7 @@ packages: dependencies: '@jridgewell/resolve-uri': 3.1.0 '@jridgewell/sourcemap-codec': 1.4.14 + dev: true /@microsoft/tsdoc-config/0.15.2: resolution: @@ -402,6 +407,7 @@ packages: { integrity: sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==, } + dev: true /@types/json-buffer/3.0.0: resolution: @@ -1110,10 +1116,10 @@ packages: engines: { node: '>= 0.8' } dev: false - /c8/7.11.3: + /c8/7.12.0: resolution: { - integrity: sha512-6YBmsaNmqRm9OS3ZbIiL2EZgi1+Xc4O24jL3vMYGE6idixYuGdy76rIfIdltSKDj9DpLNrcXSonUTR1miBD0wA==, + integrity: sha512-CtgQrHOkyxr5koX1wEUmN/5cfDa2ckbHRA4Gy5LAL0zaCFtVWJS5++n+w4/sr2GWGerBxgTjpKeDclk/Qk6W/A==, } engines: { node: '>=10.12.0' } hasBin: true @@ -1130,6 +1136,7 @@ packages: v8-to-istanbul: 9.0.1 yargs: 16.2.0 yargs-parser: 20.2.9 + dev: true /cac/6.7.12: resolution: @@ -1356,6 +1363,7 @@ packages: string-width: 4.2.3 strip-ansi: 6.0.1 wrap-ansi: 7.0.0 + dev: true /clone-response/1.0.2: resolution: @@ -1480,6 +1488,7 @@ packages: } dependencies: safe-buffer: 5.1.2 + dev: true /core-js-pure/3.23.3: resolution: @@ -1999,6 +2008,7 @@ packages: integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==, } engines: { node: '>=6' } + dev: true /escape-string-regexp/1.0.5: resolution: @@ -2580,6 +2590,7 @@ packages: dependencies: locate-path: 6.0.0 path-exists: 4.0.0 + dev: true /flat-cache/3.0.4: resolution: @@ -2608,6 +2619,7 @@ packages: dependencies: cross-spawn: 7.0.3 signal-exit: 3.0.7 + dev: true /form-data-encoder/1.7.1: resolution: @@ -2621,6 +2633,7 @@ packages: { integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==, } + dev: true /fsevents/2.3.2: resolution: @@ -2673,6 +2686,7 @@ packages: integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, } engines: { node: 6.* || 8.* || >= 10.* } + dev: true /get-func-name/2.0.0: resolution: @@ -2787,6 +2801,7 @@ packages: minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 + dev: true /globals/13.16.0: resolution: @@ -2906,6 +2921,7 @@ packages: { integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==, } + dev: true /http-cache-semantics/4.1.0: resolution: @@ -2992,12 +3008,14 @@ packages: dependencies: once: 1.4.0 wrappy: 1.0.2 + dev: true /inherits/2.0.4: resolution: { integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==, } + dev: true /ini/1.3.8: resolution: @@ -3254,6 +3272,7 @@ packages: integrity: sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==, } engines: { node: '>=8' } + dev: true /istanbul-lib-report/3.0.0: resolution: @@ -3265,6 +3284,7 @@ packages: istanbul-lib-coverage: 3.2.0 make-dir: 3.1.0 supports-color: 7.2.0 + dev: true /istanbul-reports/3.1.4: resolution: @@ -3275,6 +3295,7 @@ packages: dependencies: html-escaper: 2.0.2 istanbul-lib-report: 3.0.0 + dev: true /jju/1.4.0: resolution: @@ -3509,6 +3530,7 @@ packages: engines: { node: '>=10' } dependencies: p-locate: 5.0.0 + dev: true /lodash.merge/4.6.2: resolution: @@ -3597,6 +3619,7 @@ packages: engines: { node: '>=8' } dependencies: semver: 6.3.0 + dev: true /merge-stream/2.0.0: resolution: @@ -3911,6 +3934,7 @@ packages: } dependencies: wrappy: 1.0.2 + dev: true /onetime/5.1.2: resolution: @@ -3982,6 +4006,7 @@ packages: engines: { node: '>=10' } dependencies: yocto-queue: 0.1.0 + dev: true /p-locate/2.0.0: resolution: @@ -4011,6 +4036,7 @@ packages: engines: { node: '>=10' } dependencies: p-limit: 3.1.0 + dev: true /p-map/4.0.0: resolution: @@ -4075,6 +4101,7 @@ packages: integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==, } engines: { node: '>=8' } + dev: true /path-is-absolute/1.0.1: resolution: @@ -4082,6 +4109,7 @@ packages: integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==, } engines: { node: '>=0.10.0' } + dev: true /path-is-inside/1.0.2: resolution: @@ -4396,6 +4424,7 @@ packages: integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==, } engines: { node: '>=0.10.0' } + dev: true /require-from-string/2.0.2: resolution: @@ -4505,6 +4534,7 @@ packages: hasBin: true dependencies: glob: 7.2.3 + dev: true /rollup/2.76.0: resolution: @@ -4571,6 +4601,7 @@ packages: integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==, } hasBin: true + dev: true /semver/7.3.7: resolution: @@ -4933,6 +4964,7 @@ packages: '@istanbuljs/schema': 0.1.3 glob: 7.2.3 minimatch: 3.1.2 + dev: true /text-table/0.2.0: resolution: @@ -5223,6 +5255,7 @@ packages: '@jridgewell/trace-mapping': 0.3.14 '@types/istanbul-lib-coverage': 2.0.4 convert-source-map: 1.8.0 + dev: true /validate-npm-package-license/3.0.4: resolution: @@ -5269,7 +5302,7 @@ packages: fsevents: 2.3.2 dev: true - /vitest/0.18.0_c8@7.11.3: + /vitest/0.18.0_c8@7.12.0: resolution: { integrity: sha512-ryAtlh5Gvg3+aLNuOQ8YOHxgQCCu46jx40X5MBL0K0/ejB9i5zsr8fV8LTGXbXex80UMHlzceI9F+ouGaiR+mQ==, @@ -5297,7 +5330,7 @@ packages: '@types/chai': 4.3.1 '@types/chai-subset': 1.3.3 '@types/node': 18.0.3 - c8: 7.11.3 + c8: 7.12.0 chai: 4.3.6 debug: 4.3.4 local-pkg: 0.4.2 @@ -5392,6 +5425,7 @@ packages: ansi-styles: 4.3.0 string-width: 4.2.3 strip-ansi: 6.0.1 + dev: true /wrap-ansi/8.0.1: resolution: @@ -5410,6 +5444,7 @@ packages: { integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==, } + dev: true /y18n/5.0.8: resolution: @@ -5417,6 +5452,7 @@ packages: integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==, } engines: { node: '>=10' } + dev: true /yallist/4.0.0: resolution: @@ -5447,6 +5483,7 @@ packages: integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==, } engines: { node: '>=10' } + dev: true /yargs/16.2.0: resolution: @@ -5462,6 +5499,7 @@ packages: string-width: 4.2.3 y18n: 5.0.8 yargs-parser: 20.2.9 + dev: true /yocto-queue/0.1.0: resolution: @@ -5469,3 +5507,4 @@ packages: integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==, } engines: { node: '>=10' } + dev: true