Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vitest monorepo #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update vitest monorepo #9

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 27, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@vitest/coverage-c8 (source) ^0.26.2 -> ^0.33.0 age adoption passing confidence
vitest (source) 0.26.2 -> 0.34.6 age adoption passing confidence

Release Notes

vitest-dev/vitest (@​vitest/coverage-c8)

v0.33.0

Compare Source

   🚨 Breaking Changes
  • Revert default include patterns  -  by @​so1ve #​3729
    • 0.32.0 changed the default include globs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive.
   🐞 Bug Fixes
    View changes on GitHub

v0.32.4

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.32.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.32.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.32.1

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.32.0

Compare Source

   🚨 Breaking Changes
  • Throw an error, if the module cannot be resolved  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/3307 (1ad63)
    • Vitest used to fall back to the original import when it could not resolve it to the file path or the virtual module. This leads to hard-to-find module graph mismatches if you had incorrect alias or relied on relative imports to be resolved to the project root (which is usual behavior in TypeScript) because the code accidentally "worked". With this release, Vitest will now throw an error if it cannot resolve the module - there are possible edge cases that are not covered yet, so if you have any problems with this, please open a separate issue with reproduction.
  • Improve globs  -  by @​nickmccurdy in https://github.com/vitest-dev/vitest/issues/3392 (19ecc)
    • Vitest now has glob patterns similar to Jest for better compatibility. It's possible that some files will be considered test files when previously they were not. For example, Vitest now considers test.js to be a test file. Also any file in __tests__ is now considered to be a test, not just files with test or spec suffix.
  • Add @vitest/coverage-v8 package  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/3339 (82112)
    • Vitest now uses v8 code coverage directly for better performance. @vitest/coverage-c8 is deprecated as Vitest no longer uses c8 package for coverage output. It will not be updated anymore, and Vitest will fail in the next version if the user has c8 as their coverage provider. Please, install the new @vitest/coverage-v8 package if you previously used @vitest/coverage-c8.
  • mocker: Don't restore mock to the original if the module is automocked  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/3518 (c1004)
    • spy.mockRestore on auto-mocked named exports will no longer restore their implementation to the actual function. This behavior better matches what Jest does.
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.31.4

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.31.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.31.2

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.31.1

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.31.0

Compare Source

   🚨 Breaking Changes
  • Remove browser from allowed pools inside poolMatchGlob config option. Please, use Vitest workspaces for running tests in the browser.

  • Move assertion declarations to expect package  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/3294 (cf3af)

    • The change should be minor:
    - declare namespace Vi {
    + declare module 'vitest' {
       interface Assertion<T = any> extends CustomMatchers<T> {}
       interface AsymmetricMatchersContaining extends CustomMatchers {}
    }
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.30.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.30.0

Compare Source

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.29.8

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.29.7

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

[v0.29.6](https://togithub.com/vitest-dev/vitest/releases/t


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Contributor Author

renovate bot commented Dec 27, 2022

⚠ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
[17:00:08.948] INFO (9): Installing tool node v20.8.0...
v20.8.0
10.1.0
0.20.0
[17:00:11.423] INFO (9): Installed tool node in 2.4s.
[17:00:12.210] INFO (52): Installing tool pnpm v7.20.0...
7.20.0
[17:00:13.550] INFO (52): Installed tool pnpm in 1.3s.
 WARN  GET https://registry.npmjs.org/@vitest%2Fcoverage-c8 error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@sachinraja/eslint-config/-/eslint-config-0.2.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/dprint/-/dprint-0.32.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/eslint/-/eslint-8.27.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/pino-pretty/-/pino-pretty-9.1.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/prisma/-/prisma-4.8.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/tsup/-/tsup-6.4.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vite/-/vite-3.2.5.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@prisma/client/-/client-4.8.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/fastify/-/fastify-4.10.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/pino/-/pino-8.8.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/zod/-/zod-3.20.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vitest error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@vitest%2Fcoverage-c8 error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@sachinraja/eslint-config/-/eslint-config-0.2.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/dprint/-/dprint-0.32.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/eslint/-/eslint-8.27.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/pino-pretty/-/pino-pretty-9.1.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/prisma/-/prisma-4.8.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/tsup/-/tsup-6.4.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/vite/-/vite-3.2.5.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@prisma/client/-/client-4.8.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/fastify/-/fastify-4.10.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/pino/-/pino-8.8.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/zod/-/zod-3.20.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/vitest error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
undefined
 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams

TypeError [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
    at new NodeError (node:internal/errors:406:5)
    at Proxy.getAll (node:internal/url:527:13)
    at Proxy.<anonymous> (/opt/containerbase/tools/pnpm/7.20.0/node_modules/pnpm/dist/pnpm.cjs:58824:55)
    at /opt/containerbase/tools/pnpm/7.20.0/node_modules/pnpm/dist/pnpm.cjs:58877:31
    at Array.reduce (<anonymous>)
    at Proxy.raw (/opt/containerbase/tools/pnpm/7.20.0/node_modules/pnpm/dist/pnpm.cjs:58876:33)
    at new Headers (/opt/containerbase/tools/pnpm/7.20.0/node_modules/pnpm/dist/pnpm.cjs:58770:28)
    at getNodeRequestOptions (/opt/containerbase/tools/pnpm/7.20.0/node_modules/pnpm/dist/pnpm.cjs:59089:23)
    at /opt/containerbase/tools/pnpm/7.20.0/node_modules/pnpm/dist/pnpm.cjs:59146:25
    at new Promise (<anonymous>)

File name: package.json
Post-upgrade command 'pnpm run lint' has not been added to the allowed list in allowedPostUpgradeCommands
File name: package.json
Post-upgrade command 'pnpm run lint' has not been added to the allowed list in allowedPostUpgradeCommands

@renovate renovate bot changed the title Update dependency vitest to v0.26.2 Update dependency vitest to v0.26.2 - autoclosed Dec 27, 2022
@renovate renovate bot closed this Dec 27, 2022
@renovate renovate bot deleted the renovate/vitest-monorepo branch December 27, 2022 17:09
@renovate renovate bot changed the title Update dependency vitest to v0.26.2 - autoclosed Update dependency vitest to v0.26.2 Jan 1, 2023
@renovate renovate bot reopened this Jan 1, 2023
@renovate renovate bot restored the renovate/vitest-monorepo branch January 1, 2023 16:02
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from 2b176cd to e2882d9 Compare January 1, 2023 18:55
@renovate renovate bot changed the title Update dependency vitest to v0.26.2 Update dependency vitest to v0.26.3 Jan 1, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from e2882d9 to 975331a Compare January 9, 2023 17:21
@renovate renovate bot changed the title Update dependency vitest to v0.26.3 Update vitest monorepo to ^0.27.0 Jan 9, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 2 times, most recently from 103f0a7 to f4b03bd Compare January 17, 2023 10:12
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 2 times, most recently from 80b5a8f to f83cf24 Compare January 23, 2023 10:14
@renovate renovate bot changed the title Update vitest monorepo to ^0.27.0 Update vitest monorepo to ^0.28.0 Jan 23, 2023
@renovate renovate bot changed the title Update vitest monorepo to ^0.28.0 Update vitest monorepo Jan 25, 2023
@renovate renovate bot changed the title Update vitest monorepo Update vitest monorepo to ^0.28.0 Jan 25, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 2 times, most recently from 7377181 to 142f3bd Compare February 3, 2023 10:46
@socket-security
Copy link

socket-security bot commented Feb 13, 2023

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

@renovate renovate bot changed the title Update vitest monorepo to ^0.28.0 Update vitest monorepo to ^0.29.0 Feb 25, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from c008c03 to a661839 Compare March 9, 2023 04:56
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 2 times, most recently from 26652ff to 6f567c1 Compare March 29, 2023 16:36
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from 6f567c1 to be6a9d8 Compare May 31, 2023 03:59
@renovate renovate bot changed the title Update vitest monorepo to ^0.29.0 Update vitest monorepo to ^0.31.0 May 31, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 3 times, most recently from 06b5992 to dfa956c Compare June 6, 2023 20:31
@renovate renovate bot changed the title Update vitest monorepo to ^0.31.0 Update vitest monorepo to ^0.32.0 Jun 6, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 2 times, most recently from 34ec681 to 3a65250 Compare June 16, 2023 19:42
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 2 times, most recently from f6161b9 to 36e4fbe Compare July 6, 2023 15:28
@renovate renovate bot changed the title Update vitest monorepo to ^0.32.0 Update vitest monorepo to ^0.33.0 Jul 6, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from 36e4fbe to 5d11cba Compare August 1, 2023 16:12
@renovate renovate bot changed the title Update vitest monorepo to ^0.33.0 Update vitest monorepo Aug 1, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from 5d11cba to e6b8a1e Compare August 1, 2023 18:20
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from e6b8a1e to c11136d Compare August 17, 2023 10:34
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from c11136d to d185245 Compare August 25, 2023 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants