From c1b38205d98c92dc67e71c292bbe34ce9234981e Mon Sep 17 00:00:00 2001 From: chris Date: Sat, 26 Nov 2022 10:00:21 -0800 Subject: [PATCH 1/3] use node_modules patch from @mshima --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3d758270..c9b8ce7c 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "node": ">=14.16.0" }, "dependencies": { - "resolvewithplus": "^2.0.0" + "resolvewithplus": "mshima/resolvewithplus#patch-1" }, "devDependencies": { "c8": "^7.12.0", From efdfc29179c378824f1385c5e23de9eeed8da882 Mon Sep 17 00:00:00 2001 From: chris Date: Sat, 26 Nov 2022 10:06:11 -0800 Subject: [PATCH 2/3] update changelog --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ab203c8..8df08937 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,11 @@ # changelog - * 2.0.8 _Nov.11.2025_ + * 2.0.9 _Nov.26.2022_ + * [resolve windows modules with correct drive letter](https://github.com/iambumblehead/esmock/pull/189) using [resolvewithplus patch](https://github.com/iambumblehead/resolvewithplus/pull/42) from @mshima + * 2.0.8 _Nov.25.2022_ * [use live default export](https://github.com/iambumblehead/esmock/pull/188) in prototype of returned mock definition to resolve class instance mocking * [added CONTRIBUTING.md](https://github.com/iambumblehead/esmock/pull/188) + * [added mocha tests](https://github.com/iambumblehead/esmock/pull/188) * 2.0.7 _Oct.26.2022_ * [use export esmock.js,](https://github.com/iambumblehead/esmock/pull/182) rather than esmockLoader.js, as main package export * [embed resolvewithplus inside esmock,](https://github.com/iambumblehead/esmock/pull/181) to support yarn PnP, per @koshic From 28af4d8c5cdf661522c7e3e56dd94510e5c86e17 Mon Sep 17 00:00:00 2001 From: chris Date: Sat, 26 Nov 2022 10:44:49 -0800 Subject: [PATCH 3/3] increment resolvewithplus, includes @mshima patch --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c9b8ce7c..385fa3db 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "esmock", "type": "module", - "version": "2.0.8", + "version": "2.0.9", "license": "ISC", "readmeFilename": "README.md", "description": "provides native ESM import mocking for unit tests", @@ -57,7 +57,7 @@ "node": ">=14.16.0" }, "dependencies": { - "resolvewithplus": "mshima/resolvewithplus#patch-1" + "resolvewithplus": "^2.0.1" }, "devDependencies": { "c8": "^7.12.0",