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

c-dhn-act

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c-dhn-act - npm Package Compare versions

Comparing version 1.0.16 to 1.0.17

1

lib/c-dhn-date-countdown/index.js

@@ -15,2 +15,3 @@ import { defineComponent, reactive, watch, computed, toRefs, openBlock, createBlock, createVNode, toDisplayString, createCommentVNode } from 'vue';

updateTime.timer = null;
this.timeObj = Object.assign({ countdownTime: 0 }, getCountdownTime(0));
}

@@ -17,0 +18,0 @@ };

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

updateTime.timer = null;
this.timeObj = Object.assign({ countdownTime: 0 }, time.getCountdownTime(0));
}

@@ -31,0 +32,0 @@ };

@@ -20,2 +20,3 @@ import { defineComponent, reactive, watch, computed, toRefs, openBlock, createBlock, createVNode, toDisplayString, createCommentVNode, ref, toRef, Fragment, renderSlot, inject, provide, h, getCurrentInstance, onUpdated, onMounted, withDirectives, vShow, nextTick } from 'vue';

updateTime.timer = null;
this.timeObj = Object.assign({ countdownTime: 0 }, getCountdownTime(0));
}

@@ -22,0 +23,0 @@ };

@@ -6,2 +6,11 @@ var tow = function tow(n) {

var getCountdownTime = function getCountdownTime(timestamp) {
if (!timestamp) {
return {
day: '00',
hour: '00',
minute: '00',
second: '00'
};
}
var day = tow(Math.floor(timestamp / 86400)); //整数部分代表的是天;一天有24*60*60=86400秒 ;

@@ -8,0 +17,0 @@

2

package.json
{
"name": "c-dhn-act",
"version": "1.0.16",
"version": "1.0.17",
"description": "c-dhn-act component",

@@ -5,0 +5,0 @@ "author": "peng.luo@asiainnovations.com>",

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