Socket
Socket
Sign inDemoInstall

@holiday-jp/holiday_jp

Package Overview
Dependencies
0
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.1.0

holiday_jp/.git

22

holiday_jp/README.md

@@ -5,2 +5,21 @@ # holiday_jp [![Build Status](https://travis-ci.org/holiday-jp/holiday_jp.svg?branch=master)](https://travis-ci.org/holiday-jp/holiday_jp) [![GitHub release](https://img.shields.io/github/release/holiday-jp/holiday_jp.svg)](https://github.com/holiday-jp/holiday_jp/releases)

## holiday_jp Versions
| Version | 振替休日の表記 |
| --- | --- |
| v0.x | `振替休日` |
| v1.x | `勤労感謝の日 振替休日` |
## Implemantations
| Implemantation | Release version using holiday_jp v0.x | Release version using holiday_jp v1.x |
| --- | --- | --- |
| [Ruby](https://github.com/holiday-jp/holiday_jp-ruby) | v0.7.x | - |
| [JavaScript](https://github.com/holiday-jp/holiday_jp-js) | v1.x | v2.x |
| [PHP](https://github.com/holiday-jp/holiday_jp-php) | v1.x | v2.x |
| [Java](https://github.com/holiday-jp/holiday_jp-java) | - | v0.1.x |
| [Swift](https://github.com/holiday-jp/holiday_jp-swift) | v0.1.x | v0.2.x |
| [Go](https://github.com/holiday-jp/holiday_jp-go) | - | master |
| [Elixir](https://github.com/holiday-jp/holiday_jp-elixir) | v0.2.2 | >= v0.2.3 |
## "Datasets" idea

@@ -19,4 +38,1 @@

https://calendar.google.com/calendar/embed?src=ja.japanese%23holiday@group.v.calendar.google.com

2

package.json
{
"name": "@holiday-jp/holiday_jp",
"version": "2.0.1",
"version": "2.1.0",
"description": "Japanese holidays",

@@ -5,0 +5,0 @@ "main": "release/holiday_jp.js",

@@ -10,3 +10,3 @@ var fs = require('fs');

describe('holiday_jp', function(){
it('should have valid version', function(){

@@ -36,3 +36,7 @@ expect(holiday_jp.VERSION).to.match(/^[0-9]+\.[0-9]+\.[0-9]+$/);

for (year = 2016; year <= 2050; year++) {
expect(holiday_jp.isHoliday(new Date(year + '-08-11'))).to.eq(true);
if (year == 2020) {
expect(holiday_jp.isHoliday(new Date(year + '-08-11'))).to.not.eq(true);
} else {
expect(holiday_jp.isHoliday(new Date(year + '-08-11'))).to.eq(true);
}
}

@@ -53,2 +57,1 @@ });

});

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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