ssh-config
Advanced tools
Comparing version 2.0.0-alpha.3 to 2.0.0-beta.1
@@ -8,2 +8,3 @@ 2.0.0 / 2019-06-?? | ||
* Fix: escape + when converting patterns to regexp | ||
* Fix: parameter/value pairs separated with tab charactor | ||
@@ -10,0 +11,0 @@ |
@@ -230,3 +230,3 @@ 'use strict' | ||
while (chr && chr !== ' ' && chr !== '=') { | ||
while (chr && /[^ \t=]/.test(chr)) { | ||
param += chr | ||
@@ -316,3 +316,3 @@ chr = next() | ||
} | ||
else if (chr === ' ') { | ||
else if (/[ \t]/.test(chr)) { | ||
if (val) { | ||
@@ -341,2 +341,3 @@ results.push(val) | ||
const param = parameter() | ||
// Host "foo bar" baz | ||
const multiple = param.toLowerCase() == 'host' | ||
@@ -343,0 +344,0 @@ const result = { |
{ | ||
"name": "ssh-config", | ||
"description": "SSH config parser and stringifier", | ||
"version": "2.0.0-alpha.3", | ||
"version": "2.0.0-beta.1", | ||
"author": "Chen Yangjian (https://www.cyj.me)", | ||
@@ -6,0 +6,0 @@ "repository": { |
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
17798
350