Socket
Socket
Sign inDemoInstall

xmcommon

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xmcommon - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

3

example/testdatetime.js

@@ -17,1 +17,4 @@ let {datetimeUtils}= require("../lib/datetimeUtils");

console.log(datetimeUtils.dateStringByUTC(datetimeUtils.getTodayZeroTime(datenowutc)));
let a = new Date();
console.log(a.getTime(), Date.now());

@@ -285,2 +285,11 @@ //这里将提供日期相关的工具函数

}
// /**
// * 取本地时间相关的天数
// * @param {*} paramDate1
// * @param {*} paramDate2
// */
// static diffLocalDays(paramDate1, paramDate2) {
// }
}

@@ -287,0 +296,0 @@

2

package.json
{
"name": "xmcommon",
"version": "0.0.7",
"version": "0.0.8",
"description": "javascript common lib for es6",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -11,2 +11,6 @@ # xmcommon

# 版本变更说明
## 0.08
- 2018-12-21
- \+ datetimeUtils 补全上次未能提交的函数
## 0.07

@@ -13,0 +17,0 @@ - 2018-12-12

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