diff --git a/.changeset/lazy-squids-unite.md b/.changeset/lazy-squids-unite.md deleted file mode 100644 index b7cce19a..00000000 --- a/.changeset/lazy-squids-unite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ima/plugin-testing-integration": patch ---- - -Fix support for Node 19+, which encounters `TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'.`. As a hotfix, we are now replacing `global.CustomEvent` (which comes with Node 19) with jsdom version of `CustomEvent` to keep the same behavior as in Node 18. diff --git a/package-lock.json b/package-lock.json index aa217c1c..d8dc2560 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21814,7 +21814,7 @@ }, "packages/plugin-testing-integration": { "name": "@ima/plugin-testing-integration", - "version": "5.1.3", + "version": "5.1.4", "license": "MIT", "dependencies": { "@messageformat/core": "^3.0.1", diff --git a/packages/plugin-testing-integration/CHANGELOG.md b/packages/plugin-testing-integration/CHANGELOG.md index e95bde3d..699d6b0d 100644 --- a/packages/plugin-testing-integration/CHANGELOG.md +++ b/packages/plugin-testing-integration/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 5.1.4 + +### Patch Changes + +- 97b056b: Fix support for Node 19+, which encounters `TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'.`. As a hotfix, we are now replacing `global.CustomEvent` (which comes with Node 19) with jsdom version of `CustomEvent` to keep the same behavior as in Node 18. + ## 5.1.3 ### Patch Changes diff --git a/packages/plugin-testing-integration/package.json b/packages/plugin-testing-integration/package.json index 379d9168..4e55b443 100644 --- a/packages/plugin-testing-integration/package.json +++ b/packages/plugin-testing-integration/package.json @@ -1,6 +1,6 @@ { "name": "@ima/plugin-testing-integration", - "version": "5.1.3", + "version": "5.1.4", "description": "IMA.js plugin for integration testing", "main": "./dist/cjs/main.js", "module": "./dist/esm/main.js",