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.1 to 1.2.2

README-zh_TW.md

14

CHANGELOG.md

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

## v1.2.2
- ✨ 改进(enhancement)
🇨🇳
- 给 Horoscope 添加 name 字段
- 给 name 字段添加国际化翻译
🇺🇸
- add `name` field to `Horoscope`
- add translation for `name`
## v1.2.1

@@ -12,0 +26,0 @@

@@ -94,2 +94,3 @@ "use strict";

index: decadalIndex,
name: (0, i18n_1.t)('decadal'),
heavenlyStem: heavenlyStemOfDecade,

@@ -104,5 +105,7 @@ earthlyBranch: earthlyBranchOfDecade,

nominalAge: nominalAge,
name: (0, i18n_1.t)('turn'),
},
yearly: {
index: yearlyIndex,
name: (0, i18n_1.t)('yearly'),
heavenlyStem: yearly[0],

@@ -116,2 +119,3 @@ earthlyBranch: yearly[1],

index: monthlyIndex,
name: (0, i18n_1.t)('monthly'),
heavenlyStem: monthly[0],

@@ -124,2 +128,3 @@ earthlyBranch: monthly[1],

index: dailyIndex,
name: (0, i18n_1.t)('daily'),
heavenlyStem: daily[0],

@@ -132,2 +137,3 @@ earthlyBranch: daily[1],

index: hourlyIndex,
name: (0, i18n_1.t)('hourly'),
heavenlyStem: hourly[0],

@@ -134,0 +140,0 @@ earthlyBranch: hourly[1],

4

lib/data/types/astro.d.ts

@@ -18,2 +18,4 @@ import { IFunctionalPalace } from '../../astro/FunctionalPalace';

index: number;
/** 运限名称 */
name: string;
/** 该运限天干 */

@@ -77,2 +79,4 @@ heavenlyStem: HeavenlyStemName;

nominalAge: number;
/** 名称 */
name: string;
};

@@ -79,0 +83,0 @@ /** 流年 */

{
"decadal": "decadal",
"yearly": "yearly",
"monthly": "monthly",
"daily": "daily",
"hourly": "hourly",
"turn": "turn",
"rat": "rat",

@@ -3,0 +9,0 @@ "ox": "ox",

{
"decadal": "大限",
"yearly": "流年",
"monthly": "流月",
"daily": "流日",
"hourly": "流時",
"turn": "小限",
"rat": "鼠",

@@ -3,0 +9,0 @@ "ox": "牛",

{
"decadal": "대한",
"yearly": "유년",
"monthly": "유월",
"daily": "유일",
"hourly": "유시",
"turn": "소한",
"rat": "쥐",

@@ -3,0 +9,0 @@ "ox": "소",

{
"decadal": "大限",
"yearly": "流年",
"monthly": "流月",
"daily": "流日",
"hourly": "流时",
"turn": "小限",
"rat": "鼠",

@@ -3,0 +9,0 @@ "ox": "牛",

{
"decadal": "大限",
"yearly": "流年",
"monthly": "流月",
"daily": "流日",
"hourly": "流時",
"turn": "小限",
"rat": "鼠",

@@ -3,0 +9,0 @@ "ox": "牛",

2

package.json
{
"name": "iztro",
"version": "1.2.1",
"version": "1.2.2",
"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",

@@ -11,5 +11,14 @@ <div align="center">

[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/SylarLong/iztro/Codecov.yaml)](https://github.com/SylarLong/iztro/actions) [![npm](https://img.shields.io/npm/v/iztro)](https://www.npmjs.com/package/iztro) [![GitHub top language](https://img.shields.io/github/languages/top/SylarLong/iztro)](https://github.com/search?q=repo%3ASylarLong%2Fiztro++language%3ATypeScript&type=code) [![Codecov](https://img.shields.io/codecov/c/github/sylarlong/iztro)](https://app.codecov.io/gh/SylarLong/iztro/tree/main/src%2Fstar) [![npm](https://img.shields.io/npm/dw/iztro)](https://www.npmjs.com/package/iztro) [![Maintenance](https://img.shields.io/maintenance/yes/2023)](https://github.com/SylarLong/iztro)
[![GitHub](https://img.shields.io/github/license/sylarlong/iztro)](https://www.npmjs.com/package/iztro) [![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/SylarLong/iztro)](https://www.npmjs.com/package/iztro) [![npm bundle size](https://img.shields.io/bundlephobia/min/%40sylarlong%2Fastro)](https://www.npmjs.com/package/iztro) [![GitHub issues](https://img.shields.io/github/issues/SylarLong/iztro)](https://github.com/SylarLong/iztro/issues)
[![GitHub package.json dynamic](https://img.shields.io/github/package-json/author/sylarlong/iztro)](https://github.com/SylarLong) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FSylarLong%2Fiztro.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FSylarLong%2Fiztro?ref=badge_shield) [![Socket Badge](https://socket.dev/api/badge/npm/package/iztro)](https://socket.dev/npm/package/iztro)
[![Maintainability](https://api.codeclimate.com/v1/badges/b57f0e6e2e8875ce39ae/maintainability)](https://codeclimate.com/github/SylarLong/iztro/maintainability)
[![Codecov](https://github.com/SylarLong/iztro/actions/workflows/Codecov.yaml/badge.svg)](https://github.com/SylarLong/iztro/actions/workflows/Codecov.yaml)
[![npm](https://img.shields.io/npm/v/iztro)](https://www.npmjs.com/package/iztro)
[![GitHub top language](https://img.shields.io/github/languages/top/SylarLong/iztro)](https://github.com/search?q=repo%3ASylarLong%2Fiztro++language%3ATypeScript&type=code)
[![Codecov](https://img.shields.io/codecov/c/github/sylarlong/iztro)](https://app.codecov.io/gh/SylarLong/iztro/tree/main/src%2Fstar)
[![npm](https://img.shields.io/npm/dw/iztro)](https://www.npmjs.com/package/iztro)
[![GitHub](https://img.shields.io/github/license/sylarlong/iztro)](https://www.npmjs.com/package/iztro)
[![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/SylarLong/iztro)](https://www.npmjs.com/package/iztro)
[![npm bundle size](https://img.shields.io/bundlephobia/min/%40sylarlong%2Fastro)](https://www.npmjs.com/package/iztro)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FSylarLong%2Fiztro.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FSylarLong%2Fiztro?ref=badge_shield)
[![Socket Badge](https://socket.dev/api/badge/npm/package/iztro)](https://socket.dev/npm/package/iztro)
[![Package Quality](https://packagequality.com/shield/iztro.svg)](https://packagequality.com/#?package=iztro)

@@ -22,3 +31,3 @@ </div>

简体中文 🔸 [English](./README-en_US.md)
[简体中文](./README.md) 🔸 [繁體中文](./README-zh_TW.md) 🔸 English

@@ -25,0 +34,0 @@ </div>

@@ -11,6 +11,14 @@ <div align="center">

[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/SylarLong/iztro/Codecov.yaml)](https://github.com/SylarLong/iztro/actions) [![npm](https://img.shields.io/npm/v/iztro)](https://www.npmjs.com/package/iztro) [![GitHub top language](https://img.shields.io/github/languages/top/SylarLong/iztro)](https://github.com/search?q=repo%3ASylarLong%2Fiztro++language%3ATypeScript&type=code) [![Codecov](https://img.shields.io/codecov/c/github/sylarlong/iztro)](https://app.codecov.io/gh/SylarLong/iztro/tree/main/src%2Fstar) [![npm](https://img.shields.io/npm/dw/iztro)](https://www.npmjs.com/package/iztro) [![Maintenance](https://img.shields.io/maintenance/yes/2023)](https://github.com/SylarLong/iztro)
[![GitHub](https://img.shields.io/github/license/sylarlong/iztro)](https://www.npmjs.com/package/iztro) [![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/SylarLong/iztro)](https://www.npmjs.com/package/iztro) [![npm bundle size](https://img.shields.io/bundlephobia/min/%40sylarlong%2Fastro)](https://www.npmjs.com/package/iztro) [![GitHub issues](https://img.shields.io/github/issues/SylarLong/iztro)](https://github.com/SylarLong/iztro/issues)
[![GitHub package.json dynamic](https://img.shields.io/github/package-json/author/sylarlong/iztro)](https://github.com/SylarLong)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FSylarLong%2Fiztro.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FSylarLong%2Fiztro?ref=badge_shield) [![Socket Badge](https://socket.dev/api/badge/npm/package/iztro)](https://socket.dev/npm/package/iztro)
[![Maintainability](https://api.codeclimate.com/v1/badges/b57f0e6e2e8875ce39ae/maintainability)](https://codeclimate.com/github/SylarLong/iztro/maintainability)
[![Codecov](https://github.com/SylarLong/iztro/actions/workflows/Codecov.yaml/badge.svg)](https://github.com/SylarLong/iztro/actions/workflows/Codecov.yaml)
[![npm](https://img.shields.io/npm/v/iztro)](https://www.npmjs.com/package/iztro)
[![GitHub top language](https://img.shields.io/github/languages/top/SylarLong/iztro)](https://github.com/search?q=repo%3ASylarLong%2Fiztro++language%3ATypeScript&type=code)
[![Codecov](https://img.shields.io/codecov/c/github/sylarlong/iztro)](https://app.codecov.io/gh/SylarLong/iztro/tree/main/src%2Fstar)
[![npm](https://img.shields.io/npm/dw/iztro)](https://www.npmjs.com/package/iztro)
[![GitHub](https://img.shields.io/github/license/sylarlong/iztro)](https://www.npmjs.com/package/iztro)
[![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/SylarLong/iztro)](https://www.npmjs.com/package/iztro)
[![npm bundle size](https://img.shields.io/bundlephobia/min/%40sylarlong%2Fastro)](https://www.npmjs.com/package/iztro)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FSylarLong%2Fiztro.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FSylarLong%2Fiztro?ref=badge_shield)
[![Socket Badge](https://socket.dev/api/badge/npm/package/iztro)](https://socket.dev/npm/package/iztro)
[![Package Quality](https://packagequality.com/shield/iztro.svg)](https://packagequality.com/#?package=iztro)

@@ -23,3 +31,3 @@ </div>

简体中文 🔸 [English](./README-en_US.md)
简体中文 🔸 [繁體中文](./README-zh_TW.md) 🔸 [English](./README-en_US.md)

@@ -26,0 +34,0 @@ </div>

Sorry, the diff of this file is not supported yet

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