json-markup
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -30,2 +30,3 @@ 'use strict' | ||
if (typeof doc === 'string' && /^https?:/.test(doc)) return 'link' | ||
if (typeof doc === 'object' && typeof doc.toISOString === 'function') return 'date' | ||
@@ -67,2 +68,5 @@ return typeof doc | ||
case 'date': | ||
return '<span class="json-markup-string">"' + escape(obj.toISOString()) + '"</span>' | ||
case 'null': | ||
@@ -69,0 +73,0 @@ return '<span ' + style('json-markup-null') + '>null</span>' |
{ | ||
"name": "json-markup", | ||
"version": "1.0.0", | ||
"repository": "git://github.com/mafintosh/json-markup", | ||
"description": "a json to html syntax highlighter", | ||
"homepage": "https://github.com/mafintosh/json-markup#readme", | ||
"version": "1.1.0", | ||
"author": { | ||
"email": "mathiasbuus@gmail.com", | ||
"name": "Mathias Buus Madsen" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/mafintosh/json-markup.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/mafintosh/json-markup/issues" | ||
}, | ||
"keywords": [ | ||
@@ -12,4 +23,3 @@ "json", | ||
], | ||
"author": "Mathias Buus Madsen <mathiasbuus@gmail.com>", | ||
"license": "MIT" | ||
} |
Sorry, the diff of this file is not supported yet
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
10208
10
102
0
0
0