diff --git a/.gitignore b/.gitignore index ec49f50..e6c82e1 100644 --- a/.gitignore +++ b/.gitignore @@ -107,3 +107,5 @@ package-lock.json ignore/ out config.yml +.release/ +.release/ diff --git a/.release b/.release index 648aa35..e0a2d64 160000 --- a/.release +++ b/.release @@ -1 +1 @@ -Subproject commit 648aa356cba200c1a46f4bda9e29871d1e9ba557 +Subproject commit e0a2d645d6ee9da2588a72e6004c547289ecc381 diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a9338b..1e7688c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/). ### Unreleased +### [0.8.7] - 2026-03-25 + +- convert to ESM (#18) + ### [0.8.5] - 2026-03-15 - zone.GET_req: add search params @@ -112,3 +116,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/). [0.8.3]: https://github.com/NicTool/validate/releases/tag/v0.8.3 [0.8.4]: https://github.com/NicTool/validate/releases/tag/v0.8.4 [0.8.5]: https://github.com/NicTool/validate/releases/tag/v0.8.5 +[0.8.7]: https://github.com/NicTool/validate/releases/tag/v0.8.7 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index e1fe672..d87d9c7 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -2,7 +2,7 @@ This handcrafted artisanal software is brought to you by: -|
msimerson (24) | +|
msimerson (26) | | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | this file is generated by [.release](https://github.com/msimerson/.release). diff --git a/lib/nameserver.js b/lib/nameserver.js index d9188d1..2514ada 100644 --- a/lib/nameserver.js +++ b/lib/nameserver.js @@ -10,7 +10,15 @@ export const name = Joi.string() .domain({ allowFullyQualified: true, tlds: false }) .pattern(/\.$/) -export const type = Joi.string().valid('bind', 'djbdns', 'knot', 'nsd', 'maradns', 'powerdns', 'dynect') +export const type = Joi.string().valid( + 'bind', + 'djbdns', + 'knot', + 'nsd', + 'maradns', + 'powerdns', + 'dynect', +) export const remote_login = Joi.string().empty('').max(127) diff --git a/package.json b/package.json index c65b82f..309dcf2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nictool/validate", - "version": "0.8.5", + "version": "0.8.7", "description": "NicTool Object Validation", "type": "module", "files": [ @@ -26,9 +26,10 @@ "prettier:fix": "npx prettier --ignore-path .gitignore --write .", "test": "node --test", "test:only": "node --test --test-only", - "versions": "npx dependency-version-checker check", - "versions:fix": "npx dependency-version-checker update", - "watch": "node --test --watch" + "versions": "npx npm-dep-mgr check", + "versions:fix": "npx npm-dep-mgr update", + "watch": "node --test --watch", + "test:coverage": "npx c8 --reporter=text --reporter=text-summary npm test" }, "repository": { "type": "git",