date-chinese
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "date-chinese", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Chinese Calendar", | ||
@@ -50,2 +50,3 @@ "keywords": [ | ||
"build": "rollup -c", | ||
"postbuild": "node scripts/postbuild.cjs", | ||
"clean": "rimraf lib coverage .nyc_output", | ||
@@ -52,0 +53,0 @@ "clean:all": "npm-run-all clean clean:node_modules", |
@@ -6,3 +6,3 @@ # date-chinese | ||
[![NPM version](https://badge.fury.io/js/date-chinese.svg)](https://www.npmjs.com/package/date-chinese/) | ||
[![Build Status](https://secure.travis-ci.org/commenthol/date-chinese.svg?branch=master)](https://travis-ci.org/commenthol/date-chinese) | ||
[![Build Status](https://api.travis-ci.com/commenthol/date-chinese.svg?branch=master)](https://travis-ci.com/commenthol/date-chinese) | ||
@@ -9,0 +9,0 @@ Chinese Calendar calculations with conversion from/ to Gregorian Date. |
@@ -7,5 +7,5 @@ /** | ||
import { base, solstice, solar, moonphase, planetposition, julian } from 'astronomia' | ||
import dataEarth from 'astronomia/data/vsop87Bearth' | ||
import { vsop87Bearth } from './vsop87Bearth.js' | ||
const earth = new planetposition.Planet(dataEarth) | ||
const earth = new planetposition.Planet(vsop87Bearth) | ||
const lunarOffset = moonphase.meanLunarMonth / 2 | ||
@@ -12,0 +12,0 @@ const p = 180 / Math.PI |
Sorry, the diff of this file is not supported yet
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
42369
17
1061
1