@citation-js/plugin-ris
Advanced tools
Comparing version 0.7.9 to 0.7.10
@@ -36,2 +36,5 @@ import { parse as parseDate } from '@citation-js/date'; | ||
toSource(date) { | ||
if (!date['date-parts'] || !date['date-parts'][0]) { | ||
return undefined; | ||
} | ||
const parts = Array(4).fill(''); | ||
@@ -38,0 +41,0 @@ date['date-parts'][0].forEach((part, index) => { |
@@ -43,2 +43,5 @@ "use strict"; | ||
toSource(date) { | ||
if (!date['date-parts'] || !date['date-parts'][0]) { | ||
return undefined; | ||
} | ||
const parts = Array(4).fill(''); | ||
@@ -45,0 +48,0 @@ date['date-parts'][0].forEach((part, index) => { |
The MIT License (MIT) | ||
Copyright (c) 2015-2022 Lars Willighagen | ||
Copyright (c) 2015-2024 Lars Willighagen | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "@citation-js/plugin-ris", | ||
"version": "0.7.9", | ||
"version": "0.7.10", | ||
"description": "Plugin for RIS formats for Citation.js", | ||
@@ -46,3 +46,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "8fa1b9d3d420f489f9a8a57f9759b50a6369182c" | ||
"gitHead": "bc2a122018f9527e4df94c78a7c5338c6ac75a9f" | ||
} |
217482
11913