From 129d4a0a5d3c64128673f977b0c46007ed40f70f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Apr 2026 04:32:45 +0000 Subject: [PATCH 1/3] Bump uuid from 13.0.0 to 14.0.0 Bumps [uuid](https://github.com/uuidjs/uuid) from 13.0.0 to 14.0.0. - [Release notes](https://github.com/uuidjs/uuid/releases) - [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md) - [Commits](https://github.com/uuidjs/uuid/compare/v13.0.0...v14.0.0) --- updated-dependencies: - dependency-name: uuid dependency-version: 14.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 57d8545..a6526ff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.0", "license": "Apache-2.0", "dependencies": { - "uuid": "^13.0.0" + "uuid": "^14.0.0" }, "devDependencies": { "@aws-appsync/utils": "^2.1.1", @@ -5473,9 +5473,9 @@ } }, "node_modules/uuid": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-13.0.0.tgz", - "integrity": "sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-14.0.0.tgz", + "integrity": "sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" diff --git a/package.json b/package.json index 0148681..1bc940f 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,6 @@ "jest": "^30.3.0" }, "dependencies": { - "uuid": "^13.0.0" + "uuid": "^14.0.0" } } From cb2c2b87260d786b2831fcbfb3d177e175eab084 Mon Sep 17 00:00:00 2001 From: Mathieu Cloutier Date: Tue, 21 Apr 2026 11:53:11 -0600 Subject: [PATCH 2/3] fix test_in_docker --- .github/workflows/test-appsync-utils.yml | 4 +++- test_in_docker.sh | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-appsync-utils.yml b/.github/workflows/test-appsync-utils.yml index 7518702..9a607ef 100644 --- a/.github/workflows/test-appsync-utils.yml +++ b/.github/workflows/test-appsync-utils.yml @@ -27,6 +27,8 @@ jobs: integration-test: runs-on: ubuntu-latest + env: + TEST_IMAGE_NAME: ${{ env.NODEJS_IMAGE_NAME }}:${{ env.NODE_VERSION }} steps: - uses: actions/checkout@v6 - uses: actions/setup-node@v6 @@ -34,7 +36,7 @@ jobs: node-version: ${{ env.NODE_VERSION }} - name: Pull test docker image - run: docker pull ${{ env.NODEJS_IMAGE_NAME }}:${{ env.NODE_VERSION }} + run: docker pull ${{ env.TEST_IMAGE_NAME }} - name: Install dependencies run: npm ci diff --git a/test_in_docker.sh b/test_in_docker.sh index 8dd29d3..e9d6507 100755 --- a/test_in_docker.sh +++ b/test_in_docker.sh @@ -7,6 +7,10 @@ set -euo pipefail # This script both runs the test, and acts as its own entrypoint if [ -z ${TEST_IN_DOCKER_ENTRYPOINT:-} ]; then + if [ -z "${TEST_IMAGE_NAME:-}" ]; then + echo "WARNING: TEST_IMAGE_NAME is not set. Set it to the docker image to use for testing. eg. public.ecr.aws/lambda/nodejs:22" + exit 1 + fi # test script echo Test script $0 script_path=$(readlink -f $0) @@ -18,7 +22,7 @@ if [ -z ${TEST_IN_DOCKER_ENTRYPOINT:-} ]; then --workdir /test \ --entrypoint bash \ -e TEST_IN_DOCKER_ENTRYPOINT=1 \ - ${TEST_IMAGE_NAME:-public.ecr.aws/lambda/nodejs:18} /test_in_docker.sh + ${TEST_IMAGE_NAME} /test_in_docker.sh else # entrypoint echo Entrypoint From d90af60297fbb067445c279dcf3ea8a7c74a46c6 Mon Sep 17 00:00:00 2001 From: Mathieu Cloutier Date: Tue, 21 Apr 2026 11:57:08 -0600 Subject: [PATCH 3/3] Moved TEST_IMAGE_NAME to a step-level env --- .github/workflows/test-appsync-utils.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-appsync-utils.yml b/.github/workflows/test-appsync-utils.yml index 9a607ef..09d130f 100644 --- a/.github/workflows/test-appsync-utils.yml +++ b/.github/workflows/test-appsync-utils.yml @@ -27,8 +27,6 @@ jobs: integration-test: runs-on: ubuntu-latest - env: - TEST_IMAGE_NAME: ${{ env.NODEJS_IMAGE_NAME }}:${{ env.NODE_VERSION }} steps: - uses: actions/checkout@v6 - uses: actions/setup-node@v6 @@ -36,13 +34,15 @@ jobs: node-version: ${{ env.NODE_VERSION }} - name: Pull test docker image - run: docker pull ${{ env.TEST_IMAGE_NAME }} + run: docker pull ${{ env.NODEJS_IMAGE_NAME }}:${{ env.NODE_VERSION }} - name: Install dependencies run: npm ci - name: Integration test with LocalStack invoke method run: bash ./test_in_docker.sh + env: + TEST_IMAGE_NAME: ${{ env.NODEJS_IMAGE_NAME }}:${{ env.NODE_VERSION }} localstack-test: runs-on: ubuntu-latest