fit-file-parser 6.1.1 → 6.2.0

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.
@@ -240,6 +240,7 @@ export function generateFitType() {
240
240
  time_in_zone: 'parsed_time_in_zone',
241
241
  activity_metrics: 'parsed_activity_metrics',
242
242
  user_metrics: 'parsed_user_metrics',
243
+ batteries: 'parsed_battery',
243
244
  };
244
245
  const referenceProperties = {
245
246
  file_creator: 'parsed_file_creator',
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "fit-file-parser",
3
3
  "type": "module",
4
- "version": "6.1.1",
4
+ "version": "6.2.0",
5
5
  "private": false,
6
- "description": "Parse your .FIT files easily, directly from JS (Garmin, Polar, Suunto)",
6
+ "description": "JavaScript and TypeScript library for parsing and encoding FIT files, with developer-field support, raw message access, and ESM/CommonJS builds.",
7
7
  "author": {
8
8
  "name": "jimmykane"
9
9
  },
@@ -24,13 +24,22 @@
24
24
  "url": "git+ssh://git@github.com/jimmykane/fit-parser.git"
25
25
  },
26
26
  "bugs": {
27
- "url": "https://github.com/jimmykane/fit-parser"
27
+ "url": "https://github.com/jimmykane/fit-parser/issues"
28
28
  },
29
29
  "keywords": [
30
30
  "fit",
31
- "ant",
31
+ "fit-file",
32
+ "fit-parser",
33
+ "fit-file-parsing",
34
+ "fit-encoder",
35
+ "javascript",
36
+ "typescript",
37
+ "nodejs",
38
+ "fitness",
32
39
  "garmin",
33
- "parse"
40
+ "polar",
41
+ "suunto",
42
+ "binary-parser"
34
43
  ],
35
44
  "exports": {
36
45
  ".": {
@@ -83,10 +92,11 @@
83
92
  }
84
93
  ],
85
94
  "scripts": {
86
- "dev": "tsx --watch --watch-path=src/type_generator.ts --watch-path=src/fit.ts --watch-path=src/profile.ts codegen/codegen.ts",
95
+ "dev": "tsx --watch --watch-path=src/type_generator.ts --watch-path=src/fit.ts --watch-path=src/profile.ts --watch-path=src/profile-lookup-data.ts codegen/codegen.ts",
87
96
  "codegen": "tsx codegen/codegen.ts",
88
97
  "codegen:check": "tsx codegen/codegen.ts --check",
89
- "profile:check": "npm run codegen:check && tsx scripts/profile-check.ts",
98
+ "profile:budget": "tsx scripts/profile-lookup-budget.ts",
99
+ "profile:check": "npm run codegen:check && tsx scripts/profile-check.ts && npm run profile:budget",
90
100
  "compatibility:check": "npm run build && tsx scripts/compatibility-check.ts",
91
101
  "corpus:check": "tsx scripts/corpus-check.ts",
92
102
  "check": "npm run profile:check && npm run lint && npm run type-check && npm test -- --run && npm run build",
@@ -112,6 +122,7 @@
112
122
  "@antfu/eslint-config": "^6.2.0",
113
123
  "@types/node": "^24.10.1",
114
124
  "@vitest/coverage-v8": "^4.0.13",
125
+ "esbuild": "^0.25.12",
115
126
  "eslint": "^9.10.0",
116
127
  "eslint-plugin-format": "^1.1.0",
117
128
  "tsx": "^4.21.0",