Skip to content

Commit bd23edc

Browse files
authored
Merge branch 'main' into main
2 parents 09f211a + b7a4387 commit bd23edc

218 files changed

Lines changed: 7015 additions & 213 deletions

File tree

Some content is hidden

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

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"node/no-unsupported-features/es-syntax": ["off"]
1313
},
1414
"parserOptions": {
15+
"ecmaVersion": 2020,
1516
"sourceType": "module"
1617
}
1718
}

.github/config/nodejs-dev.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@
185185
"functions/v2/tips/retry",
186186
"functions/v2/typed/googlechatbot",
187187
"functions/v2/typed/greeting",
188+
"genai", // parent directory
188189
"generative-ai/snippets",
189190
"healthcare/consent",
190191
"healthcare/datasets",

.github/config/nodejs.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"functions/http/uploadFile", // no tests exist
7171
"functions/log", // parent directory
7272
"functions/pubsub", // parent directory
73+
"genai", // parent directory
7374
"memorystore/redis", // parent directory
7475
"recaptcha_enterprise/demosite/app", // no tests exist
7576

ai-platform/snippets/test/imagen.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ describe('AI platform edit image using Imagen inpainting and outpainting', () =>
6666
});
6767
});
6868

69-
describe('AI platform get image captions and responses using Imagen', () => {
69+
// b/452720552
70+
describe.skip('AI platform get image captions and responses using Imagen', () => {
7071
it('should get short form captions for an image', async () => {
7172
const stdout = execSync('node ./imagen-get-short-form-image-captions.js', {
7273
cwd,

appengine/building-an-app/build/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
# limitations under the License.
1313

1414
# [START gae_build_app_yaml_node]
15-
runtime: nodejs20
15+
runtime: nodejs24
1616
# [END gae_build_app_yaml_node]

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": "20.x.x"
17+
"node": "24.x.x"
1818
},
1919
"author": "Google Inc.",
2020
"license": "Apache-2.0",

appengine/hello-world/flexible/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
runtime: nodejs
1717
env: flex
1818
runtime_config:
19-
operating_system: ubuntu22
19+
operating_system: ubuntu24
2020
# This sample incurs costs to run on the App Engine flexible environment.
2121
# The settings below are to reduce costs during testing and are not appropriate
2222
# for production use. For more information, see:

auth/.eslintrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "../.eslintrc.json",
3+
"rules": {
4+
"no-unused-vars": "off"
5+
}
6+
}

auth/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ information](https://developers.google.com/identity/protocols/application-defaul
6464

6565
For more information on downscoped credentials you can visit:
6666

67-
> https://github.com/googleapis/google-auth-library-nodejs
67+
> https://github.com/googleapis/google-auth-library-nodejs
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM node:20-slim
2+
3+
WORKDIR /app
4+
5+
COPY package*.json ./
6+
7+
RUN npm install --omit=dev
8+
9+
RUN useradd -m appuser
10+
11+
COPY --chown=appuser:appuser . .
12+
13+
USER appuser
14+
15+
CMD [ "node", "customCredentialSupplierAws.js" ]

0 commit comments

Comments
 (0)