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

@citation-js/plugin-csl

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.6.9 to 0.7.0

2

lib-mjs/bibliography.js

@@ -27,4 +27,2 @@ import { util } from '@citation-js/core';

};
} else {
citeproc.sys.wrapBibliographyEntry = () => ['', ''];
}

@@ -31,0 +29,0 @@ const bibliography = citeproc.makeBibliography();

2

lib-mjs/citation.js

@@ -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"
}
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