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.3.15 to 3.3.16

2

lib/activities/activity.js

@@ -46,3 +46,3 @@ "use strict";

Activity.prototype.addDataToStream = function (type, date, value) {
this.getStreamData(type)[Math.ceil((+date - +this.startDate) / 1000)] = value;
this.getStreamData(type)[Math.ceil((+date - +this.startDate) / 1000)] = value; // @todo ceil vs floor
return this;

@@ -49,0 +49,0 @@ };

@@ -8,3 +8,3 @@ import { StreamDataItem, StreamInterface } from './stream.interface';

/**
* Gets the data based on a startDate
* Gets the data based / offset on a startDate
* @param startDate

@@ -11,0 +11,0 @@ */

@@ -17,3 +17,3 @@ "use strict";

/**
* Gets the data based on a startDate
* Gets the data based / offset on a startDate
* @param startDate

@@ -20,0 +20,0 @@ */

@@ -0,1 +1,2 @@

import { LapTypes } from '../laps/lap.types';
export interface UserChartSettingsInterface {

@@ -12,2 +13,4 @@ dataTypeSettings: DataTypeSettings;

fillOpacity: number;
lapTypes: LapTypes[];
showLaps: boolean;
}

@@ -14,0 +17,0 @@ export declare enum ChartThemes {

{
"name": "quantified-self-lib",
"version": "3.3.15",
"version": "3.3.16",
"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