airline-codes 1.1.4 → 1.1.6

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/normalize.js CHANGED
@@ -79,6 +79,17 @@ var ID_CORRECTIONS = {
79
79
  // Wrong IATA codes in upstream data:
80
80
  '4374': { iata: 'GQ' }, // Sky Express Greece - correct code is GQ not G3
81
81
  '19849': { iata: 'GX' }, // Guangxi Beibu Gulf Airlines - correct code is GX not UQ
82
+ // Outdated airline assignments (upstream OpenFlights not yet updated):
83
+ '4239': { name: 'Volaris El Salvador', iata: 'N3', callsign: 'VOLSAL', country: 'El Salvador', active: 'Y' }, // VOS reassigned from Rovos Air (South Africa) to Volaris El Salvador
84
+ // LAN / TAM rebranding to LATAM:
85
+ '411': { name: 'LATAM Airlines Colombia', callsign: 'LAN COLOMBIA', country: 'Colombia' }, // Aires rebranded to LATAM Colombia; fix corrupted callsign and country " S.A."
86
+ '1034': { name: 'LATAM Airlines Ecuador' }, // Aerolane rebranded to LATAM Airlines Ecuador
87
+ '3200': { name: 'LATAM Airlines' }, // LAN Airlines rebranded to LATAM Airlines
88
+ '3201': { name: 'LATAM Airlines Argentina', active: 'N' }, // LAN Argentina rebranded to LATAM Airlines Argentina; ceased operations 2020
89
+ '3204': { name: 'LATAM Airlines Chile' }, // LAN Express rebranded to LATAM Airlines Chile
90
+ '3205': { name: 'LATAM Airlines Peru' }, // LAN Peru rebranded to LATAM Airlines Peru
91
+ '4867': { name: 'LATAM Airlines Brasil' }, // TAM Brazilian Airlines rebranded to LATAM Airlines Brasil
92
+ '5156': { name: 'LATAM Airlines Paraguay' }, // TAM Mercosur rebranded to LATAM Airlines Paraguay
82
93
  };
83
94
 
84
95
  var columns = ['id', 'name', 'alias', 'iata', 'icao', 'callsign', 'country', 'active'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "airline-codes",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "Airline codes (IATA) and information pulled from OpenFlights.org.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "JSONStream": "^1.0.4",
31
31
  "backbone": "^1.1.2",
32
- "csv": "^5.1.3",
32
+ "csv": "^6.6.3",
33
33
  "lodash": "^4.17.21"
34
34
  }
35
35
  }