From f2fc4fbf3cddc15af63cad1b022d135a0032a742 Mon Sep 17 00:00:00 2001 From: "mazi-renovate[bot]" <161091290+mazi-renovate[bot]@users.noreply.github.com> Date: Fri, 20 Sep 2024 16:14:23 +0000 Subject: [PATCH] deps: bump valibot from 0.42.0 to 0.42.1 | datasource | package | from | to | | ---------- | ------- | ------ | ------ | | npm | valibot | 0.42.0 | 0.42.1 | --- dist/index.js | 15 ++++++++------- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/dist/index.js b/dist/index.js index 4a618a1..2fb4893 100644 --- a/dist/index.js +++ b/dist/index.js @@ -29397,7 +29397,7 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getRef = void 0; -const v = __importStar(__nccwpck_require__(5238)); +const v = __importStar(__nccwpck_require__(1175)); const schema_1 = __nccwpck_require__(3731); const utils_1 = __nccwpck_require__(1356); const getRef = ({ eventName, payload }) => { @@ -29460,7 +29460,7 @@ exports.getRef = getRef; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.NullableStringSchema = exports.OptionalStringSchema = exports.StringSchema = void 0; -const valibot_1 = __nccwpck_require__(5238); +const valibot_1 = __nccwpck_require__(1175); exports.StringSchema = (0, valibot_1.string)(); exports.OptionalStringSchema = (0, valibot_1.optional)((0, valibot_1.string)()); exports.NullableStringSchema = (0, valibot_1.nullable)((0, valibot_1.string)()); @@ -31317,7 +31317,7 @@ module.exports = parseParams /***/ }), -/***/ 5238: +/***/ 1175: /***/ ((module) => { "use strict"; @@ -31721,7 +31721,6 @@ function _addIssue(context, label, dataset, config2, other) { expected, received, message: `Invalid ${label}: ${expected ? `Expected ${expected} but r` : "R"}eceived ${received}`, - // @ts-expect-error requirement: context.requirement, path: other?.path, issues: other?.issues, @@ -31730,10 +31729,12 @@ function _addIssue(context, label, dataset, config2, other) { abortPipeEarly: config2.abortPipeEarly }; const isSchema = context.kind === "schema"; - const message = other?.message ?? // @ts-expect-error - context.message ?? getSpecificMessage(context.reference, issue.lang) ?? (isSchema ? getSchemaMessage(issue.lang) : null) ?? config2.message ?? getGlobalMessage(issue.lang); + const message = other?.message ?? context.message ?? getSpecificMessage(context.reference, issue.lang) ?? (isSchema ? getSchemaMessage(issue.lang) : null) ?? config2.message ?? getGlobalMessage(issue.lang); if (message) { - issue.message = typeof message === "function" ? message(issue) : message; + issue.message = typeof message === "function" ? ( + // @ts-expect-error + message(issue) + ) : message; } if (isSchema) { dataset.typed = false; diff --git a/package.json b/package.json index d471fa0..86435d5 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "dependencies": { "@actions/core": "1.10.1", "@actions/github": "6.0.0", - "valibot": "0.42.0" + "valibot": "0.42.1" }, "devDependencies": { "@eslint/js": "9.10.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 29598fa..894e07d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ importers: specifier: 6.0.0 version: 6.0.0 valibot: - specifier: 0.42.0 - version: 0.42.0(typescript@5.6.2) + specifier: 0.42.1 + version: 0.42.1(typescript@5.6.2) devDependencies: '@eslint/js': specifier: 9.10.0 @@ -1909,8 +1909,8 @@ packages: resolution: {integrity: sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==} engines: {node: '>=10.12.0'} - valibot@0.42.0: - resolution: {integrity: sha512-igMdmHXxDiQY714ssh9bGisMqJ2yg7sko1KOmv/omnrIacGtP6mGrbvVT1IuV1bDrHyG9ybgpHwG1UElDiDCLg==} + valibot@0.42.1: + resolution: {integrity: sha512-3keXV29Ar5b//Hqi4MbSdV7lfVp6zuYLZuA9V1PvQUsXqogr+u5lvLPLk3A4f74VUXDnf/JfWMN6sB+koJ/FFw==} peerDependencies: typescript: '>=5' peerDependenciesMeta: @@ -4169,7 +4169,7 @@ snapshots: '@types/istanbul-lib-coverage': 2.0.6 convert-source-map: 2.0.0 - valibot@0.42.0(typescript@5.6.2): + valibot@0.42.1(typescript@5.6.2): optionalDependencies: typescript: 5.6.2