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.5.1 to 0.5.2

2

lib-mjs/mapping/biblatex.js

@@ -312,3 +312,3 @@ import { util } from '@citation-js/core';

}, {
source: ['year', 'month'],
source: ['year', 'month', 'day'],
target: 'issued',

@@ -315,0 +315,0 @@ convert: Converters.YEAR_MONTH,

@@ -94,3 +94,3 @@ import { util } from '@citation-js/core';

}, {
source: ['year', 'month'],
source: ['year', 'month', 'day'],
target: 'issued',

@@ -97,0 +97,0 @@ convert: Converters.YEAR_MONTH

@@ -182,3 +182,3 @@ import { util } from '@citation-js/core';

YEAR_MONTH: {
toTarget(year, month) {
toTarget(year, month, day) {
if (isNaN(+year)) {

@@ -188,2 +188,6 @@ return {

};
} else if (!isNaN(+day) && !isNaN(+month)) {
return {
'date-parts': [[+year, +month, +day]]
};
} else {

@@ -190,0 +194,0 @@ return {

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

}, {
source: ['year', 'month'],
source: ['year', 'month', 'day'],
target: 'issued',

@@ -329,0 +329,0 @@ convert: _shared.Converters.YEAR_MONTH,

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

}, {
source: ['year', 'month'],
source: ['year', 'month', 'day'],
target: 'issued',

@@ -110,0 +110,0 @@ convert: _shared.Converters.YEAR_MONTH

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

YEAR_MONTH: {
toTarget(year, month) {
toTarget(year, month, day) {
if (isNaN(+year)) {

@@ -211,2 +211,6 @@ return {

};
} else if (!isNaN(+day) && !isNaN(+month)) {
return {
'date-parts': [[+year, +month, +day]]
};
} else {

@@ -213,0 +217,0 @@ return {

{
"name": "@citation-js/plugin-bibtex",
"version": "0.5.1",
"version": "0.5.2",
"description": "Plugin for BibTeX formats for Citation.js",

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

"devDependencies": {
"@citation-js/core": "^0.5.1"
"@citation-js/core": "^0.5.2"
},

@@ -46,3 +46,3 @@ "peerDependencies": {

},
"gitHead": "3f3eee0813c7d578a454c34e402fa342d0693cfa"
"gitHead": "a902e8781abc685e8f99dbb9c5d35424bb02065c"
}
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