"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAllDependenciesFromManifest = exports.filterDependenciesByType = void 0;
function filterDependenciesByType(manifest, include) {
    return {
        ...(include.devDependencies ? manifest.devDependencies : {}),
        ...(include.dependencies ? manifest.dependencies : {}),
        ...(include.optionalDependencies ? manifest.optionalDependencies : {}),
    };
}
exports.filterDependenciesByType = filterDependenciesByType;
function getAllDependenciesFromManifest(manifest) {
    return {
        ...manifest.devDependencies,
        ...manifest.dependencies,
        ...manifest.optionalDependencies,
    };
}
exports.getAllDependenciesFromManifest = getAllDependenciesFromManifest;
//# sourceMappingURL=index.js.map