Skip to content

feat(TU-36984): Upgrade CI to node 24#734

Draft
robespmun wants to merge 2 commits intomainfrom
TU-36984/upgrade-to-node-24
Draft

feat(TU-36984): Upgrade CI to node 24#734
robespmun wants to merge 2 commits intomainfrom
TU-36984/upgrade-to-node-24

Conversation

@robespmun
Copy link
Contributor

Risk is very low: both @typeform/embed and @typeform/embed-react are purely browser-targeted libraries. They output UMD bundles consumed by browsers - Node.js is only involved at build time, never at runtime for end-users.

Neither package uses any modern Node.js-specific APIs in source code. The only Node.js surface is:

  • process.env.CSS_URL in embed; replaced at build time by webpack's DefinePlugin, never reaches a Node runtime
  • hasDom() check to detect browser vs. Node environment (for Jest/jsdom compatibility)

No fs, crypto, path, or any other Node built-ins are used. Zero runtime Node.js dependency.

Jumping from 22 → 24 is a minor step with no known breaking changes relevant to this codebase (no native addons, no experimental API usage, no deprecated API reliance found).

We're also updating the engines field in our package.json files: claiming support for Node 10/12 is misleading today - those versions are EOL, no longer receive security patches, and our own CI doesn't even test against them. Anyone running them is on an unsupported, potentially vulnerable platform.

@sonarqubecloud
Copy link

@typeform-ops-gha
Copy link

[BOT] Preview available with hash fc50e29d4123b043ffdf9d1e8486a2b46f0d18c8 here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants