sindresorhus / electron-store

Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc
MIT License
4.61k stars 150 forks source link

Ajv is in strict mode #237

Open tganzhorn opened 2 years ago

tganzhorn commented 2 years ago

Ajv updated its default values for the strict mode, resulting in a thrown error when using validation keywords it doesnt know.

Solution propositions:

  1. Fix conf package by disabling strict mode.
  2. Let the user decide if he wants strict mode enabled. (I guess thats kinda harder to achieve. Fix conf -> fix electron-store)