@holiday-jp/holiday_jp
Advanced tools
Comparing version 2.2.3 to 2.3.0
{ | ||
"name": "@holiday-jp/holiday_jp", | ||
"version": "2.2.3", | ||
"version": "2.3.0", | ||
"description": "Japanese holidays", | ||
"main": "release/holiday_jp.js", | ||
"main": "lib/holiday_jp.js", | ||
"types": "lib/holiday_jp.d.ts", | ||
@@ -28,3 +28,3 @@ "scripts": { | ||
"js-yaml": "^3.13.1", | ||
"mocha": "^5.2.0", | ||
"mocha": "^8.2.1", | ||
"moment": "^2.23.0", | ||
@@ -34,4 +34,5 @@ "request": "^2.88.0", | ||
"uglify-js": "^3.4.9", | ||
"webpack": "^4.28.2" | ||
"webpack": "^4.28.2", | ||
"webpack-cli": "^4.2.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# holiday_jp JavaScript [![Build Status](https://travis-ci.org/holiday-jp/holiday_jp-js.svg?branch=master)](https://travis-ci.org/holiday-jp/holiday_jp-js) | ||
# holiday_jp JavaScript [![test](https://github.com/holiday-jp/holiday_jp-js/workflows/test/badge.svg)](https://github.com/holiday-jp/holiday_jp-js/actions) | ||
@@ -3,0 +3,0 @@ Get holidays in Japan. |
var request = require('request'); | ||
var expect = require('chai').expect; | ||
var yaml = require('js-yaml'); | ||
var holiday_jp = require('./../release/holiday_jp'); // test release build | ||
var holiday_jp = require('./../lib/holiday_jp'); | ||
@@ -34,3 +34,3 @@ var HOLIDAYS_DETAIL_URL = 'https://raw.githubusercontent.com/holiday-jp/holiday_jp/master/holidays_detailed.yml'; | ||
for (year = 2016; year <= 2050; year++) { | ||
if (year == 2020) { | ||
if (year == 2020 || year == 2021) { | ||
expect(holiday_jp.isHoliday(new Date(year + '-08-11'))).to.not.eq(true); | ||
@@ -37,0 +37,0 @@ } else { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
876468
30
10455
9