From bd7f5aa0172d44efcdd55ffea89c57d0b25d6cf8 Mon Sep 17 00:00:00 2001 From: Casey Marshall Date: Fri, 18 Mar 2022 17:30:11 -0500 Subject: [PATCH] fix: lodash.isequal runtime error Execution of `sweater-comb compare` was failing on a runtime error: ``` internal/modules/cjs/loader.js:905 throw err; ^ Error: Cannot find module 'lodash.isequal' Require stack: ``` without this change. Let the record show I am not a fan of bundled dependencies, but it's necessary here due to the conflicts between ajv 6 and 8, both dependencies of many common tools. --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 1d9fceca..eb2d021e 100644 --- a/package.json +++ b/package.json @@ -51,12 +51,14 @@ "chai": "^4.3.4", "change-case": "^4.1.2", "fs-extra": "^10.0.0", + "lodash.isequal": "^4.5.0", "nice-try": "^3.0.0", "yargs": "^17.3.0" }, "bundledDependencies": [ "@useoptic/api-checks", "@useoptic/json-pointer-helpers", + "@useoptic/openapi-cli", "@useoptic/openapi-io", "@useoptic/openapi-utilities" ],