HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/frenchy/www/french-american.org/current/node_modules/snyk-php-plugin/dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var composerLockFileParser = require("@snyk/composer-lockfile-parser");
var system_deps_1 = require("./system-deps");
var PLUGIN_NAME = 'snyk-php-plugin';
function inspect(basePath, fileName, options) {
    if (options === void 0) { options = {}; }
    return tslib_1.__awaiter(this, void 0, void 0, function () {
        var systemVersions, depsTree;
        return tslib_1.__generator(this, function (_a) {
            systemVersions = system_deps_1.systemDeps(basePath, options);
            depsTree = composerLockFileParser.buildDepTreeFromFiles(basePath, fileName, systemVersions);
            return [2 /*return*/, Promise.resolve({
                    package: depsTree,
                    plugin: { name: PLUGIN_NAME, targetFile: fileName },
                })];
        });
    });
}
exports.inspect = inspect;
//# sourceMappingURL=index.js.map