Socket
Socket
Sign inDemoInstall

ini

Package Overview
Dependencies
0
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.7 to 1.3.8

10

ini.js

@@ -21,3 +21,3 @@ exports.parse = exports.decode = decode

} else {
opt = opt || Object.create(null)
opt = opt || {}
opt.whitespace = opt.whitespace === true

@@ -69,3 +69,3 @@ }

function decode (str) {
var out = Object.create(null)
var out = {}
var p = out

@@ -88,6 +88,6 @@ var section = null

// keep parsing the section, but don't attach it.
p = Object.create(null)
p = {}
return
}
p = out[section] = out[section] || Object.create(null)
p = out[section] = out[section] || {}
return

@@ -142,3 +142,3 @@ }

if (!p[part] || typeof p[part] !== 'object')
p[part] = Object.create(null)
p[part] = {}
p = p[part]

@@ -145,0 +145,0 @@ })

@@ -5,3 +5,3 @@ {

"description": "An ini encoder/decoder for node",
"version": "1.3.7",
"version": "1.3.8",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

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