Socket
Socket
Sign inDemoInstall

date-chinese

Package Overview
Dependencies
1
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.3 to 2.1.4

30

package.json
{
"name": "date-chinese",
"version": "2.1.3",
"version": "2.1.4",
"description": "Chinese Calendar",

@@ -42,3 +42,3 @@ "keywords": [

"module": "./src/index.js",
"typings": "./types",
"types": "./types",
"directories": {

@@ -52,2 +52,3 @@ "lib": "lib",

"postbuild": "node scripts/postbuild.cjs",
"ci": "npm test",
"clean": "rimraf lib coverage .nyc_output",

@@ -57,3 +58,3 @@ "clean:all": "npm-run-all clean clean:node_modules",

"coverage": "c8 -r text -r html npm run test:ci",
"lint": "eslint \"**/*.js\"",
"lint": "eslint --ext .js .",
"prepublishOnly": "npm run all",

@@ -70,18 +71,17 @@ "readme": "markedpp --githubid -i README.md -o README.md",

"dependencies": {
"astronomia": "^4.0.1"
"astronomia": "^4.1.0"
},
"devDependencies": {
"c8": "^7.8.0",
"dtslint": "^4.1.3",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-standard": "^5.0.0",
"mocha": "^9.0.3",
"c8": "^7.11.3",
"dtslint": "^4.2.1",
"eslint": "^8.16.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.0",
"eslint-plugin-promise": "^6.0.0",
"mocha": "^10.0.0",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"rollup": "^2.56.1",
"typescript": "^4.3.5"
"rollup": "^2.74.1",
"typescript": "^4.6.4"
},

@@ -88,0 +88,0 @@ "engines": {

@@ -6,4 +6,5 @@ # date-chinese

[![NPM version](https://badge.fury.io/js/date-chinese.svg)](https://www.npmjs.com/package/date-chinese/)
[![Build Status](https://api.travis-ci.com/commenthol/date-chinese.svg?branch=master)](https://travis-ci.com/commenthol/date-chinese)
[![Build Status](https://github.com/commenthol/date-chinese/workflows/CI/badge.svg?branch=master&event=push)](https://github.com/commenthol/date-chinese/actions/workflows/ci.yml?query=branch%3Amaster)
Chinese Calendar calculations with conversion from/ to Gregorian Date.

@@ -10,0 +11,0 @@

@@ -275,3 +275,3 @@ /**

const term = (2 + Math.floor(lonDeg / 30)) % 12 + 1
return { term: term, lon: lonDeg }
return { term, lon: lonDeg }
}

@@ -278,0 +278,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc