n8n/packages/nodes-base/utils/constants.ts

5 lines
125 B
TypeScript
Raw Normal View History

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