mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-09-05 06:25:08 +09:00
chore: Update dist
This commit is contained in:
+1
-1
@@ -2665,7 +2665,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- basic-ftp@5.2.1
|
- basic-ftp@5.2.2
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -50252,6 +50252,9 @@ var require_FtpContext = __commonJS({
|
|||||||
* Send an FTP command without waiting for or handling the result.
|
* Send an FTP command without waiting for or handling the result.
|
||||||
*/
|
*/
|
||||||
send(command) {
|
send(command) {
|
||||||
|
if (/[\r\n\0]/.test(command)) {
|
||||||
|
throw new Error(`Invalid command: Contains control characters. (${command})`);
|
||||||
|
}
|
||||||
const containsPassword = command.startsWith("PASS");
|
const containsPassword = command.startsWith("PASS");
|
||||||
const message = containsPassword ? "> PASS ###" : `> ${command}`;
|
const message = containsPassword ? "> PASS ###" : `> ${command}`;
|
||||||
this.log(message);
|
this.log(message);
|
||||||
@@ -51890,9 +51893,6 @@ var require_Client = __commonJS({
|
|||||||
* a given path to fix that issue for most cases.
|
* a given path to fix that issue for most cases.
|
||||||
*/
|
*/
|
||||||
async protectWhitespace(path3) {
|
async protectWhitespace(path3) {
|
||||||
if (/[\r\n\0]/.test(path3)) {
|
|
||||||
throw new Error("Invalid path: Contains control characters");
|
|
||||||
}
|
|
||||||
if (!path3.startsWith(" ")) {
|
if (!path3.startsWith(" ")) {
|
||||||
return path3;
|
return path3;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user