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

@citation-js/core

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@citation-js/core - npm Package Compare versions

Comparing version 0.7.6 to 0.7.9

8

lib-mjs/plugins/input/csl.js

@@ -171,2 +171,10 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }

if (typeof name === 'object' && name !== null && (name.literal || name.given || name.family)) {
if (name.ORCID || name.orcid || name._ORCID) {
name = _objectSpread({
_orcid: name.ORCID || name.orcid || name._ORCID
}, name);
delete name.ORCID;
delete name.orcid;
delete name._ORCID;
}
return name;

@@ -173,0 +181,0 @@ } else if (!bestGuessConversions) {

@@ -177,2 +177,10 @@ "use strict";

if (typeof name === 'object' && name !== null && (name.literal || name.given || name.family)) {
if (name.ORCID || name.orcid || name._ORCID) {
name = _objectSpread({
_orcid: name.ORCID || name.orcid || name._ORCID
}, name);
delete name.ORCID;
delete name.orcid;
delete name._ORCID;
}
return name;

@@ -179,0 +187,0 @@ } else if (!bestGuessConversions) {

4

package.json
{
"name": "@citation-js/core",
"version": "0.7.6",
"version": "0.7.9",
"description": "Convert different bibliographic metadata sources",

@@ -43,3 +43,3 @@ "keywords": [

},
"gitHead": "c88a4c1aacf82cfa8f1b55cc8673cb38e807c421"
"gitHead": "8fa1b9d3d420f489f9a8a57f9759b50a6369182c"
}
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