@sasjs/cli 4.0.0 → 4.0.2

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 (210) hide show
  1. package/build/cli.js +1 -1
  2. package/build/cli.spec.js +6 -2
  3. package/build/commands/add/addCommand.js +2 -4
  4. package/build/commands/add/addCredential.d.ts +1 -1
  5. package/build/commands/add/addCredential.js +6 -2
  6. package/build/commands/add/addTarget.js +1 -1
  7. package/build/commands/add/internal/input.d.ts +1 -1
  8. package/build/commands/add/internal/input.js +1 -1
  9. package/build/commands/add/internal/saveConfig.js +1 -1
  10. package/build/commands/add/spec/addCommand.spec.js +6 -2
  11. package/build/commands/add/spec/addCredential.spec.js +6 -2
  12. package/build/commands/add/spec/addTarget.spec.js +6 -2
  13. package/build/commands/build/build.js +1 -1
  14. package/build/commands/build/buildCommand.js +1 -1
  15. package/build/commands/build/compileBuildCommand.js +1 -1
  16. package/build/commands/build/internal/config.js +1 -1
  17. package/build/commands/build/spec/build.spec.js +1 -1
  18. package/build/commands/build/spec/buildCommand.spec.js +6 -2
  19. package/build/commands/build/spec/cb.spec.server.viya.js +1 -1
  20. package/build/commands/build/spec/compileBuildCommand.spec.js +6 -2
  21. package/build/commands/compile/compile.js +6 -2
  22. package/build/commands/compile/compileCommand.js +2 -4
  23. package/build/commands/compile/compileSingleFile.js +1 -1
  24. package/build/commands/compile/internal/checkCompileStatus.js +1 -1
  25. package/build/commands/compile/internal/compareFolders.d.ts +1 -1
  26. package/build/commands/compile/internal/compareFolders.js +1 -1
  27. package/build/commands/compile/internal/compileFile.js +1 -1
  28. package/build/commands/compile/internal/compileTestFile.d.ts +1 -2
  29. package/build/commands/compile/internal/compileTestFile.js +20 -59
  30. package/build/commands/compile/internal/copySyncFolder.js +1 -1
  31. package/build/commands/compile/internal/getAllFolders.d.ts +1 -1
  32. package/build/commands/compile/internal/getAllFolders.js +1 -1
  33. package/build/commands/compile/internal/getServerType.js +1 -1
  34. package/build/commands/compile/internal/identifySasFile.js +1 -1
  35. package/build/commands/compile/internal/loadDependencies.js +1 -1
  36. package/build/commands/compile/internal/spec/compileTestFile.spec.js +1 -59
  37. package/build/commands/compile/internal/spec/getAllFolders.spec.js +6 -2
  38. package/build/commands/compile/spec/compareFolders.spec.js +1 -1
  39. package/build/commands/compile/spec/compile.spec.js +6 -2
  40. package/build/commands/compile/spec/compileCommand.spec.js +6 -2
  41. package/build/commands/compile/spec/compileFile.spec.js +6 -2
  42. package/build/commands/compile/spec/copyFilesToBuildFolder.spec.js +6 -2
  43. package/build/commands/compile/spec/loadDependencies.spec.js +6 -2
  44. package/build/commands/context/contextCommand.js +2 -4
  45. package/build/commands/context/create.js +1 -1
  46. package/build/commands/context/delete.js +1 -1
  47. package/build/commands/context/edit.js +1 -1
  48. package/build/commands/context/export.js +1 -1
  49. package/build/commands/context/internal/validateConfigPath.js +1 -1
  50. package/build/commands/context/list.js +1 -1
  51. package/build/commands/context/spec/contextCommand.spec.js +6 -2
  52. package/build/commands/context/spec/create.spec.js +1 -1
  53. package/build/commands/context/spec/delete.spec.js +1 -1
  54. package/build/commands/context/spec/edit.spec.js +1 -1
  55. package/build/commands/context/spec/export.spec.js +6 -2
  56. package/build/commands/context/spec/list.spec.js +1 -1
  57. package/build/commands/create/create.js +1 -1
  58. package/build/commands/create/createCommand.js +2 -4
  59. package/build/commands/create/internal/createReadme.js +1 -1
  60. package/build/commands/create/spec/create.spec.js +1 -1
  61. package/build/commands/create/spec/createCommand.spec.js +6 -2
  62. package/build/commands/db/db.js +1 -1
  63. package/build/commands/db/dbCommand.js +1 -1
  64. package/build/commands/db/spec/db.spec.js +1 -1
  65. package/build/commands/db/spec/dbCommand.spec.js +6 -2
  66. package/build/commands/deploy/compileBuildDeployCommand.js +1 -1
  67. package/build/commands/deploy/deploy.js +1 -1
  68. package/build/commands/deploy/deployCommand.js +1 -1
  69. package/build/commands/deploy/internal/deployToSASJSWithServicePack.js +1 -1
  70. package/build/commands/deploy/internal/executeDeployScript.js +1 -1
  71. package/build/commands/deploy/internal/executeDeployScriptSas9.js +1 -1
  72. package/build/commands/deploy/internal/executeDeployScriptSasViya.js +1 -1
  73. package/build/commands/deploy/internal/executeDeployScriptSasjs.js +1 -1
  74. package/build/commands/deploy/internal/executeNonSasScript.js +4 -3
  75. package/build/commands/deploy/internal/executeSasScript.js +1 -1
  76. package/build/commands/deploy/internal/getDeployScripts.js +1 -1
  77. package/build/commands/deploy/internal/index.js +5 -1
  78. package/build/commands/deploy/spec/cbd.spec.js +6 -2
  79. package/build/commands/deploy/spec/cbd.spec.server.viya.js +6 -2
  80. package/build/commands/deploy/spec/compileBuildDeployCommand.spec.js +6 -2
  81. package/build/commands/deploy/spec/deploy.spec.js +9 -5
  82. package/build/commands/deploy/spec/deployCommand.spec.js +6 -2
  83. package/build/commands/deploy/spec/getDeployScripts.spec.js +1 -1
  84. package/build/commands/deploy/spec/utils.js +1 -1
  85. package/build/commands/docs/docsCommand.js +2 -4
  86. package/build/commands/docs/generateDocs.js +1 -1
  87. package/build/commands/docs/generateDot.js +1 -1
  88. package/build/commands/docs/initDocs.js +1 -1
  89. package/build/commands/docs/internal/createDotFiles.js +1 -1
  90. package/build/commands/docs/internal/getDotFileContent.js +1 -1
  91. package/build/commands/docs/spec/docsCommand.spec.js +6 -2
  92. package/build/commands/docs/spec/generateDocs.spec.js +1 -1
  93. package/build/commands/docs/spec/generateDot.spec.js +1 -1
  94. package/build/commands/docs/spec/initDocs.spec.js +1 -1
  95. package/build/commands/flow/execute.js +18 -15
  96. package/build/commands/flow/flowCommand.js +2 -4
  97. package/build/commands/flow/internal/executeFlow.js +1 -1
  98. package/build/commands/flow/internal/saveLog.js +1 -1
  99. package/build/commands/flow/internal/saveToCsv.d.ts +1 -1
  100. package/build/commands/flow/internal/saveToCsv.js +1 -1
  101. package/build/commands/flow/internal/spec/executeFlow.spec.js +15 -9
  102. package/build/commands/flow/internal/spec/saveToCsv.spec.js +1 -1
  103. package/build/commands/flow/internal/spec/validateParams.spec.js +6 -2
  104. package/build/commands/flow/internal/validateParams.d.ts +1 -1
  105. package/build/commands/flow/internal/validateParams.js +1 -1
  106. package/build/commands/flow/spec/flow.spec.js +14 -8
  107. package/build/commands/flow/spec/flow.spec.server.viya.js +1 -1
  108. package/build/commands/flow/spec/flowCommand.spec.js +6 -2
  109. package/build/commands/folder/create.js +1 -1
  110. package/build/commands/folder/delete.js +1 -1
  111. package/build/commands/folder/folderCommand.js +2 -4
  112. package/build/commands/folder/list.js +1 -1
  113. package/build/commands/folder/move.js +1 -1
  114. package/build/commands/folder/spec/folder.spec.server.viya.js +1 -1
  115. package/build/commands/folder/spec/folderCommand.spec.js +6 -2
  116. package/build/commands/fs/fsCommand.js +2 -4
  117. package/build/commands/fs/internal/executeCode.js +1 -1
  118. package/build/commands/fs/spec/executeCode.spec.js +6 -2
  119. package/build/commands/fs/spec/fsCommand.spec.js +16 -2
  120. package/build/commands/help/help.js +1 -1
  121. package/build/commands/help/helpCommand.js +1 -1
  122. package/build/commands/help/spec/help.spec.js +1 -1
  123. package/build/commands/help/spec/helpCommand.spec.js +6 -2
  124. package/build/commands/init/init.js +1 -1
  125. package/build/commands/init/initCommand.js +1 -1
  126. package/build/commands/init/spec/init.spec.js +1 -1
  127. package/build/commands/init/spec/initCommand.spec.js +6 -2
  128. package/build/commands/job/internal/execute/index.js +5 -1
  129. package/build/commands/job/internal/execute/sas9.js +1 -1
  130. package/build/commands/job/internal/execute/sasjs.js +1 -1
  131. package/build/commands/job/internal/execute/viya.js +1 -1
  132. package/build/commands/job/internal/utils.js +1 -1
  133. package/build/commands/job/jobCommand.js +1 -1
  134. package/build/commands/job/spec/execute.spec.js +6 -2
  135. package/build/commands/job/spec/getContextName.spec.js +1 -1
  136. package/build/commands/job/spec/job.spec.server.viya.js +6 -2
  137. package/build/commands/job/spec/jobCommand.spec.js +6 -2
  138. package/build/commands/lint/initLint.js +1 -1
  139. package/build/commands/lint/lintCommand.js +2 -4
  140. package/build/commands/lint/processLint.js +1 -1
  141. package/build/commands/lint/spec/lintCommand.spec.js +6 -2
  142. package/build/commands/request/request.js +1 -1
  143. package/build/commands/request/requestCommand.js +1 -1
  144. package/build/commands/request/spec/request.spec.server.sas9.js +6 -2
  145. package/build/commands/request/spec/request.spec.server.viya.js +6 -2
  146. package/build/commands/request/spec/requestCommand.spec.js +6 -2
  147. package/build/commands/request/spec/utils.js +1 -1
  148. package/build/commands/run/run.js +1 -1
  149. package/build/commands/run/runCommand.js +1 -1
  150. package/build/commands/run/spec/run.spec.server.sas9.js +1 -1
  151. package/build/commands/run/spec/run.spec.server.sasjs.js +1 -1
  152. package/build/commands/run/spec/run.spec.server.viya.js +1 -1
  153. package/build/commands/run/spec/runCommand.spec.js +6 -2
  154. package/build/commands/servicepack/deploy.js +1 -1
  155. package/build/commands/servicepack/servicePackCommand.js +1 -1
  156. package/build/commands/servicepack/spec/servicepack.spec.server.viya.js +1 -1
  157. package/build/commands/servicepack/spec/servicepackCommand.spec.js +6 -2
  158. package/build/commands/shared/createConfigFile.js +1 -1
  159. package/build/commands/shared/createFileStructure.js +1 -1
  160. package/build/commands/shared/createLintConfigFile.js +1 -1
  161. package/build/commands/shared/deployToSasViyaWithServicePack.js +1 -1
  162. package/build/commands/shared/fetchLogFileContent.js +1 -1
  163. package/build/commands/testing/internal/saveOutput.js +1 -1
  164. package/build/commands/testing/spec/testCommand.spec.js +6 -2
  165. package/build/commands/testing/spec/testing.spec.js +6 -2
  166. package/build/commands/testing/test.js +1 -1
  167. package/build/commands/testing/testCommand.js +1 -1
  168. package/build/commands/version/spec/version.spec.js +1 -1
  169. package/build/commands/version/spec/versionCommand.spec.js +6 -2
  170. package/build/commands/version/version.js +1 -1
  171. package/build/commands/version/versionCommand.js +1 -1
  172. package/build/commands/web/internal/createAssetServices.js +1 -1
  173. package/build/commands/web/internal/sas9/createClickMeService.js +1 -1
  174. package/build/commands/web/internal/sas9/generateAssetService.js +1 -1
  175. package/build/commands/web/internal/sas9/getWebServiceContent.js +1 -1
  176. package/build/commands/web/internal/sas9/index.js +5 -1
  177. package/build/commands/web/internal/sasViya/createClickMeFile.js +1 -1
  178. package/build/commands/web/internal/sasViya/index.js +5 -1
  179. package/build/commands/web/internal/spec/updateSasjstag.spec.js +1 -1
  180. package/build/commands/web/internal/spec/updateScriptTag.spec.js +1 -1
  181. package/build/commands/web/internal/spec/updateStyleTag.spec.js +1 -1
  182. package/build/commands/web/internal/updateAllTags.js +1 -1
  183. package/build/commands/web/internal/updateScriptTag.js +1 -1
  184. package/build/commands/web/internal/updateStyleTag.js +1 -1
  185. package/build/commands/web/spec/web.spec.js +1 -1
  186. package/build/commands/web/spec/webCommand.spec.js +6 -2
  187. package/build/commands/web/web.js +1 -1
  188. package/build/commands/web/webCommand.js +1 -1
  189. package/build/types/command/commandBase.js +3 -2
  190. package/build/types/command/spec/commandBase.spec.js +1 -1
  191. package/build/types/command/targetCommand.js +2 -4
  192. package/build/utils/auth.js +1 -1
  193. package/build/utils/compressAndSave.js +1 -1
  194. package/build/utils/config.js +1 -1
  195. package/build/utils/file.d.ts +10 -15
  196. package/build/utils/file.js +12 -79
  197. package/build/utils/index.js +5 -1
  198. package/build/utils/loadEnvVariables.js +1 -1
  199. package/build/utils/parseSourceFile.js +1 -1
  200. package/build/utils/saveLog.js +1 -1
  201. package/build/utils/setConstants.js +1 -1
  202. package/build/utils/setProjectDir.js +1 -1
  203. package/build/utils/spec/config.spec.js +6 -2
  204. package/build/utils/spec/file.spec.js +1 -29
  205. package/build/utils/spec/setConstants.spec.js +6 -2
  206. package/build/utils/spec/utils.spec.js +2 -3
  207. package/build/utils/test.d.ts +1 -1
  208. package/build/utils/test.js +1 -1
  209. package/build/utils/utils.js +1 -1
  210. package/package.json +15 -13
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -25,7 +25,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
25
25
  function verb(n) { return function (v) { return step([n, v]); }; }
26
26
  function step(op) {
27
27
  if (f) throw new TypeError("Generator is already executing.");
28
- while (_) try {
28
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
29
29
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
30
30
  if (y = 0, t) op = [op[0] & 2, t.value];
31
31
  switch (op[0]) {
@@ -160,64 +160,6 @@ describe('compileTestFile', function () {
160
160
  });
161
161
  }); });
162
162
  });
163
- describe('moveTestFile', function () {
164
- it('should move service test', function () { return __awaiter(void 0, void 0, void 0, function () {
165
- var relativePath, buildPath, originalFilePath, destinationFilePath;
166
- return __generator(this, function (_a) {
167
- switch (_a.label) {
168
- case 0:
169
- relativePath = path_1.default.join('services', 'services', 'admin', testFileName);
170
- buildPath = path_1.default.join(__dirname, appName, 'sasjsbuild');
171
- originalFilePath = path_1.default.join(buildPath, relativePath);
172
- destinationFilePath = path_1.default.join(buildPath, 'tests', relativePath);
173
- return [4 /*yield*/, (0, utils_1.createFile)(originalFilePath, testBody)];
174
- case 1:
175
- _a.sent();
176
- return [4 /*yield*/, (0, compileTestFile_1.moveTestFile)(originalFilePath)];
177
- case 2:
178
- _a.sent();
179
- return [4 /*yield*/, expect((0, utils_1.fileExists)(originalFilePath)).resolves.toEqual(false)];
180
- case 3:
181
- _a.sent();
182
- return [4 /*yield*/, expect((0, utils_1.fileExists)(destinationFilePath)).resolves.toEqual(true)];
183
- case 4:
184
- _a.sent();
185
- return [4 /*yield*/, expect((0, utils_1.readFile)(destinationFilePath)).resolves.toEqual(testBody)];
186
- case 5:
187
- _a.sent();
188
- return [2 /*return*/];
189
- }
190
- });
191
- }); });
192
- it('should move job test', function () { return __awaiter(void 0, void 0, void 0, function () {
193
- var relativePath, buildPath, originalFilePath, destinationFilePath;
194
- return __generator(this, function (_a) {
195
- switch (_a.label) {
196
- case 0:
197
- relativePath = path_1.default.join('jobs', 'jobs', testFileName);
198
- buildPath = path_1.default.join(__dirname, appName, 'sasjsbuild');
199
- originalFilePath = path_1.default.join(buildPath, relativePath);
200
- destinationFilePath = path_1.default.join(buildPath, 'tests', relativePath);
201
- return [4 /*yield*/, (0, utils_1.createFile)(originalFilePath, testBody)];
202
- case 1:
203
- _a.sent();
204
- return [4 /*yield*/, (0, compileTestFile_1.moveTestFile)(originalFilePath)];
205
- case 2:
206
- _a.sent();
207
- return [4 /*yield*/, expect((0, utils_1.fileExists)(originalFilePath)).resolves.toEqual(false)];
208
- case 3:
209
- _a.sent();
210
- return [4 /*yield*/, expect((0, utils_1.fileExists)(destinationFilePath)).resolves.toEqual(true)];
211
- case 4:
212
- _a.sent();
213
- return [4 /*yield*/, expect((0, utils_1.readFile)(destinationFilePath)).resolves.toEqual(testBody)];
214
- case 5:
215
- _a.sent();
216
- return [2 /*return*/];
217
- }
218
- });
219
- }); });
220
- });
221
163
  describe('compileTestFlow', function () {
222
164
  it('should compile test flow', function () { return __awaiter(void 0, void 0, void 0, function () {
223
165
  var testSetUp, testTearDown, testFlowPath, expectedTestFlow, _a, _b, _c;
@@ -12,7 +12,11 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
14
  if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
16
20
  }) : (function(o, m, k, k2) {
17
21
  if (k2 === undefined) k2 = k;
18
22
  o[k2] = m[k];
@@ -44,7 +48,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
44
48
  function verb(n) { return function (v) { return step([n, v]); }; }
45
49
  function step(op) {
46
50
  if (f) throw new TypeError("Generator is already executing.");
47
- while (_) try {
51
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
48
52
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
49
53
  if (y = 0, t) op = [op[0] & 2, t.value];
50
54
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -12,7 +12,11 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
14
  if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
16
20
  }) : (function(o, m, k, k2) {
17
21
  if (k2 === undefined) k2 = k;
18
22
  o[k2] = m[k];
@@ -44,7 +48,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
44
48
  function verb(n) { return function (v) { return step([n, v]); }; }
45
49
  function step(op) {
46
50
  if (f) throw new TypeError("Generator is already executing.");
47
- while (_) try {
51
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
48
52
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
49
53
  if (y = 0, t) op = [op[0] & 2, t.value];
50
54
  switch (op[0]) {
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -33,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
33
37
  function verb(n) { return function (v) { return step([n, v]); }; }
34
38
  function step(op) {
35
39
  if (f) throw new TypeError("Generator is already executing.");
36
- while (_) try {
40
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
37
41
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
38
42
  if (y = 0, t) op = [op[0] & 2, t.value];
39
43
  switch (op[0]) {
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -33,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
33
37
  function verb(n) { return function (v) { return step([n, v]); }; }
34
38
  function step(op) {
35
39
  if (f) throw new TypeError("Generator is already executing.");
36
- while (_) try {
40
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
37
41
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
38
42
  if (y = 0, t) op = [op[0] & 2, t.value];
39
43
  switch (op[0]) {
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -33,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
33
37
  function verb(n) { return function (v) { return step([n, v]); }; }
34
38
  function step(op) {
35
39
  if (f) throw new TypeError("Generator is already executing.");
36
- while (_) try {
40
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
37
41
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
38
42
  if (y = 0, t) op = [op[0] & 2, t.value];
39
43
  switch (op[0]) {
@@ -12,7 +12,11 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
14
  if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
16
20
  }) : (function(o, m, k, k2) {
17
21
  if (k2 === undefined) k2 = k;
18
22
  o[k2] = m[k];
@@ -44,7 +48,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
44
48
  function verb(n) { return function (v) { return step([n, v]); }; }
45
49
  function step(op) {
46
50
  if (f) throw new TypeError("Generator is already executing.");
47
- while (_) try {
51
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
48
52
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
49
53
  if (y = 0, t) op = [op[0] & 2, t.value];
50
54
  switch (op[0]) {
@@ -29,7 +29,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
29
29
  function verb(n) { return function (v) { return step([n, v]); }; }
30
30
  function step(op) {
31
31
  if (f) throw new TypeError("Generator is already executing.");
32
- while (_) try {
32
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
33
33
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
34
34
  if (y = 0, t) op = [op[0] & 2, t.value];
35
35
  switch (op[0]) {
@@ -125,20 +125,18 @@ var ContextCommand = /** @class */ (function (_super) {
125
125
  __extends(ContextCommand, _super);
126
126
  function ContextCommand(args) {
127
127
  var _a, _b;
128
- var _this = this;
129
128
  var subCommand = args[3];
130
129
  var parseOptions = subCommand === ContextSubCommand.Create ||
131
130
  subCommand === ContextSubCommand.Edit
132
131
  ? commandParseOptions
133
132
  : {};
134
- _this = _super.call(this, args, {
133
+ return _super.call(this, args, {
135
134
  parseOptions: parseOptions,
136
135
  usage: (_a = usage[subCommand]) !== null && _a !== void 0 ? _a : usage[ContextSubCommand.Create],
137
136
  description: description,
138
137
  examples: examples,
139
138
  syntax: (_b = syntax[subCommand]) !== null && _b !== void 0 ? _b : syntax[ContextSubCommand.Create]
140
139
  }) || this;
141
- return _this;
142
140
  }
143
141
  ContextCommand.prototype.execute = function () {
144
142
  return __awaiter(this, void 0, void 0, function () {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -33,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
33
37
  function verb(n) { return function (v) { return step([n, v]); }; }
34
38
  function step(op) {
35
39
  if (f) throw new TypeError("Generator is already executing.");
36
- while (_) try {
40
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
37
41
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
38
42
  if (y = 0, t) op = [op[0] & 2, t.value];
39
43
  switch (op[0]) {
@@ -25,7 +25,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
25
25
  function verb(n) { return function (v) { return step([n, v]); }; }
26
26
  function step(op) {
27
27
  if (f) throw new TypeError("Generator is already executing.");
28
- while (_) try {
28
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
29
29
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
30
30
  if (y = 0, t) op = [op[0] & 2, t.value];
31
31
  switch (op[0]) {
@@ -25,7 +25,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
25
25
  function verb(n) { return function (v) { return step([n, v]); }; }
26
26
  function step(op) {
27
27
  if (f) throw new TypeError("Generator is already executing.");
28
- while (_) try {
28
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
29
29
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
30
30
  if (y = 0, t) op = [op[0] & 2, t.value];
31
31
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -12,7 +12,11 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
14
  if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
16
20
  }) : (function(o, m, k, k2) {
17
21
  if (k2 === undefined) k2 = k;
18
22
  o[k2] = m[k];
@@ -44,7 +48,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
44
48
  function verb(n) { return function (v) { return step([n, v]); }; }
45
49
  function step(op) {
46
50
  if (f) throw new TypeError("Generator is already executing.");
47
- while (_) try {
51
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
48
52
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
49
53
  if (y = 0, t) op = [op[0] & 2, t.value];
50
54
  switch (op[0]) {
@@ -25,7 +25,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
25
25
  function verb(n) { return function (v) { return step([n, v]); }; }
26
26
  function step(op) {
27
27
  if (f) throw new TypeError("Generator is already executing.");
28
- while (_) try {
28
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
29
29
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
30
30
  if (y = 0, t) op = [op[0] & 2, t.value];
31
31
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -29,7 +29,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
29
29
  function verb(n) { return function (v) { return step([n, v]); }; }
30
30
  function step(op) {
31
31
  if (f) throw new TypeError("Generator is already executing.");
32
- while (_) try {
32
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
33
33
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
34
34
  if (y = 0, t) op = [op[0] & 2, t.value];
35
35
  switch (op[0]) {
@@ -68,7 +68,6 @@ var examples = [
68
68
  var CreateCommand = /** @class */ (function (_super) {
69
69
  __extends(CreateCommand, _super);
70
70
  function CreateCommand(args) {
71
- var _this = this;
72
71
  var parseOptions = {
73
72
  template: {
74
73
  alias: 't',
@@ -81,14 +80,13 @@ var CreateCommand = /** @class */ (function (_super) {
81
80
  ]
82
81
  }
83
82
  };
84
- _this = _super.call(this, args, {
83
+ return _super.call(this, args, {
85
84
  parseOptions: parseOptions,
86
85
  syntax: syntax,
87
86
  usage: usage,
88
87
  description: description,
89
88
  examples: examples
90
89
  }) || this;
91
- return _this;
92
90
  }
93
91
  Object.defineProperty(CreateCommand.prototype, "template", {
94
92
  get: function () {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -33,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
33
37
  function verb(n) { return function (v) { return step([n, v]); }; }
34
38
  function step(op) {
35
39
  if (f) throw new TypeError("Generator is already executing.");
36
- while (_) try {
40
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
37
41
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
38
42
  if (y = 0, t) op = [op[0] & 2, t.value];
39
43
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -29,7 +29,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
29
29
  function verb(n) { return function (v) { return step([n, v]); }; }
30
30
  function step(op) {
31
31
  if (f) throw new TypeError("Generator is already executing.");
32
- while (_) try {
32
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
33
33
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
34
34
  if (y = 0, t) op = [op[0] & 2, t.value];
35
35
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -33,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
33
37
  function verb(n) { return function (v) { return step([n, v]); }; }
34
38
  function step(op) {
35
39
  if (f) throw new TypeError("Generator is already executing.");
36
- while (_) try {
40
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
37
41
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
38
42
  if (y = 0, t) op = [op[0] & 2, t.value];
39
43
  switch (op[0]) {
@@ -29,7 +29,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
29
29
  function verb(n) { return function (v) { return step([n, v]); }; }
30
30
  function step(op) {
31
31
  if (f) throw new TypeError("Generator is already executing.");
32
- while (_) try {
32
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
33
33
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
34
34
  if (y = 0, t) op = [op[0] & 2, t.value];
35
35
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -29,7 +29,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
29
29
  function verb(n) { return function (v) { return step([n, v]); }; }
30
30
  function step(op) {
31
31
  if (f) throw new TypeError("Generator is already executing.");
32
- while (_) try {
32
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
33
33
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
34
34
  if (y = 0, t) op = [op[0] & 2, t.value];
35
35
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {