Skip to content

Commit

Permalink
Bump zod from 3.23.5 to 3.23.6 (#793)
Browse files Browse the repository at this point in the history
* Bump zod from 3.23.5 to 3.23.6

Bumps [zod](https://github.com/colinhacks/zod) from 3.23.5 to 3.23.6.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](colinhacks/zod@v3.23.5...v3.23.6)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* `pnpm install && pnpm run build`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kenichi Kamiya <kachick1@gmail.com>
  • Loading branch information
dependabot[bot] and kachick authored May 7, 2024
1 parent 7d23ec0 commit db82e18
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
13 changes: 8 additions & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23309,7 +23309,7 @@ var ansi_styles_default = ansiStyles;
var import_core = __toESM(require_core(), 1);
var import_github = __toESM(require_github(), 1);

// node_modules/.pnpm/zod@3.23.5/node_modules/zod/lib/index.mjs
// node_modules/.pnpm/zod@3.23.6/node_modules/zod/lib/index.mjs
var util;
(function(util2) {
util2.assertEqual = (val) => val;
Expand Down Expand Up @@ -26987,10 +26987,13 @@ var ZodPipeline = class _ZodPipeline extends ZodType {
var ZodReadonly = class extends ZodType {
_parse(input) {
const result = this._def.innerType._parse(input);
if (isValid(result)) {
result.value = Object.freeze(result.value);
}
return result;
const freeze = (data) => {
if (isValid(data)) {
data.value = Object.freeze(data.value);
}
return data;
};
return isAsync(result) ? result.then((data) => freeze(data)) : freeze(result);
}
unwrap() {
return this._def.innerType;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@octokit/graphql-schema": "^15.15.0",
"@octokit/plugin-paginate-graphql": "^5.2.2",
"ansi-styles": "^6.2.1",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit db82e18

Please sign in to comment.