Skip to content

Commit a407ca4

Browse files
authored
Update deps (#120)
1 parent 17346c8 commit a407ca4

84 files changed

Lines changed: 1232 additions & 1155 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dist/index.js

Lines changed: 594 additions & 476 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
**@google-github-actions/actions-utils**[**Docs**](modules.md)
1+
**@google-github-actions/actions-utils**
22

33
***
44

docs/auth/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
1-
[**@google-github-actions/actions-utils**](../README.md)**Docs**
1+
[**@google-github-actions/actions-utils**](../README.md)
22

33
***
44

55
[@google-github-actions/actions-utils](../modules.md) / auth
66

77
# auth
88

9-
## Index
10-
11-
### Type Aliases
9+
## Type Aliases
1210

1311
- [Credential](type-aliases/Credential.md)
1412
- [ExternalAccount](type-aliases/ExternalAccount.md)
1513
- [ServiceAccountKey](type-aliases/ServiceAccountKey.md)
1614

17-
### Variables
15+
## Variables
1816

1917
- [default](variables/default.md)
2018

21-
### Functions
19+
## Functions
2220

2321
- [isExternalAccount](functions/isExternalAccount.md)
2422
- [isServiceAccountKey](functions/isServiceAccountKey.md)
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[**@google-github-actions/actions-utils**](../../README.md)**Docs**
1+
[**@google-github-actions/actions-utils**](../../README.md)
22

33
***
44

@@ -8,19 +8,19 @@
88

99
> **isExternalAccount**(`credential`): `credential is ExternalAccount`
1010
11+
Defined in: [auth.ts:123](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L123)
12+
1113
isExternalAccount returns true if the given interface is a ExternalAccount,
1214
false otherwise.
1315

1416
## Parameters
1517

16-
**credential**: [`Credential`](../type-aliases/Credential.md)
18+
### credential
19+
20+
[`Credential`](../type-aliases/Credential.md)
1721

1822
Credential to check if is an external account
1923

2024
## Returns
2125

2226
`credential is ExternalAccount`
23-
24-
## Defined in
25-
26-
[auth.ts:123](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L123)
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[**@google-github-actions/actions-utils**](../../README.md)**Docs**
1+
[**@google-github-actions/actions-utils**](../../README.md)
22

33
***
44

@@ -8,19 +8,19 @@
88

99
> **isServiceAccountKey**(`credential`): `credential is ServiceAccountKey`
1010
11+
Defined in: [auth.ts:113](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L113)
12+
1113
isServiceAccountKey returns true if the given interface is a
1214
ServiceAccountKey, false otherwise.
1315

1416
## Parameters
1517

16-
**credential**: [`Credential`](../type-aliases/Credential.md)
18+
### credential
19+
20+
[`Credential`](../type-aliases/Credential.md)
1721

1822
Credential to check if is a service account key.
1923

2024
## Returns
2125

2226
`credential is ServiceAccountKey`
23-
24-
## Defined in
25-
26-
[auth.ts:113](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L113)
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[**@google-github-actions/actions-utils**](../../README.md)**Docs**
1+
[**@google-github-actions/actions-utils**](../../README.md)
22

33
***
44

@@ -8,13 +8,17 @@
88

99
> **parseCredential**(`input`): [`Credential`](../type-aliases/Credential.md)
1010
11+
Defined in: [auth.ts:86](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L86)
12+
1113
parseCredential attempts to parse the given string as a service account key
1214
JSON or external account credentials. It handles if the input is
1315
base64-encoded.
1416

1517
## Parameters
1618

17-
**input**: `string`
19+
### input
20+
21+
`string`
1822

1923
String that is an exported JSON service account key or external
2024
account credentials file (or base64-encoded).
@@ -25,7 +29,3 @@ account credentials file (or base64-encoded).
2529

2630
The parsed credential. It could be a service account key or an
2731
external credentials file.
28-
29-
## Defined in
30-
31-
[auth.ts:86](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L86)
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[**@google-github-actions/actions-utils**](../../README.md)**Docs**
1+
[**@google-github-actions/actions-utils**](../../README.md)
22

33
***
44

@@ -8,8 +8,6 @@
88

99
> **Credential**: [`ServiceAccountKey`](ServiceAccountKey.md) \| [`ExternalAccount`](ExternalAccount.md)
1010
11-
Credential is a generic exported credential.
12-
13-
## Defined in
11+
Defined in: [auth.ts:23](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L23)
1412

15-
[auth.ts:23](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L23)
13+
Credential is a generic exported credential.

docs/auth/type-aliases/ExternalAccount.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[**@google-github-actions/actions-utils**](../../README.md)**Docs**
1+
[**@google-github-actions/actions-utils**](../../README.md)
22

33
***
44

@@ -8,6 +8,8 @@
88

99
> **ExternalAccount**: `object`
1010
11+
Defined in: [auth.ts:45](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L45)
12+
1113
ExternalAccount is an exported credential for an external account
1214
like a workload identity pool.
1315

@@ -29,43 +31,43 @@ like a workload identity pool.
2931

3032
> **credential\_source**: `object`
3133
32-
### credential\_source.environment\_id?
34+
#### credential\_source.environment\_id?
3335

3436
> `optional` **environment\_id**: `string`
3537
36-
### credential\_source.file?
38+
#### credential\_source.file?
3739

3840
> `optional` **file**: `string`
3941
40-
### credential\_source.format?
42+
#### credential\_source.format?
4143

4244
> `optional` **format**: `object`
4345
44-
### credential\_source.format.subject\_token\_field\_name?
46+
#### credential\_source.format.subject\_token\_field\_name?
4547

4648
> `optional` **subject\_token\_field\_name**: `string`
4749
48-
### credential\_source.format.type
50+
#### credential\_source.format.type
4951

5052
> **type**: `"json"` \| `"text"`
5153
52-
### credential\_source.headers?
54+
#### credential\_source.headers?
5355

5456
> `optional` **headers**: `object`
5557
56-
#### Index Signature
58+
##### Index Signature
5759

58-
\[`key`: `string`\]: `string`
60+
\[`key`: `string`\]: `string`
5961

60-
### credential\_source.region\_url?
62+
#### credential\_source.region\_url?
6163

6264
> `optional` **region\_url**: `string`
6365
64-
### credential\_source.regional\_cred\_verification\_url
66+
#### credential\_source.regional\_cred\_verification\_url
6567

6668
> **regional\_cred\_verification\_url**: `string`
6769
68-
### credential\_source.url?
70+
#### credential\_source.url?
6971

7072
> `optional` **url**: `string`
7173
@@ -96,7 +98,3 @@ like a workload identity pool.
9698
### workforce\_pool\_user\_project?
9799

98100
> `optional` **workforce\_pool\_user\_project**: `string`
99-
100-
## Defined in
101-
102-
[auth.ts:45](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L45)

docs/auth/type-aliases/ServiceAccountKey.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[**@google-github-actions/actions-utils**](../../README.md)**Docs**
1+
[**@google-github-actions/actions-utils**](../../README.md)
22

33
***
44

@@ -8,6 +8,8 @@
88

99
> **ServiceAccountKey**: `object`
1010
11+
Defined in: [auth.ts:28](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L28)
12+
1113
ServiceAccountKeyCredential is an exported credential for a service account key.
1214

1315
## Type declaration
@@ -51,7 +53,3 @@ ServiceAccountKeyCredential is an exported credential for a service account key.
5153
### type
5254

5355
> **type**: `string`
54-
55-
## Defined in
56-
57-
[auth.ts:28](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L28)

0 commit comments

Comments
 (0)