@zowe/zos-logs-for-zowe-sdk 7.28.2 → 7.28.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.
- package/lib/GetZosLog.js +1 -2
- package/lib/GetZosLog.js.map +1 -1
- package/package.json +4 -4
package/lib/GetZosLog.js
CHANGED
|
@@ -23,7 +23,6 @@ exports.GetZosLog = void 0;
|
|
|
23
23
|
const core_for_zowe_sdk_1 = require("@zowe/core-for-zowe-sdk");
|
|
24
24
|
const GetZosLogValidator_1 = require("./GetZosLogValidator");
|
|
25
25
|
const ZosLogConstants_1 = require("./ZosLogConstants");
|
|
26
|
-
const util_1 = require("util");
|
|
27
26
|
/**
|
|
28
27
|
* Get zos log via z/OSMF restful api
|
|
29
28
|
* @export
|
|
@@ -42,7 +41,7 @@ class GetZosLog {
|
|
|
42
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
43
42
|
GetZosLogValidator_1.GetZosLogValidator.validateSession(session);
|
|
44
43
|
let resp = yield core_for_zowe_sdk_1.ZosmfRestClient.getExpectJSON(session, GetZosLog.getResourcePath(commandParms), [core_for_zowe_sdk_1.ZosmfHeaders.X_CSRF_ZOSMF_HEADER]);
|
|
45
|
-
if (
|
|
44
|
+
if (commandParms.processResponses == null || commandParms.processResponses !== false) {
|
|
46
45
|
// the IBM responses sometimes have \r and sometimes \r\n, we will process them our here and hopefully
|
|
47
46
|
// return them with just \n.
|
|
48
47
|
resp = JSON.parse(JSON.stringify(resp).replace(/\\r\\n/g, "\\n").replace(/\\r/g, "\\n"));
|
package/lib/GetZosLog.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetZosLog.js","sourceRoot":"","sources":["../src/GetZosLog.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE;;;;;;;;;;;;AAGF,+DAAwE;AAGxE,6DAA0D;AAC1D,uDAAoD;
|
|
1
|
+
{"version":3,"file":"GetZosLog.js","sourceRoot":"","sources":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AE;YACtC,IAAI,IAAI,YAAY,GAAG,YAAY,CAAC,SAAS,GAAG,GAAG,CAAC;SACvD;QACD,IAAI,YAAY,CAAC,KAAK,KAAK,SAAS,EAAE;YAClC,IAAI,IAAI,YAAY,GAAG,YAAY,CAAC,KAAK,GAAG,GAAG,CAAC;SACnD;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAjDD,8BAiDC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zowe/zos-logs-for-zowe-sdk",
|
|
3
|
-
"version": "7.28.
|
|
3
|
+
"version": "7.28.3",
|
|
4
4
|
"description": "Zowe SDK to interact with the z/OS logs",
|
|
5
5
|
"author": "Zowe",
|
|
6
6
|
"license": "EPL-2.0",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"typedocSpecifySrc": "typedoc --options ./typedoc.json"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@zowe/cli-test-utils": "7.28.
|
|
48
|
-
"@zowe/core-for-zowe-sdk": "7.28.
|
|
49
|
-
"@zowe/imperative": "5.26.
|
|
47
|
+
"@zowe/cli-test-utils": "7.28.3",
|
|
48
|
+
"@zowe/core-for-zowe-sdk": "7.28.3",
|
|
49
|
+
"@zowe/imperative": "5.26.2"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@zowe/core-for-zowe-sdk": "^7.0.0",
|