@eyeo/get-browser-binary 0.23.1 → 0.23.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RELEASE_NOTES.md +5 -0
- package/package.json +1 -1
- package/src/edge.js +8 -2
package/RELEASE_NOTES.md
CHANGED
package/package.json
CHANGED
package/src/edge.js
CHANGED
|
@@ -188,8 +188,14 @@ export class Edge extends Browser {
|
|
|
188
188
|
if (product.Product != downloadChannels[version])
|
|
189
189
|
continue;
|
|
190
190
|
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
// Ideally this would only check platform and architecture, not
|
|
192
|
+
// version. However, we've run into a case where Microsoft has removed a
|
|
193
|
+
// latest stable version of Edge from the download servers without
|
|
194
|
+
// updating this index, so it helps to have some way of checking if a
|
|
195
|
+
// version is probably available.
|
|
196
|
+
let release = product.Releases.find(r => r.Platform == plat &&
|
|
197
|
+
r.Architecture == arch &&
|
|
198
|
+
r.ProductVersion == versionNumber);
|
|
193
199
|
if (!release)
|
|
194
200
|
continue;
|
|
195
201
|
|