From 939ff3cd5060e88bdd411c7502ccf6cb3223b95e Mon Sep 17 00:00:00 2001 From: Janusz Nowak Date: Fri, 10 Mar 2023 23:54:19 +0100 Subject: [PATCH 01/57] Update readme.md --- readme.md | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/readme.md b/readme.md index 4c52fb1..1553211 100644 --- a/readme.md +++ b/readme.md @@ -1,8 +1,6 @@ -![](https://api.travis-ci.org/richorama/AzureSpeedTest2.svg?branch=master) +# GitHub and Azure DevOps Speed Test -# Azure Speed Test 2.0 - -Measures the network latency between your browser and the each of the Azure Data Centers. +Measures the network latency between your browser and GitHub and each of the Azure DevOps region. ## Building the UI @@ -13,28 +11,10 @@ $ npm install $ npm run build ``` -## Adding Regions - -Not all regions are available to everyone. I have added the regions that are generally available to all, -and some kind individuals have set up additional regions that they have access to. - -The cost should be negligible, and if you change your mind at any time and want to remove the region, that's ok - just let me know. +## Regions -To add a region, follow this process: - -1. Create a storage account, preferably with a name like `speedtestxyz`, where the 'xyz' is an abbreviation of your region name. The storage account can be a standard, locally redundant account (the cheapest kind). -1. Create a `$root` container in blob storage, allowing public blobs (blob listing is not necessary). -1. Add a file called `cb.json`, which contains a single line `call("speedtestxyz")`, where 'speedtestxyz' is the name of your storage account. -1. Fork and clone this repository. -1. Run `npm install`. -1. Edit the `lib/locations.js` file to add a record for your new region (using the correct flag from this [repo](https://github.com/hjnilsson/country-flags/tree/master/svg)). 1. Run `npm run build` -1. Run the site locally (I use [node-static](https://www.npmjs.com/package/node-static)) to test that the site works. -1. Create a pull request. - -If you're only able to help with steps 1..3 it would be hugely helpful, I can do the remaining steps. - -Thank you! +1. Run the site locally (I use [node-static](https://www.npmjs.com/package/http-server)) to test that the site works. ## License From aac1c75af24894515cd11e6cfea17cd0c5f23e4d Mon Sep 17 00:00:00 2001 From: Janusz Nowak Date: Fri, 10 Mar 2023 23:54:39 +0100 Subject: [PATCH 02/57] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 1553211..5bcda7a 100644 --- a/readme.md +++ b/readme.md @@ -14,7 +14,7 @@ $ npm run build ## Regions 1. Run `npm run build` -1. Run the site locally (I use [node-static](https://www.npmjs.com/package/http-server)) to test that the site works. +1. Run the site locally (I use [http-server](https://www.npmjs.com/package/http-server)) to test that the site works. ## License From 331b1ba69182eeec1f11c415d677dba110ecec0d Mon Sep 17 00:00:00 2001 From: Janusz Nowak Date: Fri, 10 Mar 2023 23:58:17 +0100 Subject: [PATCH 03/57] Update locations.js --- lib/locations.js | 46 +++++++++------------------------------------- 1 file changed, 9 insertions(+), 37 deletions(-) diff --git a/lib/locations.js b/lib/locations.js index 89e73a6..e3c9f52 100644 --- a/lib/locations.js +++ b/lib/locations.js @@ -1,39 +1,11 @@ module.exports = () => [ - { domain: "speedtestwe", name: "West Europe", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/nl.svg" }, - { domain: "speedtestsea", name: "Southeast Asia", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/sg.svg" }, - { domain: "speedtestea", name: "East Asia", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/hk.svg" }, - { domain: "speedtestnsus", name: "North Central US", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/us.svg" }, - { domain: "speedtestne", name: "North Europe", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/ie.svg" }, - { domain: "speedtestscus", name: "South Central US", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/us.svg" }, - { domain: "speedtestwus", name: "West US", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/us.svg" }, - { domain: "speedtesteus", name: "East US", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/us.svg" }, - { domain: "speedtestjpe", name: "Japan East", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/jp.svg" }, - { domain: "speedtestjpw", name: "Japan West", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/jp.svg" }, - { domain: "speedtestcus", name: "Central US", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/us.svg" }, - { domain: "speedtesteus2", name: "East US 2", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/us.svg" }, - { domain: "speedtestozse", name: "Australia Southeast", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/au.svg" }, - { domain: "speedtestoze", name: "Australia East", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/au.svg" }, - { domain: "speedtestukw", name: "West UK", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/gb.svg" }, - { domain: "speedtestuks", name: "South UK", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/gb.svg" }, - { domain: "speedtestcac", name: "Canada Central", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/ca.svg" }, - { domain: "speedtestcae", name: "Canada East", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/ca.svg" }, - { domain: "speedtestwestus2", name: "West US 2", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/us.svg" }, - { domain: "speedtestwestindia", name: "West India", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/in.svg" }, - { domain: "speedtesteastindia", name: "South India", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/in.svg" }, - { domain: "speedtestcentralindia", name: "Central India", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/in.svg" }, - { domain: "speedtestkoreacentral", name: "Korea Central", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/kr.svg" }, - { domain: "speedtestkoreasouth", name: "Korea South", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/kr.svg" }, - { domain: "speedtestwestcentralus", name: "West Central US", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/us.svg" }, - { domain: "speedtestfrc", name: "France Central", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/fr.svg" }, - { domain: "speedtestsan", name: "South Africa North", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/za.svg" }, - { domain: "speedtestuaen", name: "UAE North", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/ae.svg" }, - { domain: "speedtestden", name: "Germany North", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/de.svg" }, - { domain: "speedtestchn", name: "Switzerland North", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/ch.svg" }, - { domain: "speedtestchw", name: "Switzerland West", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/ch.svg" }, - { domain: "azspeednoeast", name: "Norway East", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/no.svg" }, - { domain: "speedtestnea", name: "Brazil", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/br.svg" }, - { domain: "speedtestesc", name: "Sweden Central", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/se.svg" }, - { domain: "azurespeedtestwestus3", url: "https://azurespeedtestwestus3.z1.web.core.windows.net/", name: "West US 3", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/us.svg" }, - { domain: "speedtestqc", url: "https://speedtestqc.z1.web.core.windows.net/", name: "Qatar Central", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/qa.svg" } - //{domain:"cdn", name: "Content Delivery Network *", cdn:true} // CDN does not run on HTTPS, page won't run with mixed content + { domain: "westeurope", url: "https://dev.azure.com/janono-pub/f3f76e44-c0c5-43a1-8ffb-6fd53baeb8f0/_apis/git/repositories/4a9f397c-2857-4ec9-a434-726ef0414ea1/items?path=/src/westeurope.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO West Europ", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/nl.svg" }, + { domain: "southeastasia", url: "https://dev.azure.com/speedASe/ec0ed821-d9e9-46a4-89e1-034a43c03b28/_apis/git/repositories/5ba74da3-843f-45f4-80b8-5ce69b2115ca/items?path=/src/southeastasia.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO Southeast Asia", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/sg.svg" }, + { domain: "australiaeast", url: "https://dev.azure.com/speedAUe/1b125322-f16b-4bda-b4d3-bb269c71fa1c/_apis/git/repositories/b46cfa67-b09a-4f39-865a-d07d38dff0b2/items?path=/src/australiaeast.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO Australia East", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/au.svg" }, + { domain: "uksouth", url: "https://dev.azure.com/speedUKs/67559a37-8e94-4bbf-8cb2-ae60a6490a9e/_apis/git/repositories/27863565-9557-4306-bbdc-2ad1b8d333f5/items?path=/src/uksouth.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=master&resolveLfs=true&api-version=5.0", name: "ADO UK South", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/gb.svg" }, + { domain: "brazilsouth", url: "https://dev.azure.com/speedBRs/632bc85b-7173-4b8b-a564-426d038f5b9e/_apis/git/repositories/727f72c5-eb40-46f1-a8ea-72b9114c56b4/items?path=/src/brazilsouth.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO Brazil South", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/br.svg" }, + { domain: "eastus2", url: "https://dev.azure.com/speedusc/234a8c55-07ad-4de2-abdd-55a2584959b3/_apis/git/repositories/bad1fd3e-69b6-4ac8-a629-5a8ce4a3a91f/items?path=/src/eastus2.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=master&resolveLfs=true&api-version=5.0", name: "ADO East US 2", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/us.svg" }, + { domain: "canadacentral", url: "https://dev.azure.com/speedCAc/d47254a2-dbc1-4ff3-9d1c-0e483474c105/_apis/git/repositories/73d2d8cb-53cf-4315-9dea-4e80fb5261e5/items?path=/src/canadacentral.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO Canada Central", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/ca.svg" }, + { domain: "southindia", url: "https://dev.azure.com/speedINs/d2fe9c98-cfff-4bce-9a5f-ec54e927816a/_apis/git/repositories/57b0275a-1c93-44ba-8b98-188cf1783564/items?path=/src/southindia.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO South India", icon: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/in.svg" }, + { domain: "github", url: "https://raw.githubusercontent.com/JanuszNowak/speed/master/src/github.json", name: "Github", icon: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" } ]; From 2f13ca800ffb9a60814781bcd0d29217315084d0 Mon Sep 17 00:00:00 2001 From: Janusz Nowak Date: Fri, 10 Mar 2023 23:58:44 +0100 Subject: [PATCH 04/57] Update speed-test.js --- lib/speed-test.js | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/lib/speed-test.js b/lib/speed-test.js index 00c6043..1acbc84 100644 --- a/lib/speed-test.js +++ b/lib/speed-test.js @@ -25,11 +25,13 @@ function process() { counter } - $.ajax({ - url: url, - dataType: 'jsonp', - cache: false - }) + fetch(url, { mode: 'cors' , cache: 'reload'}) + .then(response => response.text()) + .then(data => call(item.domain, data)) + .catch(error => { + console.log(`Error while fetching ${url}: ${error}`) + retry(item.domain) + }) const counterValueAtTimeOfCall = counter @@ -40,7 +42,7 @@ function process() { ) { // no response in 5 seconds console.log(`No response from ${item.domain}. Removing from the test`) - blockList.add(item.domain) + //blockList.add(item.domain) const blockedRecords = getLocations().filter(x => blockList.has(x.domain)) errorCallbacks.forEach(x => x(blockedRecords)) delete callRecords[item.domain] @@ -49,20 +51,26 @@ function process() { }, 5000) // call back in 5 seconds } -global.call = data => { +function call(domain, data) { const end = new Date().getTime() - const callRecord = callRecords[data] + const callRecord = callRecords[domain] if (!callRecord) { - console.log(`no record of call from ${data}`) + console.log(`no record of call from ${domain}`) return setTimeout(process, 1) } - delete callRecords[data] + delete callRecords[domain] const duration = end - callRecord.start - callbacks.forEach(x => x({ source: data, duration, start: callRecord.start })) + callbacks.forEach(x => x({ source: domain, duration, start: callRecord.start })) setTimeout(process, 1) } +function retry(domain) { + blockList.delete(domain) + const blockedRecords = getLocations().filter(x => blockList.has(x.domain)) + errorCallbacks.forEach(x => x(blockedRecords)) +} + // automatically start it off const concurrency = 4 for (let i = 0; i < concurrency; i++) process() @@ -75,8 +83,4 @@ module.exports.onBlocklistUpdate = cb => { errorCallbacks.push(cb) } -module.exports.retry = domain => { - blockList.delete(domain) - const blockedRecords = getLocations().filter(x => blockList.has(x.domain)) - errorCallbacks.forEach(x => x(blockedRecords)) -} +module.exports.retry = retry From da3c5cf33334c0e8eab48ea2492074d842a037d6 Mon Sep 17 00:00:00 2001 From: Janusz Nowak Date: Sat, 11 Mar 2023 00:00:58 +0100 Subject: [PATCH 05/57] Update index.html --- index.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index ac6576b..ba64a74 100644 --- a/index.html +++ b/index.html @@ -4,12 +4,12 @@ - + content="Github Azure DevOps SpeedTest - Measure the latenecy to your nearest Microsoft Azure Data Center"> + - Azure Speed Test 2.0 + Github Azure DevOps SpeedTest - + - +
-
-

Github Azure DevOps SpeedTest

-

Measures the network latency between your browser and GitHub and each of the Azure DevOps region.

-
+
+

Github Azure DevOps SpeedTest

+

+ Measures the network latency between your browser and GitHub and each + of the Azure DevOps region. +

+
-
- Starting... -
+
Starting...
- + - - + diff --git a/index.jsx b/index.jsx index 8545783..539c49e 100644 --- a/index.jsx +++ b/index.jsx @@ -1,51 +1,51 @@ -const React = require('react') -const ReactDom = require('react-dom') -const speedtest = require('./lib/speed-test') -const history = require('./lib/history') -const sl = require('react-sparklines') -const Sparklines = sl.Sparklines -const SparklinesLine = sl.SparklinesCurve +const React = require("react"); +const ReactDom = require("react-dom"); +const speedtest = require("./lib/speed-test"); +const history = require("./lib/history"); +const sl = require("react-sparklines"); +const Sparklines = sl.Sparklines; +const SparklinesLine = sl.SparklinesCurve; // record history -speedtest.on(history.record) +speedtest.on(history.record); speedtest.on(() => { - const scrollPosition = window.scrollY - render() - window.scrollY = scrollPosition -}) + const scrollPosition = window.scrollY; + render(
); + window.scrollY = scrollPosition; +}); -let globalBlockList = [] -speedtest.onBlocklistUpdate(blockList => (globalBlockList = blockList)) +let globalBlockList = []; +speedtest.onBlocklistUpdate((blockList) => (globalBlockList = blockList)); function render(jsx) { - ReactDom.render(jsx, document.getElementById('content')) + ReactDom.render(jsx, document.getElementById("content")); } const Table = class extends React.Component { constructor(props) { - super(props) - this.renderButton = this.renderButton.bind(this) - this.renderFlag = this.renderFlag.bind(this) - this.renderFlag2 = this.renderFlag2.bind(this) - this.renderRow = this.renderRow.bind(this) - this.renderError = this.renderError.bind(this) + super(props); + this.renderButton = this.renderButton.bind(this); + this.renderFlag = this.renderFlag.bind(this); + this.renderFlag2 = this.renderFlag2.bind(this); + this.renderRow = this.renderRow.bind(this); + this.renderError = this.renderError.bind(this); } renderButton() { - let item = this.props.history[0] + let item = this.props.history[0]; - if (!item) return '' - if (item.cdn || false) item = this.props.history[1] - if (!item) return '' + if (!item) return ""; + if (item.cdn || false) item = this.props.history[1]; + if (!item) return ""; return ( Tweet your results - ) + ); } renderFlag(item) { - if (!item.icon) return '' - return + if (!item.icon) return ""; + return ; } renderFlag2(item) { - if (!item.icon2) return '' - return + if (!item.icon2) return ""; + return ; } renderRow(item) { const rowStyle = { backgroundImage: - 'linear-gradient(to right, #e9ecef ' + + "linear-gradient(to right, #e9ecef " + Math.round(item.percent) + - '%, #ffffff ' + + "%, #ffffff " + Math.round(item.percent) + - '%)' - } + "%)", + }; return ( @@ -96,7 +96,7 @@ const Table = class extends React.Component { - ) + ); } renderError(item) { @@ -111,10 +111,15 @@ const Table = class extends React.Component { NO RESPONSE - ) + ); } render() { @@ -135,27 +140,31 @@ const Table = class extends React.Component { Share your results with other people on twitter {this.renderButton()}

- Compare your speed with others by watching the{' '} + Compare your speed with others by watching the{" "} #GitHubAzureDevOpsSpeedTest - {' '} + {" "} hashtag.

- Fork on - GitHub. + + Fork + {" "} + on GitHub.

- Forked from and inspired from on - GitHub. + + Forked from and inspired from + {" "} + on GitHub.

Created by @jnowwwak

- The{' '} - Azure Website{' '} - has a map with all data centers, and a{' '} + The{" "} + Azure Website{" "} + has a map with all data centers, and a{" "} feature matrix @@ -164,12 +173,12 @@ const Table = class extends React.Component {

The latency times are indicative only, and do not represent the - maxium performance, achievable from GitHub and Azure DevOps. Use this website - purely as a tool to gauge which Azure Data Center could be the best - for your location. + maxium performance, achievable from GitHub and Azure DevOps. Use + this website purely as a tool to gauge which Azure Data Center could + be the best for your location.

- ) + ); } -} +}; diff --git a/lib/locations.js b/lib/locations.js index 1557916..ec70c55 100644 --- a/lib/locations.js +++ b/lib/locations.js @@ -1,11 +1,72 @@ module.exports = () => [ - { domain: "westeurope", url: "https://dev.azure.com/janono-pub/f3f76e44-c0c5-43a1-8ffb-6fd53baeb8f0/_apis/git/repositories/4a9f397c-2857-4ec9-a434-726ef0414ea1/items?path=/src/westeurope.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO West Europ", icon2: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/nl.svg", icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg"}, - { domain: "southeastasia", url: "https://dev.azure.com/speedASe/ec0ed821-d9e9-46a4-89e1-034a43c03b28/_apis/git/repositories/5ba74da3-843f-45f4-80b8-5ce69b2115ca/items?path=/src/southeastasia.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO Southeast Asia", icon2: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/sg.svg" , icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg"}, - { domain: "australiaeast", url: "https://dev.azure.com/speedAUe/1b125322-f16b-4bda-b4d3-bb269c71fa1c/_apis/git/repositories/b46cfa67-b09a-4f39-865a-d07d38dff0b2/items?path=/src/australiaeast.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO Australia East", icon2: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/au.svg" , icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg"}, - { domain: "uksouth", url: "https://dev.azure.com/speedUKs/67559a37-8e94-4bbf-8cb2-ae60a6490a9e/_apis/git/repositories/27863565-9557-4306-bbdc-2ad1b8d333f5/items?path=/src/uksouth.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=master&resolveLfs=true&api-version=5.0", name: "ADO UK South", icon2: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/gb.svg" , icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg"}, - { domain: "brazilsouth", url: "https://dev.azure.com/speedBRs/632bc85b-7173-4b8b-a564-426d038f5b9e/_apis/git/repositories/727f72c5-eb40-46f1-a8ea-72b9114c56b4/items?path=/src/brazilsouth.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO Brazil South", icon2: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/br.svg" , icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg"}, - { domain: "eastus2", url: "https://dev.azure.com/speedusc/234a8c55-07ad-4de2-abdd-55a2584959b3/_apis/git/repositories/bad1fd3e-69b6-4ac8-a629-5a8ce4a3a91f/items?path=/src/eastus2.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=master&resolveLfs=true&api-version=5.0", name: "ADO East US 2", icon2: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/us.svg" , icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg"}, - { domain: "canadacentral", url: "https://dev.azure.com/speedCAc/d47254a2-dbc1-4ff3-9d1c-0e483474c105/_apis/git/repositories/73d2d8cb-53cf-4315-9dea-4e80fb5261e5/items?path=/src/canadacentral.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO Canada Central", icon2: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/ca.svg" , icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg"}, - { domain: "southindia", url: "https://dev.azure.com/speedINs/d2fe9c98-cfff-4bce-9a5f-ec54e927816a/_apis/git/repositories/57b0275a-1c93-44ba-8b98-188cf1783564/items?path=/src/southindia.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO South India", icon2: "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/in.svg" , icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg"}, - { domain: "github", url: "https://raw.githubusercontent.com/JanuszNowak/speed/master/src/github.json", name: "GitHub", icon: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" } + { + domain: "westeurope", + url: "https://dev.azure.com/janono-pub/f3f76e44-c0c5-43a1-8ffb-6fd53baeb8f0/_apis/git/repositories/4a9f397c-2857-4ec9-a434-726ef0414ea1/items?path=/src/westeurope.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", + name: "ADO West Europ", + icon2: + "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/nl.svg", + icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", + }, + { + domain: "southeastasia", + url: "https://dev.azure.com/speedASe/ec0ed821-d9e9-46a4-89e1-034a43c03b28/_apis/git/repositories/5ba74da3-843f-45f4-80b8-5ce69b2115ca/items?path=/src/southeastasia.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", + name: "ADO Southeast Asia", + icon2: + "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/sg.svg", + icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", + }, + { + domain: "australiaeast", + url: "https://dev.azure.com/speedAUe/1b125322-f16b-4bda-b4d3-bb269c71fa1c/_apis/git/repositories/b46cfa67-b09a-4f39-865a-d07d38dff0b2/items?path=/src/australiaeast.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", + name: "ADO Australia East", + icon2: + "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/au.svg", + icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", + }, + { + domain: "uksouth", + url: "https://dev.azure.com/speedUKs/67559a37-8e94-4bbf-8cb2-ae60a6490a9e/_apis/git/repositories/27863565-9557-4306-bbdc-2ad1b8d333f5/items?path=/src/uksouth.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=master&resolveLfs=true&api-version=5.0", + name: "ADO UK South", + icon2: + "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/gb.svg", + icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", + }, + { + domain: "brazilsouth", + url: "https://dev.azure.com/speedBRs/632bc85b-7173-4b8b-a564-426d038f5b9e/_apis/git/repositories/727f72c5-eb40-46f1-a8ea-72b9114c56b4/items?path=/src/brazilsouth.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", + name: "ADO Brazil South", + icon2: + "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/br.svg", + icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", + }, + { + domain: "eastus2", + url: "https://dev.azure.com/speedusc/234a8c55-07ad-4de2-abdd-55a2584959b3/_apis/git/repositories/bad1fd3e-69b6-4ac8-a629-5a8ce4a3a91f/items?path=/src/eastus2.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=master&resolveLfs=true&api-version=5.0", + name: "ADO East US 2", + icon2: + "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/us.svg", + icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", + }, + { + domain: "canadacentral", + url: "https://dev.azure.com/speedCAc/d47254a2-dbc1-4ff3-9d1c-0e483474c105/_apis/git/repositories/73d2d8cb-53cf-4315-9dea-4e80fb5261e5/items?path=/src/canadacentral.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", + name: "ADO Canada Central", + icon2: + "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/ca.svg", + icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", + }, + { + domain: "southindia", + url: "https://dev.azure.com/speedINs/d2fe9c98-cfff-4bce-9a5f-ec54e927816a/_apis/git/repositories/57b0275a-1c93-44ba-8b98-188cf1783564/items?path=/src/southindia.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", + name: "ADO South India", + icon2: + "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/in.svg", + icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", + }, + { + domain: "github", + url: "https://raw.githubusercontent.com/JanuszNowak/speed/master/src/github.json", + name: "GitHub", + icon: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png", + }, ]; diff --git a/package.json b/package.json index 519eb3f..399b429 100644 --- a/package.json +++ b/package.json @@ -1,30 +1,30 @@ -{ - "name": "GitHubAzureDevOpsSpeedTest", - "version": "1.0.0", - "main": "index.jsx", - "scripts": { - "watch": "watchify -v -t babelify index.jsx -g [ envify --NODE_ENV development ] -o index.min.js", - "build": "npm run lint && npm run browserify", - "lint": "eslint . --ext .js --ext .jsx", - "browserify": "browserify -t babelify index.jsx -g [ envify --NODE_ENV production ] -g uglifyify | uglifyjs --compress --mangle > index.min.js" - }, - "author": "Janusz Nowak", - "dependencies": { - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-sparklines": "^1.7.0" - }, - "devDependencies": { - "babel-preset-es2015": "^6.5.0", - "babel-preset-react": "^6.5.0", - "babelify": "^7.2.0", - "browserify": "^17.0.0", - "envify": "^4.1.0", - "eslint": "^4.19.1", - "eslint-plugin-react": "^7.9.1", - "mocha": "^10.1.0", - "uglify-js": "^3.1.3", - "uglifyify": "^5.0.2", - "watchify": "^4.0.0" - } -} +{ + "name": "GitHubAzureDevOpsSpeedTest", + "version": "1.0.0", + "main": "index.jsx", + "scripts": { + "watch": "watchify -v -t babelify index.jsx -g [ envify --NODE_ENV development ] -o index.min.js", + "build": "npm run lint && npm run browserify", + "lint": "eslint . --ext .js --ext .jsx", + "browserify": "browserify -t babelify index.jsx -g [ envify --NODE_ENV production ] -g uglifyify | uglifyjs --compress --mangle > index.min.js" + }, + "author": "Janusz Nowak", + "dependencies": { + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-sparklines": "^1.7.0" + }, + "devDependencies": { + "babel-preset-es2015": "^6.5.0", + "babel-preset-react": "^6.5.0", + "babelify": "^7.2.0", + "browserify": "^17.0.0", + "envify": "^4.1.0", + "eslint": "^4.19.1", + "eslint-plugin-react": "^7.9.1", + "mocha": "^10.1.0", + "uglify-js": "^3.1.3", + "uglifyify": "^5.0.2", + "watchify": "^4.0.0" + } +} diff --git a/readme.md b/readme.md index 3315692..6d0735a 100644 --- a/readme.md +++ b/readme.md @@ -12,10 +12,12 @@ https://azure4devops.com/GithubAzureDevOpsSpeedTest/ You can use these commands to build the User Interface: ## Inspired + Forked and inspired from https://github.com/richorama/AzureSpeedTest2 needed to change to fetch instead of Ajax call because of no option to configure CORS ## Thoughts + - Azure DevOps regions response time, at least for me are very similar to https://richorama.github.io/AzureSpeedTest2/ hitting the same Azure region plus few extra 1-5 ms - GitHub response time is better usually than Azure DevOps, but time can come maybe from better CDN setup, as GitHub from begging was designed to public open source projects From fa0e12ea886413100a88244282b404f0de53ea24 Mon Sep 17 00:00:00 2001 From: Janusz Nowak Date: Sat, 11 Mar 2023 17:48:14 +0100 Subject: [PATCH 41/57] Update readme.md --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 6d0735a..a81d147 100644 --- a/readme.md +++ b/readme.md @@ -31,6 +31,6 @@ $ npm run build 1. Run `npm run build` 1. Run the site locally (I use [http-server](https://www.npmjs.com/package/http-server)) to test that the site works. -## License +## Preview +![image](https://user-images.githubusercontent.com/5168275/224496856-971ca7f5-9982-4cdb-b48b-61eb8540019b.png) -MIT From 476bfc8c4ebd487e172146f03f4ca6fe969f5571 Mon Sep 17 00:00:00 2001 From: Janusz Nowak Date: Sat, 11 Mar 2023 18:02:11 +0100 Subject: [PATCH 42/57] format html --- index.html | 128 +++++++++++++++++++++++++++-------------------------- 1 file changed, 65 insertions(+), 63 deletions(-) diff --git a/index.html b/index.html index be1220b..58345af 100644 --- a/index.html +++ b/index.html @@ -1,77 +1,79 @@ - - - - - - - Github Azure DevOps SpeedTest - - - + } + + - -
-
-

Github Azure DevOps SpeedTest

-

- Measures the network latency between your browser and GitHub and each - of the Azure DevOps region. -

-
-
+ +
-
Starting...
+

Github Azure DevOps SpeedTest

+

+ Measures the network latency between your browser and GitHub and each + of the Azure DevOps region. +

+
+
+
Starting...
+
+ + - + + - - - + \ No newline at end of file From 722143a767ae30e654523e384da276f9eca147b6 Mon Sep 17 00:00:00 2001 From: Janusz Nowak Date: Sat, 11 Mar 2023 18:08:11 +0100 Subject: [PATCH 43/57] Update readme.md --- readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index a81d147..bcfd9ce 100644 --- a/readme.md +++ b/readme.md @@ -32,5 +32,6 @@ $ npm run build 1. Run the site locally (I use [http-server](https://www.npmjs.com/package/http-server)) to test that the site works. ## Preview -![image](https://user-images.githubusercontent.com/5168275/224496856-971ca7f5-9982-4cdb-b48b-61eb8540019b.png) +![image](https://user-images.githubusercontent.com/5168275/224501609-78351378-7f89-4d92-aad2-56902cf86a4c.png) + From 24fa554177d985210e849ac959b9c6a899468765 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 May 2023 23:03:24 +0000 Subject: [PATCH 44/57] Bump pre-commit/pre-commit from 3.1.1 to 3.3.2 Bumps [pre-commit/pre-commit](https://github.com/pre-commit/pre-commit) from 3.1.1 to 3.3.2. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v3.1.1...v3.3.2) --- updated-dependencies: - dependency-name: pre-commit/pre-commit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot_hack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot_hack.yml b/.github/workflows/dependabot_hack.yml index b92bb6a..f4fd533 100644 --- a/.github/workflows/dependabot_hack.yml +++ b/.github/workflows/dependabot_hack.yml @@ -10,4 +10,4 @@ jobs: runs-on: ubuntu-latest steps: # Dockerfile: - - uses: pre-commit/pre-commit@v3.1.1 + - uses: pre-commit/pre-commit@v3.3.2 From ca40f89391c79fadf773f54c8b79fa689029373a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Mar 2023 23:07:04 +0000 Subject: [PATCH 45/57] Bump actions/deploy-pages from 1 to 2 Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 1 to 2. - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/v1...v2) --- updated-dependencies: - dependency-name: actions/deploy-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/static.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 12006f9..1b1b7cb 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -45,4 +45,4 @@ jobs: path: . - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v2 From 8c3cde86e25b30c6553d5aad7795715f201cc9f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 22:10:11 +0000 Subject: [PATCH 46/57] Bump actions/deploy-pages from 2 to 4 Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 2 to 4. - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/deploy-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/static.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 1b1b7cb..06abf63 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -45,4 +45,4 @@ jobs: path: . - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 From c55a22a63ddd4575b5102e09d7ac295983084150 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 22:10:20 +0000 Subject: [PATCH 47/57] Bump actions/upload-pages-artifact from 1 to 3 Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 1 to 3. - [Release notes](https://github.com/actions/upload-pages-artifact/releases) - [Commits](https://github.com/actions/upload-pages-artifact/compare/v1...v3) --- updated-dependencies: - dependency-name: actions/upload-pages-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/static.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 06abf63..ae7dd64 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -39,7 +39,7 @@ jobs: - name: Setup Pages uses: actions/configure-pages@v3 - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: # Upload entire repository path: . From 133fbe96b294427914a8f8f1ee1b10ecd52b44c2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 22:10:15 +0000 Subject: [PATCH 48/57] Bump actions/configure-pages from 3 to 5 Bumps [actions/configure-pages](https://github.com/actions/configure-pages) from 3 to 5. - [Release notes](https://github.com/actions/configure-pages/releases) - [Commits](https://github.com/actions/configure-pages/compare/v3...v5) --- updated-dependencies: - dependency-name: actions/configure-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/static.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index ae7dd64..c7b4c1a 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -37,7 +37,7 @@ jobs: npm install npm run build - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: From 5a0f0e4f4cc9397e7e13c2d376e4e45d7a85e9e0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 22:22:43 +0000 Subject: [PATCH 49/57] Bump pre-commit/pre-commit from 3.3.2 to 3.8.0 Bumps [pre-commit/pre-commit](https://github.com/pre-commit/pre-commit) from 3.3.2 to 3.8.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v3.3.2...v3.8.0) --- updated-dependencies: - dependency-name: pre-commit/pre-commit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot_hack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot_hack.yml b/.github/workflows/dependabot_hack.yml index f4fd533..be54f64 100644 --- a/.github/workflows/dependabot_hack.yml +++ b/.github/workflows/dependabot_hack.yml @@ -10,4 +10,4 @@ jobs: runs-on: ubuntu-latest steps: # Dockerfile: - - uses: pre-commit/pre-commit@v3.3.2 + - uses: pre-commit/pre-commit@v3.8.0 From 0802d5189a4fb548217c5b365a88d83da5923170 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 22:10:32 +0000 Subject: [PATCH 50/57] Bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/nodejs.yml | 2 +- .github/workflows/static.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 83b0898..bd60592 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -11,7 +11,7 @@ jobs: node-version: [16.x, 18.x, 19.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index c7b4c1a..3ef9cd5 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js uses: actions/setup-node@v3 - name: npm install, build, and test From 18d9484197bae422c4b3c41fb370347e434c6d08 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 23:01:58 +0000 Subject: [PATCH 51/57] Bump actions/setup-node from 3 to 4 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/nodejs.yml | 2 +- .github/workflows/static.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index bd60592..0ce934f 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: npm install, build, and test diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 3ef9cd5..54bd5aa 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -31,7 +31,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 - name: npm install, build, and test run: | npm install From 2f149fbc6a792830de465fcff48968d72eb323d7 Mon Sep 17 00:00:00 2001 From: Janusz Nowak Date: Tue, 25 Feb 2025 08:16:29 +0100 Subject: [PATCH 52/57] Update locations.js Update flags base url --- lib/locations.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/locations.js b/lib/locations.js index ec70c55..6515775 100644 --- a/lib/locations.js +++ b/lib/locations.js @@ -4,7 +4,7 @@ module.exports = () => [ url: "https://dev.azure.com/janono-pub/f3f76e44-c0c5-43a1-8ffb-6fd53baeb8f0/_apis/git/repositories/4a9f397c-2857-4ec9-a434-726ef0414ea1/items?path=/src/westeurope.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO West Europ", icon2: - "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/nl.svg", + "https://cdn.statically.io/gh/hampusborgos/country-flags/main/svg/nl.svg", icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", }, { @@ -12,7 +12,7 @@ module.exports = () => [ url: "https://dev.azure.com/speedASe/ec0ed821-d9e9-46a4-89e1-034a43c03b28/_apis/git/repositories/5ba74da3-843f-45f4-80b8-5ce69b2115ca/items?path=/src/southeastasia.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO Southeast Asia", icon2: - "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/sg.svg", + "https://cdn.statically.io/gh/hampusborgos/country-flags/main/svg/sg.svg", icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", }, { @@ -20,7 +20,7 @@ module.exports = () => [ url: "https://dev.azure.com/speedAUe/1b125322-f16b-4bda-b4d3-bb269c71fa1c/_apis/git/repositories/b46cfa67-b09a-4f39-865a-d07d38dff0b2/items?path=/src/australiaeast.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO Australia East", icon2: - "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/au.svg", + "https://cdn.statically.io/gh/hampusborgos/country-flags/main/svg/au.svg", icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", }, { @@ -28,7 +28,7 @@ module.exports = () => [ url: "https://dev.azure.com/speedUKs/67559a37-8e94-4bbf-8cb2-ae60a6490a9e/_apis/git/repositories/27863565-9557-4306-bbdc-2ad1b8d333f5/items?path=/src/uksouth.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=master&resolveLfs=true&api-version=5.0", name: "ADO UK South", icon2: - "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/gb.svg", + "https://cdn.statically.io/gh/hampusborgos/country-flags/main/svg/gb.svg", icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", }, { @@ -36,7 +36,7 @@ module.exports = () => [ url: "https://dev.azure.com/speedBRs/632bc85b-7173-4b8b-a564-426d038f5b9e/_apis/git/repositories/727f72c5-eb40-46f1-a8ea-72b9114c56b4/items?path=/src/brazilsouth.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO Brazil South", icon2: - "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/br.svg", + "https://cdn.statically.io/gh/hampusborgos/country-flags/main/svg/br.svg", icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", }, { @@ -44,7 +44,7 @@ module.exports = () => [ url: "https://dev.azure.com/speedusc/234a8c55-07ad-4de2-abdd-55a2584959b3/_apis/git/repositories/bad1fd3e-69b6-4ac8-a629-5a8ce4a3a91f/items?path=/src/eastus2.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=master&resolveLfs=true&api-version=5.0", name: "ADO East US 2", icon2: - "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/us.svg", + "https://cdn.statically.io/gh/hampusborgos/country-flags/main/svg/us.svg", icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", }, { @@ -52,7 +52,7 @@ module.exports = () => [ url: "https://dev.azure.com/speedCAc/d47254a2-dbc1-4ff3-9d1c-0e483474c105/_apis/git/repositories/73d2d8cb-53cf-4315-9dea-4e80fb5261e5/items?path=/src/canadacentral.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO Canada Central", icon2: - "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/ca.svg", + "https://cdn.statically.io/gh/hampusborgos/country-flags/main/svg/ca.svg", icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", }, { @@ -60,7 +60,7 @@ module.exports = () => [ url: "https://dev.azure.com/speedINs/d2fe9c98-cfff-4bce-9a5f-ec54e927816a/_apis/git/repositories/57b0275a-1c93-44ba-8b98-188cf1783564/items?path=/src/southindia.json&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=main&resolveLfs=true&api-version=5.0", name: "ADO South India", icon2: - "https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/in.svg", + "https://cdn.statically.io/gh/hampusborgos/country-flags/main/svg/in.svg", icon: "https://raw.githubusercontent.com/Azure4DevOps/Azure-Icons/master/Azure_Public_Service_Icons_V6/Icons/devops/10261-icon-service-Azure-DevOps.svg", }, { From 2d18592541a2aa2ecfe667e73fad1404db8dbdcd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 22:29:34 +0000 Subject: [PATCH 53/57] Bump pre-commit/pre-commit from 3.8.0 to 4.0.1 Bumps [pre-commit/pre-commit](https://github.com/pre-commit/pre-commit) from 3.8.0 to 4.0.1. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v3.8.0...v4.0.1) --- updated-dependencies: - dependency-name: pre-commit/pre-commit dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot_hack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot_hack.yml b/.github/workflows/dependabot_hack.yml index be54f64..b1ee231 100644 --- a/.github/workflows/dependabot_hack.yml +++ b/.github/workflows/dependabot_hack.yml @@ -10,4 +10,4 @@ jobs: runs-on: ubuntu-latest steps: # Dockerfile: - - uses: pre-commit/pre-commit@v3.8.0 + - uses: pre-commit/pre-commit@v4.0.1 From 972bf711703172b9688064b91743d6b3ee078dec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Feb 2025 22:38:34 +0000 Subject: [PATCH 54/57] Bump pre-commit/pre-commit from 4.0.1 to 4.1.0 Bumps [pre-commit/pre-commit](https://github.com/pre-commit/pre-commit) from 4.0.1 to 4.1.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v4.0.1...v4.1.0) --- updated-dependencies: - dependency-name: pre-commit/pre-commit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot_hack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot_hack.yml b/.github/workflows/dependabot_hack.yml index b1ee231..877afd0 100644 --- a/.github/workflows/dependabot_hack.yml +++ b/.github/workflows/dependabot_hack.yml @@ -10,4 +10,4 @@ jobs: runs-on: ubuntu-latest steps: # Dockerfile: - - uses: pre-commit/pre-commit@v4.0.1 + - uses: pre-commit/pre-commit@v4.1.0 From 61af2908398d14aaf6c47dd22fedf80477368bd9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Mar 2025 22:38:35 +0000 Subject: [PATCH 55/57] Bump pre-commit/pre-commit from 4.1.0 to 4.2.0 Bumps [pre-commit/pre-commit](https://github.com/pre-commit/pre-commit) from 4.1.0 to 4.2.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v4.1.0...v4.2.0) --- updated-dependencies: - dependency-name: pre-commit/pre-commit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot_hack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot_hack.yml b/.github/workflows/dependabot_hack.yml index 877afd0..3db08b0 100644 --- a/.github/workflows/dependabot_hack.yml +++ b/.github/workflows/dependabot_hack.yml @@ -10,4 +10,4 @@ jobs: runs-on: ubuntu-latest steps: # Dockerfile: - - uses: pre-commit/pre-commit@v4.1.0 + - uses: pre-commit/pre-commit@v4.2.0 From f45e785f9d83c1367f1025fe76fcc337fcc364e3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Feb 2025 22:29:10 +0000 Subject: [PATCH 56/57] Bump mocha from 10.8.2 to 11.1.0 Bumps [mocha](https://github.com/mochajs/mocha) from 10.8.2 to 11.1.0. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v10.8.2...v11.1.0) --- updated-dependencies: - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 399b429..b32aec3 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "envify": "^4.1.0", "eslint": "^4.19.1", "eslint-plugin-react": "^7.9.1", - "mocha": "^10.1.0", + "mocha": "^11.1.0", "uglify-js": "^3.1.3", "uglifyify": "^5.0.2", "watchify": "^4.0.0" From 05596ddada5d51e36978fca6f116a934a0706179 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 11 Mar 2023 16:37:07 +0000 Subject: [PATCH 57/57] Bump babelify from 7.3.0 to 10.0.0 Bumps [babelify](https://github.com/babel/babelify) from 7.3.0 to 10.0.0. - [Release notes](https://github.com/babel/babelify/releases) - [Commits](https://github.com/babel/babelify/compare/v7.3.0...v10.0.0) --- updated-dependencies: - dependency-name: babelify dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b32aec3..99c6c2d 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "devDependencies": { "babel-preset-es2015": "^6.5.0", "babel-preset-react": "^6.5.0", - "babelify": "^7.2.0", + "babelify": "^10.0.0", "browserify": "^17.0.0", "envify": "^4.1.0", "eslint": "^4.19.1",
- Retry + + Retry +