citation-js 0.7.0 → 0.7.2
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/build/citation.js +8 -2
- package/build/citation.min.js +1 -1
- package/package.json +9 -9
package/build/citation.js
CHANGED
|
@@ -3540,7 +3540,7 @@ Translator.CONVERT_TO_TARGET = Symbol('convert to target');
|
|
|
3540
3540
|
},{}],43:[function(require,module,exports){
|
|
3541
3541
|
module.exports={
|
|
3542
3542
|
"name": "@citation-js/core",
|
|
3543
|
-
"version": "0.7.
|
|
3543
|
+
"version": "0.7.1",
|
|
3544
3544
|
"description": "Convert different bibliographic metadata sources",
|
|
3545
3545
|
"keywords": [
|
|
3546
3546
|
"citation-js",
|
|
@@ -3580,7 +3580,7 @@ module.exports={
|
|
|
3580
3580
|
"fetch-ponyfill": "^7.1.0",
|
|
3581
3581
|
"sync-fetch": "^0.4.1"
|
|
3582
3582
|
},
|
|
3583
|
-
"gitHead": "
|
|
3583
|
+
"gitHead": "771fade1be9060b5b500604b33a8afa5a05ca542"
|
|
3584
3584
|
}
|
|
3585
3585
|
|
|
3586
3586
|
},{}],44:[function(require,module,exports){
|
|
@@ -6510,6 +6510,9 @@ var _default = new _core.util.Translator([].concat(aliases, nonSpec, [{
|
|
|
6510
6510
|
convert: _shared.Converters.PICK,
|
|
6511
6511
|
when: {
|
|
6512
6512
|
source: {
|
|
6513
|
+
howpublished: function howpublished(howPublished) {
|
|
6514
|
+
return howPublished && !howPublished.startsWith('http');
|
|
6515
|
+
},
|
|
6513
6516
|
publisher: false,
|
|
6514
6517
|
organization: false,
|
|
6515
6518
|
institution: false
|
|
@@ -6859,6 +6862,9 @@ var _default = new _core.util.Translator([{
|
|
|
6859
6862
|
convert: _shared.Converters.PICK,
|
|
6860
6863
|
when: {
|
|
6861
6864
|
source: {
|
|
6865
|
+
howpublished: function howpublished(howPublished) {
|
|
6866
|
+
return howPublished && !howPublished.startsWith('http');
|
|
6867
|
+
},
|
|
6862
6868
|
publisher: false,
|
|
6863
6869
|
organization: false,
|
|
6864
6870
|
institution: false,
|