Socket
Socket
Sign inDemoInstall

strip-json-comments

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strip-json-comments - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

index.js

@@ -69,3 +69,3 @@ 'use strict';

return ret + str.substr(offset);
return ret + (insideComment ? strip(str.substr(offset)) : str.substr(offset));
};
{
"name": "strip-json-comments",
"version": "2.0.0",
"version": "2.0.1",
"description": "Strip comments from JSON. Lets you use comments in your JSON files!",

@@ -5,0 +5,0 @@ "license": "MIT",

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