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

lunar-lite

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lunar-lite - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

2

lib/convertor.js

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

var leapMonth = lunarYear.getLeapMonth();
if (leapMonth > 0 && isLeapMonth) {
if (leapMonth > 0 && leapMonth === month && isLeapMonth) {
lunar = lunar_typescript_1.Lunar.fromYmd(year, 0 - month, day);

@@ -75,0 +75,0 @@ }

{
"name": "lunar-lite",
"version": "0.2.2",
"version": "0.2.3",
"description": "精简版的农历和阳历日期转换库。",

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

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