message: only check for mongoose & nodejs version if "process" is defined
  typegoose(src): make using nodejs below "10.15" an error instead of an warning
  typegoose(src): only check for mongoose & nodejs version if "process" is defined
diff: @@ -5,15 +5,16 @@ import * as semver from 'semver';
  import { format } from 'util';
  /* istanbul ignore next */
  -if (semver.lt(mongoose.version, '5.9.14')) {
  +if (process) { // for usage on client side
  + /* istanbul ignore next */
  + if (semver.lt(mongoose?.version, '5.9.14')) {
  throw new Error('Please use mongoose 5.9.14 or higher');
  }
  -import { logger } from './logSettings';
  -
  /* istanbul ignore next */
  if (semver.lt(process.version.slice(1), '10.15.0')) {
  - logger.warn('You are using a NodeJS Version below 10.15.0, Please Upgrade!');
  + throw new Error('You are using a NodeJS Version below 10.15.0, Please Upgrade!');
  + }
  }
  import { parseENV, setGlobalOptions } from './globalOptions';
  @@ -21,6 +22,7 @@ import { DecoratorKeys } from './internal/constants';
  import { constructors, models } from './internal/data';
  import { _buildSchema } from './internal/schema';
  import { assertion, assertionIsClass, getName, mergeMetadata, mergeSchemaOptions } from './internal/utils';
  +import { logger } from './logSettings';
  import { isModel } from './typeguards';
  import type {
  AnyParamConstructor,
  