Skip to content

Commit f3419ba

Browse files
committed
fix(deps): update all dependencies
1 parent 4892dff commit f3419ba

File tree

199 files changed

+404
-404
lines changed

Some content is hidden

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

199 files changed

+404
-404
lines changed

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

+4-4
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.1'
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
@@ -62,7 +62,7 @@ jobs:
6262
id: npm-cache-dir
6363
shell: bash
6464
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65-
- uses: actions/cache@v3
65+
- uses: actions/cache@v4
6666
id: npm-cache
6767
with:
6868
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -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

+4-4
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.1'
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
@@ -62,7 +62,7 @@ jobs:
6262
id: npm-cache-dir
6363
shell: bash
6464
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65-
- uses: actions/cache@v3
65+
- uses: actions/cache@v4
6666
id: npm-cache
6767
with:
6868
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -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

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
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

+4-4
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.1'
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
@@ -62,7 +62,7 @@ jobs:
6262
id: npm-cache-dir
6363
shell: bash
6464
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65-
- uses: actions/cache@v3
65+
- uses: actions/cache@v4
6666
id: npm-cache
6767
with:
6868
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -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

+4-4
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.1'
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
@@ -65,7 +65,7 @@ jobs:
6565
id: npm-cache-dir
6666
shell: bash
6767
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
68-
- uses: actions/cache@v3
68+
- uses: actions/cache@v4
6969
id: npm-cache
7070
with:
7171
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -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

+3-3
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.1'
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]'
@@ -59,7 +59,7 @@ jobs:
5959
id: npm-cache-dir
6060
shell: bash
6161
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
62-
- uses: actions/cache@v3
62+
- uses: actions/cache@v4
6363
id: npm-cache
6464
with:
6565
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -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

+1-1
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

+3-3
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.1'
5050
with:
5151
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
5252
service_account: '[email protected]'
@@ -59,7 +59,7 @@ jobs:
5959
id: npm-cache-dir
6060
shell: bash
6161
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
62-
- uses: actions/cache@v3
62+
- uses: actions/cache@v4
6363
id: npm-cache
6464
with:
6565
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -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

+4-4
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.1'
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
@@ -65,7 +65,7 @@ jobs:
6565
id: npm-cache-dir
6666
shell: bash
6767
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
68-
- uses: actions/cache@v3
68+
- uses: actions/cache@v4
6969
id: npm-cache
7070
with:
7171
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -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

+3-3
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.1'
3838
with:
3939
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
4040
service_account: '[email protected]'
@@ -47,7 +47,7 @@ jobs:
4747
id: npm-cache-dir
4848
shell: bash
4949
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
50-
- uses: actions/cache@v3
50+
- uses: actions/cache@v4
5151
id: npm-cache
5252
with:
5353
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -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

+4-4
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.1'
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
@@ -64,7 +64,7 @@ jobs:
6464
id: npm-cache-dir
6565
shell: bash
6666
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
67-
- uses: actions/cache@v3
67+
- uses: actions/cache@v4
6868
id: npm-cache
6969
with:
7070
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -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

+3-3
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

+3-3
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

+2-2
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

+3-3
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
}

0 commit comments

Comments
 (0)