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

iztro

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iztro - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

12

CHANGELOG.md

@@ -10,2 +10,14 @@ # 紫微斗数 @sylarlong/astro

## v1.2.3
- 🛠️ 修复(fix)
🇨🇳
- 修复运限索引计算错误 #36
🇺🇸
- fix wrong horoscope indexes #36
## v1.2.2

@@ -12,0 +24,0 @@

4

lib/astro/FunctionalAstrolabe.js

@@ -84,5 +84,5 @@ "use strict";

data_1.EARTHLY_BRANCHES.indexOf((0, i18n_1.kot)($.rawDates.chineseDate.hourly[1])) +
data_1.EARTHLY_BRANCHES.indexOf((0, i18n_1.kot)(monthly[1])));
(0, utils_1.fixEarthlyBranchIndex)(monthly[1]));
// 获取流日索引
dailyIndex = (monthlyIndex + _date.lunarDay - 1) % 12;
dailyIndex = (0, utils_1.fixIndex)(monthlyIndex + _date.lunarDay - 1);
// 获取流时索引

@@ -89,0 +89,0 @@ hourlyIndex = (0, utils_1.fixIndex)(dailyIndex + data_1.EARTHLY_BRANCHES.indexOf((0, i18n_1.kot)(hourly[1])));

{
"name": "iztro",
"version": "1.2.2",
"version": "1.2.3",
"description": "轻量级紫微斗数星盘生成库。可以通过出生年月日获取到紫微斗数星盘信息、生肖、星座等信息。A lightweight kit to astrolabe generator of The Purple Star Astrology (Zi Wei Dou Shu). The Purple Star Astrology(Zi Wei Dou Shu) is a Chinese ancient astrology. You're able to get your horoscope and personality from the astrolabe",

@@ -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