From 93dfbcaef06f97a1c052ee7d3a6a2e618df0da32 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Wed, 29 Nov 2023 12:50:13 -0500 Subject: [PATCH 1/2] feat: add Mongoose 8 support re: #10 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 297482b..f826e8e 100644 --- a/package.json +++ b/package.json @@ -25,10 +25,10 @@ "acquit-markdown": "0.1.x", "istanbul": "0.4.5", "mocha": "3.2.0", - "mongoose": "7.x" + "mongoose": "8.x" }, "peerDependencies": { - "mongoose": "7.x" + "mongoose": "7.x || 8.x" }, "author": "Valeri Karpov ", "license": "Apache 2.0", From 1c1ad809793f0ac070386a8cd5caffa65a774cd1 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Thu, 30 Nov 2023 21:13:14 -0500 Subject: [PATCH 2/2] avoid running tests on Node 14 with Mongoose 8 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f4fdfc7..55e0237 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - node: [14, 16, 18] + node: [16, 18, 20] os: [ubuntu-20.04] include: - os: ubuntu-20.04