json-markup
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -0,1 +1,8 @@ | ||
<a name="1.1.2"></a> | ||
## 1.1.2 (2018-10-17) | ||
* Revert PR #11 ([2a64597](https://github.com/mafintosh/json-markup/commit/2a64597)) | ||
<a name="1.1.1"></a> | ||
@@ -2,0 +9,0 @@ ## 1.1.1 (2018-10-10) |
@@ -80,3 +80,3 @@ 'use strict' | ||
case 'array': | ||
return forEach(obj, '', '', visit) | ||
return forEach(obj, '[', ']', visit) | ||
@@ -88,3 +88,3 @@ case 'object': | ||
return forEach(keys, '', '', function (key) { | ||
return forEach(keys, '{', '}', function (key) { | ||
return '<span ' + style('json-markup-key') + '>"' + key + '":</span> ' + visit(obj[key]) | ||
@@ -91,0 +91,0 @@ }) |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/mafintosh/json-markup#readme", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"main": "index.js", | ||
@@ -8,0 +8,0 @@ "author": { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9140
0