From 5e1f6e4f97c97c7de91349fad7cc410bf189ccff Mon Sep 17 00:00:00 2001 From: Google GitHub Actions Bot <72759630+google-github-actions-bot@users.noreply.github.com> Date: Thu, 16 May 2024 22:18:46 -0400 Subject: [PATCH] Release: v0.7.6 (#107) ## What's Changed * Switch KV joining for gcloud to be a predictable string by @sethvargo in https://github.com/google-github-actions/actions-utils/pull/106 **Full Changelog**: https://github.com/google-github-actions/actions-utils/compare/v0.7.5...c193fe544e8a7588ec9b0450743e163856c42018 --- docs/modules/kv.md | 26 +++++++++++++------------- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/modules/kv.md b/docs/modules/kv.md index 8958b5b..4b05131 100644 --- a/docs/modules/kv.md +++ b/docs/modules/kv.md @@ -28,7 +28,7 @@ KVPair represents a key=value pair of strings. #### Defined in -[kv.ts:27](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L27) +[kv.ts:26](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L26) ## Functions @@ -51,13 +51,13 @@ joinKVString joins the given KVPair using the provided separator. #### Defined in -[kv.ts:35](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L35) +[kv.ts:34](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L34) ___ ### joinKVStringForGCloud -▸ **joinKVStringForGCloud**(`input`, `rand?`): `string` +▸ **joinKVStringForGCloud**(`input`, `chars?`): `string` joinKVStringForGCloud creates a string suitable for using with gcloud by choosing a custom escape delimiter sequence that does not exist in the input @@ -65,10 +65,10 @@ string. #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `input` | [`KVPair`](kv.md#kvpair) | KVPair to serialize. | -| `rand` | `string` | String of random characters to use; override for testing. | +| Name | Type | Default value | Description | +| :------ | :------ | :------ | :------ | +| `input` | [`KVPair`](kv.md#kvpair) | `undefined` | KVPair to serialize. | +| `chars` | `string` | `',.!@#$%&*()_=+~`[]{}|:;<>?🚀🍪🐼\u200B'` | String of characters to use. | #### Returns @@ -76,7 +76,7 @@ string. #### Defined in -[kv.ts:51](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L51) +[kv.ts:50](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L50) ___ @@ -100,7 +100,7 @@ the contents are parsed as a subset of YAML. #### Defined in -[kv.ts:172](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L172) +[kv.ts:160](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L160) ___ @@ -130,7 +130,7 @@ List of key=value pairs. #### Defined in -[kv.ts:207](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L207) +[kv.ts:195](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L195) ___ @@ -155,7 +155,7 @@ is trimmed. #### Defined in -[kv.ts:103](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L103) +[kv.ts:91](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L91) ___ @@ -179,7 +179,7 @@ results (with kvString taking precedence). #### Defined in -[kv.ts:278](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L278) +[kv.ts:266](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L266) ___ @@ -202,4 +202,4 @@ for testing. #### Defined in -[kv.ts:251](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L251) +[kv.ts:239](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L239) diff --git a/package-lock.json b/package-lock.json index 94cd7f1..07d9388 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@google-github-actions/actions-utils", - "version": "0.7.5", + "version": "0.7.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@google-github-actions/actions-utils", - "version": "0.7.5", + "version": "0.7.6", "license": "Apache-2.0", "dependencies": { "yaml": "^2.4.1" diff --git a/package.json b/package.json index 3e36632..8d4e575 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@google-github-actions/actions-utils", - "version": "0.7.5", + "version": "0.7.6", "description": "Helpers and utilities that are shared among Google GitHub Actions", "author": "Google LLC", "license": "Apache-2.0",