Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency on JSV breaks electron-builder #118

Open
rdev opened this issue Sep 26, 2018 · 1 comment
Open

Dependency on JSV breaks electron-builder #118

rdev opened this issue Sep 26, 2018 · 1 comment

Comments

@rdev
Copy link

rdev commented Sep 26, 2018

Running electron-builder fails in projects that have jsonlint dependency, because jsonlint depends on JSV which has broken "dependencies" field causing electron-builder to freak out and crash.

JSV hasn't been updated in 7 years and is seemingly abandoned (the PR fixing the dependencies field has been open since July), it's probably not a good idea to depend on it

@prantlf
Copy link

prantlf commented May 19, 2019

I needed some bugfixes and extensions to jsonlint and did them in my fork. I released the changes as a new NPM module @prantlf/jsonlint. Replacing the JSV validator with ajv, which supports JSON Schema drafts 04, 06 and 07, was one of them. I dropped the support for draft 03, which is not available in ajv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants