Skip to content

Commit 529ec3a

Browse files
committed
fix(deps): update all dependencies
1 parent 62253bb commit 529ec3a

File tree

179 files changed

+236
-236
lines changed

Some content is hidden

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

179 files changed

+236
-236
lines changed

.github/workflows/ai-platform-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.0.0'
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/dialogflow-cx.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ jobs:
4949
- uses: actions/[email protected]
5050
with:
5151
ref: ${{github.event.pull_request.head.sha}}
52-
- uses: 'google-github-actions/auth@v1.1.1'
52+
- uses: 'google-github-actions/auth@v2.0.0'
5353
with:
5454
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
5555
service_account: '[email protected]'
5656
create_credentials_file: 'true'
5757
access_token_lifetime: 600s
5858
- id: secrets
59-
uses: 'google-github-actions/get-secretmanager-secrets@v1'
59+
uses: 'google-github-actions/get-secretmanager-secrets@v2'
6060
with:
6161
secrets: |-
6262
agent_id:nodejs-docs-samples-tests/nodejs-docs-samples-dialogflow-cx-agent-id
@@ -94,7 +94,7 @@ jobs:
9494
AGENT_PROJECT_ID: nodejs-docs-samples-tests
9595
- name: upload test results for FlakyBot workflow
9696
if: github.event.action == 'schedule' && always()
97-
uses: actions/upload-artifact@v3
97+
uses: actions/upload-artifact@v4
9898
env:
9999
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
100100
with:

.github/workflows/flakybot.yaml

Lines changed: 1 addition & 1 deletion
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

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.0.0'
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
slack_secret:nodejs-docs-samples-tests/nodejs-docs-samples-slack-secret
@@ -90,7 +90,7 @@ jobs:
9090
KG_API_KEY: ${{ steps.secrets.outputs.kg_api_key }}
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/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.0.0'
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.0.0'
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.0.0'
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.0.0'
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
@@ -37,7 +37,7 @@ jobs:
3737
- uses: actions/[email protected]
3838
with:
3939
ref: ${{github.event.pull_request.head.sha}}
40-
- uses: 'google-github-actions/auth@v1.1.1'
40+
- uses: 'google-github-actions/auth@v2.0.0'
4141
with:
4242
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
4343
service_account: '[email protected]'
@@ -73,7 +73,7 @@ jobs:
7373
- run: npm test
7474
- name: upload test results for FlakyBot workflow
7575
if: github.event.action == 'schedule' && always()
76-
uses: actions/upload-artifact@v3
76+
uses: actions/upload-artifact@v4
7777
with:
7878
name: test-results
7979
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.0.0'
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
},
2020
"devDependencies": {
2121
"c8": "^8.0.0",
22-
"chai": "^4.2.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
}

appengine/analytics/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",
@@ -19,7 +19,7 @@
1919
},
2020
"dependencies": {
2121
"express": "^4.16.4",
22-
"node-fetch": "^2.6.1"
22+
"node-fetch": "^3.0.0"
2323
},
2424
"devDependencies": {
2525
"c8": "^8.0.0",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
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",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
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",
@@ -25,7 +25,7 @@
2525
"c8": "^8.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: 1 addition & 1 deletion
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",

appengine/endpoints/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
"deploy": "gcloud app deploy",
@@ -23,10 +23,10 @@
2323
},
2424
"devDependencies": {
2525
"c8": "^8.0.0",
26-
"chai": "^4.2.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_nodejs16_and_earlier/package.json

Lines changed: 1 addition & 1 deletion
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.10.0"
1414
},
1515
"scripts": {
1616
"start": "node app.js",

appengine/memcached/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "Apache Version 2.0",
77
"author": "Google Inc.",
88
"engines": {
9-
"node": "16.x.x"
9+
"node": "20.x"
1010
},
1111
"scripts": {
1212
"start": "node app.js",
@@ -18,7 +18,7 @@
1818
},
1919
"devDependencies": {
2020
"c8": "^8.0.0",
21-
"chai": "^4.2.0",
21+
"chai": "^5.0.0",
2222
"mocha": "^10.0.0",
2323
"wait-port": "^1.0.4"
2424
}

appengine/metadata/flexible/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"dependencies": {
2020
"express": "^4.17.1",
21-
"node-fetch": "^2.6.1"
21+
"node-fetch": "^3.0.0"
2222
},
2323
"devDependencies": {
2424
"c8": "^8.0.0",

appengine/metadata/flexible_nodejs16_and_earlier/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
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
"system-test": "c8 mocha -p -j 2 --exit test/*.test.js",
1717
"test": "npm run system-test"
1818
},
1919
"dependencies": {
2020
"express": "^4.17.1",
21-
"node-fetch": "^2.6.1"
21+
"node-fetch": "^3.0.0"
2222
},
2323
"devDependencies": {
2424
"c8": "^8.0.0",

appengine/metadata/standard/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
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
"system-test": "c8 mocha -p -j 2 --exit test/*.test.js",
1717
"test": "npm run system-test"
1818
},
1919
"dependencies": {
2020
"express": "^4.17.1",
21-
"node-fetch": "^2.6.1"
21+
"node-fetch": "^3.0.0"
2222
},
2323
"devDependencies": {
2424
"c8": "^8.0.0",

0 commit comments

Comments
 (0)