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
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
Patch Changes
v0.2.6
Patch Changes
v0.2.5
Patch Changes
-
#5733
995199f
Thanks @penalosa! - fix: Build all packages before publishing -
Updated dependencies []:
- wrangler@3.53.0
v0.2.4
Patch Changes
v0.2.3
Patch Changes
- Updated dependencies [
3a0d735
,24840f6
,81d9615
,a7e36d5
,c6312b5
,1b7739e
]:- miniflare@3.20240419.0
- wrangler@3.52.0
v0.2.2
Patch Changes
-
#5652
ccb9d3d
Thanks @petebacondarwin! - chore: re-release due to broken build -
Updated dependencies [
ccb9d3d
]:- wrangler@3.51.2
v0.2.1
Patch Changes
v0.2.0
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
extensionsThe 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
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.