Skip to content

Update dependency @cloudflare/vitest-pool-workers to ^0.2.9

This MR contains the following updates:

Package Type Update Change
@cloudflare/vitest-pool-workers (source) devDependencies minor ^0.1.19 -> ^0.2.9

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

cloudflare/workers-sdk (@​cloudflare/vitest-pool-workers)

v0.2.9

Compare Source

Patch Changes
  • #​5458 f520a71 Thanks @​Cherry! - fix: loosen the peer dependency version on vitest to support versions ranging from 1.3.0 to 1.5.0

  • Updated dependencies []:

    • wrangler@3.55.0

v0.2.8

Compare Source

Patch Changes

v0.2.6

Compare Source

Patch Changes

v0.2.5

Compare Source

Patch Changes

v0.2.4

Compare Source

Patch Changes

v0.2.3

Compare Source

Patch Changes

v0.2.2

Patch Changes

v0.2.1

Patch Changes

v0.2.0

Compare Source

Minor Changes
  • #​5612 8f470d9 Thanks @​Skye-31! - Feat: Support specifying an environment for your worker when running tests. This allows your tests to pick up bindings & variables that are scoped to specific environments.

    For example:

    import { defineWorkersConfig } from "@​cloudflare/vitest-pool-workers/config";
    
    export default defineWorkersConfig({
    	test: {
    		poolOptions: {
    			workers: {
    				wrangler: {
    					configPath: "./wrangler.toml",
    					environment: "production",
    				},
    			},
    		},
    	},
    });
Patch Changes
  • #​5589 92bc055 Thanks @​Skye-31! - fix: Support importing ES modules from libraries that do not correctly provide "type"="module" not use .mjs extensions

    The toucan-js library has an entry point of "module": "dist/index.esm.js". This file does not use the standard .mjs extension, nor does it specify "type"="module", so the resolution and loading algorithm fails to identify this file as an ES Module, defaulting to CommonJS, breaking Vitest. Fixes #​5588

  • Updated dependencies [9a46e03, c9f081a, fbe1c9c, 22f5841, c9f081a]:

    • wrangler@3.51.0
    • miniflare@3.20240405.2

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


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

This MR has been generated by Renovate Bot.

Merge request reports

Loading