File
Blob: src/workerd/api/node/node-version.h
| 1 | // Copyright (c) 2023 Cloudflare, Inc. |
| 2 | // Licensed under the Apache 2.0 license found in the LICENSE file or at: |
| 3 | // https://opensource.org/licenses/Apache-2.0 |
| 4 | #pragma once |
| 5 | |
| 6 | #include <kj/string.h> |
| 7 | |
| 8 | namespace workerd::api::node { |
| 9 | |
| 10 | // Node.js version reported by the platform, for Node.js compatibility. |
| 11 | // We track the current LTS Node.js version by updating this file automatically |
| 12 | // from the script in tools/update_node_version.py or via |
| 13 | // `just update-reported-node-version`. |
| 14 | // This is not a guarantee for compatibility, and APIs will still be incomplete, |
| 15 | // but it at least can be used to indicate what Node.js version target is being |
| 16 | // supported for Node.js platform code. |
| 17 | static constexpr kj::StringPtr nodeVersion = "22.19.0"_kj; |
| 18 | |
| 19 | } // namespace workerd::api::node |