Skip to content

Commit

Permalink
update cloudflare and fastly
Browse files Browse the repository at this point in the history
  • Loading branch information
adaptive committed Aug 18, 2022
1 parent 5653c5f commit 2537714
Show file tree
Hide file tree
Showing 7 changed files with 1,751 additions and 638 deletions.
11 changes: 9 additions & 2 deletions data/iata-filtered.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const iata = new Map([
["CDG", [49, 2.57]],
["CEB", [10.31, 123.98]],
["CFC", [-26.79, -50.94]],
["CGB", [-15.65, -56.12]],
["CGD", [28.92, 111.64]],
["CGH", [-23.63, -46.66]],
["CGK", [-6.13, 106.66]],
Expand All @@ -71,6 +72,7 @@ const iata = new Map([
["CMN", [33.37, -7.59]],
["CNF", [-19.63, -43.96]],
["CNX", [18.77, 98.97]],
["COR", [-31.32, -64.21]],
["CPH", [55.63, 12.65]],
["CPM", [33.89, -118.24]],
["CPT", [-33.97, 18.6]],
Expand Down Expand Up @@ -120,7 +122,9 @@ const iata = new Map([
["FRU", [43.05, 74.47]],
["FTY", [33.78, -84.52]],
["FUO", [23.13, 113.28]],
["GBE", [-24.56, 25.92]],
["GDL", [20.53, -103.3]],
["GEO", [6.5, -58.25]],
["GIG", [-22.81, -43.25]],
["GND", [12, -61.79]],
["GNV", [29.69, -82.28]],
Expand All @@ -137,6 +141,7 @@ const iata = new Map([
["HAK", [19.94, 110.46]],
["HAM", [53.63, 10.01]],
["HAN", [21.21, 105.8]],
["HBA", [-42.84, 147.51]],
["HEF", [38.72, -77.52]],
["HEL", [60.32, 24.97]],
["HET", [40.85, 111.81]],
Expand Down Expand Up @@ -225,7 +230,7 @@ const iata = new Map([
["MCO", [28.43, -81.31]],
["MCT", [23.59, 58.29]],
["MDE", [6.17, -75.43]],
["MDW", [41.79, -87.74]],
["MDL", [21.94, 96.09]],
["MEB", [-37.74, 144.9]],
["MEL", [-37.67, 144.85]],
["MEM", [35.04, -89.98]],
Expand All @@ -248,12 +253,14 @@ const iata = new Map([
["NAG", [21.09, 79.06]],
["NAP", [40.89, 14.29]],
["NBO", [-1.32, 36.93]],
["NJF", [31.99, 44.4]],
["NKG", [31.74, 118.87]],
["NOU", [-22.02, 166.22]],
["NQN", [-38.95, -68.15]],
["NQZ", [51.03, 71.46]],
["NRT", [35.77, 140.39]],
["NUE", [49.49, 11.08]],
["OKA", [26.2, 127.65]],
["OMA", [41.3, -95.9]],
["ORD", [41.98, -87.9]],
["ORF", [36.9, -76.21]],
Expand Down Expand Up @@ -288,7 +295,6 @@ const iata = new Map([
["PRG", [50.11, 14.27]],
["PTY", [9.07, -79.39]],
["PUS", [35.18, 128.95]],
["PWK", [42.11, -87.89]],
["PWQ", [52.18, 77.07]],
["QHI", [13.23, 100.96]],
["QPG", [1.35, 103.9]],
Expand Down Expand Up @@ -338,6 +344,7 @@ const iata = new Map([
["TAS", [41.26, 69.27]],
["TBS", [41.67, 44.96]],
["TGU", [14.06, -87.22]],
["TIA", [41.42, 19.71]],
["TIR", [13.64, 79.54]],
["TLH", [30.4, -84.34]],
["TLL", [59.42, 24.8]],
Expand Down
11 changes: 11 additions & 0 deletions data/providers/cloudflare.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,19 @@ const cloudflare = {
"CDG",
"CEB",
"CFC",
"CGB",
"CGD",
"CGK",
"CGO",
"CGP",
"CHC",
"CLT",
"CMB",
"CMH",
"CMN",
"CNF",
"CNX",
"COR",
"CPH",
"CPT",
"CSX",
Expand Down Expand Up @@ -87,6 +90,8 @@ const cloudflare = {
"FOR",
"FRA",
"FUO",
"GBE",
"GEO",
"GIG",
"GND",
"GOT",
Expand All @@ -100,6 +105,7 @@ const cloudflare = {
"HAK",
"HAM",
"HAN",
"HBA",
"HEL",
"HET",
"HFA",
Expand All @@ -120,6 +126,7 @@ const cloudflare = {
"IXC",
"JAX",
"JDO",
"JED",
"JHB",
"JIB",
"JJN",
Expand Down Expand Up @@ -164,6 +171,7 @@ const cloudflare = {
"MCI",
"MCT",
"MDE",
"MDL",
"MEL",
"MEM",
"MEX",
Expand All @@ -182,10 +190,12 @@ const cloudflare = {
"MXP",
"NAG",
"NBO",
"NJF",
"NKG",
"NOU",
"NQN",
"NRT",
"OKA",
"OMA",
"ORD",
"ORF",
Expand Down Expand Up @@ -239,6 +249,7 @@ const cloudflare = {
"TAS",
"TBS",
"TGU",
"TIA",
"TLH",
"TLL",
"TLV",
Expand Down
7 changes: 3 additions & 4 deletions data/providers/fastly.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ const fastly = {
url: "https://www.fastly.com",
pops: [
"ACC",
"ADL",
"AKL",
"AMS",
"ATL",
"BFI",
"BKK",
"BMA",
"BNE",
"BOG",
Expand Down Expand Up @@ -39,7 +41,6 @@ const fastly = {
"FTY",
"GIG",
"GNV",
"GRU",
"HEL",
"HHN",
"HKG",
Expand Down Expand Up @@ -67,7 +68,6 @@ const fastly = {
"MAD",
"MAN",
"MCI",
"MDW",
"MEL",
"MIA",
"MNL",
Expand All @@ -76,15 +76,13 @@ const fastly = {
"MUC",
"MXP",
"NRT",
"ORD",
"OSL",
"PAO",
"PDK",
"PDX",
"PER",
"PHX",
"PMO",
"PWK",
"QPG",
"SCL",
"SEA",
Expand All @@ -98,6 +96,7 @@ const fastly = {
"WLG",
"YUL",
"YVR",
"YYC",
"YYZ"
]
};
Expand Down
2 changes: 1 addition & 1 deletion dist/bundle.js

Large diffs are not rendered by default.

18 changes: 14 additions & 4 deletions notebooks/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -366,16 +366,19 @@ cloudflare,CCU,22.65,88.44
cloudflare,CDG,49,2.57
cloudflare,CEB,10.31,123.98
cloudflare,CFC,-26.79,-50.94
cloudflare,CGB,-15.65,-56.12
cloudflare,CGD,28.92,111.64
cloudflare,CGK,-6.13,106.66
cloudflare,CGO,34.53,113.84
cloudflare,CGP,22.25,91.82
cloudflare,CHC,-43.49,172.54
cloudflare,CLT,35.22,-80.94
cloudflare,CMB,7.17,79.89
cloudflare,CMH,40,-82.88
cloudflare,CMN,33.37,-7.59
cloudflare,CNF,-19.63,-43.96
cloudflare,CNX,18.77,98.97
cloudflare,COR,-31.32,-64.21
cloudflare,CPH,55.63,12.65
cloudflare,CPT,-33.97,18.6
cloudflare,CSX,28.19,113.21
Expand Down Expand Up @@ -409,6 +412,8 @@ cloudflare,FOC,25.93,119.67
cloudflare,FOR,-3.78,-38.54
cloudflare,FRA,50.05,8.57
cloudflare,FUO,23.13,113.28
cloudflare,GBE,-24.56,25.92
cloudflare,GEO,6.5,-58.25
cloudflare,GIG,-22.81,-43.25
cloudflare,GND,12,-61.79
cloudflare,GOT,57.67,12.29
Expand All @@ -422,6 +427,7 @@ cloudflare,GYN,-16.63,-49.23
cloudflare,HAK,19.94,110.46
cloudflare,HAM,53.63,10.01
cloudflare,HAN,21.21,105.8
cloudflare,HBA,-42.84,147.51
cloudflare,HEL,60.32,24.97
cloudflare,HET,40.85,111.81
cloudflare,HFA,32.81,35.04
Expand All @@ -442,6 +448,7 @@ cloudflare,ITJ,-26.88,-48.65
cloudflare,IXC,30.67,76.8
cloudflare,JAX,30.49,-81.68
cloudflare,JDO,-7.2,-39.32
cloudflare,JED,21.67,39.15
cloudflare,JHB,1.64,103.67
cloudflare,JIB,11.55,43.15
cloudflare,JJN,24.8,118.59
Expand Down Expand Up @@ -486,6 +493,7 @@ cloudflare,MBA,-4.03,39.6
cloudflare,MCI,39.29,-94.72
cloudflare,MCT,23.59,58.29
cloudflare,MDE,6.17,-75.43
cloudflare,MDL,21.94,96.09
cloudflare,MEL,-37.67,144.85
cloudflare,MEM,35.04,-89.98
cloudflare,MEX,19.44,-99.07
Expand All @@ -504,10 +512,12 @@ cloudflare,MUC,48.35,11.79
cloudflare,MXP,45.63,8.71
cloudflare,NAG,21.09,79.06
cloudflare,NBO,-1.32,36.93
cloudflare,NJF,31.99,44.4
cloudflare,NKG,31.74,118.87
cloudflare,NOU,-22.02,166.22
cloudflare,NQN,-38.95,-68.15
cloudflare,NRT,35.77,140.39
cloudflare,OKA,26.2,127.65
cloudflare,OMA,41.3,-95.9
cloudflare,ORD,41.98,-87.9
cloudflare,ORF,36.9,-76.21
Expand Down Expand Up @@ -561,6 +571,7 @@ cloudflare,TAO,36.27,120.38
cloudflare,TAS,41.26,69.27
cloudflare,TBS,41.67,44.96
cloudflare,TGU,14.06,-87.22
cloudflare,TIA,41.42,19.71
cloudflare,TLH,30.4,-84.34
cloudflare,TLL,59.42,24.8
cloudflare,TLV,32,34.87
Expand Down Expand Up @@ -823,10 +834,12 @@ ec2,SJC,37.37,-121.93
ec2,SYD,-33.93,151.18
ec2,YUL,45.46,-73.75
fastly,ACC,5.61,-0.17
fastly,ADL,-34.94,138.54
fastly,AKL,-37,174.78
fastly,AMS,52.31,4.76
fastly,ATL,33.64,-84.44
fastly,BFI,47.54,-122.3
fastly,BKK,13.69,100.75
fastly,BMA,59.36,17.95
fastly,BNE,-27.4,153.11
fastly,BOG,4.7,-74.14
Expand Down Expand Up @@ -859,7 +872,6 @@ fastly,FRA,50.05,8.57
fastly,FTY,33.78,-84.52
fastly,GIG,-22.81,-43.25
fastly,GNV,29.69,-82.28
fastly,GRU,-23.43,-46.48
fastly,HEL,60.32,24.97
fastly,HHN,49.95,7.26
fastly,HKG,22.32,113.94
Expand Down Expand Up @@ -887,7 +899,6 @@ fastly,MAA,12.98,80.16
fastly,MAD,40.47,-3.57
fastly,MAN,53.36,-2.27
fastly,MCI,39.29,-94.72
fastly,MDW,41.79,-87.74
fastly,MEL,-37.67,144.85
fastly,MIA,25.8,-80.28
fastly,MNL,14.51,121.01
Expand All @@ -896,15 +907,13 @@ fastly,MSP,44.88,-93.21
fastly,MUC,48.35,11.79
fastly,MXP,45.63,8.71
fastly,NRT,35.77,140.39
fastly,ORD,41.98,-87.9
fastly,OSL,60.19,11.1
fastly,PAO,37.46,-122.11
fastly,PDK,33.88,-84.3
fastly,PDX,45.59,-122.59
fastly,PER,-31.93,115.96
fastly,PHX,33.44,-112
fastly,PMO,38.19,13.1
fastly,PWK,42.11,-87.89
fastly,QPG,1.35,103.9
fastly,SCL,-33.4,-70.79
fastly,SEA,47.44,-122.3
Expand All @@ -918,6 +927,7 @@ fastly,VIE,48.12,16.56
fastly,WLG,-41.33,174.81
fastly,YUL,45.46,-73.75
fastly,YVR,49.19,-123.18
fastly,YYC,51.13,-114.01
fastly,YYZ,43.68,-79.61
flexential,ABE,40.65,-75.43
flexential,ATL,33.64,-84.44
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adaptivelink/pops",
"version": "0.4.17",
"version": "0.4.18",
"description": "Points of Presence geolocation",
"main": "dist/bundle.js",
"types": "main.d.ts",
Expand Down Expand Up @@ -63,7 +63,7 @@
"wasabi"
],
"devDependencies": {
"@adaptivelink/iata": "0.1.0",
"@adaptivelink/iata": "0.1.2",
"concurrently": "7.3.0",
"isomorphic-fetch": "3.0.0",
"lodash": "4.17.21",
Expand Down
Loading

0 comments on commit 2537714

Please sign in to comment.