fit-file-parser 4.0.0 → 4.0.2
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 +7 -0
- package/dist/binary.d.ts +8 -0
- package/dist/binary.js +114 -39
- package/dist/cjs/binary.d.ts +8 -0
- package/dist/cjs/binary.js +114 -39
- package/dist/cjs/fit.js +420 -100
- package/dist/cjs/fit_types.d.ts +1 -1
- package/dist/fit.js +420 -100
- package/dist/fit_types.d.ts +1 -1
- package/package.json +4 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fit-file-parser",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.2",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Parse your .FIT files easily, directly from JS (Garmin, Polar, Suunto)",
|
|
7
7
|
"author": {
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
"scripts": {
|
|
57
57
|
"dev": "tsx --watch --watch-path=src/type_generator.ts --watch-path=src/fit.ts codegen/codegen.ts",
|
|
58
58
|
"codegen": "tsx codegen/codegen.ts",
|
|
59
|
+
"codegen:check": "tsx codegen/codegen.ts --check",
|
|
60
|
+
"check": "npm run codegen:check && npm run lint && npm run type-check && npm test -- --run && npm run build",
|
|
59
61
|
"example-output": "node examples/parse.js examples/example.fit > examples/output-example.json",
|
|
60
62
|
"example-output-tank": "node examples/parse.js examples/example-diving.fit > examples/output-diving.json",
|
|
61
63
|
"example-output-summary-first": "node examples/parse.js examples/triathlon_summary_first.fit > examples/output_summary_first.json",
|
|
@@ -75,6 +77,7 @@
|
|
|
75
77
|
},
|
|
76
78
|
"devDependencies": {
|
|
77
79
|
"@antfu/eslint-config": "^6.2.0",
|
|
80
|
+
"@garmin/fitsdk": "^21.208.0",
|
|
78
81
|
"@types/node": "^24.10.1",
|
|
79
82
|
"@vitest/coverage-v8": "^4.0.13",
|
|
80
83
|
"eslint": "^9.10.0",
|