Socket
Socket
Sign inDemoInstall

envfile

Package Overview
Dependencies
0
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.17.0 to 6.18.0

2

edition-browsers/index.js

@@ -10,3 +10,3 @@ // perhaps in the future we can use @bevry/json's toJSON and parseJSON and JSON.stringify to support more advanced types

const key = match[1].trim();
const value = match[2].trim();
const value = match[2].trim().replace(/['"]+/g, '');
result[key] = value;

@@ -13,0 +13,0 @@ }

@@ -17,3 +17,3 @@ /** We don't normalize anything, so it is just strings and strings. */

const key = match[1].trim()
const value = match[2].trim()
const value = match[2].trim().replace(/['"]+/g, '')
result[key] = value

@@ -20,0 +20,0 @@ }

@@ -10,3 +10,3 @@ // perhaps in the future we can use @bevry/json's toJSON and parseJSON and JSON.stringify to support more advanced types

const key = match[1].trim();
const value = match[2].trim();
const value = match[2].trim().replace(/['"]+/g, '');
result[key] = value;

@@ -13,0 +13,0 @@ }

@@ -13,3 +13,3 @@ "use strict";

const key = match[1].trim();
const value = match[2].trim();
const value = match[2].trim().replace(/['"]+/g, '');
result[key] = value;

@@ -16,0 +16,0 @@ }

# History
## v6.18.0 2022 September 8
- Normalize string values when parsing to JSON - Thanks to [kcarra](https://github.com/kcarra) for [pull request #194](https://github.com/bevry/envfile/pull/194)
## v6.17.0 2021 July 30

@@ -4,0 +8,0 @@

{
"name": "envfile",
"version": "6.17.0",
"version": "6.18.0",
"description": "Parse and stringify the environment configuration files and format, also known as .env files and dotenv files",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/bevry/envfile",

@@ -100,3 +100,3 @@ <!-- TITLE/ -->

<script type="module">
import * as pkg from '//cdn.skypack.dev/envfile@^6.17.0'
import * as pkg from '//cdn.skypack.dev/envfile@^6.18.0'
</script>

@@ -109,3 +109,3 @@ ```

<script type="module">
import * as pkg from '//unpkg.com/envfile@^6.17.0'
import * as pkg from '//unpkg.com/envfile@^6.18.0'
</script>

@@ -118,3 +118,3 @@ ```

<script type="module">
import * as pkg from '//dev.jspm.io/envfile@6.17.0'
import * as pkg from '//dev.jspm.io/envfile@6.18.0'
</script>

@@ -121,0 +121,0 @@ ```

@@ -17,3 +17,3 @@ /** We don't normalize anything, so it is just strings and strings. */

const key = match[1].trim()
const value = match[2].trim()
const value = match[2].trim().replace(/['"]+/g, '')
result[key] = value

@@ -20,0 +20,0 @@ }

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