@sap/bas-sdk
Advanced tools
Comparing version 3.7.2 to 3.7.4
@@ -31,4 +31,5 @@ "use strict"; | ||
} | ||
// eslint-disable-next-line no-control-regex -- its a pty terminal's hint symbol pattern | ||
if (/(\$ \[6n)$/g.test(value)) { | ||
// each terminal command comes to us in packages, and when we receive the terminal's prompt, we know the command has ended. | ||
// eslint-disable-next-line no-control-regex -- its a pty terminal's hint symbol pattern, first for Debian terminal (the prompt is '$ ') and second for Alpine terminal (the prompt is `$ [6n`) | ||
if (/(\$ )$/g.test(value) || /(\$ \[6n)$/g.test(value)) { | ||
if (this.prompt) { | ||
@@ -35,0 +36,0 @@ this.callback(this.output); |
{ | ||
"name": "@sap/bas-sdk", | ||
"version": "3.7.2", | ||
"version": "3.7.4", | ||
"description": "SDK for SAP Business Application Studio", | ||
@@ -23,3 +23,3 @@ "license": "SAP", | ||
"dependencies": { | ||
"axios": "1.5.1", | ||
"axios": "1.6.2", | ||
"cross-spawn": "^7.0.3", | ||
@@ -32,3 +32,3 @@ "fs-extra": "^11.1.0", | ||
"devDependencies": { | ||
"@sap/bas-sdk-sinon-helper": "^3.7.2", | ||
"@sap/bas-sdk-sinon-helper": "^3.7.4", | ||
"@types/cross-spawn": "^6.0.2", | ||
@@ -35,0 +35,0 @@ "@types/fs-extra": "^11.0.1", |
@@ -41,4 +41,5 @@ import { devspaceApi } from "../../api"; | ||
} | ||
// eslint-disable-next-line no-control-regex -- its a pty terminal's hint symbol pattern | ||
if (/(\$ \[6n)$/g.test(value)) { | ||
// each terminal command comes to us in packages, and when we receive the terminal's prompt, we know the command has ended. | ||
// eslint-disable-next-line no-control-regex -- its a pty terminal's hint symbol pattern, first for Debian terminal (the prompt is '$ ') and second for Alpine terminal (the prompt is `$ [6n`) | ||
if (/(\$ )$/g.test(value) || /(\$ \[6n)$/g.test(value)) { | ||
if (this.prompt) { | ||
@@ -45,0 +46,0 @@ this.callback(this.output); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
367332
5576
+ Addedaxios@1.6.2(transitive)
- Removedaxios@1.5.1(transitive)
Updatedaxios@1.6.2