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

moon-time

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moon-time - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

calculate.js

@@ -198,3 +198,3 @@ (function (global, calculate) {

let nowDay = parseInt((new Date(`${obj.year}-${obj.month}-${obj.day}`) - new Date(`'${obj.year}-1-1'`)) / (24 * 60 * 60 * 1000)) + 1
let nowDay = parseInt((new Date(`${obj.year}/${obj.month}/${obj.day}`) - new Date(`${obj.year}/1/1`)) / (24 * 60 * 60 * 1000)) + 1

@@ -201,0 +201,0 @@ let nowYear = ruleArr[0] > 0 ? obj.year-- : obj.year

{
"name": "moon-time",
"version": "1.0.4",
"description": "",
"version": "1.0.5",
"description": "moon-time is a component that converts the solar calendar to the lunar calendar (Chinese lunar calendar), it is very simple to use。",
"main": "calculate.js",

@@ -6,0 +6,0 @@ "scripts": {

# moon-time
moon-time is a component that converts the solar calendar to the lunar calendar (Chinese lunar calendar), it is very simple to use。
### Install
moon-time is a component that converts the solar calendar to the lunar calendar (Chinese lunar calendar), it is very simple to use。
```javascript

@@ -8,0 +8,0 @@ npm install moon-time

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