Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@holiday-jp/holiday_jp

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@holiday-jp/holiday_jp - npm Package Compare versions

Comparing version 2.2.3 to 2.3.0

.github/workflows/ci.yml

9

package.json
{
"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

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