mac-system-proxy
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -8,2 +8,5 @@ "use strict"; | ||
try { | ||
// Unclear how this happens, but it seems that it can in some cases: | ||
if (output === '') | ||
return {}; | ||
const unquotedJsonString = output | ||
@@ -10,0 +13,0 @@ // Reduce type markers to just an inline __scutil__type__ marker on array objects: |
{ | ||
"name": "mac-system-proxy", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Access the Mac system proxy settings from Node.js", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -6,2 +6,5 @@ const TYPE_KEY = "__scutil__type__"; | ||
try { | ||
// Unclear how this happens, but it seems that it can in some cases: | ||
if (output === '') return {}; | ||
const unquotedJsonString = output | ||
@@ -8,0 +11,0 @@ // Reduce type markers to just an inline __scutil__type__ marker on array objects: |
Sorry, the diff of this file is not supported yet
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
24005
191