Skip to content

Commit

Permalink
Fix node warning when running cli.js caused by dependency
Browse files Browse the repository at this point in the history
The previously used version of the `prompt` dependency apparently had
a problem with a circular import, resulting in an error message such as

> Warning: Accessing non-existent property 'padLevels' of module
> exports inside circular dependency

when running the `cli.js` script. While it's unclear whether this
caused any functional issues, it's fixed in v1.2 of `prompt`.

Fixes getodk#419
  • Loading branch information
Lucas Jenss authored and x3ro committed Oct 24, 2021
1 parent c282547 commit 25f6c31
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 70 deletions.
90 changes: 21 additions & 69 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"odata-v4-parser": "~0.1",
"pg": "~8",
"pg-query-stream": "~4",
"prompt": "~1",
"prompt": "^1.2.0",
"ramda": "~0",
"sanitize-filename": "~1",
"slonik": "~23",
Expand Down

0 comments on commit 25f6c31

Please sign in to comment.