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

rc

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

lib/utils.js

@@ -6,3 +6,3 @@ var fs = require('fs')

var parse = exports.parse = function (content, file) {
var parse = exports.parse = function (content) {

@@ -14,3 +14,3 @@ //if it ends in .json or starts with { then it must be json.

if((file && /\.json$/.test(file)) || /^\s*{/.test(content))
if(/^\s*{/.test(content))
return JSON.parse(stripJsonComments(content))

@@ -17,0 +17,0 @@ return ini.parse(content)

{
"name": "rc",
"version": "1.1.0",
"version": "1.1.1",
"description": "hardwired configuration loader",

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