@citation-js/plugin-csl
Advanced tools
Comparing version 0.6.9 to 0.7.0
@@ -27,4 +27,2 @@ import { util } from '@citation-js/core'; | ||
}; | ||
} else { | ||
citeproc.sys.wrapBibliographyEntry = () => ['', '']; | ||
} | ||
@@ -31,0 +29,0 @@ const bibliography = citeproc.makeBibliography(); |
@@ -34,3 +34,3 @@ import { util } from '@citation-js/core'; | ||
}) => id); | ||
const entries = options.entry ? [].concat(options.entry) : ids; | ||
const entries = options.entry ? options.entry : ids; | ||
data = util.downgradeCsl(data); | ||
@@ -37,0 +37,0 @@ const citeproc = prepareEngine(data, template, lang, format); |
@@ -40,2 +40,3 @@ import CSL from 'citeproc'; | ||
engine.sys.retrieveItem = retrieveItem; | ||
engine.sys.wrapBibliographyEntry = undefined; | ||
engine.updateItems([]); | ||
@@ -42,0 +43,0 @@ } else { |
@@ -34,4 +34,2 @@ "use strict"; | ||
}; | ||
} else { | ||
citeproc.sys.wrapBibliographyEntry = () => ['', '']; | ||
} | ||
@@ -38,0 +36,0 @@ const bibliography = citeproc.makeBibliography(); |
@@ -41,3 +41,3 @@ "use strict"; | ||
}) => id); | ||
const entries = options.entry ? [].concat(options.entry) : ids; | ||
const entries = options.entry ? options.entry : ids; | ||
data = _core.util.downgradeCsl(data); | ||
@@ -44,0 +44,0 @@ const citeproc = (0, _engines.default)(data, template, lang, format); |
@@ -47,2 +47,3 @@ "use strict"; | ||
engine.sys.retrieveItem = retrieveItem; | ||
engine.sys.wrapBibliographyEntry = undefined; | ||
engine.updateItems([]); | ||
@@ -49,0 +50,0 @@ } else { |
{ | ||
"name": "@citation-js/plugin-csl", | ||
"version": "0.6.9", | ||
"version": "0.7.0", | ||
"description": "Plugin for CSL output for Citation.js", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"engines": { | ||
"node": ">=14.0.0" | ||
"node": ">=16.0.0" | ||
}, | ||
@@ -43,3 +43,3 @@ "files": [ | ||
"devDependencies": { | ||
"@citation-js/core": "^0.6.9" | ||
"@citation-js/core": "^0.7.0" | ||
}, | ||
@@ -49,3 +49,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "59f96717266615ebfe4a621e9e791c5f47b43916" | ||
"gitHead": "763c634bc8723570f9cca34bbf46a3e7b3ffd439" | ||
} |
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
360619
1722