@yarn-tool/yarnlock-dedupe
Version:
Deduplication tool for yarn.lock files. auto detect yarn v1 and berry
11 lines • 479 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.fixDuplicates = fixDuplicates;
const yarn_deduplicate_1 = require("yarn-deduplicate");
function fixDuplicates(yarnlock_old, options) {
yarnlock_old = yarnlock_old.toString();
//let { banner, content } = existsYarnLockBanner(yarnlock_old)
const output = (0, yarn_deduplicate_1.fixDuplicates)(yarnlock_old, options);
return `${output}`;
}
//# sourceMappingURL=fixDuplicates.js.map