Skip to content

Commit

Permalink
cloudflare at 281
Browse files Browse the repository at this point in the history
  • Loading branch information
adaptive committed Sep 24, 2022
1 parent ca426b8 commit fd143de
Show file tree
Hide file tree
Showing 8 changed files with 1,696 additions and 635 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.187.0/containers/javascript-node/.devcontainer/base.Dockerfile

# [Choice] Node.js version: 16, 14, 12
ARG VARIANT="16-bullseye"
ARG VARIANT="18-bullseye"
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}

# [Optional] Uncomment this section to install additional OS packages.
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Node.js",
"build": {
"dockerfile": "Dockerfile",
"args": { "VARIANT": "16" }
"args": { "VARIANT": "18" }
},

// Set *default* container specific settings.json values on container create.
Expand Down
23 changes: 11 additions & 12 deletions data/iata-filtered.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const iata = new Map([
["BOG", [4.7, -74.14]],
["BOM", [19.1, 72.87]],
["BOS", [42.37, -71.02]],
["BPE", [39.67, 119.06]],
["BRU", [50.9, 4.48]],
["BSB", [-15.87, -47.92]],
["BSR", [30.56, 47.79]],
Expand All @@ -50,6 +49,7 @@ const iata = new Map([
["CAN", [23.39, 113.3]],
["CBF", [41.26, -95.76]],
["CBR", [-35.31, 149.19]],
["CCP", [-36.78, -73.06]],
["CCU", [22.65, 88.44]],
["CDG", [49, 2.57]],
["CEB", [10.31, 123.98]],
Expand All @@ -60,6 +60,8 @@ const iata = new Map([
["CGK", [-6.13, 106.66]],
["CGO", [34.53, 113.84]],
["CGP", [22.25, 91.82]],
["CGQ", [43.9, 125.22]],
["CGY", [8.61, 124.46]],
["CHA", [35.04, -85.2]],
["CHC", [-43.49, 172.54]],
["CHI", [41.88, -87.77]],
Expand All @@ -77,14 +79,12 @@ const iata = new Map([
["CPM", [33.89, -118.24]],
["CPT", [-33.97, 18.6]],
["CRK", [15.18, 120.55]],
["CSX", [28.19, 113.21]],
["CTU", [30.58, 103.96]],
["CUR", [12.18, -68.96]],
["CVG", [39.06, -84.66]],
["CWB", [-25.53, -49.18]],
["CWL", [51.4, -3.34]],
["CYS", [41.16, -104.82]],
["CZX", [31.91, 119.78]],
["DAC", [23.85, 90.41]],
["DAL", [32.84, -96.85]],
["DAR", [-6.87, 39.2]],
Expand Down Expand Up @@ -146,7 +146,6 @@ const iata = new Map([
["HEL", [60.32, 24.97]],
["HET", [40.85, 111.81]],
["HFA", [32.81, 35.04]],
["HFE", [31.99, 116.98]],
["HGH", [30.24, 120.43]],
["HHN", [49.95, 7.26]],
["HHP", [22.29, 114.15]],
Expand All @@ -156,7 +155,6 @@ const iata = new Map([
["HNL", [21.33, -157.92]],
["HRE", [-17.92, 31.1]],
["HYD", [17.24, 78.43]],
["HYN", [28.56, 121.42]],
["IAD", [38.95, -77.45]],
["IAH", [29.98, -95.34]],
["ICN", [37.45, 126.45]],
Expand All @@ -173,13 +171,11 @@ const iata = new Map([
["JFK", [40.64, -73.79]],
["JHB", [1.64, 103.67]],
["JIB", [11.55, 43.15]],
["JJN", [24.8, 118.59]],
["JNB", [-26.13, 28.23]],
["JOG", [-7.79, 110.44]],
["JOI", [-26.23, -48.78]],
["JRS", [31.87, 35.21]],
["JSR", [23.18, 89.16]],
["JUZ", [28.97, 118.83]],
["KBP", [50.34, 30.9]],
["KEF", [64, -22.62]],
["KGL", [-1.96, 30.14]],
Expand All @@ -190,11 +186,11 @@ const iata = new Map([
["KIV", [46.94, 28.93]],
["KIX", [34.44, 135.24]],
["KJA", [56.18, 92.48]],
["KLD", [56.92, 35.92]],
["KNU", [26.4, 80.41]],
["KTM", [27.7, 85.36]],
["KUF", [53.51, 50.15]],
["KUL", [2.76, 101.71]],
["KWE", [26.54, 106.8]],
["KWI", [29.24, 47.97]],
["KZN", [55.61, 49.3]],
["LAD", [-8.85, 13.23]],
Expand Down Expand Up @@ -254,7 +250,7 @@ const iata = new Map([
["NAP", [40.89, 14.29]],
["NBO", [-1.32, 36.93]],
["NJF", [31.99, 44.4]],
["NKG", [31.74, 118.87]],
["NNG", [22.61, 108.17]],
["NOU", [-22.02, 166.22]],
["NQN", [-38.95, -68.15]],
["NQZ", [51.03, 71.46]],
Expand All @@ -268,6 +264,7 @@ const iata = new Map([
["ORY", [48.73, 2.36]],
["OSL", [60.19, 11.1]],
["OTP", [44.57, 26.08]],
["OUA", [12.36, -1.51]],
["OVB", [55.01, 82.67]],
["OXR", [34.2, -119.21]],
["PAE", [47.91, -122.28]],
Expand Down Expand Up @@ -317,6 +314,7 @@ const iata = new Map([
["SBN", [41.7, -86.31]],
["SCL", [-33.4, -70.79]],
["SDF", [38.19, -85.74]],
["SDQ", [18.43, -69.68]],
["SDV", [32.1, 34.79]],
["SEA", [47.44, -122.3]],
["SFO", [37.62, -122.39]],
Expand Down Expand Up @@ -371,16 +369,16 @@ const iata = new Map([
["VTE", [17.98, 102.57]],
["VVO", [43.38, 132.14]],
["WAW", [52.17, 20.97]],
["WDS", [32.59, 110.91]],
["WLG", [-41.33, 174.81]],
["WUH", [30.78, 114.21]],
["WUX", [31.49, 120.42]],
["XIY", [34.44, 108.76]],
["XNH", [30.94, 46.09]],
["XNN", [36.53, 102.04]],
["YHZ", [44.88, -63.51]],
["YIH", [30.55, 111.48]],
["YOW", [45.32, -75.67]],
["YQB", [46.79, -71.38]],
["YTY", [32.56, 119.72]],
["YUL", [45.46, -73.75]],
["YVR", [49.19, -123.18]],
["YWG", [49.9, -97.23]],
Expand All @@ -389,10 +387,11 @@ const iata = new Map([
["YYZ", [43.68, -79.61]],
["ZAG", [45.73, 16.06]],
["ZDM", [32.27, 35.02]],
["ZGN", [22.52, 113.37]],
["ZHY", [37.57, 105.15]],
["ZPM", [49.01, 12.1]],
["ZQZ", [40.74, 114.93]],
["ZRH", [47.45, 8.56]]
["ZRH", [47.45, 8.56]],
]);

export default iata;
26 changes: 12 additions & 14 deletions data/providers/cloudflare.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ const cloudflare = {
"BGW",
"BKK",
"BLR",
"BNA",
"BNE",
"BNU",
"BOG",
"BOM",
"BOS",
"BPE",
"BRU",
"BSB",
"BSR",
"BTS",
"BUD",
"BUF",
"BWN",
"CAN",
"CBR",
"CCP",
"CCU",
"CDG",
"CEB",
Expand All @@ -49,6 +49,8 @@ const cloudflare = {
"CGK",
"CGO",
"CGP",
"CGQ",
"CGY",
"CHC",
"CLT",
"CMB",
Expand All @@ -59,11 +61,8 @@ const cloudflare = {
"COR",
"CPH",
"CPT",
"CSX",
"CTU",
"CUR",
"CWB",
"CZX",
"DAC",
"DAR",
"DEL",
Expand Down Expand Up @@ -107,15 +106,12 @@ const cloudflare = {
"HAN",
"HBA",
"HEL",
"HET",
"HFA",
"HFE",
"HGH",
"HKG",
"HNL",
"HRE",
"HYD",
"HYN",
"IAD",
"IAH",
"ICN",
Expand All @@ -129,25 +125,24 @@ const cloudflare = {
"JED",
"JHB",
"JIB",
"JJN",
"JNB",
"JOG",
"JOI",
"JSR",
"JUZ",
"KBP",
"KEF",
"KGL",
"KHH",
"KHI",
"KHN",
"KHV",
"KIV",
"KIX",
"KJA",
"KLD",
"KNU",
"KTM",
"KUL",
"KWE",
"KWI",
"LAD",
"LAS",
Expand Down Expand Up @@ -191,7 +186,7 @@ const cloudflare = {
"NAG",
"NBO",
"NJF",
"NKG",
"NNG",
"NOU",
"NQN",
"NRT",
Expand All @@ -202,6 +197,7 @@ const cloudflare = {
"ORK",
"OSL",
"OTP",
"OUA",
"PAP",
"PAT",
"PBH",
Expand All @@ -228,6 +224,7 @@ const cloudflare = {
"RUN",
"SAN",
"SCL",
"SDQ",
"SEA",
"SGN",
"SHA",
Expand Down Expand Up @@ -269,13 +266,13 @@ const cloudflare = {
"VNO",
"VTE",
"WAW",
"WDS",
"WUH",
"WUX",
"XIY",
"XNH",
"XNN",
"YIH",
"YOW",
"YTY",
"YUL",
"YVR",
"YWG",
Expand All @@ -284,6 +281,7 @@ const cloudflare = {
"YYZ",
"ZAG",
"ZDM",
"ZGN",
"ZRH"
]
};
Expand Down
2 changes: 1 addition & 1 deletion dist/bundle.js

Large diffs are not rendered by default.

Loading

0 comments on commit fd143de

Please sign in to comment.