@broadcom/mat-analyze-for-zowe-cli 2.0.6 → 3.0.0

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.
Files changed (71) hide show
  1. package/README.md +5 -5
  2. package/lib/api/MATRest.js.map +1 -1
  3. package/lib/cli/monitor/codeview/Histogram/Histogram.handler.d.ts +1 -0
  4. package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js +91 -131
  5. package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js.map +1 -1
  6. package/lib/cli/monitor/codeview/callerid/Callerid.handler.js +0 -2
  7. package/lib/cli/monitor/codeview/callerid/Callerid.handler.js.map +1 -1
  8. package/lib/cli/monitor/codeview/csect/Csect.handler.js +0 -1
  9. package/lib/cli/monitor/codeview/csect/Csect.handler.js.map +1 -1
  10. package/lib/cli/monitor/codeview/module/Module.handler.js +0 -1
  11. package/lib/cli/monitor/codeview/module/Module.handler.js.map +1 -1
  12. package/lib/cli/monitor/db2/db2view/DB2View.handler.js +0 -1
  13. package/lib/cli/monitor/db2/db2view/DB2View.handler.js.map +1 -1
  14. package/lib/cli/monitor/db2/sqlview/SQLView.handler.js +0 -1
  15. package/lib/cli/monitor/db2/sqlview/SQLView.handler.js.map +1 -1
  16. package/lib/cli/monitor/delayview/address/Address.handler.js +0 -1
  17. package/lib/cli/monitor/delayview/address/Address.handler.js.map +1 -1
  18. package/lib/cli/monitor/delayview/delay/Delay.handler.js +0 -1
  19. package/lib/cli/monitor/delayview/delay/Delay.handler.js.map +1 -1
  20. package/lib/cli/monitor/history/History.handler.js +0 -1
  21. package/lib/cli/monitor/history/History.handler.js.map +1 -1
  22. package/lib/cli/monitor/idms/dml/DML.handler.js +0 -1
  23. package/lib/cli/monitor/idms/dml/DML.handler.js.map +1 -1
  24. package/lib/cli/monitor/idms/module/IDMSModule.handler.js +0 -2
  25. package/lib/cli/monitor/idms/module/IDMSModule.handler.js.map +1 -1
  26. package/lib/cli/monitor/idms/task/IDMSTask.handler.js +0 -1
  27. package/lib/cli/monitor/idms/task/IDMSTask.handler.js.map +1 -1
  28. package/lib/cli/monitor/ims/dbdname/DBDName.handler.js +0 -1
  29. package/lib/cli/monitor/ims/dbdname/DBDName.handler.js.map +1 -1
  30. package/lib/cli/monitor/ims/imsview/IMSView.handler.js +0 -1
  31. package/lib/cli/monitor/ims/imsview/IMSView.handler.js.map +1 -1
  32. package/lib/cli/monitor/ims/psbname/PSBName.handler.js +0 -1
  33. package/lib/cli/monitor/ims/psbname/PSBName.handler.js.map +1 -1
  34. package/lib/cli/monitor/ims/region/Region.handler.js +0 -1
  35. package/lib/cli/monitor/ims/region/Region.handler.js.map +1 -1
  36. package/lib/cli/monitor/ims/ssa/SSA.handler.js +0 -2
  37. package/lib/cli/monitor/ims/ssa/SSA.handler.js.map +1 -1
  38. package/lib/cli/monitor/ims/statement/Statement.handler.js +0 -2
  39. package/lib/cli/monitor/ims/statement/Statement.handler.js.map +1 -1
  40. package/lib/cli/monitor/overview/Overview.handler.js.map +1 -1
  41. package/lib/cli/monitor/tranview/all/All.handler.js +0 -1
  42. package/lib/cli/monitor/tranview/all/All.handler.js.map +1 -1
  43. package/lib/cli/monitor/tranview/callerid/Callerid.handler.js +0 -2
  44. package/lib/cli/monitor/tranview/callerid/Callerid.handler.js.map +1 -1
  45. package/lib/cli/monitor/tranview/callstack/CallStack.handler.js +0 -2
  46. package/lib/cli/monitor/tranview/callstack/CallStack.handler.js.map +1 -1
  47. package/lib/cli/monitor/tranview/csect/CsectDetail.handler.js +0 -2
  48. package/lib/cli/monitor/tranview/csect/CsectDetail.handler.js.map +1 -1
  49. package/lib/cli/monitor/tranview/delay/DelayDetail.handler.js +0 -2
  50. package/lib/cli/monitor/tranview/delay/DelayDetail.handler.js.map +1 -1
  51. package/lib/cli/monitor/tranview/module/Module.handler.js +0 -1
  52. package/lib/cli/monitor/tranview/module/Module.handler.js.map +1 -1
  53. package/lib/cli/monitor/tranview/stat/Cicstat.handler.js +0 -2
  54. package/lib/cli/monitor/tranview/stat/Cicstat.handler.js.map +1 -1
  55. package/lib/cli/profile/create/CreateProfile.handler.js.map +1 -1
  56. package/lib/cli/profile/invoke/InvokeProfile.handler.js.map +1 -1
  57. package/lib/cli/session/MATSession.js +2 -2
  58. package/lib/cli/session/MATSession.js.map +1 -1
  59. package/lib/handlers/AbstractAnalyzeHandler.js.map +1 -1
  60. package/lib/handlers/AbstractGetHandler.js +7 -7
  61. package/lib/handlers/AbstractGetHandler.js.map +1 -1
  62. package/lib/handlers/AbstractRestHandler.js +0 -13
  63. package/lib/handlers/AbstractRestHandler.js.map +1 -1
  64. package/lib/healthCheck.Handler.d.ts +53 -3
  65. package/lib/healthCheck.Handler.js +119 -18
  66. package/lib/healthCheck.Handler.js.map +1 -1
  67. package/lib/imperative.js +2 -15
  68. package/lib/imperative.js.map +1 -1
  69. package/lib/index.js +6 -2
  70. package/lib/index.js.map +1 -1
  71. package/package.json +32 -33
@@ -21,26 +21,127 @@
21
21
  * INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS
22
22
  * EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
23
23
  */
24
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
25
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
26
- return new (P || (P = Promise))(function (resolve, reject) {
27
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
28
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
29
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
30
- step((generator = generator.apply(thisArg, _arguments || [])).next());
31
- });
32
- };
33
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.LifeCycleForSample = void 0;
34
26
  const imperative_1 = require("@zowe/imperative");
35
- class HealthCheckHandler {
36
- process(params) {
37
- return __awaiter(this, void 0, void 0, function* () {
38
- imperative_1.Logger.getImperativeLogger().debug("Invoked health check handler");
39
- params.response.console.log("You would report problems identified by healthCheck.\n" +
40
- "This handler is not currently called by Imperative, but\n" +
41
- "its existence prevents a warning during plugin validation.");
42
- });
27
+ /**
28
+ * This class performs lifecycle functions for your plug-in. You are free to
29
+ * change the name of this class to reflect your plug-in and its actions.
30
+ *
31
+ * You only have to supply such a class if you specify the 'pluginLifeCycle'
32
+ * property in your IImperativeConfig definition for your plug-in. In this sample,
33
+ * that definition is supplied in src/pluginDef.ts.
34
+ */
35
+ class LifeCycleForSample extends imperative_1.AbstractPluginLifeCycle {
36
+ /**
37
+ * This function will be called after a plug-in is installed.
38
+ * A plug-in can use this opportunity to perform a sanity test or to
39
+ * perform some additional setup which is specific to your plug-in.
40
+ *
41
+ * If your plug-in's postInstall function performs an asynchronous operation,
42
+ * its postInstall function should return a promise, allowing the CLI
43
+ * to await the postInstall function. Such a signature would be like this:
44
+ *
45
+ * public async postInstall(): Promise<void>
46
+ *
47
+ * If it has no asynchronous operation, the postInstall function can be
48
+ * written as a synchronous function. That is the style which this trivial
49
+ * synchronous sample uses below.
50
+ *
51
+ * If you supply this class, you must supply this function. If you have nothing to
52
+ * do post-install, then simply return from the function.
53
+ */
54
+ postInstall() {
55
+ /* It is up to you to decide what actions are meaningful for you
56
+ * to perform immediately after your plug-in is installed.
57
+ *
58
+ * When all goes well, you probably should display nothing to the user.
59
+ */
60
+ // const somethingWeirdOccurred = true;
61
+ // if ( somethingWeirdOccurred ) {
62
+ // /* If you display a message about a problem, you should also log the
63
+ // * message to a file, so that the message can be found later.
64
+ // *
65
+ // * You can use a consoleLogger to display a message. The available logging
66
+ // * levels can be found in the Zowe doc:
67
+ // * https://docs.zowe.org/stable/user-guide/cli-configuringcli-ev/#setting-cli-log-levels
68
+ // *
69
+ // * Note that the user controls the logging level with the
70
+ // * ZOWE_IMPERATIVE_LOG_LEVEL environment variable. When not set, the
71
+ // * default log level is WARN. So by default, only messages displayed at
72
+ // * the WARN, ERROR, and FATAL levels will be displayed (or logged).
73
+ // */
74
+ // const warnMsg = "Something weird happened in the sample plug-in's " +
75
+ // "postInstall function. However, things should still work ok.";
76
+ // Logger.getConsoleLogger().warn(warnMsg);
77
+ // Logger.getImperativeLogger().warn(warnMsg);
78
+ // }
79
+ /* When you are unable to achieve your desired actions, you should throw
80
+ * an imperative error. The "zowe plugins install" command will catch
81
+ * that error, display it, and add some additional information.
82
+ *
83
+ * Your plug-in has already been installed. However, when you throw an
84
+ * error during your postInstall function, the 'zowe plugins install'
85
+ * command will exit with a non-zero exit code.
86
+ */
87
+ // const someBigProblemOccurred = false;
88
+ // if ( someBigProblemOccurred ) {
89
+ // throw new ImperativeError({
90
+ // msg: "Something awful happened in the sample plug-in's " +
91
+ // "postInstall function. Thus, the plug-in could not be properly setup."
92
+ // });
93
+ // }
94
+ }
95
+ /**
96
+ * This function will be called before a plug-in is uninstalled.
97
+ * This lifecycle hook is intended to replace the capability that used to
98
+ * be performed by the NPM pre-uninstall action before NPM removed that
99
+ * capability in NPM version 7.
100
+ * See https://docs.npmjs.com/cli/v9/using-npm/scripts#a-note-on-a-lack-of-npm-uninstall-scripts
101
+ *
102
+ * A plug-in can use this opportunity to revert any specialized setup that was
103
+ * established during the lifetime of your plug-in.
104
+ *
105
+ * If your plug-in's preUninstall function performs an asynchronous operation,
106
+ * its preUninstall function should return a promise, allowing the CLI
107
+ * framework to await the preUninstall function. Such a signature would be like this:
108
+ *
109
+ * public async preUninstall(): Promise<void>
110
+ *
111
+ * If it has no asynchronous operation, the preUninstall function can be
112
+ * written as a synchronous function. That is the style which this trivial
113
+ * synchronous sample uses below.
114
+ *
115
+ * If you supply this class, you must supply this function. If you have nothing to
116
+ * do pre-uninstall, then simply return from the function.
117
+ */
118
+ preUninstall() {
119
+ /* The comments from the postInstall function also apply to the
120
+ * preUninstall function.
121
+ */
122
+ // const somethingWeirdOccurred = true;
123
+ // if ( somethingWeirdOccurred ) {
124
+ // const warnMsg = "Something weird happened in the sample plug-in's " +
125
+ // "preUninstall function that we thought you should know about.";
126
+ // Logger.getConsoleLogger().warn(warnMsg);
127
+ // Logger.getImperativeLogger().warn(warnMsg);
128
+ // }
129
+ /* When you throw an error during your preUninstall function, the
130
+ * 'zowe plugins uninstall' catches the error and still performs the
131
+ * uninstall operation that was requested by the user. If the actual
132
+ * uninstall operation succeeds, the command will exit with a zero
133
+ * exit code.
134
+ */
135
+ // const someBigProblemOccurred = false;
136
+ // if ( someBigProblemOccurred ) {
137
+ // throw new ImperativeError({
138
+ // msg: "Something awful happened during the sample plug-in's " +
139
+ // "preUninstall function. Maybe you have to manually release " +
140
+ // "some resource that was used by this plug-in."
141
+ // });
142
+ // }
43
143
  }
44
144
  }
45
- exports.default = HealthCheckHandler;
145
+ exports.LifeCycleForSample = LifeCycleForSample;
146
+ module.exports = LifeCycleForSample;
46
147
  //# sourceMappingURL=healthCheck.Handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"healthCheck.Handler.js","sourceRoot":"","sources":["../src/healthCheck.Handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;AAEH,iDAA6E;AAE7E,MAAqB,kBAAkB;IACxB,OAAO,CAAC,MAA0B;;YAC7C,mBAAM,CAAC,mBAAmB,EAAE,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC;YACnE,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,wDAAwD;gBAClF,2DAA2D;gBAC3D,4DAA4D,CAC7D,CAAC;QACJ,CAAC;KAAA;CACF;AARD,qCAQC"}
1
+ {"version":3,"file":"healthCheck.Handler.js","sourceRoot":"","sources":["../src/healthCheck.Handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAEH,iDAAkF;AAElF;;;;;;;GAOG;AACH,MAAa,kBAAmB,SAAQ,oCAAuB;IAC7D;;;;;;;;;;;;;;;;;OAiBG;IACI,WAAW;QAChB;;;;WAIG;QAEH,uCAAuC;QACvC,kCAAkC;QAClC,2EAA2E;QAC3E,oEAAoE;QACpE,SAAS;QACT,iFAAiF;QACjF,8CAA8C;QAC9C,+FAA+F;QAC/F,SAAS;QACT,gEAAgE;QAChE,2EAA2E;QAC3E,8EAA8E;QAC9E,0EAA0E;QAC1E,UAAU;QACV,4EAA4E;QAC5E,yEAAyE;QACzE,+CAA+C;QAC/C,kDAAkD;QAClD,IAAI;QAEJ;;;;;;;WAOG;QACH,wCAAwC;QACxC,kCAAkC;QAClC,kCAAkC;QAClC,qEAAqE;QACrE,qFAAqF;QACrF,UAAU;QACV,IAAI;IACN,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACI,YAAY;QACjB;;WAEG;QACH,uCAAuC;QACvC,kCAAkC;QAClC,4EAA4E;QAC5E,0EAA0E;QAC1E,+CAA+C;QAC/C,kDAAkD;QAClD,IAAI;QAEJ;;;;;WAKG;QACH,wCAAwC;QACxC,kCAAkC;QAClC,kCAAkC;QAClC,yEAAyE;QACzE,6EAA6E;QAC7E,6DAA6D;QAC7D,UAAU;QACV,IAAI;IACN,CAAC;CACF;AAjHD,gDAiHC;AAED,MAAM,CAAC,OAAO,GAAG,kBAAkB,CAAC"}
package/lib/imperative.js CHANGED
@@ -24,7 +24,7 @@
24
24
  const MATSession_1 = require("./cli/session/MATSession");
25
25
  const config = {
26
26
  commandModuleGlobs: ["**/cli/*/*.definition!(.d).*s"],
27
- pluginHealthCheck: __dirname + "/healthCheck.Handler",
27
+ pluginLifeCycle: __dirname + "/healthCheck.Handler",
28
28
  pluginSummary: "Manage monitor profiles and analyze the measurement data using MAT",
29
29
  pluginAliases: ["mat"],
30
30
  rootCommandDescription: "The MAT Analyze plug-in for ZOWE CLI enables you to manage monitor profiles " +
@@ -51,7 +51,7 @@ const config = {
51
51
  optionDefinition: MATSession_1.MATSession.MAT_REST_PORT,
52
52
  type: "number"
53
53
  },
54
- username: {
54
+ user: {
55
55
  optionDefinition: MATSession_1.MATSession.MAT_CLI_USERNAME,
56
56
  type: "string",
57
57
  secure: true
@@ -76,19 +76,6 @@ const config = {
76
76
  },
77
77
  required: [],
78
78
  },
79
- createProfileExamples: [
80
- {
81
- options: "matprofile --o http --H localhost --P 1234 --u user --pw pass --base-path \'API\\MAT\'",
82
- description: "Create a MAT profile called \'matprofile\' using your MAT configuration and REST API details, " +
83
- "with the MAT REST API server integrated with the Zowe API Mediation Layer"
84
- },
85
- {
86
- options: "matprofile --o http --H localhost --P 1234 --u user --pw pass --listingDir \'c:\\listings\'",
87
- description: "Create a MAT profile called \'matprofile\' using your MAT configuration and the details of the " +
88
- "MAT REST API server without integration with the Zowe API Mediation Layer," +
89
- "and define the \'c:\\listings\' directory to store program listings for instant analysis from your VS Code IDE"
90
- },
91
- ]
92
79
  }
93
80
  ]
94
81
  };
@@ -1 +1 @@
1
- {"version":3,"file":"imperative.js","sourceRoot":"","sources":["../src/imperative.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,yDAAsD;AAEtD,MAAM,MAAM,GAAsB;IAC9B,kBAAkB,EAAE,CAAC,+BAA+B,CAAC;IACrD,iBAAiB,EAAE,SAAS,GAAG,sBAAsB;IACrD,aAAa,EAAE,oEAAoE;IACnF,aAAa,EAAE,CAAC,KAAK,CAAC;IACtB,sBAAsB,EAAE,8EAA8E;QACtG,+EAA+E;IAC/E,kBAAkB,EAAE,kCAAkC;IACtD,IAAI,EAAE,KAAK;IACX,QAAQ,EAAE;QACN;YACE,IAAI,EAAE,KAAK;YACX,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,gCAAgC;gBACvC,WAAW,EAAE,iCAAiC;gBAC9C,UAAU,EAAE;oBACV,QAAQ,EAAE;wBACR,gBAAgB,EAAE,uBAAU,CAAC,iBAAiB;wBAC9C,IAAI,EAAE,QAAQ;qBACf;oBACD,QAAQ,EAAE;wBACR,gBAAgB,EAAE,uBAAU,CAAC,iBAAiB;wBAC9C,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,gBAAgB,EAAE,uBAAU,CAAC,aAAa;wBAC1C,IAAI,EAAE,QAAQ;qBACf;oBACD,QAAQ,EAAE;wBACR,gBAAgB,EAAE,uBAAU,CAAC,gBAAgB;wBAC7C,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE,IAAI;qBACb;oBACD,QAAQ,EAAE;wBACR,gBAAgB,EAAE,uBAAU,CAAC,gBAAgB;wBAC7C,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE,IAAI;qBACb;oBACD,QAAQ,EAAE;wBACR,gBAAgB,EAAE,uBAAU,CAAC,iBAAiB;wBAC9C,IAAI,EAAE,QAAQ;qBACf;oBACD,kBAAkB,EAAE;wBAClB,gBAAgB,EAAE,uBAAU,CAAC,2BAA2B;wBACxD,IAAI,EAAE,SAAS;qBAChB;oBACD,UAAU,EAAE;wBACV,gBAAgB,EAAE,uBAAU,CAAC,kBAAkB;wBAC/C,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,QAAQ,EAAE,EAAE;aACb;YACD,qBAAqB,EAAE;gBACvB;oBACE,OAAO,EAAE,wFAAwF;oBACjG,WAAW,EAAE,gGAAgG;wBAC3G,2EAA2E;iBAC9E;gBACD;oBACE,OAAO,EAAE,6FAA6F;oBACtG,WAAW,EAAE,iGAAiG;wBAC5G,4EAA4E;wBAC5E,gHAAgH;iBACnH;aACA;SACF;KACJ;CACJ,CAAC;AAEF,iBAAS,MAAM,CAAC"}
1
+ {"version":3,"file":"imperative.js","sourceRoot":"","sources":["../src/imperative.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,yDAAsD;AAEtD,MAAM,MAAM,GAAsB;IAC9B,kBAAkB,EAAE,CAAC,+BAA+B,CAAC;IACrD,eAAe,EAAE,SAAS,GAAG,sBAAsB;IACnD,aAAa,EAAE,oEAAoE;IACnF,aAAa,EAAE,CAAC,KAAK,CAAC;IACtB,sBAAsB,EAAE,8EAA8E;QACtG,+EAA+E;IAC/E,kBAAkB,EAAE,kCAAkC;IACtD,IAAI,EAAE,KAAK;IACX,QAAQ,EAAE;QACN;YACE,IAAI,EAAE,KAAK;YACX,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,gCAAgC;gBACvC,WAAW,EAAE,iCAAiC;gBAC9C,UAAU,EAAE;oBACV,QAAQ,EAAE;wBACR,gBAAgB,EAAE,uBAAU,CAAC,iBAAiB;wBAC9C,IAAI,EAAE,QAAQ;qBACf;oBACD,QAAQ,EAAE;wBACR,gBAAgB,EAAE,uBAAU,CAAC,iBAAiB;wBAC9C,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,gBAAgB,EAAE,uBAAU,CAAC,aAAa;wBAC1C,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,gBAAgB,EAAE,uBAAU,CAAC,gBAAgB;wBAC7C,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE,IAAI;qBACb;oBACD,QAAQ,EAAE;wBACR,gBAAgB,EAAE,uBAAU,CAAC,gBAAgB;wBAC7C,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE,IAAI;qBACb;oBACD,QAAQ,EAAE;wBACR,gBAAgB,EAAE,uBAAU,CAAC,iBAAiB;wBAC9C,IAAI,EAAE,QAAQ;qBACf;oBACD,kBAAkB,EAAE;wBAClB,gBAAgB,EAAE,uBAAU,CAAC,2BAA2B;wBACxD,IAAI,EAAE,SAAS;qBAChB;oBACD,UAAU,EAAE;wBACV,gBAAgB,EAAE,uBAAU,CAAC,kBAAkB;wBAC/C,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,QAAQ,EAAE,EAAE;aACb;SACF;KACJ;CACJ,CAAC;AAEF,iBAAS,MAAM,CAAC"}
package/lib/index.js CHANGED
@@ -23,13 +23,17 @@
23
23
  */
24
24
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
25
25
  if (k2 === undefined) k2 = k;
26
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
26
+ var desc = Object.getOwnPropertyDescriptor(m, k);
27
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
28
+ desc = { enumerable: true, get: function() { return m[k]; } };
29
+ }
30
+ Object.defineProperty(o, k2, desc);
27
31
  }) : (function(o, m, k, k2) {
28
32
  if (k2 === undefined) k2 = k;
29
33
  o[k2] = m[k];
30
34
  }));
31
35
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
32
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
33
37
  };
34
38
  Object.defineProperty(exports, "__esModule", { value: true });
35
39
  /**
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;;AAEH;;;;;;;;GAQG;AACH,2DAAyC;AACzC,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;;;;;;AAEH;;;;;;;;GAQG;AACH,2DAAyC;AACzC,gDAA8B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@broadcom/mat-analyze-for-zowe-cli",
3
- "version": "2.0.6",
3
+ "version": "3.0.0",
4
4
  "description": "MAT Analyze Plug-in for Zowe CLI",
5
5
  "author": "Broadcom",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -16,7 +16,8 @@
16
16
  "clean": "rimraf lib",
17
17
  "watch": "tsc --pretty --watch",
18
18
  "prepublishOnly": "npm run build",
19
- "lint": "tslint \"src/**/*.ts\"",
19
+ "lint": "eslint \"src/**/*.ts\"",
20
+ "eslint-fix": "eslint --fix \"src/**/*.ts\"",
20
21
  "test": "npm run test:unit && npm run test:system",
21
22
  "test:system": "env-cmd __tests__/__resources__/env/system.env jest .*/__system__/.* --coverage false",
22
23
  "test:unit": "env-cmd __tests__/__resources__/env/unit.env jest --coverage --testPathIgnorePatterns \".*/__system__/.*\"",
@@ -29,44 +30,42 @@
29
30
  "configurationModule": "lib/imperative.js"
30
31
  },
31
32
  "dependencies": {
32
- "@broadcom/endevor-for-zowe-cli": "7.3.0",
33
33
  "object-mapper": "6.2.0"
34
34
  },
35
35
  "peerDependencies": {
36
- "@zowe/imperative": "^5.0.0"
36
+ "@zowe/imperative": "^8.0.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@types/config": "0.0.34",
40
- "@types/fs-extra": "^9.0.0",
41
- "@types/jest": "^24.0.9",
42
- "@types/mustache": "^0.8.32",
43
- "@types/node": "^14.0.1",
44
- "@types/yargs": "8.0.2",
45
- "@zowe/cli": "7.13.0",
46
- "@zowe/cli-test-utils": "^7.16.3",
47
- "@zowe/imperative": "^5.14.2",
48
- "config": "^3.2.2",
49
- "copyfiles": "2.2.0",
39
+ "@types/config": "3.3.4",
40
+ "@types/fs-extra": "^11.0.4",
41
+ "@types/jest": "^29.5.12",
42
+ "@types/mustache": "^4.2.5",
43
+ "@types/node": "^18.19.43",
44
+ "@types/yargs": "17.0.33",
45
+ "@zowe/cli": "^8.0.0",
46
+ "@zowe/cli-test-utils": "^8.0.0",
47
+ "@zowe/imperative": "^8.0.0",
48
+ "config": "^3.3.12",
49
+ "copyfiles": "2.4.1",
50
50
  "env-cmd": "^8.0.2",
51
- "fs-extra": "^8.1.0",
52
- "glob": "^7.1.3",
53
- "jest": "^24.5.0",
54
- "jest-cli": "^24.9.0",
55
- "jest-environment-node": "^24.9.0",
51
+ "fs-extra": "^11.2.0",
52
+ "glob": "^9.3.5",
53
+ "jest": "^29.7.0",
54
+ "jest-cli": "^29.7.0",
55
+ "jest-environment-node": "^29.7.0",
56
56
  "jest-environment-node-debug": "^2.0.0",
57
- "jest-html-reporter": "^3.3.0",
58
- "jest-junit": "^6.3.0",
59
- "jest-stare": "^2.2.0",
60
- "js-yaml": "^3.13.1",
61
- "rimraf": "^2.7.1",
62
- "shebang-regex": "^2.0.0",
63
- "ts-jest": "^24.2.0",
64
- "ts-node": "^7.0.1",
65
- "tslint": "^5.20.1",
66
- "tslint-etc": "^1.10.0",
67
- "tsutils": "^3.17.1",
68
- "typescript": "^3.9.6",
69
- "uuid": "^3.2.1"
57
+ "jest-html-reporter": "^3.10.2",
58
+ "jest-junit": "^16.0.0",
59
+ "jest-stare": "^2.5.2",
60
+ "js-yaml": "^4.1.0",
61
+ "rimraf": "^6.0.1",
62
+ "shebang-regex": "^4.0.0",
63
+ "ts-jest": "^29.2.4",
64
+ "ts-node": "^10.9.2",
65
+ "tsutils": "^3.21.0",
66
+ "typescript": "^5.5.4",
67
+ "typescript-eslint": "^8.1.0",
68
+ "uuid": "^10.0.0"
70
69
  },
71
70
  "jest": {
72
71
  "modulePathIgnorePatterns": [