Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
chainLink: core.plugins.input.chainLink,
chainLinkAsync: core.plugins.input.chainLinkAsync,
data: core.plugins.input.data,
dataAsync: core.plugins.input.dataAsync,
type: core.plugins.input.type,
async: {
chain: core.plugins.input.chainAsync,
chainLink: core.plugins.input.chainLinkAsync,
data: core.plugins.input.dataAsync
}
},
name: name.parse,
date: date.parse,
csl: core.plugins.input.util.clean,
bibjson: require('@citation-js/plugin-bibjson').parsers.json.record,
bibtex: ((bibtex) => ({
json: bibtex.parsers.json.parse,
prop: bibtex.parsers.prop.parse,
text: bibtex.parsers.text.parse,
type: bibtex.parsers.type.parse
}))(require('@citation-js/plugin-bibtex/lib/input')),
bibtxt: ((bibtxt) => ({
text: bibtxt.parse,
textEntry: bibtxt.textEntry
}))(require('@citation-js/plugin-bibtex/lib/input/bibtxt')),
doi: ((doi) => ({
api: doi.parsers.api.parse,
id: doi.parsers.id.parse,
async: {
api: doi.parsers.api.parseAsync
}