From f8dc38ec5bc7155e965a07213337386b057b26cf Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 16 Dec 2024 12:49:04 -0800 Subject: [PATCH 1/9] doc(CONTRIBUTORS): added --- .release | 2 +- CONTRIBUTORS.md | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 CONTRIBUTORS.md diff --git a/.release b/.release index 2c9d138..afb1db8 160000 --- a/.release +++ b/.release @@ -1 +1 @@ -Subproject commit 2c9d1384a3929cd4199fbcbc6519959c44381e25 +Subproject commit afb1db801607dda5e859f39b600f0dd0111e4651 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md new file mode 100644 index 0000000..5df7834 --- /dev/null +++ b/CONTRIBUTORS.md @@ -0,0 +1,8 @@ +# Contributors + +This handcrafted artisinal software is brought to you by: + +|
msimerson (20)| +| :---: | + +this file is maintained by [.release](https://github.com/msimerson/.release) From f34bcfba5ef44d7dca82d26e6803613f1634cf9b Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 16 Dec 2024 12:51:08 -0800 Subject: [PATCH 2/9] dep(eslint): bump to 8.57.1 - dep(joi): bump to 17.3.3 --- CHANGELOG.md | 18 ++++++++++++++++++ package.json | 6 +++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db047cc..78152b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,16 @@ +# Changelog + +The format is based on [Keep a Changelog](https://keepachangelog.com/). + # CHANGES ### Unreleased +### [0.8.1] - 2024-12-16 + +- dep(eslint): bump to 8.57.1 +- dep(joi): bump to 17.3.3 + ### [0.8.0] - 2024-03-06 - feat(nameserver): added GET_req, GET_res, POST, DELETE @@ -57,3 +66,12 @@ [0.7.3]: https://github.com/NicTool/validate/releases/tag/0.7.3 [0.7.4]: https://github.com/NicTool/validate/releases/tag/0.7.4 [0.8.0]: https://github.com/NicTool/validate/releases/tag/0.8.0 +[0.8.1]: https://github.com/NicTool/validate/releases/tag/v0.8.1 +[0.1.0]: https://github.com/NicTool/validate/releases/tag/0.1.0 +[0.1.1]: https://github.com/NicTool/validate/releases/tag/0.1.1 +[0.3.0]: https://github.com/NicTool/validate/releases/tag/0.3.0 +[0.4.0]: https://github.com/NicTool/validate/releases/tag/0.4.0 +[0.5.0]: https://github.com/NicTool/validate/releases/tag/0.5.0 +[0.6.0]: https://github.com/NicTool/validate/releases/tag/0.6.0 +[0.6.1]: https://github.com/NicTool/validate/releases/tag/0.6.1 +[1.0.0]: https://github.com/NicTool/validate/releases/tag/1.0.0 diff --git a/package.json b/package.json index 38b5cbb..2f56cab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nictool/validate", - "version": "0.8.0", + "version": "0.8.1", "description": "NicTool Object Validation", "main": "index.js", "directories": { @@ -34,11 +34,11 @@ }, "homepage": "https://github.com/NicTool/validate#readme", "devDependencies": { - "eslint": "^8.56.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0" }, "dependencies": { - "joi": "^17.12.2", + "joi": "^17.13.3", "joi-password": "^4.2.0" } } From b19bbf300edc58f453b45cebb083f81e96a7d176 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 16 Dec 2024 12:51:17 -0800 Subject: [PATCH 3/9] chore: format --- CONTRIBUTORS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 5df7834..b1695d4 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -2,7 +2,7 @@ This handcrafted artisinal software is brought to you by: -|
msimerson (20)| -| :---: | +|
msimerson (20) | +| :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | this file is maintained by [.release](https://github.com/msimerson/.release) From 23a96e168560fbc26144eb07f46c9c7809e53408 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 16 Dec 2024 12:54:32 -0800 Subject: [PATCH 4/9] doc(changelog): update --- CHANGELOG.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78152b4..c7cccd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,6 +59,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/). - feat: import user & group tests from v2 - add group & permission +[0.1.0]: https://github.com/NicTool/validate/releases/tag/0.1.0 +[0.1.1]: https://github.com/NicTool/validate/releases/tag/0.1.1 +[0.3.0]: https://github.com/NicTool/validate/releases/tag/0.3.0 +[0.4.0]: https://github.com/NicTool/validate/releases/tag/0.4.0 +[0.5.0]: https://github.com/NicTool/validate/releases/tag/0.5.0 +[0.6.0]: https://github.com/NicTool/validate/releases/tag/0.6.0 +[0.6.1]: https://github.com/NicTool/validate/releases/tag/0.6.1 [0.6.3]: https://github.com/NicTool/validate/releases/tag/0.6.3 [0.7.0]: https://github.com/NicTool/validate/releases/tag/0.7.0 [0.7.1]: https://github.com/NicTool/validate/releases/tag/0.7.1 @@ -67,11 +74,3 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/). [0.7.4]: https://github.com/NicTool/validate/releases/tag/0.7.4 [0.8.0]: https://github.com/NicTool/validate/releases/tag/0.8.0 [0.8.1]: https://github.com/NicTool/validate/releases/tag/v0.8.1 -[0.1.0]: https://github.com/NicTool/validate/releases/tag/0.1.0 -[0.1.1]: https://github.com/NicTool/validate/releases/tag/0.1.1 -[0.3.0]: https://github.com/NicTool/validate/releases/tag/0.3.0 -[0.4.0]: https://github.com/NicTool/validate/releases/tag/0.4.0 -[0.5.0]: https://github.com/NicTool/validate/releases/tag/0.5.0 -[0.6.0]: https://github.com/NicTool/validate/releases/tag/0.6.0 -[0.6.1]: https://github.com/NicTool/validate/releases/tag/0.6.1 -[1.0.0]: https://github.com/NicTool/validate/releases/tag/1.0.0 From b7f54a7f685d424bf91b966c97deaa591db5ea2d Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 16 Dec 2024 14:20:43 -0800 Subject: [PATCH 5/9] dep(eslint): upgrade to v9 --- .eslintrc.yml | 14 -------------- eslint.config.mjs | 24 ++++++++++++++++++++++++ package.json | 7 +++++-- 3 files changed, 29 insertions(+), 16 deletions(-) delete mode 100644 .eslintrc.yml create mode 100644 eslint.config.mjs diff --git a/.eslintrc.yml b/.eslintrc.yml deleted file mode 100644 index 56d6de8..0000000 --- a/.eslintrc.yml +++ /dev/null @@ -1,14 +0,0 @@ -env: - node: true - mocha: true - es2020: true - es2021: true - -root: true - -extends: - - eslint:recommended - - prettier - -ignorePatterns: - - 'package-lock.json' diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..c8fcfd8 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,24 @@ +import globals from "globals"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import js from "@eslint/js"; +import { FlatCompat } from "@eslint/eslintrc"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all +}); + +export default [{ + ignores: ["**/package-lock.json"], +}, ...compat.extends("eslint:recommended", "prettier"), { + languageOptions: { + globals: { + ...globals.node, + ...globals.mocha, + }, + }, +}]; \ No newline at end of file diff --git a/package.json b/package.json index 2f56cab..c4fad3e 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,11 @@ }, "homepage": "https://github.com/NicTool/validate#readme", "devDependencies": { - "eslint": "^8.57.1", - "eslint-config-prettier": "^9.1.0" + "@eslint/eslintrc": "^3.2.0", + "eslint": "^9.17.0", + "@eslint/js": "^9.17.0", + "eslint-config-prettier": "^9.1.0", + "globals": "^15.13.0" }, "dependencies": { "joi": "^17.13.3", From 4164c79b94cf170eb07a0473e391026b329bdf5f Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 16 Dec 2024 14:37:25 -0800 Subject: [PATCH 6/9] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7cccd8..41eff46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/). ### [0.8.1] - 2024-12-16 -- dep(eslint): bump to 8.57.1 +- dep(eslint): bump to 9.17.0 - dep(joi): bump to 17.3.3 ### [0.8.0] - 2024-03-06 From 201e1f7d6d428d191da1f6981d70519f1b523b22 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 16 Dec 2024 14:56:26 -0800 Subject: [PATCH 7/9] docs: update --- CHANGELOG.md | 1 + CONTRIBUTORS.md | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41eff46..fc70cf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/). ### [0.8.1] - 2024-12-16 +- doc(CONTRIBUTORS): added - dep(eslint): bump to 9.17.0 - dep(joi): bump to 17.3.3 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index b1695d4..00f769b 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -2,7 +2,8 @@ This handcrafted artisinal software is brought to you by: -|
msimerson (20) | -| :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | +|
msimerson (20)| +| :---: | -this file is maintained by [.release](https://github.com/msimerson/.release) +this file is generated by [.release](https://github.com/msimerson/.release). +Contribute to this project to get your GitHub profile included here. From 19564ad93ffcd1d01230d94c9e98a928982d6361 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 16 Dec 2024 14:58:04 -0800 Subject: [PATCH 8/9] docs: update --- CONTRIBUTORS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 00f769b..b0adecc 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -5,5 +5,5 @@ This handcrafted artisinal software is brought to you by: |
msimerson (20)| | :---: | -this file is generated by [.release](https://github.com/msimerson/.release). -Contribute to this project to get your GitHub profile included here. +this file is generated by [.release](https://github.com/msimerson/.release). +Contribute to this project to get your GitHub profile included here. From 0514492fc2cbd6e37edf605026718e1c78b0aac1 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 16 Dec 2024 15:13:01 -0800 Subject: [PATCH 9/9] update release --- .release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.release b/.release index afb1db8..80c3d1a 160000 --- a/.release +++ b/.release @@ -1 +1 @@ -Subproject commit afb1db801607dda5e859f39b600f0dd0111e4651 +Subproject commit 80c3d1a67344cc321e054a23a8b4ae59b284909a