Socket
Socket
Sign inDemoInstall

parse-ini-string

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-ini-string - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

10

build/cjs/src/index.js

@@ -76,10 +76,4 @@ "use strict";

if (isMultiLine(value)) {
if (lineTrim === '"' || lineTrim === '";') {
isEnd = true;
}
} else {
if (lineTrim.slice(-1) === '"' || lineTrim.slice(-2) === '";') {
isEnd = true;
}
if (lineTrim === '"' || lineTrim === '";') {
isEnd = true;
}

@@ -86,0 +80,0 @@

@@ -70,10 +70,4 @@ var commentReg = /^\s*[;]/;

if (isMultiLine(value)) {
if (lineTrim === '"' || lineTrim === '";') {
isEnd = true;
}
} else {
if (lineTrim.slice(-1) === '"' || lineTrim.slice(-2) === '";') {
isEnd = true;
}
if (lineTrim === '"' || lineTrim === '";') {
isEnd = true;
}

@@ -80,0 +74,0 @@

2

package.json
{
"name": "parse-ini-string",
"version": "0.1.0",
"version": "0.1.1",
"description": "PHP parse-ini-string like library, support multi line",

@@ -5,0 +5,0 @@ "repository": "react-atomic/react-atomic-organism",

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