crossref-to-csl
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -24,10 +24,3 @@ // From https://github.com/relata/relata-prototype | ||
]; | ||
const arrs = [ | ||
'ISBN', | ||
'ISSN', | ||
'archive', | ||
'container-title', | ||
'original-title', | ||
'title', | ||
]; | ||
const arrs = ['ISBN', 'ISSN', 'archive', 'container-title', 'original-title', 'title']; | ||
const maps = [ | ||
@@ -39,3 +32,2 @@ ['publisher-place', 'publisher-location'], | ||
const map = (key, newkey) => item[newkey] ? { [key]: item[newkey] } : {}; | ||
const cond = (key, value) => (value ? { [key]: value } : {}); | ||
const same = (key) => (item[key] ? { [key]: item[key] } : {}); | ||
@@ -42,0 +34,0 @@ const arr = (key) => (item[key] ? { [key]: item[key][0] } : {}); |
{ | ||
"name": "crossref-to-csl", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"license": "GPL-3.0-or-later", | ||
@@ -25,3 +25,4 @@ "repository": "https://github.com/TrialAndErrorOrg/parsers", | ||
"types": "./index.d.ts", | ||
"import": "./index.js" | ||
"import": "./index.js", | ||
"require": "./src/index.js" | ||
} | ||
@@ -39,5 +40,6 @@ }, | ||
"csl-json": "0.1.0", | ||
"utility-types": "3.10.0", | ||
"crossref-json": "0.1.3" | ||
"utility-types": "^3.10.0", | ||
"crossref-json": "0.1.4", | ||
"tslib": "^2.5.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
5644
4
50
+ Addedtslib@^2.5.0
+ Addedcrossref-json@0.1.4(transitive)
+ Addedtslib@2.8.1(transitive)
+ Addedutility-types@3.11.0(transitive)
- Removedcrossref-json@0.1.3(transitive)
- Removedutility-types@3.10.0(transitive)
Updatedcrossref-json@0.1.4
Updatedutility-types@^3.10.0