Comparing version 0.3.1 to 0.3.2
@@ -18,9 +18,9 @@ "use strict"; | ||
continue; | ||
const [k, v = ""] = line.split("="); | ||
const key = k.replace(RE_SET_VERB, ""); | ||
if (!key.trim()) | ||
const [k, ...v] = line.split("="); | ||
const key = k.replace(RE_SET_VERB, "").trim(); | ||
if (!key) | ||
continue; | ||
if (/\s+/g.test(key)) | ||
continue; | ||
let value = v.trim(); | ||
let value = v.join("=").trim(); | ||
if (value.startsWith('"') && !RE_QUOTE_WITH_COMMENT.test(value)) { | ||
@@ -27,0 +27,0 @@ let multiline_value = value.replace(RE_BOUNDING_QUOTES, ""); |
{ | ||
"name": "didone", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Minimalist dotenv-like parser for the browser", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7431