From ad6d85289f9bf2ece9919174278ccb336ecf5017 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 14 Jun 2024 19:44:09 +0200 Subject: [PATCH 1/2] Update `conf` --- package.json | 10 +++++----- readme.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index e1a9f18..7311f8b 100644 --- a/package.json +++ b/package.json @@ -43,13 +43,13 @@ "save" ], "dependencies": { - "conf": "^12.0.0", - "type-fest": "^4.18.1" + "conf": "^13.0.0", + "type-fest": "^4.20.0" }, "devDependencies": { - "ava": "^6.1.2", - "electron": "^30.0.1", - "execa": "^8.0.1", + "ava": "^6.1.3", + "electron": "^31.0.1", + "execa": "^9.2.0", "tsd": "^0.31.0", "xo": "^0.58.0" }, diff --git a/readme.md b/readme.md index d84d9a5..84b0fd3 100644 --- a/readme.md +++ b/readme.md @@ -64,7 +64,7 @@ type: `object` [JSON Schema](https://json-schema.org) to validate your config data. -Under the hood, the JSON Schema validator [ajv](https://github.com/epoberezkin/ajv) is used to validate your config. We use [JSON Schema draft-07](http://json-schema.org/latest/json-schema-validation.html) and support all [validation keywords](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md) and [formats](https://github.com/epoberezkin/ajv#formats). +Under the hood, the JSON Schema validator [ajv](https://ajv.js.org/json-schema.html) is used to validate your config. We use [JSON Schema draft-2020-12](https://json-schema.org/draft/2020-12/release-notes) and support all validation keywords and formats. You should define your schema as an object where each key is the name of your data's property and each value is a JSON schema used to validate that property. See more [here](https://json-schema.org/understanding-json-schema/reference/object.html#properties). From 2c5d66bb9bd8e4511ccae7ee6b7de3e27ada87e6 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 14 Jun 2024 19:45:17 +0200 Subject: [PATCH 2/2] 10.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7311f8b..04ecf45 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "electron-store", - "version": "9.0.0", + "version": "10.0.0", "description": "Simple data persistence for your Electron app or module - Save and load user settings, app state, cache, etc", "license": "MIT", "repository": "sindresorhus/electron-store",