Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
histroys(histroys) {
if (histroys) {
let prev = 0;
return Enumerable.zip(histroys, Enumerable.skip(histroys, 1).concat([0]), (v, next) => {
let deprecated = v.deprecated || next && next.since && this.preVersion(next.since);
if (v.ref && prev) {
v = extend(true, { }, prev, v);
}
v.deprecated = deprecated;
return prev = v;
});
} else {
return Enumerable.empty();
}
},
versionComparer(version, other) {