Skip to content

Commit

Permalink
fix: lodash.isequal runtime error
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cmars committed Mar 18, 2022
1 parent e199d75 commit bd7f5aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down

0 comments on commit bd7f5aa

Please sign in to comment.