+2
-2
@@ -5,3 +5,3 @@ "use strict"; | ||
| const strip_comment_1 = require("./strip-comment"); | ||
| const RE_EXPORTS = /^export\s+/; | ||
| const RE_SET_VERB = /^(export|set)\s+/; | ||
| const RE_BOUNDING_QUOTES = /^"|"$/g; | ||
@@ -20,3 +20,3 @@ const RE_QUOTE_WITH_COMMENT = /(".*?")(\s*#\s*.*)?/; | ||
| const [k, v = ""] = line.split("="); | ||
| const key = k.replace(RE_EXPORTS, ""); | ||
| const key = k.replace(RE_SET_VERB, ""); | ||
| if (!key.trim()) | ||
@@ -23,0 +23,0 @@ continue; |
+1
-1
| { | ||
| "name": "didone", | ||
| "version": "0.3.0", | ||
| "version": "0.3.1", | ||
| "license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Minimalist dotenv-like parser for the browser", |
7423
0.11%