From 153817ff7ad0c111357a1039c789bc4c65bcaca9 Mon Sep 17 00:00:00 2001 From: Inaiat Moraes Date: Wed, 25 Sep 2024 10:09:31 -0300 Subject: [PATCH 1/2] fix: SimpleDocFailedValidationError exports --- BUILD_SHA | 2 +- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- src/index.ts | 3 +-- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/BUILD_SHA b/BUILD_SHA index 5ad38f1..4695c43 100644 --- a/BUILD_SHA +++ b/BUILD_SHA @@ -1 +1 @@ -f7f7fcdacfb4987ebad5e471233a1f1646210d9c +5b519fd0c559c76a5de4cdacbb55651a17d98fbe diff --git a/package.json b/package.json index 9ce8cff..3198c2e 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ }, "devDependencies": { "@eslint/js": "^9.11.1", - "@types/node": "^22.6.1", + "@types/node": "^22.7.0", "@types/semver": "^7.5.8", "c8": "10.1.2", "dprint": "^0.47.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cb6fa80..2cb496a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -22,8 +22,8 @@ importers: specifier: ^9.11.1 version: 9.11.1 '@types/node': - specifier: ^22.6.1 - version: 22.6.1 + specifier: ^22.7.0 + version: 22.7.0 '@types/semver': specifier: ^7.5.8 version: 7.5.8 @@ -477,8 +477,8 @@ packages: '@types/json5@0.0.29': resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} - '@types/node@22.6.1': - resolution: {integrity: sha512-V48tCfcKb/e6cVUigLAaJDAILdMP0fUW6BidkPK4GpGjXcfbnoHasCZDwz3N3yVt5we2RHm4XTQCpv0KJz9zqw==} + '@types/node@22.7.0': + resolution: {integrity: sha512-MOdOibwBs6KW1vfqz2uKMlxq5xAfAZ98SZjO8e3XnAbFnTJtAspqhWk7hrdSAs9/Y14ZWMiy7/MxMUzAOadYEw==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -2527,7 +2527,7 @@ snapshots: '@types/json5@0.0.29': {} - '@types/node@22.6.1': + '@types/node@22.7.0': dependencies: undici-types: 6.19.8 diff --git a/src/index.ts b/src/index.ts index 31449c0..0727d9f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,9 +5,8 @@ export type { PropertiesNotSatisfied, PropertyDetail, SimpleDocFailedValidation, - SimpleDocFailedValidationError, } from './simple-doc-failed-validation.js' -export { tryExtractSimpleDocFailedValidation } from './simple-doc-failed-validation.js' +export { SimpleDocFailedValidationError, tryExtractSimpleDocFailedValidation } from './simple-doc-failed-validation.js' export type { FastifyPapr, FastifyPaprOptions, ModelRegistration, ModelRegistrationPair } from './types.js' From 10129a70d67bc46148ae078e85634da56743d26b Mon Sep 17 00:00:00 2001 From: Inaiat Moraes Date: Wed, 25 Sep 2024 10:10:27 -0300 Subject: [PATCH 2/2] chore: bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3198c2e..7d0b82b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@inaiat/fastify-papr", - "version": "8.0.0", + "version": "8.0.1", "description": "Fastify Papr Plugin Integration", "type": "module", "engines": {