保誠-保戶業務員媒合平台
HelenHuang
2022-06-09 23b60dc1975db38c280d8a123aff97544d1673e0
PAMapp/node_modules/ts-jest/dist/utils/version-checkers.js
@@ -16,15 +16,15 @@
    if (action === void 0) { action = 'warn'; }
    var success = true;
    if (!('TS_JEST_DISABLE_VER_CHECKER' in process.env)) {
        var version = get_package_version_1.getPackageVersion(name);
        success = !!version && semver_1.satisfies(version, expectedRange);
        var version = (0, get_package_version_1.getPackageVersion)(name);
        success = !!version && (0, semver_1.satisfies)(version, expectedRange);
        logger.debug({
            actualVersion: version,
            expectedVersion: expectedRange,
        }, 'checking version of %s: %s', name, success ? 'OK' : 'NOT OK');
        if (!action || success)
            return success;
        var message = messages_1.interpolate(version ? "Version {{actualVersion}} of {{module}} installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version ({{expectedVersion}}). Please do not report issues in ts-jest if you are using unsupported versions." : "Module {{module}} is not installed. If you're experiencing issues, consider installing a supported version ({{expectedVersion}}).", {
        var message = (0, messages_1.interpolate)(version ? "Version {{actualVersion}} of {{module}} installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version ({{expectedVersion}}). Please do not report issues in ts-jest if you are using unsupported versions." : "Module {{module}} is not installed. If you're experiencing issues, consider installing a supported version ({{expectedVersion}}).", {
            module: name,
            actualVersion: version || '??',
            expectedVersion: rangeToHumanString(expectedRange),