Skip to content

ts: Update engines.node to >= 17#3301

Merged
acheroncrypto merged 4 commits into
otter-sec:masterfrom
acheroncrypto:ts-update-engines.node-to-gte-17
Oct 9, 2024
Merged

ts: Update engines.node to >= 17#3301
acheroncrypto merged 4 commits into
otter-sec:masterfrom
acheroncrypto:ts-update-engines.node-to-gte-17

Conversation

@acheroncrypto

Copy link
Copy Markdown
Collaborator

Problem

@coral-xyz/anchor library's node version requirement is not specific enough:

https://github.com/coral-xyz/anchor/blob/6eb4cc7539636983e768561ea9c528d59486799d/ts/packages/anchor/package.json#L22

This is because of using structuredClone internally, which requires node >= 17 (see compatibility).

Users may run into this problem if they use an outdated node version, e.g. #2969.

Summary of changes

Update engines.node field of package.json to >= 17.

@vercel

vercel Bot commented Oct 9, 2024

Copy link
Copy Markdown

@acheroncrypto is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto added ts fix Bug fix PR labels Oct 9, 2024
@acheroncrypto acheroncrypto merged commit aa48efb into otter-sec:master Oct 9, 2024
Otter-0x4ka5h pushed a commit to Otter-0x4ka5h/anchor that referenced this pull request Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fix PR ts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant