File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11diff --git a/node_modules/compute-baseline/dist/browser-compat-data/browser.js b/node_modules/compute-baseline/dist/browser-compat-data/browser.js
2- index 1e865af..fc37272 100644
2+ index 1e865af..6c4be7f 100644
33--- a/node_modules/compute-baseline/dist/browser-compat-data/browser.js
44+++ b/node_modules/compute-baseline/dist/browser-compat-data/browser.js
5- @@ -36,7 +36,7 @@ export class Browser {
5+ @@ -36,7 +36,8 @@ export class Browser {
66 return this.data.name;
77 }
88 current() {
99- const curr = this.releases.find((r) => r.data.status === "current");
10- + const curr = this.releases.findLast((r) => r.data.status === "beta");
10+ + const curr = this.releases.findLast((r) => r.data.status === "beta") ||
11+ + this.releases.find((r) => r.data.status === "current");
1112 if (curr === undefined) {
1213 throw new Error(`${browser} does not have a "current" release`);
1314 }
You can’t perform that action at this time.
0 commit comments