Skip to content

Commit 3048dd1

Browse files
authored
fix: cypress upgrade and import path fix (#301)
1 parent 18d7862 commit 3048dd1

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

cypress/support/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// Import commands.js using ES2015 syntax:
1616
// Alternatively you can use CommonJS syntax:
1717
// require('./commands')
18-
import { mount } from 'cypress/react18';
18+
import { mount } from 'cypress/react';
1919

2020
import './commands';
2121

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"@vitejs/plugin-react": "^4.3.4",
9393
"axios": "1.7.9",
9494
"concurrently": "9.1.2",
95-
"cypress": "13.17.0",
95+
"cypress": "^14.4.1",
9696
"env-cmd": "10.1.0",
9797
"eslint": "^9.17.0",
9898
"eslint-config-airbnb": "19.0.4",

yarn.lock

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,13 +1567,6 @@ __metadata:
15671567
languageName: node
15681568
linkType: hard
15691569

1570-
"@colors/colors@npm:1.5.0":
1571-
version: 1.5.0
1572-
resolution: "@colors/colors@npm:1.5.0"
1573-
checksum: 10/9d226461c1e91e95f067be2bdc5e6f99cfe55a721f45afb44122e23e4b8602eeac4ff7325af6b5a369f36396ee1514d3809af3f57769066d80d83790d8e53339
1574-
languageName: node
1575-
linkType: hard
1576-
15771570
"@commitlint/cli@npm:19.6.1":
15781571
version: 19.6.1
15791572
resolution: "@commitlint/cli@npm:19.6.1"
@@ -1788,7 +1781,7 @@ __metadata:
17881781
languageName: node
17891782
linkType: hard
17901783

1791-
"@cypress/request@npm:^3.0.6":
1784+
"@cypress/request@npm:^3.0.8":
17921785
version: 3.0.8
17931786
resolution: "@cypress/request@npm:3.0.8"
17941787
dependencies:
@@ -5140,7 +5133,7 @@ __metadata:
51405133
languageName: node
51415134
linkType: hard
51425135

5143-
"ci-info@npm:^4.0.0":
5136+
"ci-info@npm:^4.1.0":
51445137
version: 4.2.0
51455138
resolution: "ci-info@npm:4.2.0"
51465139
checksum: 10/928d8457f3476ffc4a66dec93b9cdf1944d5e60dba69fbd6a0fc95b652386f6ef64857f6e32372533210ef6d8954634af2c7693d7c07778ee015f3629a5e0dd9
@@ -5163,16 +5156,16 @@ __metadata:
51635156
languageName: node
51645157
linkType: hard
51655158

5166-
"cli-table3@npm:~0.6.1":
5167-
version: 0.6.5
5168-
resolution: "cli-table3@npm:0.6.5"
5159+
"cli-table3@npm:0.6.1":
5160+
version: 0.6.1
5161+
resolution: "cli-table3@npm:0.6.1"
51695162
dependencies:
5170-
"@colors/colors": "npm:1.5.0"
5163+
colors: "npm:1.4.0"
51715164
string-width: "npm:^4.2.0"
51725165
dependenciesMeta:
5173-
"@colors/colors":
5166+
colors:
51745167
optional: true
5175-
checksum: 10/8dca71256f6f1367bab84c33add3f957367c7c43750a9828a4212ebd31b8df76bd7419d386e3391ac7419698a8540c25f1a474584028f35b170841cde2e055c5
5168+
checksum: 10/eb11ef1264d6e6480eef4d1306f7c9c25800751a40d3eb205f3910ff6e49d067b8b4208e2a17abe57742a57e3c19764a44a68dbf2761bc1f707fdb7b4d658cd9
51765169
languageName: node
51775170
linkType: hard
51785171

@@ -5281,6 +5274,13 @@ __metadata:
52815274
languageName: node
52825275
linkType: hard
52835276

5277+
"colors@npm:1.4.0":
5278+
version: 1.4.0
5279+
resolution: "colors@npm:1.4.0"
5280+
checksum: 10/90b2d5465159813a3983ea72ca8cff75f784824ad70f2cc2b32c233e95bcfbcda101ebc6d6766bc50f57263792629bfb4f1f8a4dfbd1d240f229fc7f69b785fc
5281+
languageName: node
5282+
linkType: hard
5283+
52845284
"combined-stream@npm:^1.0.8, combined-stream@npm:~1.0.6":
52855285
version: 1.0.8
52865286
resolution: "combined-stream@npm:1.0.8"
@@ -5560,11 +5560,11 @@ __metadata:
55605560
languageName: node
55615561
linkType: hard
55625562

5563-
"cypress@npm:13.17.0":
5564-
version: 13.17.0
5565-
resolution: "cypress@npm:13.17.0"
5563+
"cypress@npm:^14.4.1":
5564+
version: 14.4.1
5565+
resolution: "cypress@npm:14.4.1"
55665566
dependencies:
5567-
"@cypress/request": "npm:^3.0.6"
5567+
"@cypress/request": "npm:^3.0.8"
55685568
"@cypress/xvfb": "npm:^1.2.4"
55695569
"@types/sinonjs__fake-timers": "npm:8.1.1"
55705570
"@types/sizzle": "npm:^2.3.2"
@@ -5575,9 +5575,9 @@ __metadata:
55755575
cachedir: "npm:^2.3.0"
55765576
chalk: "npm:^4.1.0"
55775577
check-more-types: "npm:^2.24.0"
5578-
ci-info: "npm:^4.0.0"
5578+
ci-info: "npm:^4.1.0"
55795579
cli-cursor: "npm:^3.1.0"
5580-
cli-table3: "npm:~0.6.1"
5580+
cli-table3: "npm:0.6.1"
55815581
commander: "npm:^6.2.1"
55825582
common-tags: "npm:^1.8.0"
55835583
dayjs: "npm:^1.10.4"
@@ -5601,15 +5601,15 @@ __metadata:
56015601
process: "npm:^0.11.10"
56025602
proxy-from-env: "npm:1.0.0"
56035603
request-progress: "npm:^3.0.0"
5604-
semver: "npm:^7.5.3"
5604+
semver: "npm:^7.7.1"
56055605
supports-color: "npm:^8.1.1"
56065606
tmp: "npm:~0.2.3"
56075607
tree-kill: "npm:1.2.2"
56085608
untildify: "npm:^4.0.0"
56095609
yauzl: "npm:^2.10.0"
56105610
bin:
56115611
cypress: bin/cypress
5612-
checksum: 10/6c548e2adf7ae127365570680aa32015dbeb94cad30ce4f8a92e2e58d8ef7033b7f0ece50579a0a13eb07061feede0c813ff8d1e50e0feb87520dece5be4ba95
5612+
checksum: 10/c5b36cee2ac7bb4ded06dfade0b1c2b0f9893468e468ab010c87dba1475e1260dfc525d447c3328b2779e163f6268a005180536aa0c813ce7f096aa9066c30d6
56135613
languageName: node
56145614
linkType: hard
56155615

@@ -7688,7 +7688,7 @@ __metadata:
76887688
"@vitejs/plugin-react": "npm:^4.3.4"
76897689
axios: "npm:1.7.9"
76907690
concurrently: "npm:9.1.2"
7691-
cypress: "npm:13.17.0"
7691+
cypress: "npm:^14.4.1"
76927692
date-fns: "npm:^4.1.0"
76937693
env-cmd: "npm:10.1.0"
76947694
eslint: "npm:^9.17.0"

0 commit comments

Comments
 (0)