Skip to content

Commit

Permalink
chore: update release-please post-processing for nodejs apiary
Browse files Browse the repository at this point in the history
* fix: update release-please post-processing for nodejs apiary

Source-Link: googleapis/synthtool@59fe44f
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:606f3d9d99a1c7cdfa7158cbb1a75bfeef490655e246a2052f9ee741740d736c
  • Loading branch information
gcf-owl-bot[bot] committed Aug 17, 2023
1 parent ac35b37 commit 3c6759a
Show file tree
Hide file tree
Showing 13 changed files with 119 additions and 116 deletions.
6 changes: 3 additions & 3 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 Google LLC
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest
digest: sha256:b15a6f06cc06dcffa11e1bebdf1a74b6775a134aac24a0f86f51ddf728eb373e
# created: 2022-08-26T22:34:55.905845397Z
digest: sha256:606f3d9d99a1c7cdfa7158cbb1a75bfeef490655e246a2052f9ee741740d736c
# created: 2023-08-17T19:15:55.176034173Z
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
node: [12, 14, 16, 18]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ also contains samples.

## Supported Node.js Versions

Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
Libraries are compatible with all current _active_ and _maintenance_ versions of
Node.js.
If you are using an end-of-life version of Node.js, we recommend that you update
Expand Down
4 changes: 2 additions & 2 deletions dev/src/bulk-writer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -942,8 +942,8 @@ export class BulkWriter {
);

// Use the write with the longest backoff duration when determining backoff.
const highestBackoffDuration = pendingBatch.pendingOps.reduce((prev, cur) =>
prev.backoffDuration > cur.backoffDuration ? prev : cur
const highestBackoffDuration = pendingBatch.pendingOps.reduce(

Check failure on line 945 in dev/src/bulk-writer.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `⏎······(prev,·cur)·=>·(prev.backoffDuration·>·cur.backoffDuration·?·prev·:·cur)` with `(prev,·cur)·=>⏎······prev.backoffDuration·>·cur.backoffDuration·?·prev·:·cur`
(prev, cur) => (prev.backoffDuration > cur.backoffDuration ? prev : cur)
).backoffDuration;
const backoffMsWithJitter = BulkWriter._applyJitter(highestBackoffDuration);
const delayedExecution = new Deferred<void>();
Expand Down
52 changes: 26 additions & 26 deletions dev/src/v1/firestore_admin_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ export class FirestoreAdminClient {
[
protos.google.firestore.admin.v1.IIndex,
protos.google.firestore.admin.v1.IGetIndexRequest | undefined,
{} | undefined
{} | undefined,

Check failure on line 530 in dev/src/v1/firestore_admin_client.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `,`
]
>;
getIndex(
Expand Down Expand Up @@ -565,7 +565,7 @@ export class FirestoreAdminClient {
[
protos.google.firestore.admin.v1.IIndex,
protos.google.firestore.admin.v1.IGetIndexRequest | undefined,
{} | undefined
{} | undefined,

Check failure on line 568 in dev/src/v1/firestore_admin_client.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `,`
]
> | void {
request = request || {};
Expand Down Expand Up @@ -610,7 +610,7 @@ export class FirestoreAdminClient {
[
protos.google.protobuf.IEmpty,
protos.google.firestore.admin.v1.IDeleteIndexRequest | undefined,
{} | undefined
{} | undefined,

Check failure on line 613 in dev/src/v1/firestore_admin_client.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `,`
]
>;
deleteIndex(
Expand Down Expand Up @@ -650,7 +650,7 @@ export class FirestoreAdminClient {
[
protos.google.protobuf.IEmpty,
protos.google.firestore.admin.v1.IDeleteIndexRequest | undefined,
{} | undefined
{} | undefined,

Check failure on line 653 in dev/src/v1/firestore_admin_client.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `,`
]
> | void {
request = request || {};
Expand Down Expand Up @@ -695,7 +695,7 @@ export class FirestoreAdminClient {
[
protos.google.firestore.admin.v1.IField,
protos.google.firestore.admin.v1.IGetFieldRequest | undefined,
{} | undefined
{} | undefined,

Check failure on line 698 in dev/src/v1/firestore_admin_client.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `,`
]
>;
getField(
Expand Down Expand Up @@ -733,7 +733,7 @@ export class FirestoreAdminClient {
[
protos.google.firestore.admin.v1.IField,
protos.google.firestore.admin.v1.IGetFieldRequest | undefined,
{} | undefined
{} | undefined,

Check failure on line 736 in dev/src/v1/firestore_admin_client.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `,`
]
> | void {
request = request || {};
Expand Down Expand Up @@ -778,7 +778,7 @@ export class FirestoreAdminClient {
[
protos.google.firestore.admin.v1.IDatabase,
protos.google.firestore.admin.v1.IGetDatabaseRequest | undefined,
{} | undefined
{} | undefined,

Check failure on line 781 in dev/src/v1/firestore_admin_client.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `,`
]
>;
getDatabase(
Expand Down Expand Up @@ -818,7 +818,7 @@ export class FirestoreAdminClient {
[
protos.google.firestore.admin.v1.IDatabase,
protos.google.firestore.admin.v1.IGetDatabaseRequest | undefined,
{} | undefined
{} | undefined,

Check failure on line 821 in dev/src/v1/firestore_admin_client.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `,`
]
> | void {
request = request || {};
Expand Down Expand Up @@ -863,7 +863,7 @@ export class FirestoreAdminClient {
[
protos.google.firestore.admin.v1.IListDatabasesResponse,
protos.google.firestore.admin.v1.IListDatabasesRequest | undefined,
{} | undefined
{} | undefined,

Check failure on line 866 in dev/src/v1/firestore_admin_client.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `,`
]
>;
listDatabases(
Expand Down Expand Up @@ -903,7 +903,7 @@ export class FirestoreAdminClient {
[
protos.google.firestore.admin.v1.IListDatabasesResponse,
protos.google.firestore.admin.v1.IListDatabasesRequest | undefined,
{} | undefined
{} | undefined,
]
> | void {
request = request || {};
Expand Down Expand Up @@ -960,7 +960,7 @@ export class FirestoreAdminClient {
protos.google.firestore.admin.v1.IIndexOperationMetadata
>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
{} | undefined,
]
>;
createIndex(
Expand Down Expand Up @@ -1013,7 +1013,7 @@ export class FirestoreAdminClient {
protos.google.firestore.admin.v1.IIndexOperationMetadata
>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
{} | undefined,
]
> | void {
request = request || {};
Expand Down Expand Up @@ -1114,7 +1114,7 @@ export class FirestoreAdminClient {
protos.google.firestore.admin.v1.IFieldOperationMetadata
>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
{} | undefined,
]
>;
updateField(
Expand Down Expand Up @@ -1167,7 +1167,7 @@ export class FirestoreAdminClient {
protos.google.firestore.admin.v1.IFieldOperationMetadata
>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
{} | undefined,
]
> | void {
request = request || {};
Expand Down Expand Up @@ -1272,7 +1272,7 @@ export class FirestoreAdminClient {
protos.google.firestore.admin.v1.IExportDocumentsMetadata
>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
{} | undefined,
]
>;
exportDocuments(
Expand Down Expand Up @@ -1325,7 +1325,7 @@ export class FirestoreAdminClient {
protos.google.firestore.admin.v1.IExportDocumentsMetadata
>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
{} | undefined,
]
> | void {
request = request || {};
Expand Down Expand Up @@ -1422,7 +1422,7 @@ export class FirestoreAdminClient {
protos.google.firestore.admin.v1.IImportDocumentsMetadata
>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
{} | undefined,
]
>;
importDocuments(
Expand Down Expand Up @@ -1475,7 +1475,7 @@ export class FirestoreAdminClient {
protos.google.firestore.admin.v1.IImportDocumentsMetadata
>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
{} | undefined,
]
> | void {
request = request || {};
Expand Down Expand Up @@ -1566,7 +1566,7 @@ export class FirestoreAdminClient {
protos.google.firestore.admin.v1.ICreateDatabaseMetadata
>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
{} | undefined,
]
>;
createDatabase(
Expand Down Expand Up @@ -1619,7 +1619,7 @@ export class FirestoreAdminClient {
protos.google.firestore.admin.v1.ICreateDatabaseMetadata
>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
{} | undefined,
]
> | void {
request = request || {};
Expand Down Expand Up @@ -1704,7 +1704,7 @@ export class FirestoreAdminClient {
protos.google.firestore.admin.v1.IUpdateDatabaseMetadata
>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
{} | undefined,
]
>;
updateDatabase(
Expand Down Expand Up @@ -1757,7 +1757,7 @@ export class FirestoreAdminClient {
protos.google.firestore.admin.v1.IUpdateDatabaseMetadata
>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
{} | undefined,
]
> | void {
request = request || {};
Expand Down Expand Up @@ -1847,7 +1847,7 @@ export class FirestoreAdminClient {
[
protos.google.firestore.admin.v1.IIndex[],
protos.google.firestore.admin.v1.IListIndexesRequest | null,
protos.google.firestore.admin.v1.IListIndexesResponse
protos.google.firestore.admin.v1.IListIndexesResponse,
]
>;
listIndexes(
Expand Down Expand Up @@ -1887,7 +1887,7 @@ export class FirestoreAdminClient {
[
protos.google.firestore.admin.v1.IIndex[],
protos.google.firestore.admin.v1.IListIndexesRequest | null,
protos.google.firestore.admin.v1.IListIndexesResponse
protos.google.firestore.admin.v1.IListIndexesResponse,
]
> | void {
request = request || {};
Expand Down Expand Up @@ -2054,7 +2054,7 @@ export class FirestoreAdminClient {
[
protos.google.firestore.admin.v1.IField[],
protos.google.firestore.admin.v1.IListFieldsRequest | null,
protos.google.firestore.admin.v1.IListFieldsResponse
protos.google.firestore.admin.v1.IListFieldsResponse,
]
>;
listFields(
Expand Down Expand Up @@ -2094,7 +2094,7 @@ export class FirestoreAdminClient {
[
protos.google.firestore.admin.v1.IField[],
protos.google.firestore.admin.v1.IListFieldsRequest | null,
protos.google.firestore.admin.v1.IListFieldsResponse
protos.google.firestore.admin.v1.IListFieldsResponse,
]
> | void {
request = request || {};
Expand Down
Loading

0 comments on commit 3c6759a

Please sign in to comment.