Skip to content

Commit 0705e4e

Browse files
authored
chore: upgrade Node and sharp dependency (#484)
1 parent a2d70d7 commit 0705e4e

File tree

9 files changed

+48
-61
lines changed

9 files changed

+48
-61
lines changed

.github/workflows/commitlint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
1414
- name: Lint commit messages
15-
uses: wagoid/commitlint-github-action@v2
15+
uses: wagoid/commitlint-github-action@v6

.github/workflows/lint.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212
- name: Setup Node.js
13-
uses: actions/setup-node@v3
13+
uses: actions/setup-node@v4
1414
with:
15-
node-version-file: ".nvmrc"
16-
cache: "yarn"
15+
node-version-file: '.nvmrc'
16+
cache: 'yarn'
1717
- name: Install dependencies
1818
run: yarn install --frozen-lockfile
1919
- name: Lint Scripts

.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
- name: Setup Node.js
16-
uses: actions/setup-node@v3
16+
uses: actions/setup-node@v4
1717
with:
18-
node-version-file: ".nvmrc"
19-
cache: "yarn"
18+
node-version-file: '.nvmrc'
19+
cache: 'yarn'
2020
- name: Install dependencies
2121
run: yarn install --frozen-lockfile
2222
- name: Cache Next.js build cache
23-
uses: actions/cache@v3
23+
uses: actions/cache@v4
2424
with:
2525
path: ${{ github.workspace }}/.next/cache
2626
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}
2727
- name: Build static assets
2828
run: yarn build
2929
- name: Semantic Release
30-
uses: cycjimmy/semantic-release-action@v3
30+
uses: cycjimmy/semantic-release-action@v4
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tests.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ jobs:
77
name: Run Cypress
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111

1212
- name: Setup Node.js
13-
uses: actions/setup-node@v3
13+
uses: actions/setup-node@v4
1414
with:
15-
node-version-file: ".nvmrc"
16-
cache: "yarn"
15+
node-version-file: '.nvmrc'
16+
cache: 'yarn'
1717

1818
- name: Install dependencies
1919
run: yarn install --frozen-lockfile
2020

2121
- name: Cache Next.js build cache
22-
uses: actions/cache@v3
22+
uses: actions/cache@v4
2323
with:
2424
path: ${{ github.workspace }}/.next/cache
2525
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}
@@ -28,21 +28,21 @@ jobs:
2828
run: yarn build
2929

3030
- name: Run Cypress
31-
uses: cypress-io/github-action@v4
31+
uses: cypress-io/github-action@v6
3232
with:
3333
start: npm start
3434
wait-on: http://localhost:3000
3535
# after the test run completes
3636
# store videos and any screenshots
3737
# NOTE: screenshots will be generated only if E2E test failed
3838
# thus we store screenshots only on failures
39-
- uses: actions/upload-artifact@v3
39+
- uses: actions/upload-artifact@v4
4040
if: failure()
4141
with:
4242
name: cypress-screenshots
4343
path: cypress/screenshots
4444
# Test run video was always captured, so this action uses "always()" condition
45-
- uses: actions/upload-artifact@v3
45+
- uses: actions/upload-artifact@v4
4646
if: always()
4747
with:
4848
name: cypress-videos

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.15
1+
22.11

.vscode/settings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
44
"eslint.run": "onType",
55
"editor.codeActionsOnSave": {
6-
"source.fixAll.eslint": true,
7-
"source.fixAll.stylelint": true
6+
"source.fixAll.eslint": "explicit",
7+
"source.fixAll.stylelint": "explicit"
88
},
99
"css.validate": false,
1010
"less.validate": false,

next.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@ module.exports = {
3232
]
3333
: []
3434
},
35+
eslint: {
36+
ignoreDuringBuilds: true,
37+
},
3538
}

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -137,5 +137,8 @@
137137
"commitizen": {
138138
"path": "cz-conventional-changelog"
139139
}
140+
},
141+
"resolutions": {
142+
"sharp": "^0.28.0"
140143
}
141144
}

yarn.lock

+19-38
Original file line numberDiff line numberDiff line change
@@ -4917,11 +4917,6 @@ [email protected]:
49174917
resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2"
49184918
integrity sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=
49194919

4920-
array-flatten@^3.0.0:
4921-
version "3.0.0"
4922-
resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-3.0.0.tgz#6428ca2ee52c7b823192ec600fa3ed2f157cd541"
4923-
integrity sha512-zPMVc3ZYlGLNk4mpK1NzP2wg0ml9t7fUgDsayR5Y5rSzxQilzR9FGu/EH2jQOcKSAeAfWeylyW8juy3OkWRvNA==
4924-
49254920
array-ify@^1.0.0:
49264921
version "1.0.0"
49274922
resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece"
@@ -5914,9 +5909,9 @@ camelcase@^6.2.0:
59145909
integrity sha512-tVI4q5jjFV5CavAU8DXfza/TJcZutVKo/5Foskmsqcm0MsL91moHvwiGNnqaa2o6PF/7yT5ikDRcVcl8Rj6LCA==
59155910

59165911
caniuse-lite@^1.0.30001043, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001280, caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001335, caniuse-lite@^1.0.30001359:
5917-
version "1.0.30001363"
5918-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001363.tgz#26bec2d606924ba318235944e1193304ea7c4f15"
5919-
integrity sha512-HpQhpzTGGPVMnCjIomjt+jvyUu8vNFo3TaDiZ/RcoTrlOq/5+tC8zHdsbgFB6MxmaY+jCpsH09aD80Bb4Ow3Sg==
5912+
version "1.0.30001684"
5913+
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001684.tgz"
5914+
integrity sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==
59205915

59215916
capture-exit@^2.0.0:
59225917
version "2.0.0"
@@ -7160,13 +7155,6 @@ decompress-response@^4.2.0:
71607155
dependencies:
71617156
mimic-response "^2.0.0"
71627157

7163-
decompress-response@^6.0.0:
7164-
version "6.0.0"
7165-
resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc"
7166-
integrity sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==
7167-
dependencies:
7168-
mimic-response "^3.1.0"
7169-
71707158
[email protected], dedent@^0.7.0:
71717159
version "0.7.0"
71727160
resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c"
@@ -12073,11 +12061,6 @@ mimic-response@^2.0.0:
1207312061
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-2.1.0.tgz#d13763d35f613d09ec37ebb30bac0469c0ee8f43"
1207412062
integrity sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==
1207512063

12076-
mimic-response@^3.1.0:
12077-
version "3.1.0"
12078-
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9"
12079-
integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==
12080-
1208112064
min-document@^2.19.0:
1208212065
version "2.19.0"
1208312066
resolved "https://registry.yarnpkg.com/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685"
@@ -12467,7 +12450,7 @@ node-abi@^2.21.0:
1246712450
dependencies:
1246812451
semver "^5.4.1"
1246912452

12470-
node-addon-api@^3.1.0:
12453+
node-addon-api@^3.2.0:
1247112454
version "3.2.1"
1247212455
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161"
1247312456
integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==
@@ -12828,7 +12811,7 @@ npm@^8.3.0:
1282812811
which "^2.0.2"
1282912812
write-file-atomic "^4.0.1"
1283012813

12831-
npmlog@^4.0.1, npmlog@^4.1.2:
12814+
npmlog@^4.0.1:
1283212815
version "4.1.2"
1283312816
resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
1283412817
integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==
@@ -14147,7 +14130,7 @@ postcss@^8.2.15, postcss@^8.3.11:
1414714130
picocolors "^1.0.0"
1414814131
source-map-js "^1.0.1"
1414914132

14150-
prebuild-install@^6.0.1:
14133+
prebuild-install@^6.1.2:
1415114134
version "6.1.4"
1415214135
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-6.1.4.tgz#ae3c0142ad611d58570b89af4986088a4937e00f"
1415314136
integrity sha512-Z4vpywnK1lBg+zdPCVCsKq0xO66eEV9rWo2zrROGGiRS4JtueBOdlB1FnY8lcy7JsUud/Q3ijUxyWN26Ika0vQ==
@@ -15599,19 +15582,17 @@ shallowequal@^1.1.0:
1559915582
resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8"
1560015583
integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==
1560115584

15602-
sharp@^0.27.0:
15603-
version "0.27.2"
15604-
resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.27.2.tgz#a939775e630e88600c0b5e68f20593aea722252f"
15605-
integrity sha512-w3FVoONPG/x5MXCc3wsjOS+b9h3CI60qkus6EPQU4dkT0BDm0PyGhDCK6KhtfT3/vbeOMOXAKFNSw+I3QGWkMA==
15585+
sharp@^0.27.0, sharp@^0.28.0:
15586+
version "0.28.3"
15587+
resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.28.3.tgz#ecd74cefd020bee4891bb137c9850ee2ce277a8b"
15588+
integrity sha512-21GEP45Rmr7q2qcmdnjDkNP04Ooh5v0laGS5FDpojOO84D1DJwUijLiSq8XNNM6e8aGXYtoYRh3sVNdm8NodMA==
1560615589
dependencies:
15607-
array-flatten "^3.0.0"
1560815590
color "^3.1.3"
1560915591
detect-libc "^1.0.3"
15610-
node-addon-api "^3.1.0"
15611-
npmlog "^4.1.2"
15612-
prebuild-install "^6.0.1"
15613-
semver "^7.3.4"
15614-
simple-get "^4.0.0"
15592+
node-addon-api "^3.2.0"
15593+
prebuild-install "^6.1.2"
15594+
semver "^7.3.5"
15595+
simple-get "^3.1.0"
1561515596
tar-fs "^2.1.1"
1561615597
tunnel-agent "^0.6.0"
1561715598

@@ -15694,12 +15675,12 @@ simple-get@^3.0.3:
1569415675
once "^1.3.1"
1569515676
simple-concat "^1.0.0"
1569615677

15697-
simple-get@^4.0.0:
15698-
version "4.0.0"
15699-
resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-4.0.0.tgz#73fa628278d21de83dadd5512d2cc1f4872bd675"
15700-
integrity sha512-ZalZGexYr3TA0SwySsr5HlgOOinS4Jsa8YB2GJ6lUNAazyAu4KG/VmzMTwAt2YVXzzVj8QmefmAonZIK2BSGcQ==
15678+
simple-get@^3.1.0:
15679+
version "3.1.1"
15680+
resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-3.1.1.tgz#cc7ba77cfbe761036fbfce3d021af25fc5584d55"
15681+
integrity sha512-CQ5LTKGfCpvE1K0n2us+kuMPbk/q0EKl82s4aheV9oXjFEz6W/Y7oQFVJuU6QG77hRT4Ghb5RURteF5vnWjupA==
1570115682
dependencies:
15702-
decompress-response "^6.0.0"
15683+
decompress-response "^4.2.0"
1570315684
once "^1.3.1"
1570415685
simple-concat "^1.0.0"
1570515686

0 commit comments

Comments
 (0)