@pulumi/std 1.7.3 → 2.2.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 (295) hide show
  1. package/abs.d.ts +1 -1
  2. package/abs.js +4 -1
  3. package/abs.js.map +1 -1
  4. package/abspath.d.ts +1 -1
  5. package/abspath.js +4 -1
  6. package/abspath.js.map +1 -1
  7. package/alltrue.d.ts +1 -1
  8. package/alltrue.js +4 -1
  9. package/alltrue.js.map +1 -1
  10. package/anytrue.d.ts +1 -1
  11. package/anytrue.js +4 -1
  12. package/anytrue.js.map +1 -1
  13. package/base64decode.d.ts +1 -1
  14. package/base64decode.js +4 -1
  15. package/base64decode.js.map +1 -1
  16. package/base64encode.d.ts +1 -1
  17. package/base64encode.js +4 -1
  18. package/base64encode.js.map +1 -1
  19. package/base64gzip.d.ts +1 -1
  20. package/base64gzip.js +4 -1
  21. package/base64gzip.js.map +1 -1
  22. package/base64sha256.d.ts +1 -1
  23. package/base64sha256.js +4 -1
  24. package/base64sha256.js.map +1 -1
  25. package/base64sha512.d.ts +1 -1
  26. package/base64sha512.js +4 -1
  27. package/base64sha512.js.map +1 -1
  28. package/basename.d.ts +1 -1
  29. package/basename.js +4 -1
  30. package/basename.js.map +1 -1
  31. package/bcrypt.d.ts +1 -1
  32. package/bcrypt.js +5 -1
  33. package/bcrypt.js.map +1 -1
  34. package/ceil.d.ts +1 -1
  35. package/ceil.js +4 -1
  36. package/ceil.js.map +1 -1
  37. package/chomp.d.ts +1 -1
  38. package/chomp.js +4 -1
  39. package/chomp.js.map +1 -1
  40. package/chunklist.d.ts +1 -1
  41. package/chunklist.js +5 -1
  42. package/chunklist.js.map +1 -1
  43. package/cidrhost.d.ts +1 -1
  44. package/cidrhost.js +5 -1
  45. package/cidrhost.js.map +1 -1
  46. package/cidrnetmask.d.ts +1 -1
  47. package/cidrnetmask.js +4 -1
  48. package/cidrnetmask.js.map +1 -1
  49. package/cidrsubnet.d.ts +1 -1
  50. package/cidrsubnet.js +6 -1
  51. package/cidrsubnet.js.map +1 -1
  52. package/cidrsubnets.d.ts +20 -0
  53. package/cidrsubnets.js +30 -0
  54. package/cidrsubnets.js.map +1 -0
  55. package/coalesce.d.ts +6 -6
  56. package/coalesce.js +6 -3
  57. package/coalesce.js.map +1 -1
  58. package/coalescelist.d.ts +1 -1
  59. package/coalescelist.js +4 -1
  60. package/coalescelist.js.map +1 -1
  61. package/compact.d.ts +5 -5
  62. package/compact.js +6 -3
  63. package/compact.js.map +1 -1
  64. package/concat.d.ts +1 -1
  65. package/concat.js +4 -1
  66. package/concat.js.map +1 -1
  67. package/contains.d.ts +1 -1
  68. package/contains.js +5 -1
  69. package/contains.js.map +1 -1
  70. package/csvdecode.d.ts +1 -1
  71. package/csvdecode.js +4 -1
  72. package/csvdecode.js.map +1 -1
  73. package/dirname.d.ts +1 -1
  74. package/dirname.js +4 -1
  75. package/dirname.js.map +1 -1
  76. package/distinct.d.ts +1 -1
  77. package/distinct.js +4 -1
  78. package/distinct.js.map +1 -1
  79. package/element.d.ts +1 -1
  80. package/element.js +5 -1
  81. package/element.js.map +1 -1
  82. package/endswith.d.ts +1 -1
  83. package/endswith.js +5 -1
  84. package/endswith.js.map +1 -1
  85. package/file.d.ts +1 -1
  86. package/file.js +4 -1
  87. package/file.js.map +1 -1
  88. package/filebase64.d.ts +1 -1
  89. package/filebase64.js +4 -1
  90. package/filebase64.js.map +1 -1
  91. package/filebase64sha256.d.ts +1 -1
  92. package/filebase64sha256.js +4 -1
  93. package/filebase64sha256.js.map +1 -1
  94. package/filebase64sha512.d.ts +1 -1
  95. package/filebase64sha512.js +4 -1
  96. package/filebase64sha512.js.map +1 -1
  97. package/fileexists.d.ts +1 -1
  98. package/fileexists.js +4 -1
  99. package/fileexists.js.map +1 -1
  100. package/filemd5.d.ts +1 -1
  101. package/filemd5.js +4 -1
  102. package/filemd5.js.map +1 -1
  103. package/filesha1.d.ts +1 -1
  104. package/filesha1.js +4 -1
  105. package/filesha1.js.map +1 -1
  106. package/filesha256.d.ts +1 -1
  107. package/filesha256.js +4 -1
  108. package/filesha256.js.map +1 -1
  109. package/filesha512.d.ts +1 -1
  110. package/filesha512.js +4 -1
  111. package/filesha512.js.map +1 -1
  112. package/flatten.d.ts +1 -1
  113. package/flatten.js +4 -1
  114. package/flatten.js.map +1 -1
  115. package/floor.d.ts +1 -1
  116. package/floor.js +4 -1
  117. package/floor.js.map +1 -1
  118. package/format.d.ts +1 -1
  119. package/format.js +5 -1
  120. package/format.js.map +1 -1
  121. package/formatlist.d.ts +20 -0
  122. package/formatlist.js +30 -0
  123. package/formatlist.js.map +1 -0
  124. package/indent.d.ts +1 -1
  125. package/indent.js +5 -1
  126. package/indent.js.map +1 -1
  127. package/index.d.ts +15 -0
  128. package/index.js +19 -4
  129. package/index.js.map +1 -1
  130. package/index_.d.ts +1 -1
  131. package/index_.js +5 -1
  132. package/index_.js.map +1 -1
  133. package/join.d.ts +1 -1
  134. package/join.js +5 -1
  135. package/join.js.map +1 -1
  136. package/jsondecode.d.ts +1 -1
  137. package/jsondecode.js +4 -1
  138. package/jsondecode.js.map +1 -1
  139. package/jsonencode.d.ts +1 -1
  140. package/jsonencode.js +4 -1
  141. package/jsonencode.js.map +1 -1
  142. package/keys.d.ts +1 -1
  143. package/keys.js +4 -1
  144. package/keys.js.map +1 -1
  145. package/length.d.ts +1 -1
  146. package/length.js +4 -1
  147. package/length.js.map +1 -1
  148. package/log.d.ts +1 -1
  149. package/log.js +5 -1
  150. package/log.js.map +1 -1
  151. package/lookup.d.ts +1 -1
  152. package/lookup.js +6 -1
  153. package/lookup.js.map +1 -1
  154. package/lower.d.ts +1 -1
  155. package/lower.js +4 -1
  156. package/lower.js.map +1 -1
  157. package/map.d.ts +1 -1
  158. package/map.js +4 -1
  159. package/map.js.map +1 -1
  160. package/matchkeys.d.ts +1 -1
  161. package/matchkeys.js +5 -1
  162. package/matchkeys.js.map +1 -1
  163. package/max.d.ts +1 -1
  164. package/max.js +4 -1
  165. package/max.js.map +1 -1
  166. package/md5.d.ts +1 -1
  167. package/md5.js +4 -1
  168. package/md5.js.map +1 -1
  169. package/merge.d.ts +1 -1
  170. package/merge.js +4 -1
  171. package/merge.js.map +1 -1
  172. package/min.d.ts +1 -1
  173. package/min.js +4 -1
  174. package/min.js.map +1 -1
  175. package/package.json +2 -2
  176. package/parseint.d.ts +1 -1
  177. package/parseint.js +5 -1
  178. package/parseint.js.map +1 -1
  179. package/pathexpand.d.ts +1 -1
  180. package/pathexpand.js +4 -1
  181. package/pathexpand.js.map +1 -1
  182. package/pow.d.ts +1 -1
  183. package/pow.js +5 -1
  184. package/pow.js.map +1 -1
  185. package/range.d.ts +1 -1
  186. package/range.js +6 -1
  187. package/range.js.map +1 -1
  188. package/regex.d.ts +20 -0
  189. package/regex.js +30 -0
  190. package/regex.js.map +1 -0
  191. package/regexall.d.ts +20 -0
  192. package/regexall.js +30 -0
  193. package/regexall.js.map +1 -0
  194. package/replace.d.ts +1 -1
  195. package/replace.js +6 -1
  196. package/replace.js.map +1 -1
  197. package/reverse.d.ts +1 -1
  198. package/reverse.js +4 -1
  199. package/reverse.js.map +1 -1
  200. package/rsadecrypt.d.ts +1 -1
  201. package/rsadecrypt.js +5 -1
  202. package/rsadecrypt.js.map +1 -1
  203. package/setintersection.d.ts +18 -0
  204. package/setintersection.js +28 -0
  205. package/setintersection.js.map +1 -0
  206. package/sha1.d.ts +1 -1
  207. package/sha1.js +4 -1
  208. package/sha1.js.map +1 -1
  209. package/sha256.d.ts +1 -1
  210. package/sha256.js +4 -1
  211. package/sha256.js.map +1 -1
  212. package/sha512.d.ts +1 -1
  213. package/sha512.js +4 -1
  214. package/sha512.js.map +1 -1
  215. package/signum.d.ts +1 -1
  216. package/signum.js +4 -1
  217. package/signum.js.map +1 -1
  218. package/slice.d.ts +1 -1
  219. package/slice.js +6 -1
  220. package/slice.js.map +1 -1
  221. package/sort.d.ts +1 -1
  222. package/sort.js +4 -1
  223. package/sort.js.map +1 -1
  224. package/split.d.ts +1 -1
  225. package/split.js +5 -1
  226. package/split.js.map +1 -1
  227. package/startswith.d.ts +1 -1
  228. package/startswith.js +5 -1
  229. package/startswith.js.map +1 -1
  230. package/strrev.d.ts +1 -1
  231. package/strrev.js +4 -1
  232. package/strrev.js.map +1 -1
  233. package/substr.d.ts +1 -1
  234. package/substr.js +6 -1
  235. package/substr.js.map +1 -1
  236. package/sum.d.ts +1 -1
  237. package/sum.js +4 -1
  238. package/sum.js.map +1 -1
  239. package/timeadd.d.ts +1 -1
  240. package/timeadd.js +5 -1
  241. package/timeadd.js.map +1 -1
  242. package/timecmp.d.ts +1 -1
  243. package/timecmp.js +5 -1
  244. package/timecmp.js.map +1 -1
  245. package/timestamp.d.ts +1 -1
  246. package/timestamp.js +2 -1
  247. package/timestamp.js.map +1 -1
  248. package/title.d.ts +1 -1
  249. package/title.js +4 -1
  250. package/title.js.map +1 -1
  251. package/tobool.d.ts +1 -1
  252. package/tobool.js +4 -1
  253. package/tobool.js.map +1 -1
  254. package/tolist.d.ts +1 -1
  255. package/tolist.js +4 -1
  256. package/tolist.js.map +1 -1
  257. package/tonumber.d.ts +1 -1
  258. package/tonumber.js +4 -1
  259. package/tonumber.js.map +1 -1
  260. package/toset.d.ts +1 -1
  261. package/toset.js +4 -1
  262. package/toset.js.map +1 -1
  263. package/tostring.d.ts +1 -1
  264. package/tostring.js +4 -1
  265. package/tostring.js.map +1 -1
  266. package/transpose.d.ts +1 -1
  267. package/transpose.js +4 -1
  268. package/transpose.js.map +1 -1
  269. package/trim.d.ts +1 -1
  270. package/trim.js +5 -1
  271. package/trim.js.map +1 -1
  272. package/trimprefix.d.ts +1 -1
  273. package/trimprefix.js +5 -1
  274. package/trimprefix.js.map +1 -1
  275. package/trimspace.d.ts +1 -1
  276. package/trimspace.js +4 -1
  277. package/trimspace.js.map +1 -1
  278. package/trimsuffix.d.ts +1 -1
  279. package/trimsuffix.js +5 -1
  280. package/trimsuffix.js.map +1 -1
  281. package/upper.d.ts +1 -1
  282. package/upper.js +4 -1
  283. package/upper.js.map +1 -1
  284. package/urlencode.d.ts +1 -1
  285. package/urlencode.js +4 -1
  286. package/urlencode.js.map +1 -1
  287. package/uuid.d.ts +1 -1
  288. package/uuid.js +2 -1
  289. package/uuid.js.map +1 -1
  290. package/values.d.ts +1 -1
  291. package/values.js +4 -1
  292. package/values.js.map +1 -1
  293. package/zipmap.d.ts +1 -1
  294. package/zipmap.js +5 -1
  295. package/zipmap.js.map +1 -1
package/length.d.ts CHANGED
@@ -12,7 +12,7 @@ export interface LengthResult {
12
12
  /**
13
13
  * Determines the length of a given list, map, or string.
14
14
  */
15
- export declare function lengthOutput(args: LengthOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<LengthResult>;
15
+ export declare function lengthOutput(args: LengthOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<LengthResult>;
16
16
  export interface LengthOutputArgs {
17
17
  input: any;
18
18
  }
package/length.js CHANGED
@@ -19,7 +19,10 @@ exports.length = length;
19
19
  * Determines the length of a given list, map, or string.
20
20
  */
21
21
  function lengthOutput(args, opts) {
22
- return pulumi.output(args).apply((a) => length(a, opts));
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("std:index:length", {
24
+ "input": args.input,
25
+ }, opts);
23
26
  }
24
27
  exports.lengthOutput = lengthOutput;
25
28
  //# sourceMappingURL=length.js.map
package/length.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"length.js","sourceRoot":"","sources":["../length.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAEhE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kBAAkB,EAAE;QAC7C,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wBAMC;AASD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oCAEC"}
1
+ {"version":3,"file":"length.js","sourceRoot":"","sources":["../length.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kBAAkB,EAAE;QAC7C,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wBAKC;AASD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kBAAkB,EAAE;QACnD,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC"}
package/log.d.ts CHANGED
@@ -13,7 +13,7 @@ export interface LogResult {
13
13
  /**
14
14
  * Returns the greatest integer value less than or equal to the argument.
15
15
  */
16
- export declare function logOutput(args: LogOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<LogResult>;
16
+ export declare function logOutput(args: LogOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<LogResult>;
17
17
  export interface LogOutputArgs {
18
18
  base: pulumi.Input<number>;
19
19
  input: pulumi.Input<number>;
package/log.js CHANGED
@@ -20,7 +20,11 @@ exports.log = log;
20
20
  * Returns the greatest integer value less than or equal to the argument.
21
21
  */
22
22
  function logOutput(args, opts) {
23
- return pulumi.output(args).apply((a) => log(a, opts));
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invokeOutput("std:index:log", {
25
+ "base": args.base,
26
+ "input": args.input,
27
+ }, opts);
24
28
  }
25
29
  exports.logOutput = logOutput;
26
30
  //# sourceMappingURL=log.js.map
package/log.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"log.js","sourceRoot":"","sources":["../log.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAE1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE;QAC1C,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kBAOC;AAUD;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,8BAEC"}
1
+ {"version":3,"file":"log.js","sourceRoot":"","sources":["../log.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE;QAC1C,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kBAMC;AAUD;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAAiC;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,eAAe,EAAE;QAChD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC"}
package/lookup.d.ts CHANGED
@@ -16,7 +16,7 @@ export interface LookupResult {
16
16
  /**
17
17
  * Performs a dynamic lookup into a map variable.
18
18
  */
19
- export declare function lookupOutput(args: LookupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<LookupResult>;
19
+ export declare function lookupOutput(args: LookupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<LookupResult>;
20
20
  export interface LookupOutputArgs {
21
21
  default?: any;
22
22
  key: pulumi.Input<string>;
package/lookup.js CHANGED
@@ -21,7 +21,12 @@ exports.lookup = lookup;
21
21
  * Performs a dynamic lookup into a map variable.
22
22
  */
23
23
  function lookupOutput(args, opts) {
24
- return pulumi.output(args).apply((a) => lookup(a, opts));
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
25
+ return pulumi.runtime.invokeOutput("std:index:lookup", {
26
+ "default": args.default,
27
+ "key": args.key,
28
+ "map": args.map,
29
+ }, opts);
25
30
  }
26
31
  exports.lookupOutput = lookupOutput;
27
32
  //# sourceMappingURL=lookup.js.map
package/lookup.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"lookup.js","sourceRoot":"","sources":["../lookup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAEhE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kBAAkB,EAAE;QAC7C,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wBAQC;AAWD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oCAEC"}
1
+ {"version":3,"file":"lookup.js","sourceRoot":"","sources":["../lookup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kBAAkB,EAAE;QAC7C,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wBAOC;AAWD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kBAAkB,EAAE;QACnD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oCAOC"}
package/lower.d.ts CHANGED
@@ -12,7 +12,7 @@ export interface LowerResult {
12
12
  /**
13
13
  * Returns a copy of the string with all Unicode letters mapped to their lower case.
14
14
  */
15
- export declare function lowerOutput(args: LowerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<LowerResult>;
15
+ export declare function lowerOutput(args: LowerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<LowerResult>;
16
16
  export interface LowerOutputArgs {
17
17
  input: pulumi.Input<string>;
18
18
  }
package/lower.js CHANGED
@@ -19,7 +19,10 @@ exports.lower = lower;
19
19
  * Returns a copy of the string with all Unicode letters mapped to their lower case.
20
20
  */
21
21
  function lowerOutput(args, opts) {
22
- return pulumi.output(args).apply((a) => lower(a, opts));
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("std:index:lower", {
24
+ "input": args.input,
25
+ }, opts);
23
26
  }
24
27
  exports.lowerOutput = lowerOutput;
25
28
  //# sourceMappingURL=lower.js.map
package/lower.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"lower.js","sourceRoot":"","sources":["../lower.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,KAAK,CAAC,IAAe,EAAE,IAA2B;IAE9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iBAAiB,EAAE;QAC5C,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sBAMC;AASD;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,kCAEC"}
1
+ {"version":3,"file":"lower.js","sourceRoot":"","sources":["../lower.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,KAAK,CAAC,IAAe,EAAE,IAA2B;IAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iBAAiB,EAAE;QAC5C,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sBAKC;AASD;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAAiC;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iBAAiB,EAAE;QAClD,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC"}
package/map.d.ts CHANGED
@@ -14,7 +14,7 @@ export interface MapResult {
14
14
  /**
15
15
  * Returns a map consisting of the key/value pairs specified as arguments.
16
16
  */
17
- export declare function mapOutput(args: MapOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<MapResult>;
17
+ export declare function mapOutput(args: MapOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<MapResult>;
18
18
  export interface MapOutputArgs {
19
19
  args: pulumi.Input<any[]>;
20
20
  }
package/map.js CHANGED
@@ -19,7 +19,10 @@ exports.map = map;
19
19
  * Returns a map consisting of the key/value pairs specified as arguments.
20
20
  */
21
21
  function mapOutput(args, opts) {
22
- return pulumi.output(args).apply((a) => map(a, opts));
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("std:index:map", {
24
+ "args": args.args,
25
+ }, opts);
23
26
  }
24
27
  exports.mapOutput = mapOutput;
25
28
  //# sourceMappingURL=map.js.map
package/map.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"map.js","sourceRoot":"","sources":["../map.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAE1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE;QAC1C,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kBAMC;AASD;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,8BAEC"}
1
+ {"version":3,"file":"map.js","sourceRoot":"","sources":["../map.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE;QAC1C,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kBAKC;AASD;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAAiC;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,eAAe,EAAE;QAChD,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC"}
package/matchkeys.d.ts CHANGED
@@ -15,7 +15,7 @@ export interface MatchkeysResult {
15
15
  * For two lists values and keys of equal length,
16
16
  * returns all elements from values where the corresponding element from keys exists in the searchset list.
17
17
  */
18
- export declare function matchkeysOutput(args: MatchkeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<MatchkeysResult>;
18
+ export declare function matchkeysOutput(args: MatchkeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<MatchkeysResult>;
19
19
  export interface MatchkeysOutputArgs {
20
20
  searchList: pulumi.Input<pulumi.Input<string>[]>;
21
21
  values: pulumi.Input<pulumi.Input<string>[]>;
package/matchkeys.js CHANGED
@@ -22,7 +22,11 @@ exports.matchkeys = matchkeys;
22
22
  * returns all elements from values where the corresponding element from keys exists in the searchset list.
23
23
  */
24
24
  function matchkeysOutput(args, opts) {
25
- return pulumi.output(args).apply((a) => matchkeys(a, opts));
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invokeOutput("std:index:matchkeys", {
27
+ "searchList": args.searchList,
28
+ "values": args.values,
29
+ }, opts);
26
30
  }
27
31
  exports.matchkeysOutput = matchkeysOutput;
28
32
  //# sourceMappingURL=matchkeys.js.map
package/matchkeys.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"matchkeys.js","sourceRoot":"","sources":["../matchkeys.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;GAGG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE;QAChD,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AAUD;;;GAGG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"matchkeys.js","sourceRoot":"","sources":["../matchkeys.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;GAGG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE;QAChD,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC;AAUD;;;GAGG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qBAAqB,EAAE;QACtD,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC"}
package/max.d.ts CHANGED
@@ -12,7 +12,7 @@ export interface MaxResult {
12
12
  /**
13
13
  * Returns the largest of the floats.
14
14
  */
15
- export declare function maxOutput(args: MaxOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<MaxResult>;
15
+ export declare function maxOutput(args: MaxOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<MaxResult>;
16
16
  export interface MaxOutputArgs {
17
17
  input: pulumi.Input<pulumi.Input<number>[]>;
18
18
  }
package/max.js CHANGED
@@ -19,7 +19,10 @@ exports.max = max;
19
19
  * Returns the largest of the floats.
20
20
  */
21
21
  function maxOutput(args, opts) {
22
- return pulumi.output(args).apply((a) => max(a, opts));
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("std:index:max", {
24
+ "input": args.input,
25
+ }, opts);
23
26
  }
24
27
  exports.maxOutput = maxOutput;
25
28
  //# sourceMappingURL=max.js.map
package/max.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"max.js","sourceRoot":"","sources":["../max.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAE1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE;QAC1C,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kBAMC;AASD;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,8BAEC"}
1
+ {"version":3,"file":"max.js","sourceRoot":"","sources":["../max.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE;QAC1C,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kBAKC;AASD;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAAiC;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,eAAe,EAAE;QAChD,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC"}
package/md5.d.ts CHANGED
@@ -12,7 +12,7 @@ export interface Md5Result {
12
12
  /**
13
13
  * Returns a (conventional) hexadecimal representation of the MD5 hash of the given string.
14
14
  */
15
- export declare function md5Output(args: Md5OutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<Md5Result>;
15
+ export declare function md5Output(args: Md5OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<Md5Result>;
16
16
  export interface Md5OutputArgs {
17
17
  input: pulumi.Input<string>;
18
18
  }
package/md5.js CHANGED
@@ -19,7 +19,10 @@ exports.md5 = md5;
19
19
  * Returns a (conventional) hexadecimal representation of the MD5 hash of the given string.
20
20
  */
21
21
  function md5Output(args, opts) {
22
- return pulumi.output(args).apply((a) => md5(a, opts));
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("std:index:md5", {
24
+ "input": args.input,
25
+ }, opts);
23
26
  }
24
27
  exports.md5Output = md5Output;
25
28
  //# sourceMappingURL=md5.js.map
package/md5.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"md5.js","sourceRoot":"","sources":["../md5.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAE1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE;QAC1C,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kBAMC;AASD;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,8BAEC"}
1
+ {"version":3,"file":"md5.js","sourceRoot":"","sources":["../md5.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE;QAC1C,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kBAKC;AASD;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAAiC;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,eAAe,EAAE;QAChD,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC"}
package/merge.d.ts CHANGED
@@ -18,7 +18,7 @@ export interface MergeResult {
18
18
  * Returns the union of 2 or more maps. The maps are consumed in the order provided,
19
19
  * and duplicate keys overwrite previous entries.
20
20
  */
21
- export declare function mergeOutput(args: MergeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<MergeResult>;
21
+ export declare function mergeOutput(args: MergeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<MergeResult>;
22
22
  export interface MergeOutputArgs {
23
23
  input: pulumi.Input<pulumi.Input<{
24
24
  [key: string]: any;
package/merge.js CHANGED
@@ -21,7 +21,10 @@ exports.merge = merge;
21
21
  * and duplicate keys overwrite previous entries.
22
22
  */
23
23
  function mergeOutput(args, opts) {
24
- return pulumi.output(args).apply((a) => merge(a, opts));
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
25
+ return pulumi.runtime.invokeOutput("std:index:merge", {
26
+ "input": args.input,
27
+ }, opts);
25
28
  }
26
29
  exports.mergeOutput = mergeOutput;
27
30
  //# sourceMappingURL=merge.js.map
package/merge.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"merge.js","sourceRoot":"","sources":["../merge.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;GAGG;AACH,SAAgB,KAAK,CAAC,IAAe,EAAE,IAA2B;IAE9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iBAAiB,EAAE;QAC5C,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sBAMC;AASD;;;GAGG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,kCAEC"}
1
+ {"version":3,"file":"merge.js","sourceRoot":"","sources":["../merge.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;GAGG;AACH,SAAgB,KAAK,CAAC,IAAe,EAAE,IAA2B;IAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iBAAiB,EAAE;QAC5C,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sBAKC;AASD;;;GAGG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAAiC;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iBAAiB,EAAE;QAClD,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC"}
package/min.d.ts CHANGED
@@ -12,7 +12,7 @@ export interface MinResult {
12
12
  /**
13
13
  * Returns the smallest of the floats.
14
14
  */
15
- export declare function minOutput(args: MinOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<MinResult>;
15
+ export declare function minOutput(args: MinOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<MinResult>;
16
16
  export interface MinOutputArgs {
17
17
  input: pulumi.Input<pulumi.Input<number>[]>;
18
18
  }
package/min.js CHANGED
@@ -19,7 +19,10 @@ exports.min = min;
19
19
  * Returns the smallest of the floats.
20
20
  */
21
21
  function minOutput(args, opts) {
22
- return pulumi.output(args).apply((a) => min(a, opts));
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("std:index:min", {
24
+ "input": args.input,
25
+ }, opts);
23
26
  }
24
27
  exports.minOutput = minOutput;
25
28
  //# sourceMappingURL=min.js.map
package/min.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"min.js","sourceRoot":"","sources":["../min.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAE1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE;QAC1C,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kBAMC;AASD;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,8BAEC"}
1
+ {"version":3,"file":"min.js","sourceRoot":"","sources":["../min.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE;QAC1C,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kBAKC;AASD;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAAiC;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,eAAe,EAAE;QAChD,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@pulumi/std",
3
- "version": "1.7.3",
3
+ "version": "2.2.0",
4
4
  "homepage": "https://github.com/pulumi/pulumi-std",
5
5
  "repository": "https://github.com/pulumi/pulumi-std",
6
6
  "scripts": {
7
7
  "build": "tsc"
8
8
  },
9
9
  "dependencies": {
10
- "@pulumi/pulumi": "^3.0.0"
10
+ "@pulumi/pulumi": "^3.142.0"
11
11
  },
12
12
  "devDependencies": {
13
13
  "@types/node": "^14",
package/parseint.d.ts CHANGED
@@ -17,7 +17,7 @@ export interface ParseintResult {
17
17
  * and returns the resulting number. The base must be between 2 and 62 inclusive.
18
18
  * .
19
19
  */
20
- export declare function parseintOutput(args: ParseintOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ParseintResult>;
20
+ export declare function parseintOutput(args: ParseintOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ParseintResult>;
21
21
  export interface ParseintOutputArgs {
22
22
  base?: pulumi.Input<number>;
23
23
  input: pulumi.Input<string>;
package/parseint.js CHANGED
@@ -24,7 +24,11 @@ exports.parseint = parseint;
24
24
  * .
25
25
  */
26
26
  function parseintOutput(args, opts) {
27
- return pulumi.output(args).apply((a) => parseint(a, opts));
27
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
28
+ return pulumi.runtime.invokeOutput("std:index:parseint", {
29
+ "base": args.base,
30
+ "input": args.input,
31
+ }, opts);
28
32
  }
29
33
  exports.parseintOutput = parseintOutput;
30
34
  //# sourceMappingURL=parseint.js.map
package/parseint.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"parseint.js","sourceRoot":"","sources":["../parseint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oBAAoB,EAAE;QAC/C,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;AAUD;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"parseint.js","sourceRoot":"","sources":["../parseint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oBAAoB,EAAE;QAC/C,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAUD;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oBAAoB,EAAE;QACrD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC"}
package/pathexpand.d.ts CHANGED
@@ -12,7 +12,7 @@ export interface PathexpandResult {
12
12
  /**
13
13
  * Returns a filepath string with ~ expanded to the home directory.
14
14
  */
15
- export declare function pathexpandOutput(args: PathexpandOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<PathexpandResult>;
15
+ export declare function pathexpandOutput(args: PathexpandOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<PathexpandResult>;
16
16
  export interface PathexpandOutputArgs {
17
17
  input: pulumi.Input<string>;
18
18
  }
package/pathexpand.js CHANGED
@@ -19,7 +19,10 @@ exports.pathexpand = pathexpand;
19
19
  * Returns a filepath string with ~ expanded to the home directory.
20
20
  */
21
21
  function pathexpandOutput(args, opts) {
22
- return pulumi.output(args).apply((a) => pathexpand(a, opts));
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("std:index:pathexpand", {
24
+ "input": args.input,
25
+ }, opts);
23
26
  }
24
27
  exports.pathexpandOutput = pathexpandOutput;
25
28
  //# sourceMappingURL=pathexpand.js.map
package/pathexpand.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"pathexpand.js","sourceRoot":"","sources":["../pathexpand.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sBAAsB,EAAE;QACjD,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AASD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
1
+ {"version":3,"file":"pathexpand.js","sourceRoot":"","sources":["../pathexpand.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sBAAsB,EAAE;QACjD,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AASD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sBAAsB,EAAE;QACvD,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
package/pow.d.ts CHANGED
@@ -13,7 +13,7 @@ export interface PowResult {
13
13
  /**
14
14
  * Returns the base input raised to the power of the exponent.
15
15
  */
16
- export declare function powOutput(args: PowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<PowResult>;
16
+ export declare function powOutput(args: PowOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<PowResult>;
17
17
  export interface PowOutputArgs {
18
18
  base: pulumi.Input<number>;
19
19
  exponent: pulumi.Input<number>;
package/pow.js CHANGED
@@ -20,7 +20,11 @@ exports.pow = pow;
20
20
  * Returns the base input raised to the power of the exponent.
21
21
  */
22
22
  function powOutput(args, opts) {
23
- return pulumi.output(args).apply((a) => pow(a, opts));
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invokeOutput("std:index:pow", {
25
+ "base": args.base,
26
+ "exponent": args.exponent,
27
+ }, opts);
24
28
  }
25
29
  exports.powOutput = powOutput;
26
30
  //# sourceMappingURL=pow.js.map
package/pow.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"pow.js","sourceRoot":"","sources":["../pow.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAE1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE;QAC1C,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kBAOC;AAUD;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,8BAEC"}
1
+ {"version":3,"file":"pow.js","sourceRoot":"","sources":["../pow.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE;QAC1C,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kBAMC;AAUD;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAAiC;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,eAAe,EAAE;QAChD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC"}
package/range.d.ts CHANGED
@@ -18,7 +18,7 @@ export interface RangeResult {
18
18
  * Start and step may be omitted, in which case start defaults to zero and step defaults to either one or negative one
19
19
  * depending on whether limit is greater than or less than start.
20
20
  */
21
- export declare function rangeOutput(args: RangeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RangeResult>;
21
+ export declare function rangeOutput(args: RangeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<RangeResult>;
22
22
  export interface RangeOutputArgs {
23
23
  limit: pulumi.Input<number>;
24
24
  start?: pulumi.Input<number>;
package/range.js CHANGED
@@ -25,7 +25,12 @@ exports.range = range;
25
25
  * depending on whether limit is greater than or less than start.
26
26
  */
27
27
  function rangeOutput(args, opts) {
28
- return pulumi.output(args).apply((a) => range(a, opts));
28
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
29
+ return pulumi.runtime.invokeOutput("std:index:range", {
30
+ "limit": args.limit,
31
+ "start": args.start,
32
+ "step": args.step,
33
+ }, opts);
29
34
  }
30
35
  exports.rangeOutput = rangeOutput;
31
36
  //# sourceMappingURL=range.js.map
package/range.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"range.js","sourceRoot":"","sources":["../range.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,KAAK,CAAC,IAAe,EAAE,IAA2B;IAE9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iBAAiB,EAAE;QAC5C,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sBAQC;AAWD;;;;GAIG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,kCAEC"}
1
+ {"version":3,"file":"range.js","sourceRoot":"","sources":["../range.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,KAAK,CAAC,IAAe,EAAE,IAA2B;IAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iBAAiB,EAAE;QAC5C,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sBAOC;AAWD;;;;GAIG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAAiC;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iBAAiB,EAAE;QAClD,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC"}
package/regex.d.ts ADDED
@@ -0,0 +1,20 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Returns the first match of a regular expression in a string (including named or indexed groups).
4
+ */
5
+ export declare function regex(args: RegexArgs, opts?: pulumi.InvokeOptions): Promise<RegexResult>;
6
+ export interface RegexArgs {
7
+ pattern: string;
8
+ string: string;
9
+ }
10
+ export interface RegexResult {
11
+ readonly result: any;
12
+ }
13
+ /**
14
+ * Returns the first match of a regular expression in a string (including named or indexed groups).
15
+ */
16
+ export declare function regexOutput(args: RegexOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<RegexResult>;
17
+ export interface RegexOutputArgs {
18
+ pattern: pulumi.Input<string>;
19
+ string: pulumi.Input<string>;
20
+ }
package/regex.js ADDED
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.regexOutput = exports.regex = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Returns the first match of a regular expression in a string (including named or indexed groups).
10
+ */
11
+ function regex(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("std:index:regex", {
14
+ "pattern": args.pattern,
15
+ "string": args.string,
16
+ }, opts);
17
+ }
18
+ exports.regex = regex;
19
+ /**
20
+ * Returns the first match of a regular expression in a string (including named or indexed groups).
21
+ */
22
+ function regexOutput(args, opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invokeOutput("std:index:regex", {
25
+ "pattern": args.pattern,
26
+ "string": args.string,
27
+ }, opts);
28
+ }
29
+ exports.regexOutput = regexOutput;
30
+ //# sourceMappingURL=regex.js.map
package/regex.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"regex.js","sourceRoot":"","sources":["../regex.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,KAAK,CAAC,IAAe,EAAE,IAA2B;IAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iBAAiB,EAAE;QAC5C,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sBAMC;AAUD;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAAiC;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iBAAiB,EAAE;QAClD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC"}
package/regexall.d.ts ADDED
@@ -0,0 +1,20 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Returns a list of all matches of a regular expression in a string (including named or indexed groups).
4
+ */
5
+ export declare function regexall(args: RegexallArgs, opts?: pulumi.InvokeOptions): Promise<RegexallResult>;
6
+ export interface RegexallArgs {
7
+ pattern: string;
8
+ string: string;
9
+ }
10
+ export interface RegexallResult {
11
+ readonly result: any[];
12
+ }
13
+ /**
14
+ * Returns a list of all matches of a regular expression in a string (including named or indexed groups).
15
+ */
16
+ export declare function regexallOutput(args: RegexallOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<RegexallResult>;
17
+ export interface RegexallOutputArgs {
18
+ pattern: pulumi.Input<string>;
19
+ string: pulumi.Input<string>;
20
+ }
package/regexall.js ADDED
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.regexallOutput = exports.regexall = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Returns a list of all matches of a regular expression in a string (including named or indexed groups).
10
+ */
11
+ function regexall(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("std:index:regexall", {
14
+ "pattern": args.pattern,
15
+ "string": args.string,
16
+ }, opts);
17
+ }
18
+ exports.regexall = regexall;
19
+ /**
20
+ * Returns a list of all matches of a regular expression in a string (including named or indexed groups).
21
+ */
22
+ function regexallOutput(args, opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invokeOutput("std:index:regexall", {
25
+ "pattern": args.pattern,
26
+ "string": args.string,
27
+ }, opts);
28
+ }
29
+ exports.regexallOutput = regexallOutput;
30
+ //# sourceMappingURL=regexall.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"regexall.js","sourceRoot":"","sources":["../regexall.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oBAAoB,EAAE;QAC/C,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAUD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oBAAoB,EAAE;QACrD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC"}
package/replace.d.ts CHANGED
@@ -24,7 +24,7 @@ export interface ReplaceResult {
24
24
  * using $n where n is the index or name of the subcapture. If using a regular expression,
25
25
  * the syntax conforms to the re2 regular expression syntax.
26
26
  */
27
- export declare function replaceOutput(args: ReplaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ReplaceResult>;
27
+ export declare function replaceOutput(args: ReplaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ReplaceResult>;
28
28
  export interface ReplaceOutputArgs {
29
29
  replace: pulumi.Input<string>;
30
30
  search: pulumi.Input<string>;
package/replace.js CHANGED
@@ -31,7 +31,12 @@ exports.replace = replace;
31
31
  * the syntax conforms to the re2 regular expression syntax.
32
32
  */
33
33
  function replaceOutput(args, opts) {
34
- return pulumi.output(args).apply((a) => replace(a, opts));
34
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
35
+ return pulumi.runtime.invokeOutput("std:index:replace", {
36
+ "replace": args.replace,
37
+ "search": args.search,
38
+ "text": args.text,
39
+ }, opts);
35
40
  }
36
41
  exports.replaceOutput = replaceOutput;
37
42
  //# sourceMappingURL=replace.js.map