Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

quantified-self-lib

Package Overview
Dependencies
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quantified-self-lib - npm Package Compare versions

Comparing version 3.1.5 to 3.2.0

lib/data/data.balance.d.ts

1

lib/activities/activity.types.d.ts

@@ -26,2 +26,3 @@ /**

'cycling' = "Cycling",
'cycling_road' = "Cycling",
'cycling_track_cycling' = "Cycling",

@@ -28,0 +29,0 @@ 'cycling_gravel_cycling' = "Cycling",

@@ -29,2 +29,3 @@ "use strict";

ActivityTypes["cycling"] = "Cycling";
ActivityTypes["cycling_road"] = "Cycling";
ActivityTypes["cycling_track_cycling"] = "Cycling";

@@ -31,0 +32,0 @@ ActivityTypes["cycling_gravel_cycling"] = "Cycling";

@@ -98,2 +98,4 @@ "use strict";

var data_stryd_altitude_1 = require("./data.stryd-altitude");
var data_left_balance_1 = require("./data.left-balance");
var data_right_balance_1 = require("./data.right-balance");
/**

@@ -253,2 +255,4 @@ * Only concrete classes no abstracts

DataAccumulatedPower: data_accumulated_power_1.DataAccumulatedPower,
DataLeftBalance: data_left_balance_1.DataLeftBalance,
DataRightBalance: data_right_balance_1.DataRightBalance
};

@@ -315,3 +319,5 @@ var DynamicDataLoader = /** @class */ (function () {

data_stryd_distance_1.DataStrydDistance.type,
data_stryd_speed_1.DataStrydSpeed.type
data_stryd_speed_1.DataStrydSpeed.type,
data_left_balance_1.DataLeftBalance.type,
data_right_balance_1.DataRightBalance.type,
];

@@ -318,0 +324,0 @@ DynamicDataLoader.unitBasedDataTypes = (_a = {},

@@ -22,2 +22,4 @@ "use strict";

var data_stryd_speed_1 = require("../../../../data/data.stryd-speed");
var data_right_balance_1 = require("../../../../data/data.right-balance");
var data_left_balance_1 = require("../../../../data/data.left-balance");
exports.FITSampleMapper = [

@@ -136,2 +138,20 @@ {

},
{
dataType: data_right_balance_1.DataRightBalance.type,
getSampleValue: function (sample) {
if (!sample.left_right_balance) {
return null;
}
return sample.left_right_balance.right === true ? sample.left_right_balance.value : 100 - sample.left_right_balance.value;
},
},
{
dataType: data_left_balance_1.DataLeftBalance.type,
getSampleValue: function (sample) {
if (!sample.left_right_balance) {
return null;
}
return sample.left_right_balance.right === false ? sample.left_right_balance.value : 100 - sample.left_right_balance.value;
},
},
];

2

package.json
{
"name": "quantified-self-lib",
"version": "3.1.5",
"version": "3.2.0",
"description": "A Library to for processing GPX, TCX, FIT and JSON files from services such as Strava, Movescount, Garmin, Polar etc",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc