@tak-ps/node-cot 3.5.3 → 3.5.4

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/CHANGELOG.md CHANGED
@@ -10,6 +10,11 @@
10
10
 
11
11
  ## Version History
12
12
 
13
+ ### v3.5.4
14
+
15
+ - :bug: Ensure `to_geojson` FN returns proper coordinate order
16
+ - :arrow_up: Update Deps
17
+
13
18
  ### v3.5.3
14
19
 
15
20
  - :bug: Ensure `to_geojson` FN returns numeric coordinates
package/dist/lib/xml.js CHANGED
@@ -150,7 +150,7 @@ export default class XMLCot {
150
150
  type: 'Point',
151
151
  coordinates: [
152
152
  Number(raw.event.point._attributes.lon),
153
- Number(raw.event.point._attributes.lon),
153
+ Number(raw.event.point._attributes.lat),
154
154
  Number(raw.event.point._attributes.hae)
155
155
  ]
156
156
  }
package/lib/xml.ts CHANGED
@@ -226,7 +226,7 @@ export default class XMLCot {
226
226
  type: 'Point',
227
227
  coordinates: [
228
228
  Number(raw.event.point._attributes.lon),
229
- Number(raw.event.point._attributes.lon),
229
+ Number(raw.event.point._attributes.lat),
230
230
  Number(raw.event.point._attributes.hae)
231
231
  ]
232
232
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/node-cot",
3
3
  "type": "module",
4
- "version": "3.5.3",
4
+ "version": "3.5.4",
5
5
  "description": "Lightweight JavaScript library for parsing and manipulating TAK messages",
6
6
  "author": "Nick Ingalls <nick@ingalls.ca>",
7
7
  "main": "dist/index.js",
@@ -26,8 +26,8 @@
26
26
  "devDependencies": {
27
27
  "@types/node": "^20.0.0",
28
28
  "@types/tape": "^5.6.0",
29
- "@typescript-eslint/eslint-plugin": "^5.54.0",
30
- "@typescript-eslint/parser": "^5.54.0",
29
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
30
+ "@typescript-eslint/parser": "^6.0.0",
31
31
  "eslint": "^8.35.0",
32
32
  "eslint-plugin-node": "^11.1.0",
33
33
  "tape": "^5.6.1",