garycourt / JSV

A JavaScript implementation of an extendable, fully compliant JSON Schema validator.
618 stars 84 forks source link

Update package.json dependencies type #99

Open TaeKimJR opened 4 years ago

TaeKimJR commented 4 years ago

The dependencies field of the package.json was a type of array, but npm specifies it as an object type.

This came up as I was trying to use electron-builder and others saw a similar issue with other packages: https://github.com/electron-userland/electron-builder/issues/3050

bribrah commented 3 years ago

Can you pleeeaaasssseee merge this

vcgupta commented 3 years ago

This needs to be merged as many times build fails because of this. Please merge

lihaiJett commented 3 years ago

please merge

ssleptsov commented 3 years ago

@lihaiJett @vcgupta @bribrah if you still need it, I have pushed a fixed version of it https://www.npmjs.com/package/jsv-fixed

1AoB commented 3 months ago

⨯ node_modules.Dependency.Dependencies: ReadMapCB: expect { or n, but found [, error found in #10 byte of ...|ncies" : [], "main|..., bigger context ...|/garycourt/JSV.git" } ], "dependencies" : [], "main" : "lib/jsv.js", "keywords" : ["json"|...