From a331d4a7d289779d28900ccb70c59f6d2f7141d3 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Wed, 14 Sep 2022 12:42:08 -0300 Subject: [PATCH] fix: accepting opossum 4.2.4 or over as optional peer dependency --- package-lock.json | 6 +++--- package.json | 9 +++++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5467477..1dce46b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6626,9 +6626,9 @@ } }, "opossum": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/opossum/-/opossum-6.3.0.tgz", - "integrity": "sha512-youR7pMTpgnbPJEPruM8Ku1WKUXnjmsK99GC5fkGFrOK8jduY1hvMiooUa3QZg6Xdso03skr37q6Evpt9PZ2cA==", + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/opossum/-/opossum-4.2.4.tgz", + "integrity": "sha512-3ikHRINNfDlkaNn5tGvSmFfATxO+bpQAyqMbTOpmyVoJXqTdp/ObfG4Yk6Zq0/XqorROajFmMJ1vT8fUSXwsng==", "dev": true }, "optionator": { diff --git a/package.json b/package.json index 4b3203e..14dfb61 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,12 @@ "keywords": [], "license": "MIT", "peerDependencies": { - "opossum": "^6.3.0" + "opossum": ">=4.2.4" + }, + "peerDependenciesMeta": { + "opossum": { + "optional": true + } }, "devDependencies": { "@codibre/confs": "1.1.0", @@ -91,7 +96,7 @@ "husky": "^7.0.4", "jest": "^27.5.1", "jest-callslike": "^0.2.0", - "opossum": "^6.3.0", + "opossum": "^4.2.4", "prettier": "^2.4.1", "redis-mock": "^0.56.3", "ts-jest": "^27.0.5",