Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update all dependencies #3671

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ai-platform-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ jobs:
- uses: actions/checkout@v4.1.0
with:
ref: ${{github.event.pull_request.head.sha}}
- uses: 'google-github-actions/auth@v1.1.1'
- uses: 'google-github-actions/auth@v2.1.3'
with:
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
service_account: 'kokoro-system-test@long-door-651.iam.gserviceaccount.com'
create_credentials_file: 'true'
access_token_lifetime: 600s
- id: secrets
uses: 'google-github-actions/get-secretmanager-secrets@v1'
uses: 'google-github-actions/get-secretmanager-secrets@v2'
with:
secrets: |-
caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id
Expand All @@ -62,7 +62,7 @@ jobs:
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v3
- uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -83,7 +83,7 @@ jobs:
CAIP_PROJECT_ID: ${{ steps.secrets.outputs.caip_id }}
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dialogflow-cx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ jobs:
- uses: actions/checkout@v4.1.0
with:
ref: ${{github.event.pull_request.head.sha}}
- uses: 'google-github-actions/auth@v1.1.1'
- uses: 'google-github-actions/auth@v2.1.3'
with:
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
service_account: 'kokoro-system-test@long-door-651.iam.gserviceaccount.com'
create_credentials_file: 'true'
access_token_lifetime: 600s
- id: secrets
uses: 'google-github-actions/get-secretmanager-secrets@v1'
uses: 'google-github-actions/get-secretmanager-secrets@v2'
with:
secrets: |-
agent_id:nodejs-docs-samples-tests/nodejs-docs-samples-dialogflow-cx-agent-id
Expand All @@ -62,7 +62,7 @@ jobs:
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v3
- uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -84,7 +84,7 @@ jobs:
AGENT_PROJECT_ID: nodejs-docs-samples-tests
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/flakybot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ jobs:
id-token: 'write'
steps:
- name: authenticate
uses: 'google-github-actions/auth@v1'
uses: 'google-github-actions/auth@v2'
with:
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
service_account: 'kokoro-system-test@long-door-651.iam.gserviceaccount.com'
create_credentials_file: 'true'
access_token_lifetime: 600s
- name: download test results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: test-results
- name: download FlakyBot
run: |
curl -s -L https://github.com/googleapis/repo-automation-bots/archive/refs/tags/flakybot-v${{ env.FLAKYBOT_VERSION }}.tar.gz -o flakybot.tar.gz
tar xzf flakybot.tar.gz
cp -rT repo-automation-bots-flakybot-v${{ env.FLAKYBOT_VERSION}}/packages/flakybot/ .
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
cache: true
cache-dependency-path: '${{ github.workspace }}/go.sum'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/functions-slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ jobs:
- uses: actions/checkout@v4.1.0
with:
ref: ${{github.event.pull_request.head.sha}}
- uses: 'google-github-actions/auth@v1.1.1'
- uses: 'google-github-actions/auth@v2.1.3'
with:
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
service_account: 'kokoro-system-test@long-door-651.iam.gserviceaccount.com'
create_credentials_file: 'true'
access_token_lifetime: 600s
- id: secrets
uses: 'google-github-actions/get-secretmanager-secrets@v1'
uses: 'google-github-actions/get-secretmanager-secrets@v2'
with:
secrets: |-
slack_secret:nodejs-docs-samples-tests/nodejs-docs-samples-slack-secret
Expand All @@ -62,7 +62,7 @@ jobs:
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v3
- uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -83,7 +83,7 @@ jobs:
KG_API_KEY: ${{ steps.secrets.outputs.kg_api_key }}
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/generative-ai-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ jobs:
- uses: actions/checkout@v4.1.0
with:
ref: ${{github.event.pull_request.head.sha}}
- uses: 'google-github-actions/auth@v1.1.1'
- uses: 'google-github-actions/auth@v2.1.3'
with:
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
service_account: 'kokoro-system-test@long-door-651.iam.gserviceaccount.com'
create_credentials_file: 'true'
access_token_lifetime: 600s
- id: secrets
uses: 'google-github-actions/get-secretmanager-secrets@v1'
uses: 'google-github-actions/get-secretmanager-secrets@v2'
with:
secrets: |-
caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id
Expand All @@ -66,7 +66,7 @@ jobs:
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v3
- uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -93,7 +93,7 @@ jobs:
DATASTORE_ID: ${{ steps.secrets.outputs.datastore_id }}
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/iam-deny.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: actions/checkout@v4.1.0
with:
ref: ${{github.event.pull_request.head.sha}}
- uses: 'google-github-actions/auth@v1.1.1'
- uses: 'google-github-actions/auth@v2.1.3'
with:
workload_identity_provider: 'projects/949737848314/locations/global/workloadIdentityPools/iam-deny-test-pool/providers/iam-deny-test-provider'
service_account: 'kokoro-ca@isakovf-iam-deny-samples.iam.gserviceaccount.com'
Expand All @@ -59,7 +59,7 @@ jobs:
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v3
- uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -81,7 +81,7 @@ jobs:
- run: npm test
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/remove-label.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/security-center-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: actions/checkout@v4.1.0
with:
ref: ${{github.event.pull_request.head.sha}}
- uses: 'google-github-actions/auth@v1.1.1'
- uses: 'google-github-actions/auth@v2.1.3'
with:
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
service_account: 'kokoro-system-test@long-door-651.iam.gserviceaccount.com'
Expand All @@ -59,7 +59,7 @@ jobs:
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v3
- uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -83,7 +83,7 @@ jobs:
GCLOUD_ORGANIZATION: 1081635000895
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/storagetransfer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ jobs:
- uses: actions/checkout@v4.1.0
with:
ref: ${{github.event.pull_request.head.sha}}
- uses: 'google-github-actions/auth@v1.1.1'
- uses: 'google-github-actions/auth@v2.1.3'
with:
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
service_account: 'kokoro-system-test@long-door-651.iam.gserviceaccount.com'
create_credentials_file: 'true'
access_token_lifetime: 600s
- id: secrets
uses: 'google-github-actions/get-secretmanager-secrets@v1'
uses: 'google-github-actions/get-secretmanager-secrets@v2'
with:
secrets: |-
sts_aws_secret:nodejs-docs-samples-tests/nodejs-docs-samples-storagetransfer-aws
Expand All @@ -65,7 +65,7 @@ jobs:
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v3
- uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
AZURE_SAS_TOKEN: ${{ fromJSON(steps.secrets.outputs.sts_azure_secret).SAS }}
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v4.1.0
with:
ref: ${{github.event.pull_request.head.sha}}
- uses: 'google-github-actions/auth@v1.1.1'
- uses: 'google-github-actions/auth@v2.1.3'
with:
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
service_account: 'kokoro-system-test@long-door-651.iam.gserviceaccount.com'
Expand All @@ -47,7 +47,7 @@ jobs:
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v3
- uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -67,7 +67,7 @@ jobs:
GOOGLE_SAMPLES_PROJECT: "long-door-651"
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-results
path: ${{ inputs.path }}/${{ env.MOCHA_REPORTER_OUTPUT }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/vision.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ jobs:
- uses: actions/checkout@v4.1.0
with:
ref: ${{github.event.pull_request.head.sha}}
- uses: 'google-github-actions/auth@v1.1.1'
- uses: 'google-github-actions/auth@v2.1.3'
with:
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
service_account: 'kokoro-system-test@long-door-651.iam.gserviceaccount.com'
create_credentials_file: 'true'
access_token_lifetime: 600s
- id: secrets
uses: 'google-github-actions/get-secretmanager-secrets@v1'
uses: 'google-github-actions/get-secretmanager-secrets@v2'
with:
secrets: |-
vision:nodejs-docs-samples-tests/nodejs-docs-samples-vision
Expand All @@ -64,7 +64,7 @@ jobs:
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v3
- uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -88,7 +88,7 @@ jobs:
REDIS_HOST: ${{ steps.secrets.outputs.vision.REDIS_HOST }}
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
Expand Down
8 changes: 4 additions & 4 deletions ai-platform/snippets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"@google-cloud/storage": "^7.0.0"
},
"devDependencies": {
"c8": "^8.0.0",
"chai": "^4.2.0",
"c8": "^10.0.0",
"chai": "^5.0.0",
"mocha": "^10.0.0",
"uuid": "^9.0.0",
"sinon": "^16.0.0"
"uuid": "^10.0.0",
"sinon": "^18.0.0"
}
}

8 changes: 4 additions & 4 deletions appengine/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": "16.x.x"
"node": "20.x"
},
"scripts": {
"start": "node app.js",
Expand All @@ -19,11 +19,11 @@
},
"dependencies": {
"express": "^4.16.4",
"node-fetch": "^2.6.1"
"node-fetch": "^3.0.0"
},
"devDependencies": {
"c8": "^8.0.0",
"c8": "^10.0.0",
"mocha": "^10.0.0",
"supertest": "^6.0.0"
"supertest": "^7.0.0"
}
}
4 changes: 2 additions & 2 deletions appengine/building-an-app/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"express": "^4.18.2"
},
"devDependencies": {
"c8": "^8.0.0",
"c8": "^10.0.0",
"mocha": "^10.0.0",
"supertest": "^6.0.0"
"supertest": "^7.0.0"
}
}
6 changes: 3 additions & 3 deletions appengine/building-an-app/update/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"express": "^4.18.2"
},
"devDependencies": {
"c8": "^8.0.0",
"c8": "^10.0.0",
"mocha": "^10.0.0",
"proxyquire": "^2.1.3",
"sinon": "^16.0.0",
"supertest": "^6.0.0"
"sinon": "^18.0.0",
"supertest": "^7.0.0"
}
}
Loading