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

@luojianet/remove-json-comments

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luojianet/remove-json-comments - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "@luojianet/remove-json-comments",
"version": "1.0.2",
"version": "1.0.3",
"description": "remove json comments",

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

@@ -39,13 +39,11 @@ # remove-json-comments [![Build Status](https://travis-ci.org/sindresorhus/strip-json-comments.svg?branch=master)](https://travis-ci.org/sindresorhus/strip-json-comments)

{
[
{
"ITEM2":{
"names":[
"nameB",
"nameC"
]
}
}, // need to remove this comma!
[{
"ITEM2": {
"names": ["nameB", "nameC"]
}
}, // need to remove this comma!
]
}`
}
`
JSON.parse(stripJsonComments(json));

@@ -52,0 +50,0 @@ ```

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