File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
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..89a9e9b 100644
2+ index 1e865af..fc37272 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
55@@ -36,7 +36,7 @@ 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.find ((r) => r.data.status === "beta");
10+ + const curr = this.releases.findLast ((r) => r.data.status === "beta");
1111 if (curr === undefined) {
1212 throw new Error(`${browser} does not have a "current" release`);
1313 }
1414diff --git a/node_modules/compute-baseline/dist/browser-compat-data/release.js b/node_modules/compute-baseline/dist/browser-compat-data/release.js
15- index 58fa044..7e55306 100644
15+ index 58fa044..5854ecf 100644
1616--- a/node_modules/compute-baseline/dist/browser-compat-data/release.js
1717+++ b/node_modules/compute-baseline/dist/browser-compat-data/release.js
1818@@ -39,7 +39,7 @@ export class Release {
1919 return onOrAfterStart;
2020 }
2121 isPrerelease() {
2222- if (["beta", "nightly", "planned"].includes(this.data.status)) {
23- + if (["nightly", " planned"].includes(this.data.status)) {
23+ + if (["planned"].includes(this.data.status)) {
2424 return true;
2525 }
2626 return false;
You can’t perform that action at this time.
0 commit comments