n8n/packages/nodes-base/utils/constants.ts
कारतोफ्फेलस्क्रिप्ट™ 18b60c4170
feat(Code Node): Set defaultVersion to 2 for V1 RC builds (no-changelog) (#6209)
This will enable python in the Code node.
2023-05-09 17:28:30 +02:00

5 lines
125 B
TypeScript

import { major } from 'semver';
import { version } from '../package.json';
export const IS_V1_RELEASE = major(version) > 0;