Skip to content

Commit

Permalink
chore(deps): requires Node.js v18.13 (#548)
Browse files Browse the repository at this point in the history
Requires Node.js v18.13 throughout the project to address a breaking change in v18.13 (see nodejs/node#46123).

Signed-off-by: Philipp Rudloff <philipp.rudloff@konghq.com>
  • Loading branch information
Philipp Rudloff authored Jan 16, 2023
1 parent aab2666 commit a43f8cd
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-gui-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18.12"
node-version: "18.13"

- name: Cache node_modules and dist
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: '18.12'
node-version: '18.13'

- name: Cache node_modules and dist
# https://github.com/actions/cache
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.12
18.13
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test:watch": "yarn run test --watch"
},
"engines": {
"node": ">=18 <18.13.0",
"node": ">=18.13",
"yarn": "^1.22.0"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/app/data-planes/components/DataPlaneDetails.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('DataPlaneDetails', () => {

test('has expected content and UI elements', async () => {
const expectedOverviewStrings = ['DPP: backend', 'test-mesh', 'online', 'kuma.io/service', 'backend', 'kuma.io/protocol', 'http', 'envoy', '1.16.2', 'kumaDp', '1.0.7', 'coredns', '1.8.3']
const expectedInsightStrings = ['Connect time: February 17, 2021 at 7:33:36 AM', 'Control Plane Instance ID', 'Disconnect time: February 17, 2021 at 7:33:36 AM']
const expectedInsightStrings = ['Connect time: February 17, 2021 at 7:33:36AM', 'Control Plane Instance ID', 'Disconnect time: February 17, 2021 at 7:33:36AM']
const expectedPoliciesStrings = ['web', '192.168.0.1:80:81', 'backend', 'fi1.kuma-system', 'web-to-backend.kuma-system']

const wrapper = await renderComponent()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ exports[`DataPlaneEntitySummary matches snapshot 1`] = `
Connect time:
</span>
<span>
February 17, 2021 at 7:33:36 AM
February 17, 2021 at 7:33:36AM
</span>
</div>
<div
Expand Down Expand Up @@ -225,7 +225,7 @@ exports[`DataPlaneEntitySummary matches snapshot 1`] = `
Connect time:
</span>
<span>
February 17, 2021 at 7:33:36 AM
February 17, 2021 at 7:33:36AM
</span>
</div>
<div
Expand All @@ -236,7 +236,7 @@ exports[`DataPlaneEntitySummary matches snapshot 1`] = `
Disconnect time:
</span>
<span>
February 17, 2021 at 7:33:36 AM
February 17, 2021 at 7:33:36AM
</span>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,7 @@ exports[`DataPlaneListView matches snapshot 1`] = `
Connect time:
</span>
<span>
February 17, 2021 at 7:33:36 AM
February 17, 2021 at 7:33:36AM
</span>
</div>
<div
Expand Down Expand Up @@ -1981,7 +1981,7 @@ exports[`DataPlaneListView matches snapshot 1`] = `
Connect time:
</span>
<span>
February 17, 2021 at 7:33:36 AM
February 17, 2021 at 7:33:36AM
</span>
</div>
<div
Expand All @@ -1992,7 +1992,7 @@ exports[`DataPlaneListView matches snapshot 1`] = `
Disconnect time:
</span>
<span>
February 17, 2021 at 7:33:36 AM
February 17, 2021 at 7:33:36AM
</span>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ exports[`ZoneEgresses.vue renders zoneegress insights 1`] = `
<span
class="color-green-500"
>
Connect time: July 13, 2021 at 8:41:04 AM
Connect time: July 13, 2021 at 8:41:04AM
</span>
<!--v-if-->
</h4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ exports[`ZoneIngresses.vue renders zoneingress insights 1`] = `
<span
class="color-green-500"
>
Connect time: July 13, 2021 at 8:41:04 AM
Connect time: July 13, 2021 at 8:41:04AM
</span>
<!--v-if-->
</h4>
Expand Down
6 changes: 3 additions & 3 deletions src/app/zones/views/__snapshots__/ZonesView.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ exports[`ZonesView.vue renders zone insights 1`] = `
<span
class="color-green-500"
>
Connect time: February 19, 2021 at 7:11:15 AM
Connect time: February 19, 2021 at 7:11:15AM
</span>
<!--v-if-->
</h4>
Expand Down Expand Up @@ -1799,12 +1799,12 @@ exports[`ZonesView.vue renders zone insights 1`] = `
<span
class="color-green-500"
>
Connect time: July 28, 2020 at 4:18:09 PM
Connect time: July 28, 2020 at 4:18:09PM
</span>
<span
class="ml-4 color-red-600"
>
Disconnect time: July 28, 2020 at 4:18:09 PM
Disconnect time: July 28, 2020 at 4:18:09PM
</span>
</h4>
Expand Down

0 comments on commit a43f8cd

Please sign in to comment.