@datadog/datadog-ci 2.16.1 → 2.17.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 (72) hide show
  1. package/dist/commands/git-metadata/git.d.ts +0 -1
  2. package/dist/commands/git-metadata/git.js +5 -20
  3. package/dist/commands/git-metadata/git.js.map +1 -1
  4. package/dist/commands/git-metadata/gitdb.js +31 -21
  5. package/dist/commands/git-metadata/gitdb.js.map +1 -1
  6. package/dist/commands/junit/api.js +16 -13
  7. package/dist/commands/junit/api.js.map +1 -1
  8. package/dist/commands/junit/interfaces.d.ts +4 -1
  9. package/dist/commands/junit/upload.d.ts +6 -0
  10. package/dist/commands/junit/upload.js +34 -12
  11. package/dist/commands/junit/upload.js.map +1 -1
  12. package/dist/commands/junit/utils.d.ts +1 -0
  13. package/dist/commands/junit/utils.js +11 -1
  14. package/dist/commands/junit/utils.js.map +1 -1
  15. package/dist/commands/lambda/cli.js +2 -1
  16. package/dist/commands/lambda/cli.js.map +1 -1
  17. package/dist/commands/lambda/constants.d.ts +1 -0
  18. package/dist/commands/lambda/constants.js +17 -1
  19. package/dist/commands/lambda/constants.js.map +1 -1
  20. package/dist/commands/lambda/flare.d.ts +127 -0
  21. package/dist/commands/lambda/flare.js +656 -0
  22. package/dist/commands/lambda/flare.js.map +1 -0
  23. package/dist/commands/lambda/functions/commons.d.ts +14 -1
  24. package/dist/commands/lambda/functions/commons.js +53 -11
  25. package/dist/commands/lambda/functions/commons.js.map +1 -1
  26. package/dist/commands/lambda/instrument.js +43 -41
  27. package/dist/commands/lambda/instrument.js.map +1 -1
  28. package/dist/commands/lambda/renderers/common-renderer.d.ts +42 -0
  29. package/dist/commands/lambda/renderers/common-renderer.js +51 -0
  30. package/dist/commands/lambda/renderers/common-renderer.js.map +1 -0
  31. package/dist/commands/lambda/renderers/flare-renderer.d.ts +9 -0
  32. package/dist/commands/lambda/renderers/flare-renderer.js +18 -0
  33. package/dist/commands/lambda/renderers/flare-renderer.js.map +1 -0
  34. package/dist/commands/lambda/{renderer.d.ts → renderers/instrument-uninstrument-renderer.d.ts} +2 -44
  35. package/dist/commands/lambda/{renderer.js → renderers/instrument-uninstrument-renderer.js} +30 -76
  36. package/dist/commands/lambda/renderers/instrument-uninstrument-renderer.js.map +1 -0
  37. package/dist/commands/lambda/uninstrument.js +31 -29
  38. package/dist/commands/lambda/uninstrument.js.map +1 -1
  39. package/dist/commands/react-native/renderer.js +2 -0
  40. package/dist/commands/react-native/renderer.js.map +1 -1
  41. package/dist/commands/sarif/api.js +1 -1
  42. package/dist/commands/sarif/api.js.map +1 -1
  43. package/dist/commands/synthetics/run-tests-command.d.ts +1 -0
  44. package/dist/commands/synthetics/run-tests-command.js +9 -2
  45. package/dist/commands/synthetics/run-tests-command.js.map +1 -1
  46. package/dist/commands/synthetics/tunnel/tunnel.d.ts +2 -2
  47. package/dist/commands/synthetics/tunnel/tunnel.js.map +1 -1
  48. package/dist/commands/synthetics/tunnel/websocket.d.ts +2 -2
  49. package/dist/commands/synthetics/tunnel/websocket.js.map +1 -1
  50. package/dist/commands/synthetics/utils.d.ts +1 -0
  51. package/dist/commands/synthetics/utils.js +21 -4
  52. package/dist/commands/synthetics/utils.js.map +1 -1
  53. package/dist/helpers/ci.d.ts +1 -0
  54. package/dist/helpers/file.d.ts +1 -1
  55. package/dist/helpers/file.js +3 -6
  56. package/dist/helpers/file.js.map +1 -1
  57. package/dist/helpers/git/format-git-sourcemaps-data.js +2 -2
  58. package/dist/helpers/git/format-git-sourcemaps-data.js.map +1 -1
  59. package/dist/helpers/git/get-git-data.d.ts +1 -0
  60. package/dist/helpers/git/get-git-data.js +14 -4
  61. package/dist/helpers/git/get-git-data.js.map +1 -1
  62. package/dist/helpers/interfaces.d.ts +2 -2
  63. package/dist/helpers/metrics.js +2 -2
  64. package/dist/helpers/metrics.js.map +1 -1
  65. package/dist/helpers/tags.d.ts +1 -0
  66. package/dist/helpers/tags.js +2 -1
  67. package/dist/helpers/tags.js.map +1 -1
  68. package/dist/helpers/utils.d.ts +3 -2
  69. package/dist/helpers/utils.js +26 -3
  70. package/dist/helpers/utils.js.map +1 -1
  71. package/package.json +4 -3
  72. package/dist/commands/lambda/renderer.js.map +0 -1
@@ -0,0 +1,42 @@
1
+ export declare const dryRunTag: string;
2
+ export declare const errorTag: string;
3
+ export declare const warningTag: string;
4
+ export declare const warningExclamationSignTag: string;
5
+ export declare const successCheckmarkTag: string;
6
+ export declare const failCrossTag: string;
7
+ /**
8
+ * @param error an error message or an object of type `unknown`*.
9
+ * @returns the provided error prefixed by {@link errorTag}.
10
+ *
11
+ * * Using unknown since we're not type guarding.
12
+ *
13
+ * ```txt
14
+ * [Error] The provided error goes here!
15
+ * ```
16
+ */
17
+ export declare const renderError: (error: unknown) => string;
18
+ /**
19
+ * @param warning the message to warn about.
20
+ * @returns the provided warning prefixed by {@link warningExclamationSignTag}.
21
+ *
22
+ * ```txt
23
+ * [!] The provided warning goes here!
24
+ * ```
25
+ */
26
+ export declare const renderSoftWarning: (warning: string) => string;
27
+ /**
28
+ * @returns a message indicating that no default region has been specified.
29
+ *
30
+ * ```txt
31
+ * [Error] No default region specified. [-r,--region]'
32
+ * ```
33
+ */
34
+ export declare const renderNoDefaultRegionSpecifiedError: () => string;
35
+ /**
36
+ * @returns a message indicating that no AWS credentials where found.
37
+ *
38
+ * ```txt
39
+ * [!] No AWS credentials found, lets set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.
40
+ * ```
41
+ */
42
+ export declare const renderNoAWSCredentialsFound: () => string;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.renderNoAWSCredentialsFound = exports.renderNoDefaultRegionSpecifiedError = exports.renderSoftWarning = exports.renderError = exports.failCrossTag = exports.successCheckmarkTag = exports.warningExclamationSignTag = exports.warningTag = exports.errorTag = exports.dryRunTag = void 0;
4
+ const chalk_1 = require("chalk");
5
+ exports.dryRunTag = chalk_1.bold(chalk_1.cyan('[Dry Run]'));
6
+ exports.errorTag = chalk_1.bold(chalk_1.red('[Error]'));
7
+ exports.warningTag = chalk_1.bold(chalk_1.yellow('[Warning]'));
8
+ exports.warningExclamationSignTag = chalk_1.bold(chalk_1.yellow('[!]'));
9
+ exports.successCheckmarkTag = chalk_1.bold(chalk_1.green('✔'));
10
+ exports.failCrossTag = chalk_1.bold(chalk_1.red('✖'));
11
+ /**
12
+ * @param error an error message or an object of type `unknown`*.
13
+ * @returns the provided error prefixed by {@link errorTag}.
14
+ *
15
+ * * Using unknown since we're not type guarding.
16
+ *
17
+ * ```txt
18
+ * [Error] The provided error goes here!
19
+ * ```
20
+ */
21
+ const renderError = (error) => `${exports.errorTag} ${error}\n`;
22
+ exports.renderError = renderError;
23
+ /**
24
+ * @param warning the message to warn about.
25
+ * @returns the provided warning prefixed by {@link warningExclamationSignTag}.
26
+ *
27
+ * ```txt
28
+ * [!] The provided warning goes here!
29
+ * ```
30
+ */
31
+ const renderSoftWarning = (warning) => `${exports.warningExclamationSignTag} ${warning}\n`;
32
+ exports.renderSoftWarning = renderSoftWarning;
33
+ /**
34
+ * @returns a message indicating that no default region has been specified.
35
+ *
36
+ * ```txt
37
+ * [Error] No default region specified. [-r,--region]'
38
+ * ```
39
+ */
40
+ const renderNoDefaultRegionSpecifiedError = () => exports.renderError('No default region specified. [-r,--region]');
41
+ exports.renderNoDefaultRegionSpecifiedError = renderNoDefaultRegionSpecifiedError;
42
+ /**
43
+ * @returns a message indicating that no AWS credentials where found.
44
+ *
45
+ * ```txt
46
+ * [!] No AWS credentials found, lets set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.
47
+ * ```
48
+ */
49
+ const renderNoAWSCredentialsFound = () => `${exports.renderSoftWarning("No AWS credentials found, let's set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.")}`;
50
+ exports.renderNoAWSCredentialsFound = renderNoAWSCredentialsFound;
51
+ //# sourceMappingURL=common-renderer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common-renderer.js","sourceRoot":"","sources":["../../../../src/commands/lambda/renderers/common-renderer.ts"],"names":[],"mappings":";;;AAAA,iCAAoD;AAEvC,QAAA,SAAS,GAAG,YAAI,CAAC,YAAI,CAAC,WAAW,CAAC,CAAC,CAAA;AACnC,QAAA,QAAQ,GAAG,YAAI,CAAC,WAAG,CAAC,SAAS,CAAC,CAAC,CAAA;AAC/B,QAAA,UAAU,GAAG,YAAI,CAAC,cAAM,CAAC,WAAW,CAAC,CAAC,CAAA;AAEtC,QAAA,yBAAyB,GAAG,YAAI,CAAC,cAAM,CAAC,KAAK,CAAC,CAAC,CAAA;AAC/C,QAAA,mBAAmB,GAAG,YAAI,CAAC,aAAK,CAAC,GAAG,CAAC,CAAC,CAAA;AACtC,QAAA,YAAY,GAAG,YAAI,CAAC,WAAG,CAAC,GAAG,CAAC,CAAC,CAAA;AAE1C;;;;;;;;;GASG;AACI,MAAM,WAAW,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,GAAG,gBAAQ,IAAI,KAAK,IAAI,CAAA;AAA1D,QAAA,WAAW,eAA+C;AAEvE;;;;;;;GAOG;AACI,MAAM,iBAAiB,GAAG,CAAC,OAAe,EAAE,EAAE,CAAC,GAAG,iCAAyB,IAAI,OAAO,IAAI,CAAA;AAApF,QAAA,iBAAiB,qBAAmE;AAEjG;;;;;;GAMG;AACI,MAAM,mCAAmC,GAAG,GAAG,EAAE,CAAC,mBAAW,CAAC,4CAA4C,CAAC,CAAA;AAArG,QAAA,mCAAmC,uCAAkE;AAElH;;;;;;GAMG;AACI,MAAM,2BAA2B,GAAG,GAAG,EAAE,CAC9C,GAAG,yBAAiB,CAClB,wJAAwJ,CACzJ,EAAE,CAAA;AAHQ,QAAA,2BAA2B,+BAGnC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @returns a header indicating which `lambda` subcommand is running.
3
+ * @param isDryRun whether or not the command is a dry run.
4
+ *
5
+ * ```txt
6
+ * [Dry Run] 🐶 Instrumenting Lambda function
7
+ * ```
8
+ */
9
+ export declare const renderLambdaFlareHeader: (isDryRun: boolean) => string;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.renderLambdaFlareHeader = void 0;
4
+ const common_renderer_1 = require("./common-renderer");
5
+ /**
6
+ * @returns a header indicating which `lambda` subcommand is running.
7
+ * @param isDryRun whether or not the command is a dry run.
8
+ *
9
+ * ```txt
10
+ * [Dry Run] 🐶 Instrumenting Lambda function
11
+ * ```
12
+ */
13
+ const renderLambdaFlareHeader = (isDryRun) => {
14
+ const prefix = isDryRun ? `${common_renderer_1.dryRunTag} ` : '';
15
+ return `\n${prefix}🐶 Generating Lambda flare to send your configuration to Datadog...\n`;
16
+ };
17
+ exports.renderLambdaFlareHeader = renderLambdaFlareHeader;
18
+ //# sourceMappingURL=flare-renderer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flare-renderer.js","sourceRoot":"","sources":["../../../../src/commands/lambda/renderers/flare-renderer.ts"],"names":[],"mappings":";;;AAAA,uDAA2C;AAE3C;;;;;;;GAOG;AACI,MAAM,uBAAuB,GAAG,CAAC,QAAiB,EAAE,EAAE;IAC3D,MAAM,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC,GAAG,2BAAS,GAAG,CAAC,CAAC,CAAC,EAAE,CAAA;IAE9C,OAAO,KAAK,MAAM,uEAAuE,CAAA;AAC3F,CAAC,CAAA;AAJY,QAAA,uBAAuB,2BAInC"}
@@ -1,6 +1,6 @@
1
1
  import ora from 'ora';
2
- import { InstrumentCommand } from './instrument';
3
- import { UninstrumentCommand } from './uninstrument';
2
+ import { InstrumentCommand } from '../instrument';
3
+ import { UninstrumentCommand } from '../uninstrument';
4
4
  /**
5
5
  * @returns a header indicating which `lambda` subcommand is running.
6
6
  * @param command current selected lambda subcommand.
@@ -58,14 +58,6 @@ export declare const renderFunctionsAndFunctionsRegexOptionsBothSetError: (funct
58
58
  * ```
59
59
  */
60
60
  export declare const renderRegexSetWithARNError: () => string;
61
- /**
62
- * @returns a message indicating that no default region has been specified.
63
- *
64
- * ```txt
65
- * [Error] No default region specified. Use `-r`, `--region`.'
66
- * ```
67
- */
68
- export declare const renderNoDefaultRegionSpecifiedError: () => string;
69
61
  /**
70
62
  * @param error an error message or an object of type `unknown`*.
71
63
  * @returns a message indicating that an error occurred while grouping functions.
@@ -88,17 +80,6 @@ export declare const renderCouldntGroupFunctionsError: (error: unknown) => strin
88
80
  * ```
89
81
  */
90
82
  export declare const renderFailureDuringUpdateError: (error: unknown) => string;
91
- /**
92
- * @param error an error message or an object of type `unknown`*.
93
- * @returns the provided error prefixed by {@link errorTag}.
94
- *
95
- * * Using unknown since we're not type guarding.
96
- *
97
- * ```txt
98
- * [Error] The provided error goes here!
99
- * ```
100
- */
101
- export declare const renderError: (error: unknown) => string;
102
83
  /**
103
84
  * @param warning the message to warn about.
104
85
  * @returns the provided warning prefixed by {@link warningTag}.
@@ -108,15 +89,6 @@ export declare const renderError: (error: unknown) => string;
108
89
  * ```
109
90
  */
110
91
  export declare const renderWarning: (warning: string) => string;
111
- /**
112
- * @param warning the message to warn about.
113
- * @returns the provided warning prefixed by {@link warningExclamationSignTag}.
114
- *
115
- * ```txt
116
- * [!] The provided warning goes here!
117
- * ```
118
- */
119
- export declare const renderSoftWarning: (warning: string) => string;
120
92
  /**
121
93
  * @param message the message to set with the success tag.
122
94
  * @returns the provided message prefixed by {@link successCheckmarkTag}.
@@ -168,14 +140,6 @@ export declare const renderFunctionsToBeUpdated: () => string;
168
140
  * ```
169
141
  */
170
142
  export declare const renderEnsureToLockLayerVersionsWarning: () => string;
171
- /**
172
- * @returns a message indicating that no AWS credentials where found.
173
- *
174
- * ```txt
175
- * [!] No AWS credentials found, lets set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.
176
- * ```
177
- */
178
- export declare const renderNoAWSCredentialsFound: () => string;
179
143
  /**
180
144
  * @returns a message indicating to configure AWS region.
181
145
  *
@@ -439,9 +403,3 @@ export declare const updatingFunctionsSpinner: (functions: number) => ora.Ora;
439
403
  * ```
440
404
  */
441
405
  export declare const updatingFunctionsConfigFromRegionSpinner: (region: string, functions: number) => ora.Ora;
442
- export declare const dryRunTag: string;
443
- export declare const errorTag: string;
444
- export declare const warningTag: string;
445
- export declare const warningExclamationSignTag: string;
446
- export declare const successCheckmarkTag: string;
447
- export declare const failCrossTag: string;
@@ -3,11 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.warningTag = exports.errorTag = exports.dryRunTag = exports.updatingFunctionsConfigFromRegionSpinner = exports.updatingFunctionsSpinner = exports.fetchingFunctionsConfigSpinner = exports.fetchingFunctionsSpinner = exports.renderFailedUpdatingEveryLambdaFunctionFromRegion = exports.renderFailedUpdatingEveryLambdaFunction = exports.renderFailedUpdatingLambdaFunctions = exports.renderFailedUpdatingLambdaFunction = exports.renderFailedFetchingLambdaConfigurationsFromRegion = exports.renderFailedFetchingLambdaFunctions = exports.renderUpdatedLambdaFunctionsFromRegion = exports.renderUpdatedLambdaFunctions = exports.renderFetchedLambdaConfigurationsFromRegion = exports.renderFetchedLambdaFunctions = exports.renderUninstrumentingFunctionsSoftWarning = exports.renderInstrumentingFunctionsSoftWarning = exports.renderConfirmationNeededSoftWarning = exports.renderWillApplyUpdates = exports.renderNoUpdatesApplied = exports.renderInvalidStringBooleanSpecifiedError = exports.renderInvalidExtensionVersionError = exports.renderInvalidLayerVersionError = exports.renderExtraTagsDontComplyError = exports.renderTagsNotConfiguredWarning = exports.renderCouldntFetchLambdaFunctionsError = exports.renderCouldntFindLambdaFunctionsInRegionError = exports.renderConfigureDatadog = exports.renderConfigureAWSRegion = exports.renderNoAWSCredentialsFound = exports.renderEnsureToLockLayerVersionsWarning = exports.renderFunctionsToBeUpdated = exports.renderInstrumentInStagingFirst = exports.renderSourceCodeIntegrationWarning = exports.renderFail = exports.renderSuccess = exports.renderSoftWarning = exports.renderWarning = exports.renderError = exports.renderFailureDuringUpdateError = exports.renderCouldntGroupFunctionsError = exports.renderNoDefaultRegionSpecifiedError = exports.renderRegexSetWithARNError = exports.renderFunctionsAndFunctionsRegexOptionsBothSetError = exports.renderMissingDatadogApiKeyError = exports.renderExtensionAndForwarderOptionsBothSetError = exports.renderNoFunctionsSpecifiedError = exports.renderLambdaHeader = void 0;
7
- exports.failCrossTag = exports.successCheckmarkTag = exports.warningExclamationSignTag = void 0;
6
+ exports.updatingFunctionsConfigFromRegionSpinner = exports.updatingFunctionsSpinner = exports.fetchingFunctionsConfigSpinner = exports.fetchingFunctionsSpinner = exports.renderFailedUpdatingEveryLambdaFunctionFromRegion = exports.renderFailedUpdatingEveryLambdaFunction = exports.renderFailedUpdatingLambdaFunctions = exports.renderFailedUpdatingLambdaFunction = exports.renderFailedFetchingLambdaConfigurationsFromRegion = exports.renderFailedFetchingLambdaFunctions = exports.renderUpdatedLambdaFunctionsFromRegion = exports.renderUpdatedLambdaFunctions = exports.renderFetchedLambdaConfigurationsFromRegion = exports.renderFetchedLambdaFunctions = exports.renderUninstrumentingFunctionsSoftWarning = exports.renderInstrumentingFunctionsSoftWarning = exports.renderConfirmationNeededSoftWarning = exports.renderWillApplyUpdates = exports.renderNoUpdatesApplied = exports.renderInvalidStringBooleanSpecifiedError = exports.renderInvalidExtensionVersionError = exports.renderInvalidLayerVersionError = exports.renderExtraTagsDontComplyError = exports.renderTagsNotConfiguredWarning = exports.renderCouldntFetchLambdaFunctionsError = exports.renderCouldntFindLambdaFunctionsInRegionError = exports.renderConfigureDatadog = exports.renderConfigureAWSRegion = exports.renderEnsureToLockLayerVersionsWarning = exports.renderFunctionsToBeUpdated = exports.renderInstrumentInStagingFirst = exports.renderSourceCodeIntegrationWarning = exports.renderFail = exports.renderSuccess = exports.renderWarning = exports.renderFailureDuringUpdateError = exports.renderCouldntGroupFunctionsError = exports.renderRegexSetWithARNError = exports.renderFunctionsAndFunctionsRegexOptionsBothSetError = exports.renderMissingDatadogApiKeyError = exports.renderExtensionAndForwarderOptionsBothSetError = exports.renderNoFunctionsSpecifiedError = exports.renderLambdaHeader = void 0;
8
7
  const chalk_1 = require("chalk");
9
8
  const ora_1 = __importDefault(require("ora"));
10
- const uninstrument_1 = require("./uninstrument");
9
+ const uninstrument_1 = require("../uninstrument");
10
+ const common_renderer_1 = require("./common-renderer");
11
11
  /**
12
12
  * @returns a header indicating which `lambda` subcommand is running.
13
13
  * @param command current selected lambda subcommand.
@@ -17,7 +17,7 @@ const uninstrument_1 = require("./uninstrument");
17
17
  * ```
18
18
  */
19
19
  const renderLambdaHeader = (commandType, isDryRun) => {
20
- const prefix = isDryRun ? `${exports.dryRunTag} ` : '';
20
+ const prefix = isDryRun ? `${common_renderer_1.dryRunTag} ` : '';
21
21
  let commandVerb = 'Instrumenting';
22
22
  if (commandType === uninstrument_1.UninstrumentCommand.prototype) {
23
23
  commandVerb = 'Uninstrumenting';
@@ -40,7 +40,7 @@ const renderNoFunctionsSpecifiedError = (commandType) => {
40
40
  if (commandType === uninstrument_1.UninstrumentCommand.prototype) {
41
41
  commandWords = 'remove instrumentation';
42
42
  }
43
- return exports.renderError(`No functions specified to ${commandWords}.`);
43
+ return common_renderer_1.renderError(`No functions specified to ${commandWords}.`);
44
44
  };
45
45
  exports.renderNoFunctionsSpecifiedError = renderNoFunctionsSpecifiedError;
46
46
  /**
@@ -50,7 +50,7 @@ exports.renderNoFunctionsSpecifiedError = renderNoFunctionsSpecifiedError;
50
50
  * [Error] "extensionVersion" and "forwarder" should not be used at the same time.
51
51
  * ```
52
52
  */
53
- const renderExtensionAndForwarderOptionsBothSetError = () => exports.renderError('"extensionVersion" and "forwarder" should not be used at the same time.');
53
+ const renderExtensionAndForwarderOptionsBothSetError = () => common_renderer_1.renderError('"extensionVersion" and "forwarder" should not be used at the same time.');
54
54
  exports.renderExtensionAndForwarderOptionsBothSetError = renderExtensionAndForwarderOptionsBothSetError;
55
55
  /**
56
56
  * @returns a message indicating that the environment variable `DATADOG_API_KEY` is missing.
@@ -59,7 +59,7 @@ exports.renderExtensionAndForwarderOptionsBothSetError = renderExtensionAndForwa
59
59
  * [Error] Missing DATADOG_API_KEY in your environment.
60
60
  * ```
61
61
  */
62
- const renderMissingDatadogApiKeyError = () => exports.renderError('Missing DATADOG_API_KEY in your environment.');
62
+ const renderMissingDatadogApiKeyError = () => common_renderer_1.renderError('Missing DATADOG_API_KEY in your environment.');
63
63
  exports.renderMissingDatadogApiKeyError = renderMissingDatadogApiKeyError;
64
64
  /**
65
65
  * @param functionsCommandUsed a boolean indicating which command was used for the specified functions.
@@ -75,7 +75,7 @@ exports.renderMissingDatadogApiKeyError = renderMissingDatadogApiKeyError;
75
75
  */
76
76
  const renderFunctionsAndFunctionsRegexOptionsBothSetError = (functionsCommandUsed) => {
77
77
  const usedCommand = functionsCommandUsed ? '"--functions"' : 'Functions in config file';
78
- return exports.renderError(`${usedCommand} and "--functions-regex" should not be used at the same time.`);
78
+ return common_renderer_1.renderError(`${usedCommand} and "--functions-regex" should not be used at the same time.`);
79
79
  };
80
80
  exports.renderFunctionsAndFunctionsRegexOptionsBothSetError = renderFunctionsAndFunctionsRegexOptionsBothSetError;
81
81
  /**
@@ -85,17 +85,8 @@ exports.renderFunctionsAndFunctionsRegexOptionsBothSetError = renderFunctionsAnd
85
85
  * [Error] "--functions-regex" isn't meant to be used with ARNs.
86
86
  * ```
87
87
  */
88
- const renderRegexSetWithARNError = () => exports.renderError(`"--functions-regex" isn't meant to be used with ARNs.`);
88
+ const renderRegexSetWithARNError = () => common_renderer_1.renderError(`"--functions-regex" isn't meant to be used with ARNs.`);
89
89
  exports.renderRegexSetWithARNError = renderRegexSetWithARNError;
90
- /**
91
- * @returns a message indicating that no default region has been specified.
92
- *
93
- * ```txt
94
- * [Error] No default region specified. Use `-r`, `--region`.'
95
- * ```
96
- */
97
- const renderNoDefaultRegionSpecifiedError = () => exports.renderError('No default region specified. Use `-r`, `--region`.');
98
- exports.renderNoDefaultRegionSpecifiedError = renderNoDefaultRegionSpecifiedError;
99
90
  /**
100
91
  * @param error an error message or an object of type `unknown`*.
101
92
  * @returns a message indicating that an error occurred while grouping functions.
@@ -106,7 +97,7 @@ exports.renderNoDefaultRegionSpecifiedError = renderNoDefaultRegionSpecifiedErro
106
97
  * [Error] Couldn't group functions. The provided error goes here!
107
98
  * ```
108
99
  */
109
- const renderCouldntGroupFunctionsError = (error) => exports.renderError(`Couldn't group functions. ${error}`);
100
+ const renderCouldntGroupFunctionsError = (error) => common_renderer_1.renderError(`Couldn't group functions. ${error}`);
110
101
  exports.renderCouldntGroupFunctionsError = renderCouldntGroupFunctionsError;
111
102
  /**
112
103
  * @param error an error message or an object of type `unknown`*.
@@ -118,20 +109,8 @@ exports.renderCouldntGroupFunctionsError = renderCouldntGroupFunctionsError;
118
109
  * [Error] Failure during update. The provided error goes here!
119
110
  * ```
120
111
  */
121
- const renderFailureDuringUpdateError = (error) => exports.renderError(`Failure during update. ${error}`);
112
+ const renderFailureDuringUpdateError = (error) => common_renderer_1.renderError(`Failure during update. ${error}`);
122
113
  exports.renderFailureDuringUpdateError = renderFailureDuringUpdateError;
123
- /**
124
- * @param error an error message or an object of type `unknown`*.
125
- * @returns the provided error prefixed by {@link errorTag}.
126
- *
127
- * * Using unknown since we're not type guarding.
128
- *
129
- * ```txt
130
- * [Error] The provided error goes here!
131
- * ```
132
- */
133
- const renderError = (error) => `${exports.errorTag} ${error}\n`;
134
- exports.renderError = renderError;
135
114
  /**
136
115
  * @param warning the message to warn about.
137
116
  * @returns the provided warning prefixed by {@link warningTag}.
@@ -140,18 +119,8 @@ exports.renderError = renderError;
140
119
  * [Warning] The provided warning goes here!
141
120
  * ```
142
121
  */
143
- const renderWarning = (warning) => `${exports.warningTag} ${warning}\n`;
122
+ const renderWarning = (warning) => `${common_renderer_1.warningTag} ${warning}\n`;
144
123
  exports.renderWarning = renderWarning;
145
- /**
146
- * @param warning the message to warn about.
147
- * @returns the provided warning prefixed by {@link warningExclamationSignTag}.
148
- *
149
- * ```txt
150
- * [!] The provided warning goes here!
151
- * ```
152
- */
153
- const renderSoftWarning = (warning) => `${exports.warningExclamationSignTag} ${warning}\n`;
154
- exports.renderSoftWarning = renderSoftWarning;
155
124
  /**
156
125
  * @param message the message to set with the success tag.
157
126
  * @returns the provided message prefixed by {@link successCheckmarkTag}.
@@ -160,7 +129,7 @@ exports.renderSoftWarning = renderSoftWarning;
160
129
  * [✔] The provided message goes here!
161
130
  * ```
162
131
  */
163
- const renderSuccess = (message) => `${exports.successCheckmarkTag} ${message}\n`;
132
+ const renderSuccess = (message) => `${common_renderer_1.successCheckmarkTag} ${message}\n`;
164
133
  exports.renderSuccess = renderSuccess;
165
134
  /**
166
135
  * @param message the message to set with the fail tag.
@@ -170,7 +139,7 @@ exports.renderSuccess = renderSuccess;
170
139
  * [✖] The provided message goes here!
171
140
  * ```
172
141
  */
173
- const renderFail = (message) => `${exports.failCrossTag} ${message}\n`;
142
+ const renderFail = (message) => `${common_renderer_1.failCrossTag} ${message}\n`;
174
143
  exports.renderFail = renderFail;
175
144
  /**
176
145
  * @param sourceCodeIntegrationError the error encountered when trying to enable source code integration.
@@ -198,7 +167,7 @@ exports.renderInstrumentInStagingFirst = renderInstrumentInStagingFirst;
198
167
  * Functions to be updated:
199
168
  * ```
200
169
  */
201
- const renderFunctionsToBeUpdated = () => `\n${exports.renderSoftWarning('Functions to be updated:')}`;
170
+ const renderFunctionsToBeUpdated = () => `\n${common_renderer_1.renderSoftWarning('Functions to be updated:')}`;
202
171
  exports.renderFunctionsToBeUpdated = renderFunctionsToBeUpdated;
203
172
  /**
204
173
  * @returns a warning message reminding the user to lock versions for production.
@@ -209,15 +178,6 @@ exports.renderFunctionsToBeUpdated = renderFunctionsToBeUpdated;
209
178
  */
210
179
  const renderEnsureToLockLayerVersionsWarning = () => `\t${exports.renderWarning('At least one latest layer version is being used. Ensure to lock in versions for production applications using `--layerVersion` and `--extensionVersion`.')}`;
211
180
  exports.renderEnsureToLockLayerVersionsWarning = renderEnsureToLockLayerVersionsWarning;
212
- /**
213
- * @returns a message indicating that no AWS credentials where found.
214
- *
215
- * ```txt
216
- * [!] No AWS credentials found, lets set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.
217
- * ```
218
- */
219
- const renderNoAWSCredentialsFound = () => `${exports.renderSoftWarning("No AWS credentials found, let's set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.")}`;
220
- exports.renderNoAWSCredentialsFound = renderNoAWSCredentialsFound;
221
181
  /**
222
182
  * @returns a message indicating to configure AWS region.
223
183
  *
@@ -225,7 +185,7 @@ exports.renderNoAWSCredentialsFound = renderNoAWSCredentialsFound;
225
185
  * [!] Configure AWS region.
226
186
  * ```
227
187
  */
228
- const renderConfigureAWSRegion = () => `\n${exports.renderSoftWarning('Configure AWS region.')}`;
188
+ const renderConfigureAWSRegion = () => `\n${common_renderer_1.renderSoftWarning('Configure AWS region.')}`;
229
189
  exports.renderConfigureAWSRegion = renderConfigureAWSRegion;
230
190
  /**
231
191
  * @returns a message indicating to configure Datadog settings.
@@ -234,7 +194,7 @@ exports.renderConfigureAWSRegion = renderConfigureAWSRegion;
234
194
  * [!] Configure Datadog settings.
235
195
  * ```
236
196
  */
237
- const renderConfigureDatadog = () => `\n${exports.renderSoftWarning('Configure Datadog settings.')}`;
197
+ const renderConfigureDatadog = () => `\n${common_renderer_1.renderSoftWarning('Configure Datadog settings.')}`;
238
198
  exports.renderConfigureDatadog = renderConfigureDatadog;
239
199
  /**
240
200
  * @returns a message indicating that no Lambda functions were found
@@ -244,7 +204,7 @@ exports.renderConfigureDatadog = renderConfigureDatadog;
244
204
  * [Error] Couldn't find any Lambda functions in the specified region.
245
205
  * ```
246
206
  */
247
- const renderCouldntFindLambdaFunctionsInRegionError = () => exports.renderError("Couldn't find any Lambda functions in the specified region.");
207
+ const renderCouldntFindLambdaFunctionsInRegionError = () => common_renderer_1.renderError("Couldn't find any Lambda functions in the specified region.");
248
208
  exports.renderCouldntFindLambdaFunctionsInRegionError = renderCouldntFindLambdaFunctionsInRegionError;
249
209
  /**
250
210
  * @param error an error message or an object of type `unknown`*.
@@ -256,7 +216,7 @@ exports.renderCouldntFindLambdaFunctionsInRegionError = renderCouldntFindLambdaF
256
216
  * [Error] Couldn't fetch Lambda functions. The provided error goes here!
257
217
  * ```
258
218
  */
259
- const renderCouldntFetchLambdaFunctionsError = (error) => exports.renderError(`Couldn't fetch Lambda functions. ${error}`);
219
+ const renderCouldntFetchLambdaFunctionsError = (error) => common_renderer_1.renderError(`Couldn't fetch Lambda functions. ${error}`);
260
220
  exports.renderCouldntFetchLambdaFunctionsError = renderCouldntFetchLambdaFunctionsError;
261
221
  /**
262
222
  * @param tagsMissing an array containing the tags that are not configured
@@ -281,7 +241,7 @@ exports.renderTagsNotConfiguredWarning = renderTagsNotConfiguredWarning;
281
241
  * [Error] Extra tags do not comply with the <key>:<value> array.
282
242
  * ```
283
243
  */
284
- const renderExtraTagsDontComplyError = () => exports.renderError('Extra tags do not comply with the <key>:<value> array.');
244
+ const renderExtraTagsDontComplyError = () => common_renderer_1.renderError('Extra tags do not comply with the <key>:<value> array.');
285
245
  exports.renderExtraTagsDontComplyError = renderExtraTagsDontComplyError;
286
246
  /**
287
247
  * @returns a message indicating that the `--layerVersion` argument provided is invalid.
@@ -290,7 +250,7 @@ exports.renderExtraTagsDontComplyError = renderExtraTagsDontComplyError;
290
250
  * [Error] Invalid layer version "provided value".
291
251
  * ```
292
252
  */
293
- const renderInvalidLayerVersionError = (layerVersion) => exports.renderError(`Invalid layer version "${layerVersion}".`);
253
+ const renderInvalidLayerVersionError = (layerVersion) => common_renderer_1.renderError(`Invalid layer version "${layerVersion}".`);
294
254
  exports.renderInvalidLayerVersionError = renderInvalidLayerVersionError;
295
255
  /**
296
256
  * @returns a message indicating that the `--extensionVersion` argument provided is invalid.
@@ -299,7 +259,7 @@ exports.renderInvalidLayerVersionError = renderInvalidLayerVersionError;
299
259
  * [Error] Invalid extension version "provided value".
300
260
  * ```
301
261
  */
302
- const renderInvalidExtensionVersionError = (extensionVersion) => exports.renderError(`Invalid extension version "${extensionVersion}".`);
262
+ const renderInvalidExtensionVersionError = (extensionVersion) => common_renderer_1.renderError(`Invalid extension version "${extensionVersion}".`);
303
263
  exports.renderInvalidExtensionVersionError = renderInvalidExtensionVersionError;
304
264
  /**
305
265
  * @returns a message indicating that the provided argument for a specific string boolean
@@ -309,7 +269,7 @@ exports.renderInvalidExtensionVersionError = renderInvalidExtensionVersionError;
309
269
  * [Error] Invalid boolean specified for "string boolean field".
310
270
  * ```
311
271
  */
312
- const renderInvalidStringBooleanSpecifiedError = (stringBoolean) => exports.renderError(`Invalid boolean specified for ${stringBoolean}.`);
272
+ const renderInvalidStringBooleanSpecifiedError = (stringBoolean) => common_renderer_1.renderError(`Invalid boolean specified for ${stringBoolean}.`);
313
273
  exports.renderInvalidStringBooleanSpecifiedError = renderInvalidStringBooleanSpecifiedError;
314
274
  /**
315
275
  * @param isDryRun a boolean to define if a prefix should be added.
@@ -322,7 +282,7 @@ exports.renderInvalidStringBooleanSpecifiedError = renderInvalidStringBooleanSpe
322
282
  * ```
323
283
  */
324
284
  const renderNoUpdatesApplied = (isDryRun) => {
325
- const prefix = isDryRun ? `${exports.dryRunTag} ` : '';
285
+ const prefix = isDryRun ? `${common_renderer_1.dryRunTag} ` : '';
326
286
  return `\n${prefix}No updates will be applied.\n`;
327
287
  };
328
288
  exports.renderNoUpdatesApplied = renderNoUpdatesApplied;
@@ -337,7 +297,7 @@ exports.renderNoUpdatesApplied = renderNoUpdatesApplied;
337
297
  * ```
338
298
  */
339
299
  const renderWillApplyUpdates = (isDryRun) => {
340
- const prefix = isDryRun ? `${exports.dryRunTag} ` : '';
300
+ const prefix = isDryRun ? `${common_renderer_1.dryRunTag} ` : '';
341
301
  return `\n${prefix}Will apply the following updates:\n`;
342
302
  };
343
303
  exports.renderWillApplyUpdates = renderWillApplyUpdates;
@@ -348,7 +308,7 @@ exports.renderWillApplyUpdates = renderWillApplyUpdates;
348
308
  * [!] Confirmation needed.
349
309
  * ```
350
310
  */
351
- const renderConfirmationNeededSoftWarning = () => exports.renderSoftWarning('Confirmation needed.');
311
+ const renderConfirmationNeededSoftWarning = () => common_renderer_1.renderSoftWarning('Confirmation needed.');
352
312
  exports.renderConfirmationNeededSoftWarning = renderConfirmationNeededSoftWarning;
353
313
  /**
354
314
  * @returns a soft warning message indicating that functions are being instrumented.
@@ -357,7 +317,7 @@ exports.renderConfirmationNeededSoftWarning = renderConfirmationNeededSoftWarnin
357
317
  * [!] Instrumenting functions.
358
318
  * ```
359
319
  */
360
- const renderInstrumentingFunctionsSoftWarning = () => exports.renderSoftWarning('Instrumenting functions.');
320
+ const renderInstrumentingFunctionsSoftWarning = () => common_renderer_1.renderSoftWarning('Instrumenting functions.');
361
321
  exports.renderInstrumentingFunctionsSoftWarning = renderInstrumentingFunctionsSoftWarning;
362
322
  /**
363
323
  * @returns a soft warning message indicating the removal of instrumentation
@@ -367,7 +327,7 @@ exports.renderInstrumentingFunctionsSoftWarning = renderInstrumentingFunctionsSo
367
327
  * [!] Uninstrumenting functions.
368
328
  * ```
369
329
  */
370
- const renderUninstrumentingFunctionsSoftWarning = () => exports.renderSoftWarning('Uninstrumenting functions.');
330
+ const renderUninstrumentingFunctionsSoftWarning = () => common_renderer_1.renderSoftWarning('Uninstrumenting functions.');
371
331
  exports.renderUninstrumentingFunctionsSoftWarning = renderUninstrumentingFunctionsSoftWarning;
372
332
  /**
373
333
  * @param functionsLength the number of Lambda functions that were fetched.
@@ -452,7 +412,7 @@ exports.renderFailedFetchingLambdaConfigurationsFromRegion = renderFailedFetchin
452
412
  * [us-east-1] Failed updating ARN Provided error goes here..
453
413
  * ```
454
414
  */
455
- const renderFailedUpdatingLambdaFunction = (f, error) => exports.renderError(`Failed updating ${chalk_1.bold(f)} ${error}`);
415
+ const renderFailedUpdatingLambdaFunction = (f, error) => common_renderer_1.renderError(`Failed updating ${chalk_1.bold(f)} ${error}`);
456
416
  exports.renderFailedUpdatingLambdaFunction = renderFailedUpdatingLambdaFunction;
457
417
  /**
458
418
  * @returns a message indicating that it failed to update Lambda functions.
@@ -544,10 +504,4 @@ const updatingFunctionsConfigFromRegionSpinner = (region, functions) => ora_1.de
544
504
  text: `${chalk_1.bold(`[${region}]`)} Updating ${chalk_1.bold(functions)} ${chalk_1.hex('#FF9900').bold('Lambda')} functions.\n`,
545
505
  });
546
506
  exports.updatingFunctionsConfigFromRegionSpinner = updatingFunctionsConfigFromRegionSpinner;
547
- exports.dryRunTag = chalk_1.bold(chalk_1.cyan('[Dry Run]'));
548
- exports.errorTag = chalk_1.bold(chalk_1.red('[Error]'));
549
- exports.warningTag = chalk_1.bold(chalk_1.yellow('[Warning]'));
550
- exports.warningExclamationSignTag = chalk_1.bold(chalk_1.yellow('[!]'));
551
- exports.successCheckmarkTag = chalk_1.bold(chalk_1.green('✔'));
552
- exports.failCrossTag = chalk_1.bold(chalk_1.red('✖'));
553
- //# sourceMappingURL=renderer.js.map
507
+ //# sourceMappingURL=instrument-uninstrument-renderer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instrument-uninstrument-renderer.js","sourceRoot":"","sources":["../../../../src/commands/lambda/renderers/instrument-uninstrument-renderer.ts"],"names":[],"mappings":";;;;;;AAAA,iCAAsD;AACtD,8CAAqB;AAGrB,kDAAmD;AAEnD,uDAO0B;AAE1B;;;;;;;GAOG;AACI,MAAM,kBAAkB,GAAG,CAAC,WAAoD,EAAE,QAAiB,EAAE,EAAE;IAC5G,MAAM,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC,GAAG,2BAAS,GAAG,CAAC,CAAC,CAAC,EAAE,CAAA;IAE9C,IAAI,WAAW,GAAG,eAAe,CAAA;IACjC,IAAI,WAAW,KAAK,kCAAmB,CAAC,SAAS,EAAE;QAC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