New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@felicienfrancois/cordova-plugin-stepper

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@felicienfrancois/cordova-plugin-stepper - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

2

package.json
{
"name": "@felicienfrancois/cordova-plugin-stepper",
"version": "1.1.5",
"version": "1.1.6",
"description": "Lightweight pedometer Cordova/Phonegap plugin for Android using the hardware step sensor, with notifications.",

@@ -5,0 +5,0 @@ "cordova": {

@@ -50,3 +50,6 @@ var exec = require("cordova/exec");

exec((result) => {
if (result && result.startDate && result.startDate < new Date().setHours(0,0,0,0)) {
var now = new Date();
const hms = now.toLocaleString("en-UK", {timeZone: options.timeZone || undefined}).split(", ")[1].split(":");
startOfDay = new Date(now.getTime() - hms[0]*3600000 - hms[1]*60000 - hms[2]*1000);
if (result && result.startDate && result.startDate < startOfDay) {
this.stopStepperUpdates(

@@ -53,0 +56,0 @@ false,

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