ethers.js/lib.esm/_admin/generate-diffs.js

13 lines
559 B
JavaScript
Raw Normal View History

2023-02-23 05:53:56 +03:00
import { getVersions } from "./utils/npm.js";
import { resolve } from "./utils/path.js";
import { getDiff } from "./utils/git.js";
(async function () {
let versions = await getVersions("ethers");
versions = versions.filter((h) => (h.version.match(/^6\.[0-9]+\.[0-9]+$/)));
for (let i = 1; i < versions.length; i++) {
const tag0 = versions[i - 1].gitHead, tag1 = versions[i].gitHead;
const diff = await getDiff(resolve("dist/ethers.js"), tag0, tag1);
console.log(diff);
}
})();
//# sourceMappingURL=generate-diffs.js.map