PHP 8.2.30
Preview: debug.js Size: 1.05 KB
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@babel/helper-compilation-targets/lib/debug.js

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getInclusionReasons = getInclusionReasons;
var _semver = require("semver");
var _pretty = require("./pretty.js");
var _utils = require("./utils.js");
function getInclusionReasons(item, targetVersions, list) {
  const minVersions = list[item] || {};
  return Object.keys(targetVersions).reduce((result, env) => {
    const minVersion = (0, _utils.getLowestImplementedVersion)(minVersions, env);
    const targetVersion = targetVersions[env];
    if (!minVersion) {
      result[env] = (0, _pretty.prettifyVersion)(targetVersion);
    } else {
      const minIsUnreleased = (0, _utils.isUnreleasedVersion)(minVersion, env);
      const targetIsUnreleased = (0, _utils.isUnreleasedVersion)(targetVersion, env);
      if (!targetIsUnreleased && (minIsUnreleased || _semver.lt(targetVersion.toString(), (0, _utils.semverify)(minVersion)))) {
        result[env] = (0, _pretty.prettifyVersion)(targetVersion);
      }
    }
    return result;
  }, {});
}

//# sourceMappingURL=debug.js.map

Directory Contents

Dirs: 0 × Files: 14

Name Size Perms Modified Actions
1.05 KB lrw-r--r-- 2026-02-28 00:26:54
Edit Download
2.45 KB lrw-r--r-- 2026-02-28 00:27:06
Edit Download
2.38 KB lrw-r--r-- 2026-02-28 00:27:14
Edit Download
5.64 KB lrw-r--r-- 2026-02-28 00:27:26
Edit Download
7.73 KB lrw-r--r-- 2026-02-28 00:27:34
Edit Download
18.06 KB lrw-r--r-- 2026-02-28 00:27:42
Edit Download
465 B lrw-r--r-- 2026-02-28 00:27:46
Edit Download
956 B lrw-r--r-- 2026-02-28 00:27:58
Edit Download
953 B lrw-r--r-- 2026-02-28 00:28:02
Edit Download
2.15 KB lrw-r--r-- 2026-02-28 00:28:06
Edit Download
587 B lrw-r--r-- 2026-02-28 00:28:08
Edit Download
1.32 KB lrw-r--r-- 2026-02-28 00:28:14
Edit Download
1.94 KB lrw-r--r-- 2026-02-28 00:28:18
Edit Download
4.46 KB lrw-r--r-- 2026-02-28 00:28:22
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).