@iebh/reflib 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/modules/endnoteXml.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ Each reference has the following standardized fields, these are translated from
|
|
|
55
55
|
| researchNotes | `string` | |
|
|
56
56
|
| keywords | `array<string>` | Optional list of keywords that apply to the reference |
|
|
57
57
|
| accessDate | `string` | |
|
|
58
|
-
| accession | `string` |
|
|
58
|
+
| accession | `string` | [Accession numbers spec](https://support.nlm.nih.gov/knowledgebase/article/KA-03434/en-us), can sometimes be the PubMed ID |
|
|
59
59
|
| doi | `string` | |
|
|
60
60
|
| section | `string` | |
|
|
61
61
|
| language | `string` | |
|
package/modules/endnoteXml.js
CHANGED
|
@@ -136,8 +136,6 @@ export function readStream(stream) {
|
|
|
136
136
|
})
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
console.error("This line should not be hit!");
|
|
140
|
-
|
|
141
139
|
})
|
|
142
140
|
|
|
143
141
|
return emitter;
|
|
@@ -215,6 +213,7 @@ export function writeStream(stream, options) {
|
|
|
215
213
|
['database', 'remote-database-name'],
|
|
216
214
|
['doi', 'electronic-resource-num'],
|
|
217
215
|
['isbn', 'isbn'],
|
|
216
|
+
['accessionNum', 'accession-num'],
|
|
218
217
|
['label', 'label'],
|
|
219
218
|
['language', 'language'],
|
|
220
219
|
['notes', 'notes'],
|
|
@@ -357,6 +356,7 @@ export let translations = {
|
|
|
357
356
|
{rl: 'volume', raw: 'volume'},
|
|
358
357
|
{rl: 'number', raw: 'number'},
|
|
359
358
|
{rl: 'isbn', raw: 'isbn'},
|
|
359
|
+
{rl: 'accessionNum', raw: 'accessionNum'},
|
|
360
360
|
{rl: 'abstract', raw: 'abstract'},
|
|
361
361
|
{rl: 'label', raw: 'label'},
|
|
362
362
|
{rl: 'caption', raw: 'caption'},
|