From 5cbbeb23a5f5f645316cb0c54ab7c20e7fba5023 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 23 Aug 2022 01:19:15 -0700 Subject: [PATCH 1/3] drop node v12 support --- .github/workflows/node.js.yml | 2 +- CHANGELOG.md | 3 ++- package.json | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 15decfc7..3e1232bd 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -15,7 +15,7 @@ jobs: timeout-minutes: 5 strategy: matrix: - node-version: [12.x, 14.x, 16.x, 18.x] + node-version: [14.x, 16.x, 18.x] os: [ubuntu-latest, windows-latest] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ diff --git a/CHANGELOG.md b/CHANGELOG.md index fd1ea968..12856e0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,8 @@ * 1.9.6 _Aug.24.2022_ * support parent url to facilitate sourcemap usage, [113](https://github.com/iambumblehead/esmock/issues/113) * support import subpaths, eg `import: { '#sub': './path.js' }` - * 1.9.5 _Aug.19.2022_ + * drop support for node 12 and remove node 12 ci pipeline + * 1.9.5 _Aug.19.2022_a * support cjs packges that define [main relative directory only](https://github.com/iambumblehead/esmock/issues/119) * 1.9.4 _Aug.15.2022_ * support core modules [w/ node: prefix](https://github.com/iambumblehead/resolvewithplus/pull/27), credit @gmahomarf diff --git a/package.json b/package.json index 1ddaa9db..e8e6d3a2 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,9 @@ "proxyquire", "rewire" ], + "engines": { + "node": ">=14.16.0" + }, "dependencies": { "resolvewithplus": "^0.9.0" }, From 3ec268ac272ed7b51bf1272872b4f48c6e0b6aa9 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 23 Aug 2022 01:20:42 -0700 Subject: [PATCH 2/3] remove accidentally added 'a' char --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12856e0c..1d08af4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ * support parent url to facilitate sourcemap usage, [113](https://github.com/iambumblehead/esmock/issues/113) * support import subpaths, eg `import: { '#sub': './path.js' }` * drop support for node 12 and remove node 12 ci pipeline - * 1.9.5 _Aug.19.2022_a + * 1.9.5 _Aug.19.2022_ * support cjs packges that define [main relative directory only](https://github.com/iambumblehead/esmock/issues/119) * 1.9.4 _Aug.15.2022_ * support core modules [w/ node: prefix](https://github.com/iambumblehead/resolvewithplus/pull/27), credit @gmahomarf From 527bcb2c3191b1b28193ece0209f562ec0269a78 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 23 Aug 2022 01:27:16 -0700 Subject: [PATCH 3/3] increase timeout to 6 minutes (from 5 minutes) --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 3e1232bd..33a55c9e 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -12,7 +12,7 @@ on: jobs: build: runs-on: ${{ matrix.os }} - timeout-minutes: 5 + timeout-minutes: 6 strategy: matrix: node-version: [14.x, 16.x, 18.x]