diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b2e1735..161df30 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -40,7 +40,7 @@ jobs: run: echo "BUILD_VERSION=$(cat package.json | grep version | head -1 | awk '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')" >> $GITHUB_ENV - name: Docker build - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . push: ${{ github.event_name == 'push' }} @@ -59,7 +59,7 @@ jobs: run: echo "BUILD_VERSION=$(cat package.json | grep version | head -1 | awk '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')" >> $GITHUB_ENV - name: Docker build - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . push: false diff --git a/.github/workflows/unstable.yml b/.github/workflows/unstable.yml index f921f80..ee40538 100644 --- a/.github/workflows/unstable.yml +++ b/.github/workflows/unstable.yml @@ -32,7 +32,7 @@ jobs: run: echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - name: Docker Build - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . push: true diff --git a/.github/workflows/update-license-year.yml b/.github/workflows/update-license-year.yml index d0768eb..5f59b1f 100644 --- a/.github/workflows/update-license-year.yml +++ b/.github/workflows/update-license-year.yml @@ -38,7 +38,7 @@ jobs: git commit -m "Updated License Year" -a - name: Create Pull Request - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@v7 with: token: ${{ secrets.GITHUB_TOKEN }} title: Update License Year diff --git a/CHANGES.txt b/CHANGES.txt index 71f6784..3a41459 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,6 @@ 2.6.1 (Dec 17, 2024) - Updated base image to node:20.13.1-alpine3.20 - - Updated @splitsoftware/splitio package to version 11.0.3 that includes vulnerability fixes and improvements. + - Updated @splitsoftware/splitio package to version 11.0.3 that includes vulnerability fixes and other improvements. 2.6.0 (May 16, 2024) - Updated @splitsoftware/splitio package to version 10.26.0 that includes: diff --git a/client/__tests__/track.test.js b/client/__tests__/track.test.js index a4f367e..bb39285 100644 --- a/client/__tests__/track.test.js +++ b/client/__tests__/track.test.js @@ -58,7 +58,7 @@ describe('track', () => { ]; const key = getLongKey(); const response = await request(app) - .get(`/client/track?key=${key}&event-type=my-event&traffic-type=my-traffic&value=1`) + .get(`/client/track?key=${key}&event-type=my-event&traffic-type=my-traffic&value=1`) .set('Authorization', 'test'); expectErrorContaining(response, 400, expected); }); diff --git a/listener/__tests__/ip-addresses.test.js b/listener/__tests__/ip-addresses.test.js index e6777e7..a87884c 100644 --- a/listener/__tests__/ip-addresses.test.js +++ b/listener/__tests__/ip-addresses.test.js @@ -59,7 +59,6 @@ describe('ip addresses', () => { await new Promise(resolve => setTimeout(resolve, 100)); expect(ip).toBe(false); expect(hostname).toBe(false); - await Promise.resolve(); }); }); @@ -80,7 +79,6 @@ describe('ip addresses', () => { await new Promise(resolve => setTimeout(resolve, 100)); expect(ip).toBe(localIp.address()); expect(hostname).toBe(os.hostname()); - await Promise.resolve(); }); }); });