Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Zod & Zod-to-Json-Schema, fix imports #4041

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

StefanTerdell
Copy link
Contributor

The version for zod-to-json-schema was originally pinned to solve #3340. This was reported and fixed in the zod-to-json-schema repo in this issue: StefanTerdell/zod-to-json-schema#94

Based on the likeliness of this being the culprit I've bumped it and Zod for good measure. Also fixed some broken type imports.

All tests pass and it works on my machineTM

Fixes #4021 and #3983

Copy link

vercel bot commented Jan 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2024 7:06pm
langchainjs-docs ✅ Ready (Inspect) Visit Preview Jan 16, 2024 7:06pm

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. auto:improvement Medium size change to existing code to handle new use-cases labels Jan 16, 2024
@@ -70,8 +70,8 @@
"vectordb": "^0.1.4",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed that the dependency versions for "zod" and "zod-to-json-schema" have been updated in the package.json file. This comment is to flag the change for maintainers to review. Great work on the PR!

@@ -43,8 +43,8 @@
"p-queue": "^6.6.2",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed that the dependency versions for "zod" and "zod-to-json-schema" have been updated in the package.json file. This is just a heads up for the maintainers to review the changes. Keep up the great work!

@@ -1217,8 +1217,8 @@
"p-retry": "4",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed that the package.json file has some updates to the dependencies for langchainjs, specifically the "zod" and "zod-to-json-schema" packages. These changes may impact the project's dependencies, so I'm flagging this for your review as a friendly heads-up. Keep up the great work!

@@ -38,8 +38,8 @@
"@langchain/core": "~0.1.13",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed that the dependency versions for "zod" and "zod-to-json-schema" have been updated in the package.json file. This change may impact the project's hard dependencies, so I'm flagging it for the maintainers to review. Keep up the great work!

@jacoblee93
Copy link
Collaborator

Looks good, thank you for updating imports too!

@jacoblee93 jacoblee93 added the lgtm PRs that are ready to be merged as-is label Jan 17, 2024
@jacoblee93 jacoblee93 merged commit ff8dbc6 into langchain-ai:main Jan 17, 2024
nicolewhite referenced this pull request in autoblocksai/javascript-sdk Jan 22, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [langchain](https://togithub.com/langchain-ai/langchainjs) | [`0.1.3`
-> `0.1.5`](https://renovatebot.com/diffs/npm/langchain/0.1.3/0.1.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/langchain/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/langchain/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/langchain/0.1.3/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/langchain/0.1.3/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [openai](https://togithub.com/openai/openai-node) | [`4.24.7` ->
`4.25.0`](https://renovatebot.com/diffs/npm/openai/4.24.7/4.25.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/openai/4.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/openai/4.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/openai/4.24.7/4.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/openai/4.24.7/4.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [prettier](https://prettier.io)
([source](https://togithub.com/prettier/prettier)) | [`3.2.2` ->
`3.2.4`](https://renovatebot.com/diffs/npm/prettier/3.2.2/3.2.4) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.2.2/3.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.2.2/3.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [ts-jest](https://kulshekhar.github.io/ts-jest)
([source](https://togithub.com/kulshekhar/ts-jest)) | [`29.1.1` ->
`29.1.2`](https://renovatebot.com/diffs/npm/ts-jest/29.1.1/29.1.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/ts-jest/29.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ts-jest/29.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ts-jest/29.1.1/29.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ts-jest/29.1.1/29.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>langchain-ai/langchainjs (langchain)</summary>

###
[`v0.1.5`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.1.5)

[Compare
Source](https://togithub.com/langchain-ai/langchainjs/compare/0.1.4...0.1.5)

#### What's Changed

- langchain\[patch]: Release 0.1.4 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4072](https://togithub.com/langchain-ai/langchainjs/pull/4072)
- Add Pinecone integration by
[@&#8203;zackproser](https://togithub.com/zackproser) in
[https://github.com/langchain-ai/langchainjs/pull/4062](https://togithub.com/langchain-ai/langchainjs/pull/4062)
- langchain\[patch], community\[patch]: Allow Anthropic models to handle
function messages by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4076](https://togithub.com/langchain-ai/langchainjs/pull/4076)
- docs\[minor]: Autogenerate typedoc config, add to gitignore. by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/4079](https://togithub.com/langchain-ai/langchainjs/pull/4079)
- all\[patch]: Run prettier on scripts folders too by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/4080](https://togithub.com/langchain-ai/langchainjs/pull/4080)
- community\[patch]: Add fallback for missing metadata in Redis
documents by [@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4085](https://togithub.com/langchain-ai/langchainjs/pull/4085)
- core\[minor]: Buffer the first chunk on .stream() calls to catch
streaming errors immediately on startup by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4083](https://togithub.com/langchain-ai/langchainjs/pull/4083)
- langchain\[minor]: update sql_utils: add schema for mssql by
[@&#8203;therajatg](https://togithub.com/therajatg) in
[https://github.com/langchain-ai/langchainjs/pull/4006](https://togithub.com/langchain-ai/langchainjs/pull/4006)
- langchain\[patch]: Correcting token text-splitting behavior by
[@&#8203;matthewdparker](https://togithub.com/matthewdparker) in
[https://github.com/langchain-ai/langchainjs/pull/4078](https://togithub.com/langchain-ai/langchainjs/pull/4078)
- core\[patch]: Release 0.1.17 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4088](https://togithub.com/langchain-ai/langchainjs/pull/4088)
- community\[patch]: Release 0.0.19 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4089](https://togithub.com/langchain-ai/langchainjs/pull/4089)
- langchain\[patch]: Increase remote runnable default timeout by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4090](https://togithub.com/langchain-ai/langchainjs/pull/4090)
- all\[patch]: add prettier config files by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/4087](https://togithub.com/langchain-ai/langchainjs/pull/4087)
- scripts\[major]: Add LangChain scripts package by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/4093](https://togithub.com/langchain-ai/langchainjs/pull/4093)
- scripts\[patch]: Revert version back to 0 by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/4101](https://togithub.com/langchain-ai/langchainjs/pull/4101)
- Release `@langchain/scripts` 0.0.1 by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/4102](https://togithub.com/langchain-ai/langchainjs/pull/4102)
- fixed issue
[#&#8203;4097](https://togithub.com/langchain-ai/langchainjs/issues/4097)
by [@&#8203;ritvikPuranik](https://togithub.com/ritvikPuranik) in
[https://github.com/langchain-ai/langchainjs/pull/4098](https://togithub.com/langchain-ai/langchainjs/pull/4098)
- langchain\[patch]: Allow headers to be passed in remote runnable
requests, docs by [@&#8203;jacoblee93](https://togithub.com/jacoblee93)
in
[https://github.com/langchain-ai/langchainjs/pull/4107](https://togithub.com/langchain-ai/langchainjs/pull/4107)
- langchain\[patch]: Release 0.1.5 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4108](https://togithub.com/langchain-ai/langchainjs/pull/4108)

#### New Contributors

- [@&#8203;therajatg](https://togithub.com/therajatg) made their first
contribution in
[https://github.com/langchain-ai/langchainjs/pull/4006](https://togithub.com/langchain-ai/langchainjs/pull/4006)
- [@&#8203;matthewdparker](https://togithub.com/matthewdparker) made
their first contribution in
[https://github.com/langchain-ai/langchainjs/pull/4078](https://togithub.com/langchain-ai/langchainjs/pull/4078)
- [@&#8203;ritvikPuranik](https://togithub.com/ritvikPuranik) made their
first contribution in
[https://github.com/langchain-ai/langchainjs/pull/4098](https://togithub.com/langchain-ai/langchainjs/pull/4098)

**Full Changelog**:
langchain-ai/langchainjs@0.1.4...0.1.5

###
[`v0.1.4`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.1.4)

[Compare
Source](https://togithub.com/langchain-ai/langchainjs/compare/0.1.3...0.1.4)

#### What's Changed

- langchain\[patch]: Release 0.1.3 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4031](https://togithub.com/langchain-ai/langchainjs/pull/4031)
- core\[minor]: Add ability for runnable passthrough to call a func by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3998](https://togithub.com/langchain-ai/langchainjs/pull/3998)
- core\[patch]: Allow runnable func to have async by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/4033](https://togithub.com/langchain-ai/langchainjs/pull/4033)
- core\[patch]: Fix return type of .pipe() by
[@&#8203;nfcampos](https://togithub.com/nfcampos) in
[https://github.com/langchain-ai/langchainjs/pull/4032](https://togithub.com/langchain-ai/langchainjs/pull/4032)
- core\[patch]: Release 0.1.14 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4040](https://togithub.com/langchain-ai/langchainjs/pull/4040)
- Populate streamed_output for all runs handled by
transformStreamWithConfig by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4042](https://togithub.com/langchain-ai/langchainjs/pull/4042)
- all\[patch]: Fix `yarn lint:fix` everywhere, add to turbo by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/4045](https://togithub.com/langchain-ai/langchainjs/pull/4045)
- core\[minor]: Fix configs not getting passes into all batch
invocations by [@&#8203;bracesproul](https://togithub.com/bracesproul)
in
[https://github.com/langchain-ai/langchainjs/pull/4047](https://togithub.com/langchain-ai/langchainjs/pull/4047)
- core\[patch]: Suppress run map warnings by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4051](https://togithub.com/langchain-ai/langchainjs/pull/4051)
- core\[patch]: Refactor patchConfig method and add ensureConfig by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4048](https://togithub.com/langchain-ai/langchainjs/pull/4048)
- core\[patch]: Use new batch maxConcurrency parameter in runnable
config by [@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4052](https://togithub.com/langchain-ai/langchainjs/pull/4052)
- core\[patch]: Release 0.1.15 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4053](https://togithub.com/langchain-ai/langchainjs/pull/4053)
- community\[patch]: Add streaming for HuggingFace Inference (also add
the support of stop-sequences) by
[@&#8203;ljhskyso](https://togithub.com/ljhskyso) in
[https://github.com/langchain-ai/langchainjs/pull/3932](https://togithub.com/langchain-ai/langchainjs/pull/3932)
- Add the Milvus partition feature by
[@&#8203;Mista-Shelby](https://togithub.com/Mista-Shelby) in
[https://github.com/langchain-ai/langchainjs/pull/3950](https://togithub.com/langchain-ai/langchainjs/pull/3950)
- Bump Zod & Zod-to-Json-Schema, fix imports by
[@&#8203;StefanTerdell](https://togithub.com/StefanTerdell) in
[https://github.com/langchain-ai/langchainjs/pull/4041](https://togithub.com/langchain-ai/langchainjs/pull/4041)
- fix
[#&#8203;4027](https://togithub.com/langchain-ai/langchainjs/issues/4027)
loadFromPython failed by [@&#8203;ewfian](https://togithub.com/ewfian)
in
[https://github.com/langchain-ai/langchainjs/pull/4036](https://togithub.com/langchain-ai/langchainjs/pull/4036)
- community\[patch]: Add neo4j timeout option by
[@&#8203;tomasonjo](https://togithub.com/tomasonjo) in
[https://github.com/langchain-ai/langchainjs/pull/4057](https://togithub.com/langchain-ai/langchainjs/pull/4057)
- core\[patch]: Add fake embeddings classes to core by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4066](https://togithub.com/langchain-ai/langchainjs/pull/4066)
- Update runnable config ensure and merge to match py by
[@&#8203;nfcampos](https://togithub.com/nfcampos) in
[https://github.com/langchain-ai/langchainjs/pull/4067](https://togithub.com/langchain-ai/langchainjs/pull/4067)
- langchain\[minor]: remote runnable stream log, additional
serialization updates by
[@&#8203;bracesproul](https://togithub.com/bracesproul) in
[https://github.com/langchain-ai/langchainjs/pull/3555](https://togithub.com/langchain-ai/langchainjs/pull/3555)
- community\[minor]: feat: turbopuffer vector store by
[@&#8203;mattzcarey](https://togithub.com/mattzcarey) in
[https://github.com/langchain-ai/langchainjs/pull/3780](https://togithub.com/langchain-ai/langchainjs/pull/3780)
- docs\[minor], core\[minor], langchain\[minor]: Adds tool use use case
docs by [@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4068](https://togithub.com/langchain-ai/langchainjs/pull/4068)
- core\[patch]: Release 0.1.16 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4070](https://togithub.com/langchain-ai/langchainjs/pull/4070)
- community\[patch]: Change recommended entrypoint, bump versions by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4069](https://togithub.com/langchain-ai/langchainjs/pull/4069)
- community\[patch]: Release 0.0.18 by
[@&#8203;jacoblee93](https://togithub.com/jacoblee93) in
[https://github.com/langchain-ai/langchainjs/pull/4071](https://togithub.com/langchain-ai/langchainjs/pull/4071)

#### New Contributors

- [@&#8203;ljhskyso](https://togithub.com/ljhskyso) made their first
contribution in
[https://github.com/langchain-ai/langchainjs/pull/3932](https://togithub.com/langchain-ai/langchainjs/pull/3932)
- [@&#8203;Mista-Shelby](https://togithub.com/Mista-Shelby) made their
first contribution in
[https://github.com/langchain-ai/langchainjs/pull/3950](https://togithub.com/langchain-ai/langchainjs/pull/3950)
- [@&#8203;StefanTerdell](https://togithub.com/StefanTerdell) made their
first contribution in
[https://github.com/langchain-ai/langchainjs/pull/4041](https://togithub.com/langchain-ai/langchainjs/pull/4041)

**Full Changelog**:
langchain-ai/langchainjs@0.1.3...0.1.4

</details>

<details>
<summary>openai/openai-node (openai)</summary>

###
[`v4.25.0`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4250-2024-01-21)

[Compare
Source](https://togithub.com/openai/openai-node/compare/v4.24.7...v4.25.0)

Full Changelog:
[v4.24.7...v4.25.0](https://togithub.com/openai/openai-node/compare/v4.24.7...v4.25.0)

##### Features

- **api:** add usage to runs and run steps
([#&#8203;640](https://togithub.com/openai/openai-node/issues/640))
([3caa416](https://togithub.com/openai/openai-node/commit/3caa4166b8abb5bffb4c8be1495834b7f16af32d))

##### Bug Fixes

- allow body type in RequestOptions to be null
([#&#8203;637](https://togithub.com/openai/openai-node/issues/637))
([c4f8a36](https://togithub.com/openai/openai-node/commit/c4f8a3698dc1d80439131c5097975d6a5db1b4e2))
- handle system_fingerprint in streaming helpers
([#&#8203;636](https://togithub.com/openai/openai-node/issues/636))
([f273530](https://togithub.com/openai/openai-node/commit/f273530ac491300842aef463852821a1a27805fb))
- **types:** accept undefined for optional client options
([#&#8203;635](https://togithub.com/openai/openai-node/issues/635))
([e48cd57](https://togithub.com/openai/openai-node/commit/e48cd57931cd0e81a77b55653cb1f663111dd733))

##### Chores

- **internal:** debug logging for retries; speculative retry-after-ms
support
([#&#8203;633](https://togithub.com/openai/openai-node/issues/633))
([fd64971](https://togithub.com/openai/openai-node/commit/fd64971612d1d7fcbd8a63885d333485bff68ab1))
- **internal:** update comment
([#&#8203;631](https://togithub.com/openai/openai-node/issues/631))
([e109d40](https://togithub.com/openai/openai-node/commit/e109d40a5c02c5bf4586e54d92bf0e355d254c1b))

</details>

<details>
<summary>prettier/prettier (prettier)</summary>

###
[`v3.2.4`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#324)

[Compare
Source](https://togithub.com/prettier/prettier/compare/3.2.3...3.2.4)

[diff](https://togithub.com/prettier/prettier/compare/3.2.3...3.2.4)

##### Fix incorrect parser inference
([#&#8203;15947](https://togithub.com/prettier/prettier/pull/15947) by
[@&#8203;fisker](https://togithub.com/fisker))

Files like `.eslintrc.json` were incorrectly formatted as JSONC files.

<!-- prettier-ignore -->

```jsx
// Input
prettier --file-info .eslintrc.json
{ "ignored": false, "inferredParser": "jsonc" }

// Prettier 3.2.4
prettier --file-info .eslintrc.json
{ "ignored": false, "inferredParser": "json" }
```

###
[`v3.2.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#323)

[Compare
Source](https://togithub.com/prettier/prettier/compare/3.2.2...3.2.3)

[diff](https://togithub.com/prettier/prettier/compare/3.2.2...3.2.3)

##### Throw errors for invalid code
([#&#8203;15881](https://togithub.com/prettier/prettier/pull/15881) by
[@&#8203;fisker](https://togithub.com/fisker),
[@&#8203;Josh-Cena](https://togithub.com/Josh-Cena),
[@&#8203;auvred](https://togithub.com/auvred))

<!-- prettier-ignore -->

```ts
// Input
1++;

// Prettier 3.2.2
1++;

// Prettier 3.2.3
SyntaxError: Invalid left-hand side expression in unary operation (1:1)
> 1 | 1++;
    | ^
```

<!-- prettier-ignore -->

```ts
// Input
try {} catch (error = 1){}

// Prettier 3.2.2
try {
} catch (error) {}

// Prettier 3.2.3
SyntaxError: Catch clause variable cannot have an initializer. (1:23)
> 1 | try {} catch (error = 1){}
    |                       ^
```

##### Fix parser inference
([#&#8203;15927](https://togithub.com/prettier/prettier/pull/15927) by
[@&#8203;fisker](https://togithub.com/fisker))

<!-- prettier-ignore -->

```console
// Prettier 3.2.2
prettier --file-info tsconfig.json
{ "ignored": false, "inferredParser": "json" }

// Prettier 3.2.3
prettier --file-info tsconfig.json
{ "ignored": false, "inferredParser": "jsonc" }
```

</details>

<details>
<summary>kulshekhar/ts-jest (ts-jest)</summary>

###
[`v29.1.2`](https://togithub.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2912-2024-01-22)

[Compare
Source](https://togithub.com/kulshekhar/ts-jest/compare/v29.1.1...v29.1.2)

##### Bug Fixes

- calculated cache key based on `supportsStaticESM`
([a5d6f2d](https://togithub.com/kulshekhar/ts-jest/commit/a5d6f2d4f4bfa1c7c217f6faf9310958797b436f))
- correct error handling in `processAsync`
([e7be4bf](https://togithub.com/kulshekhar/ts-jest/commit/e7be4bf6a863cd76efec28f40fdd5193b2f50bad)),
closes
[#&#8203;4207](https://togithub.com/kulshekhar/ts-jest/issues/4207)
- use `Config.ProjectConfig`
([918312b](https://togithub.com/kulshekhar/ts-jest/commit/918312bee22a795ec6bb347f95df4c1ff0a054de)),
closes
[#&#8203;4028](https://togithub.com/kulshekhar/ts-jest/issues/4028)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone
America/Chicago, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/autoblocksai/javascript-sdk).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:improvement Medium size change to existing code to handle new use-cases lgtm PRs that are ready to be merged as-is size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StructuredOutputParser does not contain min and max items from zodToJsonSchema
2 participants