New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@citation-js/plugin-bibtex

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@citation-js/plugin-bibtex - npm Package Compare versions

Comparing version 0.4.0-rc.1 to 0.4.0-rc.2

2

lib/output/bibtxt.js

@@ -18,3 +18,3 @@ "use strict";

bib.properties.type = bib.type;
const properties = Object.entries(bib.properties).map(([prop, value]) => dict.listItem.join(`${prop}: ${value}`)).join('');
const properties = Object.keys(bib.properties).map(prop => dict.listItem.join(`${prop}: ${bib.properties[prop]}`)).join('');
return dict.entry.join(`[${bib.label}]${dict.list.join(properties)}`);

@@ -21,0 +21,0 @@ }).join('\n');

@@ -76,6 +76,2 @@ "use strict";

function serializePropertyList(properties, dict) {
return properties.map(([prop, value]) => serializeValue(prop, value, dict)).join('');
}
function serializeEntry(entry, dict) {

@@ -87,3 +83,3 @@ let _getBibTeXJSON = (0, _json.default)(entry),

properties = serializePropertyList(Object.entries(properties), dict);
properties = Object.keys(properties).map(prop => serializeValue(prop, properties[prop], dict)).join('');
return dict.entry.join(`@${type}{${label},${dict.list.join(properties)}}`);

@@ -90,0 +86,0 @@ }

{
"name": "@citation-js/plugin-bibtex",
"version": "0.4.0-rc.1",
"version": "0.4.0-rc.2",
"description": "Plugin for BibTeX formats for Citation.js",

@@ -33,12 +33,11 @@ "keywords": [

"dependencies": {
"@citation-js/date": "^0.4.1",
"@citation-js/name": "^0.4.1"
"@citation-js/date": "^0.4.3",
"@citation-js/name": "^0.4.2"
},
"devDependencies": {
"@citation-js/core": "^0.4.0-rc.1"
"@citation-js/core": "^0.4.0-rc.2"
},
"peerDependencies": {
"@citation-js/core": "^0.4.0-rc.0"
},
"gitHead": "09ff47215f95d87cbf58062ca19912dcd8d2eb77"
}
}
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