@pulumi/pulumi 3.124.1-alpha.x8db3d6d → 3.125.0-alpha.x584ff1c

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 (95) hide show
  1. package/asset/archive.d.ts +15 -10
  2. package/asset/archive.js +15 -9
  3. package/asset/archive.js.map +1 -1
  4. package/asset/asset.d.ts +14 -11
  5. package/asset/asset.js +15 -18
  6. package/asset/asset.js.map +1 -1
  7. package/automation/stack.d.ts +10 -2
  8. package/automation/stack.js +10 -2
  9. package/automation/stack.js.map +1 -1
  10. package/dynamic/index.d.ts +67 -35
  11. package/dynamic/index.js +15 -8
  12. package/dynamic/index.js.map +1 -1
  13. package/errors.d.ts +16 -12
  14. package/errors.js +18 -12
  15. package/errors.js.map +1 -1
  16. package/invoke.d.ts +6 -2
  17. package/iterable/index.d.ts +7 -5
  18. package/iterable/index.js +7 -5
  19. package/iterable/index.js.map +1 -1
  20. package/log/index.d.ts +8 -5
  21. package/log/index.js +8 -5
  22. package/log/index.js.map +1 -1
  23. package/metadata.d.ts +3 -3
  24. package/metadata.js +3 -3
  25. package/output.d.ts +119 -91
  26. package/output.js +73 -46
  27. package/output.js.map +1 -1
  28. package/package.json +1 -1
  29. package/provider/internals.js +3 -1
  30. package/provider/internals.js.map +1 -1
  31. package/provider/provider.d.ts +75 -39
  32. package/provider/server.js +13 -7
  33. package/provider/server.js.map +1 -1
  34. package/queryable/index.d.ts +5 -3
  35. package/resource.d.ts +233 -164
  36. package/resource.js +160 -97
  37. package/resource.js.map +1 -1
  38. package/runtime/asyncIterableUtil.js +26 -17
  39. package/runtime/asyncIterableUtil.js.map +1 -1
  40. package/runtime/callbacks.js +5 -2
  41. package/runtime/callbacks.js.map +1 -1
  42. package/runtime/closure/codePaths.d.ts +32 -27
  43. package/runtime/closure/codePaths.js +23 -15
  44. package/runtime/closure/codePaths.js.map +1 -1
  45. package/runtime/closure/createClosure.js +38 -30
  46. package/runtime/closure/createClosure.js.map +1 -1
  47. package/runtime/closure/parseFunction.js +26 -15
  48. package/runtime/closure/parseFunction.js.map +1 -1
  49. package/runtime/closure/rewriteSuper.js +3 -1
  50. package/runtime/closure/rewriteSuper.js.map +1 -1
  51. package/runtime/closure/serializeClosure.d.ts +52 -32
  52. package/runtime/closure/serializeClosure.js +34 -22
  53. package/runtime/closure/serializeClosure.js.map +1 -1
  54. package/runtime/closure/utils.js +6 -2
  55. package/runtime/closure/utils.js.map +1 -1
  56. package/runtime/closure/v8.js +18 -9
  57. package/runtime/closure/v8.js.map +1 -1
  58. package/runtime/closure/v8Hooks.js +8 -4
  59. package/runtime/closure/v8Hooks.js.map +1 -1
  60. package/runtime/config.d.ts +4 -4
  61. package/runtime/config.js +22 -18
  62. package/runtime/config.js.map +1 -1
  63. package/runtime/debuggable.js +17 -6
  64. package/runtime/debuggable.js.map +1 -1
  65. package/runtime/invoke.d.ts +23 -14
  66. package/runtime/invoke.js +26 -18
  67. package/runtime/invoke.js.map +1 -1
  68. package/runtime/mocks.d.ts +37 -23
  69. package/runtime/mocks.js +11 -6
  70. package/runtime/mocks.js.map +1 -1
  71. package/runtime/resource.d.ts +21 -15
  72. package/runtime/resource.js +48 -29
  73. package/runtime/resource.js.map +1 -1
  74. package/runtime/rpc.d.ts +71 -43
  75. package/runtime/rpc.js +85 -47
  76. package/runtime/rpc.js.map +1 -1
  77. package/runtime/settings.d.ts +70 -21
  78. package/runtime/settings.js +83 -42
  79. package/runtime/settings.js.map +1 -1
  80. package/runtime/stack.d.ts +22 -14
  81. package/runtime/stack.js +22 -14
  82. package/runtime/stack.js.map +1 -1
  83. package/runtime/state.js +21 -8
  84. package/runtime/state.js.map +1 -1
  85. package/stackReference.d.ts +49 -32
  86. package/stackReference.js +40 -25
  87. package/stackReference.js.map +1 -1
  88. package/tests/automation/localWorkspace.spec.js +20 -0
  89. package/tests/automation/localWorkspace.spec.js.map +1 -1
  90. package/tsutils.js +6 -2
  91. package/tsutils.js.map +1 -1
  92. package/utils.js +15 -6
  93. package/utils.js.map +1 -1
  94. package/version.d.ts +1 -1
  95. package/version.js +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../dynamic/index.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;AAEjC,sCAAkD;AAClD,sDAAwC;AACxC,8DAAgD;AAoJhD,MAAM,aAAa,GAAG,IAAI,OAAO,EAAmC,CAAC;AAErE,SAAS,iBAAiB,CAAC,QAA0B;IACjD,IAAI,MAAqB,CAAC;IAC1B,0CAA0C;IAC1C,IAAI,QAAQ,CAAC,qBAAqB,EAAE,EAAE;QAClC,MAAM,cAAc,GAAG,aAAa,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACnD,IAAI,cAAc,EAAE;YAChB,MAAM,GAAG,cAAc,CAAC;SAC3B;aAAM;YACH,MAAM,GAAG,4BAA4B,CAAC,QAAQ,CAAC,CAAC;YAChD,aAAa,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;SACvC;KACJ;SAAM;QACH,MAAM,GAAG,4BAA4B,CAAC,QAAQ,CAAC,CAAC;KACnD;IACD,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,SAAS,4BAA4B,CAAC,QAA0B;IAC5D,wEAAwE;IACxE,EAAE;IACF,6HAA6H;IAC7H,MAAM,EAAE,GAA4B,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAEnF,MAAM,SAAS,GAAG,EAAE,CAAC,iBAAiB,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC;IAE/E,sJAAsJ;IACtJ,OAAO,IAAI,eAAM,CACb,EAAE,EACF,SAA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,CAAC,cAAc;IAC1D;;;;;;;;;;;;;;;;OAgBG;IACH,YACI,QAA0B,EAC1B,IAAY,EACZ,KAAa,EACb,IAAqC,EACrC,MAAe,EACf,OAAe,UAAU;QAEzB,MAAM,WAAW,GAAW,YAAY,CAAC;QACzC,IAAI,KAAK,CAAC,WAAW,CAAC,EAAE;YACpB,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;SAC5E;QACD,KAAK,CAAC,WAAW,CAAC,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC;QAEjD,KAAK,CAAC,wBAAwB,MAAM,CAAC,CAAC,CAAC,IAAI,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;IAC3F,CAAC;CACJ;AAlCD,4BAkCC"}
package/errors.d.ts CHANGED
@@ -1,29 +1,33 @@
1
1
  import { Resource } from "./resource";
2
2
  /**
3
- * RunError can be used for terminating a program abruptly, but resulting in a clean exit rather
4
- * than the usual verbose unhandled error logic which emits the source program text and complete
5
- * stack trace. This type should be rarely used. Ideally ResourceError should always be used so
6
- * that as many errors as possible can be associated with a Resource.
3
+ * {@link RunError} can be used for terminating a program abruptly, but
4
+ * resulting in a clean exit rather than the usual verbose unhandled error logic
5
+ * which emits the source program text and complete stack trace. This type
6
+ * should be rarely used. Ideally {@link ResourceError} should always be used so
7
+ * that as many errors as possible can be associated with a resource.
7
8
  */
8
9
  export declare class RunError extends Error {
9
10
  /**
10
- * Returns true if the given object is an instance of a RunError. This is designed to work even when
11
- * multiple copies of the Pulumi SDK have been loaded into the same process.
11
+ * Returns true if the given object is a {@link RunError}. This is designed
12
+ * to work even when multiple copies of the Pulumi SDK have been loaded into
13
+ * the same process.
12
14
  */
13
15
  static isInstance(obj: any): obj is RunError;
14
16
  }
15
17
  /**
16
- * ResourceError can be used for terminating a program abruptly, specifically associating the
17
- * problem with a Resource. Depending on the nature of the problem, clients can choose whether or
18
- * not a call stack should be returned as well. This should be very rare, and would only indicate
19
- * no usefulness of presenting that stack to the user.
18
+ * {@link ResourceError} can be used for terminating a program abruptly,
19
+ * specifically associating the problem with a {@link Resource}. Depending on
20
+ * the nature of the problem, clients can choose whether or not the call stack
21
+ * should be hidden as well. This should be very rare, and would only indicate
22
+ * that presenting the stack to the user would not be useful/be detrimental.
20
23
  */
21
24
  export declare class ResourceError extends Error {
22
25
  resource: Resource | undefined;
23
26
  hideStack?: boolean | undefined;
24
27
  /**
25
- * Returns true if the given object is an instance of a ResourceError. This is designed to work even when
26
- * multiple copies of the Pulumi SDK have been loaded into the same process.
28
+ * Returns true if the given object is a {@link ResourceError}. This is
29
+ * designed to work even when multiple copies of the Pulumi SDK have been
30
+ * loaded into the same process.
27
31
  */
28
32
  static isInstance(obj: any): obj is ResourceError;
29
33
  constructor(message: string, resource: Resource | undefined, hideStack?: boolean | undefined);
package/errors.js CHANGED
@@ -23,24 +23,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
23
23
  const grpc = __importStar(require("@grpc/grpc-js"));
24
24
  const utils = __importStar(require("./utils"));
25
25
  /**
26
- * RunError can be used for terminating a program abruptly, but resulting in a clean exit rather
27
- * than the usual verbose unhandled error logic which emits the source program text and complete
28
- * stack trace. This type should be rarely used. Ideally ResourceError should always be used so
29
- * that as many errors as possible can be associated with a Resource.
26
+ * {@link RunError} can be used for terminating a program abruptly, but
27
+ * resulting in a clean exit rather than the usual verbose unhandled error logic
28
+ * which emits the source program text and complete stack trace. This type
29
+ * should be rarely used. Ideally {@link ResourceError} should always be used so
30
+ * that as many errors as possible can be associated with a resource.
30
31
  */
31
32
  class RunError extends Error {
32
33
  constructor() {
33
34
  super(...arguments);
34
35
  /**
35
36
  * A private field to help with RTTI that works in SxS scenarios.
37
+ *
36
38
  * @internal
37
39
  */
38
40
  // eslint-disable-next-line @typescript-eslint/naming-convention,no-underscore-dangle,id-blacklist,id-match
39
41
  this.__pulumiRunError = true;
40
42
  }
41
43
  /**
42
- * Returns true if the given object is an instance of a RunError. This is designed to work even when
43
- * multiple copies of the Pulumi SDK have been loaded into the same process.
44
+ * Returns true if the given object is a {@link RunError}. This is designed
45
+ * to work even when multiple copies of the Pulumi SDK have been loaded into
46
+ * the same process.
44
47
  */
45
48
  static isInstance(obj) {
46
49
  return utils.isInstance(obj, "__pulumiRunError");
@@ -48,10 +51,11 @@ class RunError extends Error {
48
51
  }
49
52
  exports.RunError = RunError;
50
53
  /**
51
- * ResourceError can be used for terminating a program abruptly, specifically associating the
52
- * problem with a Resource. Depending on the nature of the problem, clients can choose whether or
53
- * not a call stack should be returned as well. This should be very rare, and would only indicate
54
- * no usefulness of presenting that stack to the user.
54
+ * {@link ResourceError} can be used for terminating a program abruptly,
55
+ * specifically associating the problem with a {@link Resource}. Depending on
56
+ * the nature of the problem, clients can choose whether or not the call stack
57
+ * should be hidden as well. This should be very rare, and would only indicate
58
+ * that presenting the stack to the user would not be useful/be detrimental.
55
59
  */
56
60
  class ResourceError extends Error {
57
61
  constructor(message, resource, hideStack) {
@@ -60,14 +64,16 @@ class ResourceError extends Error {
60
64
  this.hideStack = hideStack;
61
65
  /**
62
66
  * A private field to help with RTTI that works in SxS scenarios.
67
+ *
63
68
  * @internal
64
69
  */
65
70
  // eslint-disable-next-line @typescript-eslint/naming-convention, no-underscore-dangle, id-blacklist, id-match
66
71
  this.__pulumResourceError = true;
67
72
  }
68
73
  /**
69
- * Returns true if the given object is an instance of a ResourceError. This is designed to work even when
70
- * multiple copies of the Pulumi SDK have been loaded into the same process.
74
+ * Returns true if the given object is a {@link ResourceError}. This is
75
+ * designed to work even when multiple copies of the Pulumi SDK have been
76
+ * loaded into the same process.
71
77
  */
72
78
  static isInstance(obj) {
73
79
  return utils.isInstance(obj, "__pulumResourceError");
package/errors.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../errors.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEA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,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;AAEjC,oDAAsC;AAGtC,+CAAiC;AAEjC;;;;;;GAMG;AACH,MAAa,QAAS,SAAQ,KAAK;IAAnC;;QACI;;;;WAIG;QACH,2GAA2G;QAC3F,qBAAgB,GAAY,IAAI,CAAC;IAUrD,CAAC;IARG;;;;OAIG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,OAAO,KAAK,CAAC,UAAU,CAAW,GAAG,EAAE,kBAAkB,CAAC,CAAC;IAC/D,CAAC;CACJ;AAjBD,4BAiBC;AAED;;;;;;GAMG;AACH,MAAa,aAAc,SAAQ,KAAK;IAkBpC,YACI,OAAe,EACR,QAA8B,EAC9B,SAAmB;QAE1B,KAAK,CAAC,OAAO,CAAC,CAAC;QAHR,aAAQ,GAAR,QAAQ,CAAsB;QAC9B,cAAS,GAAT,SAAS,CAAU;QApB9B;;;;WAIG;QACH,8GAA8G;QAC9F,yBAAoB,GAAY,IAAI,CAAC;IAiBrD,CAAC;IAfD;;;;OAIG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,OAAO,KAAK,CAAC,UAAU,CAAgB,GAAG,EAAE,sBAAsB,CAAC,CAAC;IACxE,CAAC;CASJ;AAzBD,sCAyBC;AAED,SAAgB,WAAW,CAAC,GAAU;IAClC,MAAM,IAAI,GAAS,GAAI,CAAC,IAAI,CAAC;IAC7B,OAAO,IAAI,KAAK,IAAI,CAAC,MAAM,CAAC,WAAW,IAAI,IAAI,KAAK,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC;AAC9E,CAAC;AAHD,kCAGC"}
package/invoke.d.ts CHANGED
@@ -1,4 +1,8 @@
1
1
  import { ProviderResource, Resource } from "./resource";
2
+ /**
3
+ * {@link InvokeOptions} is a bag of options that control the behavior of a call
4
+ * to `runtime.invoke`.
5
+ */
2
6
  export interface InvokeOptions {
3
7
  /**
4
8
  * An optional parent to use for default options for this invoke (e.g. the default provider to use).
@@ -10,8 +14,8 @@ export interface InvokeOptions {
10
14
  */
11
15
  provider?: ProviderResource;
12
16
  /**
13
- * An optional version, corresponding to the version of the provider plugin that should be used when performing this
14
- * invoke.
17
+ * An optional version, corresponding to the version of the provider plugin
18
+ * that should be used when performing this invoke.
15
19
  */
16
20
  version?: string;
17
21
  /**
@@ -1,7 +1,8 @@
1
1
  import { Input, Output } from "../output";
2
2
  /**
3
- * toObject takes an array of T values, and a selector that produces key/value pairs from those inputs,
4
- * and converts this array into an output object with those keys and values.
3
+ * {@link toObject} takes an array of T values, and a selector that produces
4
+ * key/value pairs from those inputs, and converts this array into an output
5
+ * object with those keys and values.
5
6
  *
6
7
  * For instance, given an array as follows
7
8
  *
@@ -16,9 +17,10 @@ export declare function toObject<T, V>(iter: Input<Input<T>[]>, selector: (t: T)
16
17
  [key: string]: V;
17
18
  }>;
18
19
  /**
19
- * groupBy takes an array of T values, and a selector that prduces key/value pairs from those inputs,
20
- * and converts this array into an output object, with those keys, and where each property is an array of values,
21
- * in the case that the same key shows up multiple times in the input.
20
+ * {@link groupBy} takes an array of T values, and a selector that prduces
21
+ * key/value pairs from those inputs, and converts this array into an output
22
+ * object, with those keys, and where each property is an array of values, in
23
+ * the case that the same key shows up multiple times in the input.
22
24
  *
23
25
  * For instance, given an array as follows
24
26
  *
package/iterable/index.js CHANGED
@@ -15,8 +15,9 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  const output_1 = require("../output");
17
17
  /**
18
- * toObject takes an array of T values, and a selector that produces key/value pairs from those inputs,
19
- * and converts this array into an output object with those keys and values.
18
+ * {@link toObject} takes an array of T values, and a selector that produces
19
+ * key/value pairs from those inputs, and converts this array into an output
20
+ * object with those keys and values.
20
21
  *
21
22
  * For instance, given an array as follows
22
23
  *
@@ -44,9 +45,10 @@ function toObject(iter, selector) {
44
45
  }
45
46
  exports.toObject = toObject;
46
47
  /**
47
- * groupBy takes an array of T values, and a selector that prduces key/value pairs from those inputs,
48
- * and converts this array into an output object, with those keys, and where each property is an array of values,
49
- * in the case that the same key shows up multiple times in the input.
48
+ * {@link groupBy} takes an array of T values, and a selector that prduces
49
+ * key/value pairs from those inputs, and converts this array into an output
50
+ * object, with those keys, and where each property is an array of values, in
51
+ * the case that the same key shows up multiple times in the input.
50
52
  *
51
53
  * For instance, given an array as follows
52
54
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../iterable/index.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,sCAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CACpB,IAAuB,EACvB,QAAoD;IAEpD,OAAO,eAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;QACvC,MAAM,KAAK,GAAuC,EAAE,CAAC;QACrD,KAAK,MAAM,CAAC,IAAI,KAAK,EAAE;YACnB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAM,CAAC,CAAC,CAAC,CAAC;SAChC;QACD,OAAO,eAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE;YACvC,MAAM,GAAG,GAAyB,EAAE,CAAC;YACrC,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;gBACpB,GAAG,CAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAQ,GAAG,CAAC,CAAC,CAAC,CAAC;aAClC;YACD,OAAO,GAAG,CAAC;QACf,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC;AAjBD,4B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,CAAC,GAAG,CAAC,CAAC;iBACxB;gBACD,CAAC,CAAC,IAAI,CAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;aACvB;YACD,OAAO,GAAG,CAAC;QACf,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC;AAtBD,0BAsBC"}
package/log/index.d.ts CHANGED
@@ -1,21 +1,24 @@
1
1
  import * as resourceTypes from "../resource";
2
2
  /**
3
- * hasErrors returns true if any errors have occurred in the program.
3
+ * Returns true if any errors have occurred in the program.
4
4
  */
5
5
  export declare function hasErrors(): boolean;
6
6
  /**
7
- * debug logs a debug-level message that is generally hidden from end-users.
7
+ * Logs a debug-level message that is generally hidden from end-users.
8
8
  */
9
9
  export declare function debug(msg: string, resource?: resourceTypes.Resource, streamId?: number, ephemeral?: boolean): Promise<void>;
10
10
  /**
11
- * info logs an informational message that is generally printed to stdout during resource operations.
11
+ * Logs an informational message that is generally printed to standard output
12
+ * during resource operations.
12
13
  */
13
14
  export declare function info(msg: string, resource?: resourceTypes.Resource, streamId?: number, ephemeral?: boolean): Promise<void>;
14
15
  /**
15
- * warn logs a warning to indicate that something went wrong, but not catastrophically so.
16
+ * Logs a warning to indicate that something went wrong, but not
17
+ * catastrophically so.
16
18
  */
17
19
  export declare function warn(msg: string, resource?: resourceTypes.Resource, streamId?: number, ephemeral?: boolean): Promise<void>;
18
20
  /**
19
- * error logs a fatal condition. Consider raising an exception after calling error to stop the Pulumi program.
21
+ * Logs a fatal condition. Consider raising an exception after calling error to
22
+ * stop the Pulumi program.
20
23
  */
21
24
  export declare function error(msg: string, resource?: resourceTypes.Resource, streamId?: number, ephemeral?: boolean): Promise<void>;
package/log/index.js CHANGED
@@ -31,14 +31,14 @@ const messageLevels = {
31
31
  [engproto.LogSeverity.ERROR]: "error",
32
32
  };
33
33
  /**
34
- * hasErrors returns true if any errors have occurred in the program.
34
+ * Returns true if any errors have occurred in the program.
35
35
  */
36
36
  function hasErrors() {
37
37
  return state_1.getStore().logErrorCount > 0;
38
38
  }
39
39
  exports.hasErrors = hasErrors;
40
40
  /**
41
- * debug logs a debug-level message that is generally hidden from end-users.
41
+ * Logs a debug-level message that is generally hidden from end-users.
42
42
  */
43
43
  function debug(msg, resource, streamId, ephemeral) {
44
44
  const engine = settings_1.getEngine();
@@ -51,7 +51,8 @@ function debug(msg, resource, streamId, ephemeral) {
51
51
  }
52
52
  exports.debug = debug;
53
53
  /**
54
- * info logs an informational message that is generally printed to stdout during resource operations.
54
+ * Logs an informational message that is generally printed to standard output
55
+ * during resource operations.
55
56
  */
56
57
  function info(msg, resource, streamId, ephemeral) {
57
58
  const engine = settings_1.getEngine();
@@ -65,7 +66,8 @@ function info(msg, resource, streamId, ephemeral) {
65
66
  }
66
67
  exports.info = info;
67
68
  /**
68
- * warn logs a warning to indicate that something went wrong, but not catastrophically so.
69
+ * Logs a warning to indicate that something went wrong, but not
70
+ * catastrophically so.
69
71
  */
70
72
  function warn(msg, resource, streamId, ephemeral) {
71
73
  const engine = settings_1.getEngine();
@@ -79,7 +81,8 @@ function warn(msg, resource, streamId, ephemeral) {
79
81
  }
80
82
  exports.warn = warn;
81
83
  /**
82
- * error logs a fatal condition. Consider raising an exception after calling error to stop the Pulumi program.
84
+ * Logs a fatal condition. Consider raising an exception after calling error to
85
+ * stop the Pulumi program.
83
86
  */
84
87
  function error(msg, resource, streamId, ephemeral) {
85
88
  state_1.getStore().logErrorCount++; // remember the error so we can suppress leaks.
package/log/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../log/index.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;AAKjC,6DAA+C;AAE/C,kDAA8D;AAC9D,4CAA4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CAAwC;QACxC,IAAI,GAAG,KAAK,QAAQ,CAAC,WAAW,CAAC,KAAK,EAAE;YACpC,wEAAwE;YACxE,OAAO,CAAC,KAAK,CACT,2CAA2C,GAAG,wBAAwB,GAAG,wBAAwB,aAAa,CAAC,GAAG,CAAC,EAAE,CACxH,CAAC;SACL;QACD,6FAA6F;QAC7F,SAAS,EAAE,CAAC;IAChB,CAAC,CAAC,CAAC;AACP,CAAC"}
package/metadata.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  /**
2
- * getOrganization returns the current organization name.
2
+ * Returns the current organization name.
3
3
  */
4
4
  export declare function getOrganization(): string;
5
5
  /**
6
- * getProject returns the current project name. It throws an exception if none is registered.
6
+ * Returns the current project name. Throws an exception if none is registered.
7
7
  */
8
8
  export declare function getProject(): string;
9
9
  /**
10
- * getStack returns the current stack name. It throws an exception if none is registered.
10
+ * Returns the current stack name. Throws an exception if none is registered.
11
11
  */
12
12
  export declare function getStack(): string;
package/metadata.js CHANGED
@@ -23,21 +23,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
23
23
  // This file exports metadata about the context in which a program is being run.
24
24
  const settings = __importStar(require("./runtime/settings"));
25
25
  /**
26
- * getOrganization returns the current organization name.
26
+ * Returns the current organization name.
27
27
  */
28
28
  function getOrganization() {
29
29
  return settings.getOrganization();
30
30
  }
31
31
  exports.getOrganization = getOrganization;
32
32
  /**
33
- * getProject returns the current project name. It throws an exception if none is registered.
33
+ * Returns the current project name. Throws an exception if none is registered.
34
34
  */
35
35
  function getProject() {
36
36
  return settings.getProject();
37
37
  }
38
38
  exports.getProject = getProject;
39
39
  /**
40
- * getStack returns the current stack name. It throws an exception if none is registered.
40
+ * Returns the current stack name. Throws an exception if none is registered.
41
41
  */
42
42
  function getStack() {
43
43
  return settings.getStack();