Socket
Socket
Sign inDemoInstall

json-markup

Package Overview
Dependencies
0
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

7

CHANGELOG.md

@@ -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)

4

index.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc