mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-09-04 06:15:07 +09:00
chore: Update dist
This commit is contained in:
+1
-1
@@ -2668,7 +2668,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.3.0
|
- basic-ftp@5.3.1
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
|
|||||||
+5
@@ -52284,6 +52284,7 @@ var require_FtpContext = __commonJS({
|
|||||||
exports2.FTPError = FTPError;
|
exports2.FTPError = FTPError;
|
||||||
function doNothing() {
|
function doNothing() {
|
||||||
}
|
}
|
||||||
|
var maxControlResponseLength = 2 ** 16;
|
||||||
var FTPContext = class {
|
var FTPContext = class {
|
||||||
/**
|
/**
|
||||||
* Instantiate an FTP context.
|
* Instantiate an FTP context.
|
||||||
@@ -52501,6 +52502,10 @@ Closing reason: ${this._closingError.stack}`;
|
|||||||
*/
|
*/
|
||||||
_onControlSocketData(chunk) {
|
_onControlSocketData(chunk) {
|
||||||
this.log(`< ${chunk}`);
|
this.log(`< ${chunk}`);
|
||||||
|
if (this._partialResponse.length + chunk.length > maxControlResponseLength) {
|
||||||
|
this.closeWithError(new Error("FTP control response exceeded maximum allowed size"));
|
||||||
|
return;
|
||||||
|
}
|
||||||
const completeResponse = this._partialResponse + chunk;
|
const completeResponse = this._partialResponse + chunk;
|
||||||
const parsed = (0, parseControlResponse_1.parseControlResponse)(completeResponse);
|
const parsed = (0, parseControlResponse_1.parseControlResponse)(completeResponse);
|
||||||
this._partialResponse = parsed.rest;
|
this._partialResponse = parsed.rest;
|
||||||
|
|||||||
Reference in New Issue
Block a user