Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

json-parser

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-parser - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

9

index.js

@@ -37,4 +37,9 @@ 'use strict';

if (Object(result) === result) {
result['//^'] = tokens.head_comments;
result['//$'] = tokens.foot_comments;
if (tokens.head_comments.length) {
result['//^'] = tokens.head_comments;
}
if (tokens.foot_comments.length) {
result['//$'] = tokens.foot_comments;
}
}

@@ -41,0 +46,0 @@

{
"name": "json-parser",
"version": "0.2.0",
"version": "0.2.1",
"description": "JSON parser to parse JSON object and MAINTAIN comments.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc