Skip to content

Commit a97eaa6

Browse files
committed
fix(deps): update all dependencies
1 parent c843b17 commit a97eaa6

File tree

198 files changed

+401
-401
lines changed

Some content is hidden

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

198 files changed

+401
-401
lines changed

.github/workflows/ai-platform-snippets.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ jobs:
4343
- uses: actions/[email protected]
4444
with:
4545
ref: ${{github.event.pull_request.head.sha}}
46-
- uses: 'google-github-actions/auth@v1.1.1'
46+
- uses: 'google-github-actions/auth@v2.1.2'
4747
with:
4848
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
4949
service_account: '[email protected]'
5050
create_credentials_file: 'true'
5151
access_token_lifetime: 600s
5252
- id: secrets
53-
uses: 'google-github-actions/get-secretmanager-secrets@v1'
53+
uses: 'google-github-actions/get-secretmanager-secrets@v2'
5454
with:
5555
secrets: |-
5656
caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id
@@ -83,7 +83,7 @@ jobs:
8383
CAIP_PROJECT_ID: ${{ steps.secrets.outputs.caip_id }}
8484
- name: upload test results for FlakyBot workflow
8585
if: github.event.action == 'schedule' && always()
86-
uses: actions/upload-artifact@v3
86+
uses: actions/upload-artifact@v4
8787
env:
8888
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
8989
with:

.github/workflows/dialogflow-cx.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ jobs:
4343
- uses: actions/[email protected]
4444
with:
4545
ref: ${{github.event.pull_request.head.sha}}
46-
- uses: 'google-github-actions/auth@v1.1.1'
46+
- uses: 'google-github-actions/auth@v2.1.2'
4747
with:
4848
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
4949
service_account: '[email protected]'
5050
create_credentials_file: 'true'
5151
access_token_lifetime: 600s
5252
- id: secrets
53-
uses: 'google-github-actions/get-secretmanager-secrets@v1'
53+
uses: 'google-github-actions/get-secretmanager-secrets@v2'
5454
with:
5555
secrets: |-
5656
agent_id:nodejs-docs-samples-tests/nodejs-docs-samples-dialogflow-cx-agent-id
@@ -84,7 +84,7 @@ jobs:
8484
AGENT_PROJECT_ID: nodejs-docs-samples-tests
8585
- name: upload test results for FlakyBot workflow
8686
if: github.event.action == 'schedule' && always()
87-
uses: actions/upload-artifact@v3
87+
uses: actions/upload-artifact@v4
8888
env:
8989
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9090
with:

.github/workflows/flakybot.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,22 @@ jobs:
2929
id-token: 'write'
3030
steps:
3131
- name: authenticate
32-
uses: 'google-github-actions/auth@v1'
32+
uses: 'google-github-actions/auth@v2'
3333
with:
3434
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
3535
service_account: '[email protected]'
3636
create_credentials_file: 'true'
3737
access_token_lifetime: 600s
3838
- name: download test results
39-
uses: actions/download-artifact@v3
39+
uses: actions/download-artifact@v4
4040
with:
4141
name: test-results
4242
- name: download FlakyBot
4343
run: |
4444
curl -s -L https://github.com/googleapis/repo-automation-bots/archive/refs/tags/flakybot-v${{ env.FLAKYBOT_VERSION }}.tar.gz -o flakybot.tar.gz
4545
tar xzf flakybot.tar.gz
4646
cp -rT repo-automation-bots-flakybot-v${{ env.FLAKYBOT_VERSION}}/packages/flakybot/ .
47-
- uses: actions/setup-go@v4
47+
- uses: actions/setup-go@v5
4848
with:
4949
cache: true
5050
cache-dependency-path: '${{ github.workspace }}/go.sum'

.github/workflows/functions-slack.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ jobs:
4343
- uses: actions/[email protected]
4444
with:
4545
ref: ${{github.event.pull_request.head.sha}}
46-
- uses: 'google-github-actions/auth@v1.1.1'
46+
- uses: 'google-github-actions/auth@v2.1.2'
4747
with:
4848
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
4949
service_account: '[email protected]'
5050
create_credentials_file: 'true'
5151
access_token_lifetime: 600s
5252
- id: secrets
53-
uses: 'google-github-actions/get-secretmanager-secrets@v1'
53+
uses: 'google-github-actions/get-secretmanager-secrets@v2'
5454
with:
5555
secrets: |-
5656
slack_secret:nodejs-docs-samples-tests/nodejs-docs-samples-slack-secret
@@ -83,7 +83,7 @@ jobs:
8383
KG_API_KEY: ${{ steps.secrets.outputs.kg_api_key }}
8484
- name: upload test results for FlakyBot workflow
8585
if: github.event.action == 'schedule' && always()
86-
uses: actions/upload-artifact@v3
86+
uses: actions/upload-artifact@v4
8787
env:
8888
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
8989
with:

.github/workflows/generative-ai-snippets.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
- uses: actions/[email protected]
4747
with:
4848
ref: ${{github.event.pull_request.head.sha}}
49-
- uses: 'google-github-actions/auth@v1.1.1'
49+
- uses: 'google-github-actions/auth@v2.1.2'
5050
with:
5151
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
5252
service_account: '[email protected]'
5353
create_credentials_file: 'true'
5454
access_token_lifetime: 600s
5555
- id: secrets
56-
uses: 'google-github-actions/get-secretmanager-secrets@v1'
56+
uses: 'google-github-actions/get-secretmanager-secrets@v2'
5757
with:
5858
secrets: |-
5959
caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id
@@ -90,7 +90,7 @@ jobs:
9090
CAIP_PROJECT_ID: ${{ steps.secrets.outputs.caip_id }}
9191
- name: upload test results for FlakyBot workflow
9292
if: github.event.action == 'schedule' && always()
93-
uses: actions/upload-artifact@v3
93+
uses: actions/upload-artifact@v4
9494
env:
9595
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9696
with:

.github/workflows/iam-deny.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- uses: actions/[email protected]
4747
with:
4848
ref: ${{github.event.pull_request.head.sha}}
49-
- uses: 'google-github-actions/auth@v1.1.1'
49+
- uses: 'google-github-actions/auth@v2.1.2'
5050
with:
5151
workload_identity_provider: 'projects/949737848314/locations/global/workloadIdentityPools/iam-deny-test-pool/providers/iam-deny-test-provider'
5252
service_account: '[email protected]'
@@ -81,7 +81,7 @@ jobs:
8181
- run: npm test
8282
- name: upload test results for FlakyBot workflow
8383
if: github.event.action == 'schedule' && always()
84-
uses: actions/upload-artifact@v3
84+
uses: actions/upload-artifact@v4
8585
env:
8686
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
8787
with:

.github/workflows/remove-label.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
timeout-minutes: 5
2727
steps:
28-
- uses: actions/github-script@v6
28+
- uses: actions/github-script@v7
2929
with:
3030
github-token: ${{ secrets.GITHUB_TOKEN }}
3131
script: |

.github/workflows/security-center-snippets.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- uses: actions/[email protected]
4747
with:
4848
ref: ${{github.event.pull_request.head.sha}}
49-
- uses: 'google-github-actions/auth@v1.1.1'
49+
- uses: 'google-github-actions/auth@v2.1.2'
5050
with:
5151
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
5252
service_account: '[email protected]'
@@ -83,7 +83,7 @@ jobs:
8383
GCLOUD_ORGANIZATION: 1081635000895
8484
- name: upload test results for FlakyBot workflow
8585
if: github.event.action == 'schedule' && always()
86-
uses: actions/upload-artifact@v3
86+
uses: actions/upload-artifact@v4
8787
env:
8888
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
8989
with:

.github/workflows/storagetransfer.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
- uses: actions/[email protected]
4747
with:
4848
ref: ${{github.event.pull_request.head.sha}}
49-
- uses: 'google-github-actions/auth@v1.1.1'
49+
- uses: 'google-github-actions/auth@v2.1.2'
5050
with:
5151
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
5252
service_account: '[email protected]'
5353
create_credentials_file: 'true'
5454
access_token_lifetime: 600s
5555
- id: secrets
56-
uses: 'google-github-actions/get-secretmanager-secrets@v1'
56+
uses: 'google-github-actions/get-secretmanager-secrets@v2'
5757
with:
5858
secrets: |-
5959
sts_aws_secret:nodejs-docs-samples-tests/nodejs-docs-samples-storagetransfer-aws
@@ -93,7 +93,7 @@ jobs:
9393
AZURE_SAS_TOKEN: ${{ fromJSON(steps.secrets.outputs.sts_azure_secret).SAS }}
9494
- name: upload test results for FlakyBot workflow
9595
if: github.event.action == 'schedule' && always()
96-
uses: actions/upload-artifact@v3
96+
uses: actions/upload-artifact@v4
9797
env:
9898
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9999
with:

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- uses: actions/[email protected]
3535
with:
3636
ref: ${{github.event.pull_request.head.sha}}
37-
- uses: 'google-github-actions/auth@v1.1.1'
37+
- uses: 'google-github-actions/auth@v2.1.2'
3838
with:
3939
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
4040
service_account: '[email protected]'
@@ -67,7 +67,7 @@ jobs:
6767
GOOGLE_SAMPLES_PROJECT: "long-door-651"
6868
- name: upload test results for FlakyBot workflow
6969
if: github.event.action == 'schedule' && always()
70-
uses: actions/upload-artifact@v3
70+
uses: actions/upload-artifact@v4
7171
with:
7272
name: test-results
7373
path: ${{ inputs.path }}/${{ env.MOCHA_REPORTER_OUTPUT }}

.github/workflows/vision.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
- uses: actions/[email protected]
4747
with:
4848
ref: ${{github.event.pull_request.head.sha}}
49-
- uses: 'google-github-actions/auth@v1.1.1'
49+
- uses: 'google-github-actions/auth@v2.1.2'
5050
with:
5151
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
5252
service_account: '[email protected]'
5353
create_credentials_file: 'true'
5454
access_token_lifetime: 600s
5555
- id: secrets
56-
uses: 'google-github-actions/get-secretmanager-secrets@v1'
56+
uses: 'google-github-actions/get-secretmanager-secrets@v2'
5757
with:
5858
secrets: |-
5959
vision:nodejs-docs-samples-tests/nodejs-docs-samples-vision
@@ -88,7 +88,7 @@ jobs:
8888
REDIS_HOST: ${{ steps.secrets.outputs.vision.REDIS_HOST }}
8989
- name: upload test results for FlakyBot workflow
9090
if: github.event.action == 'schedule' && always()
91-
uses: actions/upload-artifact@v3
91+
uses: actions/upload-artifact@v4
9292
env:
9393
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9494
with:

ai-platform/snippets/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
"@google-cloud/storage": "^7.0.0"
1919
},
2020
"devDependencies": {
21-
"c8": "^8.0.0",
22-
"chai": "^4.2.0",
21+
"c8": "^9.0.0",
22+
"chai": "^5.0.0",
2323
"mocha": "^10.0.0",
2424
"uuid": "^9.0.0",
25-
"sinon": "^16.0.0"
25+
"sinon": "^17.0.0"
2626
}
2727
}
2828

appengine/analytics/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": "16.x.x"
13+
"node": "20.x"
1414
},
1515
"scripts": {
1616
"start": "node app.js",
@@ -19,10 +19,10 @@
1919
},
2020
"dependencies": {
2121
"express": "^4.16.4",
22-
"node-fetch": "^2.6.1"
22+
"node-fetch": "^3.0.0"
2323
},
2424
"devDependencies": {
25-
"c8": "^8.0.0",
25+
"c8": "^9.0.0",
2626
"mocha": "^10.0.0",
2727
"supertest": "^6.0.0"
2828
}

appengine/building-an-app/build/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1515
},
1616
"engines": {
17-
"node": "16.x.x"
17+
"node": "20.x"
1818
},
1919
"author": "Google Inc.",
2020
"license": "Apache-2.0",
2121
"dependencies": {
2222
"express": "^4.16.3"
2323
},
2424
"devDependencies": {
25-
"c8": "^8.0.0",
25+
"c8": "^9.0.0",
2626
"mocha": "^10.0.0",
2727
"supertest": "^6.0.0"
2828
}

appengine/building-an-app/update/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1515
},
1616
"engines": {
17-
"node": "16.x.x"
17+
"node": "20.x"
1818
},
1919
"author": "Google Inc.",
2020
"license": "Apache-2.0",
2121
"dependencies": {
2222
"express": "^4.16.3"
2323
},
2424
"devDependencies": {
25-
"c8": "^8.0.0",
25+
"c8": "^9.0.0",
2626
"mocha": "^10.0.0",
2727
"proxyquire": "^2.1.3",
28-
"sinon": "^16.0.0",
28+
"sinon": "^17.0.0",
2929
"supertest": "^6.0.0"
3030
}
3131
}

appengine/datastore/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": "16.x.x"
13+
"node": "20.x"
1414
},
1515
"scripts": {
1616
"start": "node app.js",
@@ -22,7 +22,7 @@
2222
"express": "^4.16.4"
2323
},
2424
"devDependencies": {
25-
"c8": "^8.0.0",
25+
"c8": "^9.0.0",
2626
"mocha": "^10.0.0",
2727
"supertest": "^6.0.0"
2828
}

appengine/endpoints/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": "16.x.x"
13+
"node": "20.x"
1414
},
1515
"scripts": {
1616
"deploy": "gcloud app deploy",
@@ -22,11 +22,11 @@
2222
"express": "^4.16.4"
2323
},
2424
"devDependencies": {
25-
"c8": "^8.0.0",
26-
"chai": "^4.2.0",
25+
"c8": "^9.0.0",
26+
"chai": "^5.0.0",
2727
"mocha": "^10.0.0",
2828
"proxyquire": "^2.1.0",
29-
"sinon": "^16.0.0",
29+
"sinon": "^17.0.0",
3030
"supertest": "^6.0.0",
3131
"wait-port": "^1.0.4"
3232
}

appengine/hello-world/flexible/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"express": "^4.17.1"
2121
},
2222
"devDependencies": {
23-
"c8": "^8.0.0",
23+
"c8": "^9.0.0",
2424
"mocha": "^10.0.0",
2525
"supertest": "^6.0.0"
2626
}

appengine/hello-world/flexible_nodejs16_and_earlier/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": "=v16.20.2"
13+
"node": "=20.11.1"
1414
},
1515
"scripts": {
1616
"start": "node app.js",
@@ -20,7 +20,7 @@
2020
"express": "^4.17.1"
2121
},
2222
"devDependencies": {
23-
"c8": "^8.0.0",
23+
"c8": "^9.0.0",
2424
"mocha": "^10.0.0",
2525
"supertest": "^6.0.0"
2626
}

appengine/hello-world/standard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"express": "^4.17.1"
2121
},
2222
"devDependencies": {
23-
"c8": "^8.0.0",
23+
"c8": "^9.0.0",
2424
"mocha": "^10.0.0",
2525
"supertest": "^6.0.0"
2626
}

0 commit comments

Comments
 (0)