@hunan36/dsh-ssh-helper 0.1.0 → 0.1.1
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.
- package/host/shell.js +2 -2
- package/package.json +1 -1
package/host/shell.js
CHANGED
|
@@ -78,8 +78,8 @@ export function shQuote(value) {
|
|
|
78
78
|
*
|
|
79
79
|
* Rejects non-strings, empty values, relative paths, `..` segments, control
|
|
80
80
|
* characters, over-long values and the blocked system roots listed in
|
|
81
|
-
*
|
|
82
|
-
* trailing slashes removed.
|
|
81
|
+
* `BLOCKED_EXACT` / `BLOCKED_PREFIXES`. Returns a normalized absolute path with
|
|
82
|
+
* redundant separators and trailing slashes removed.
|
|
83
83
|
*
|
|
84
84
|
* @param {unknown} raw - candidate remote path.
|
|
85
85
|
* @returns {string} normalized absolute path.
|
package/package.json
CHANGED