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

didone

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

didone - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

8

dist/parse.js

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

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