Skip to content

Commit

Permalink
chore: bump js-yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
commenthol committed Jan 6, 2021
1 parent d27b722 commit 76a4ba8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/countries/SO.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ holidays:
so: Jamhuuriyadda Federaalka Soomaaliya
ar: جمهورية الصومال الفدرالية
en: Somalia
dayoff: ?
dayoff: "?"
langs:
- so
- ar
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
},
"dependencies": {
"date-holidays-parser": "^1.6.0",
"js-yaml": "^3.14.1",
"js-yaml": "^4.0.0",
"lodash.omit": "^4.5.0",
"lodash.pick": "^4.4.0",
"prepin": "^1.0.3"
Expand Down
2 changes: 1 addition & 1 deletion scripts/holidays2json.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Holidays2json.prototype = {
load: function (cc, filename) {
filename = filename || resolve(config.countries, cc + '.yaml')
const data = fs.readFileSync(filename, 'utf8')
const obj = jsyaml.safeLoad(data)
const obj = jsyaml.load(data)
return obj
},
/**
Expand Down

0 comments on commit 76a4ba8

Please sign in to comment.