ssh-config 4.1.2 → 4.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/History.md +9 -0
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/History.md CHANGED
@@ -1,3 +1,12 @@
1
+ 4.1.3 / 2022-03-11
2
+ ==================
3
+
4
+ ## What's Changed
5
+ * fix: IdentityAgent should be quoted if necessary by @cyjake in https://github.com/cyjake/ssh-config/pull/52
6
+
7
+
8
+ **Full Changelog**: https://github.com/cyjake/ssh-config/compare/v4.1.2...v4.1.3
9
+
1
10
  4.1.2 / 2022-01-20
2
11
  ==================
3
12
 
package/index.js CHANGED
@@ -6,7 +6,7 @@ const RE_SPACE = /\s/
6
6
  const RE_LINE_BREAK = /\r|\n/
7
7
  const RE_SECTION_DIRECTIVE = /^(Host|Match)$/i
8
8
  const RE_MULTI_VALUE_DIRECTIVE = /^(GlobalKnownHostsFile|Host|IPQoS|SendEnv|UserKnownHostsFile|ProxyCommand)$/i
9
- const RE_QUOTE_DIRECTIVE = /^(?:CertificateFile|IdentityFile|User)$/i
9
+ const RE_QUOTE_DIRECTIVE = /^(?:CertificateFile|IdentityFile|IdentityAgent|User)$/i
10
10
  const RE_SINGLE_LINE_DIRECTIVE = /^(Include|IdentityFile)$/i
11
11
 
12
12
  const DIRECTIVE = 1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ssh-config",
3
3
  "description": "SSH config parser and stringifier",
4
- "version": "4.1.2",
4
+ "version": "4.1.3",
5
5
  "author": "Chen Yangjian (https://www.cyj.me)",
6
6
  "repository": {
7
7
  "type": "git",