Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "util"

Index

Variables

Const Buffer

Buffer: any

Const global

global: any

Functions

base64encode

  • base64encode(str: string): string

encodeGetParams

  • encodeGetParams(data: any): string

matchesVersion

  • matchesVersion(testVersion: string, minimumVersion: string): boolean
  • Compares version strings. Intended to be used only for comparing versions consisting of major, minor and (optional) patch version (dot-separated) and optional -SNAPSHOT suffix. Does not conform to Semantic Versioning Specification and will produce incorrect results in some cases not covered above (e.g. it doesn't take into account any text including pre-release identifiers, so 7.2.0-beta will be considered equal to 7.2.0).

    Parameters

    • testVersion: string
    • minimumVersion: string

    Returns boolean

    true if testVersion is greater or equal than minimumVersion

serialize

  • serialize(rawParam: any): string

Generated using TypeDoc