airframesio/
ACARS Message Decoder for TypeScript / JavaScript
USD raised
Recent activities
Bug: Label_HX LOCATION/43 branches dereference parts[3..4] with no length guard β preamble-only text throws TypeError and aborts MessageDecoder.decode()
Bug: Label_83 variant-2 branch dereferences fields[2..6] with no length guard β short/truncated `4DH3 ETAT2β¦` inputs throw TypeError and abort MessageDecoder.decode()
Bug: Label_1M_Slash `if (results)` guard is dead β any 1M message with fewer than 9 fields throws TypeError and aborts MessageDecoder.decode()
Bug: Label_H1_Paren parseLat regex mis-parses 5-digit latitudes accepted by the outer regex (silent, out-of-range output)
Bug: FlightPlanUtils.processFlightPlan throws on trailing fpei with no value (split-out from #453 observation)
Bug: flight_plan_utils.addRunway only handles 8-char `xxx(yyy)` form, garbling shorter pairings
Bug: Label_21_POS.processPosition validation guard uses && between independent checks, almost never rejecting malformed input
Bug: Label_8E unconditionally returns decoded:true / decodeLevel:'full' even when its regex didn't match
Bug: Label_2P_FM3 / FM4 / FM5 missing-header guard is dead (split.length is never 0); FM3 then throws on header[1].length, FM4/FM5 emit undefined fields
Bug: Label_4T_AGFSR applies hemisphere sign to degrees only, mis-placing S/W coordinates by 2Γ the decimal-minutes amount
Bug: Label_16_TOD and Label_80 parse DDMM.mm coordinates as decimal degrees Γ· 100, placing aircraft ~15β30 nm off
Bug: Arinc702Helper TS/RW/WD handlers throw on short fields, aborting the whole H1 decode
Bug: MIAM v1 PDU CRC stored as signed Int32 β top-bit-set CRCs come out negative
Bug: parseIcaoFpl silently swaps departure/destination ICAO into the time field when the field has no trailing time
Bug: RouteUtils.waypointToString silently drops coordinates when latitude or longitude is exactly 0
Bug: arinc_702_helper.processDateCode computes a swapped DDMMYYβMMDDYY date and then never uses it (likely missing NaN fallback)
Bug: CoordinateUtils.coordinateString misclassifies the equator (0Β° lat) as 'S' and the prime meridian (0Β° lon) as 'W'
Bug: DateTimeUtils.UTCToString returns local time despite the "UTC" name (also: deprecated substr)
Bug: DateTimeUtils.UTCDateTimeToString month is off-by-one
H1 FPN - support alternate route
FPN coordinates are decimal minutes not decimal degrees
Add METAR/SPECI/TAF decoder
Β© 2019 BoostIO, Inc.