digirati-annotation-bridge
Advanced tools
Comparing version 0.8.13 to 0.8.14
@@ -145,3 +145,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
case 'ANNOTATION_STUDIO': | ||
return JSON.parse(annotation.body.value); | ||
try { | ||
return JSON.parse(annotation.body.value); | ||
} catch (err) { | ||
return annotation.body.value; | ||
} | ||
case 'SPECIFIC_RESOURCE': | ||
@@ -148,0 +152,0 @@ default: |
@@ -168,3 +168,7 @@ 'use strict'; | ||
case 'ANNOTATION_STUDIO': | ||
return JSON.parse(annotation.body.value); | ||
try { | ||
return JSON.parse(annotation.body.value); | ||
} catch (err) { | ||
return annotation.body.value; | ||
} | ||
case 'SPECIFIC_RESOURCE': | ||
@@ -171,0 +175,0 @@ default: |
{ | ||
"name": "digirati-annotation-bridge", | ||
"version": "0.8.13", | ||
"version": "0.8.14", | ||
"description": "Describe annotation-bridge here", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68307
1663