Skip to content

Commit 253d2d5

Browse files
authored
chore: update npm packages (#101)
1 parent e415fae commit 253d2d5

File tree

20 files changed

+2867
-2376
lines changed

20 files changed

+2867
-2376
lines changed

example-app-spm/package.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,35 +15,35 @@
1515
"@capacitor/barcode-scanner": "file:../plugin/",
1616
"@capacitor/core": "next",
1717
"@capacitor/ios": "next",
18-
"@ionic/react": "^8.7.0",
19-
"@ionic/react-router": "^8.7.0",
20-
"@types/react-router": "^5.1.20",
21-
"@types/react-router-dom": "^5.3.3",
22-
"ionicons": "^7.0.0",
23-
"react": "^18.2.0",
24-
"react-dom": "^18.2.0",
18+
"@ionic/react": "^8.7.9",
19+
"@ionic/react-router": "^8.7.9",
20+
"ionicons": "^8.0.13",
21+
"react": "^19.2.0",
22+
"react-dom": "^19.2.0",
2523
"react-router": "^5.3.4",
2624
"react-router-dom": "^5.3.4"
2725
},
2826
"devDependencies": {
2927
"@capacitor/cli": "next",
30-
"@testing-library/dom": ">=7.21.4",
31-
"@testing-library/jest-dom": "^5.16.5",
32-
"@testing-library/react": "^14.0.0",
33-
"@testing-library/user-event": "^14.4.3",
34-
"@types/jest": "^29.5.12",
35-
"@types/react": "^18.0.27",
36-
"@types/react-dom": "^18.0.10",
37-
"@vitejs/plugin-legacy": "^5.0.0",
38-
"@vitejs/plugin-react": "^4.2.1",
39-
"cypress": "^13.5.0",
40-
"eslint": "^8.35.0",
41-
"eslint-plugin-react": "^7.32.2",
42-
"jsdom": "^22.1.0",
43-
"terser": "^5.4.0",
44-
"typescript": "^5.1.6",
45-
"vite": "^5.0.0",
46-
"vitest": "^0.34.6"
28+
"@testing-library/dom": "^10.4.1",
29+
"@testing-library/jest-dom": "^6.9.1",
30+
"@testing-library/react": "^16.3.0",
31+
"@testing-library/user-event": "^14.6.1",
32+
"@types/jest": "^30.0.0",
33+
"@types/react": "^19.2.6",
34+
"@types/react-dom": "^19.2.3",
35+
"@types/react-router": "^5.1.20",
36+
"@types/react-router-dom": "^5.3.3",
37+
"@vitejs/plugin-legacy": "^7.2.1",
38+
"@vitejs/plugin-react": "^5.1.1",
39+
"cypress": "^15.6.0",
40+
"eslint": "^8.57.1",
41+
"eslint-plugin-react": "^7.37.5",
42+
"jsdom": "^27.2.0",
43+
"terser": "^5.44.1",
44+
"typescript": "^5.9.3",
45+
"vite": "^7.2.2",
46+
"vitest": "^4.0.10"
4747
},
4848
"description": "An Ionic project"
4949
}

example-app/package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -16,35 +16,35 @@
1616
"@capacitor/barcode-scanner": "file:../plugin/",
1717
"@capacitor/core": "next",
1818
"@capacitor/ios": "next",
19-
"@ionic/react": "^8.7.0",
20-
"@ionic/react-router": "^8.7.0",
21-
"@types/react-router": "^5.1.20",
22-
"@types/react-router-dom": "^5.3.3",
23-
"ionicons": "^7.0.0",
24-
"react": "^18.2.0",
25-
"react-dom": "^18.2.0",
19+
"@ionic/react": "^8.7.9",
20+
"@ionic/react-router": "^8.7.9",
21+
"ionicons": "^8.0.13",
22+
"react": "^19.2.0",
23+
"react-dom": "^19.2.0",
2624
"react-router": "^5.3.4",
2725
"react-router-dom": "^5.3.4"
2826
},
2927
"devDependencies": {
3028
"@capacitor/cli": "next",
31-
"@testing-library/dom": ">=7.21.4",
32-
"@testing-library/jest-dom": "^5.16.5",
33-
"@testing-library/react": "^14.0.0",
34-
"@testing-library/user-event": "^14.4.3",
35-
"@types/jest": "^29.5.12",
36-
"@types/react": "^18.0.27",
37-
"@types/react-dom": "^18.0.10",
38-
"@vitejs/plugin-legacy": "^5.0.0",
39-
"@vitejs/plugin-react": "^4.2.1",
40-
"cypress": "^13.5.0",
41-
"eslint": "^8.35.0",
42-
"eslint-plugin-react": "^7.32.2",
43-
"jsdom": "^22.1.0",
44-
"terser": "^5.4.0",
45-
"typescript": "^5.1.6",
46-
"vite": "^5.0.0",
47-
"vitest": "^0.34.6"
29+
"@testing-library/dom": "^10.4.1",
30+
"@testing-library/jest-dom": "^6.9.1",
31+
"@testing-library/react": "^16.3.0",
32+
"@testing-library/user-event": "^14.6.1",
33+
"@types/jest": "^30.0.0",
34+
"@types/react": "^19.2.6",
35+
"@types/react-dom": "^19.2.3",
36+
"@types/react-router": "^5.1.20",
37+
"@types/react-router-dom": "^5.3.3",
38+
"@vitejs/plugin-legacy": "^7.2.1",
39+
"@vitejs/plugin-react": "^5.1.1",
40+
"cypress": "^15.6.0",
41+
"eslint": "^8.57.1",
42+
"eslint-plugin-react": "^7.37.5",
43+
"jsdom": "^27.2.0",
44+
"terser": "^5.44.1",
45+
"typescript": "^5.9.3",
46+
"vite": "^7.2.2",
47+
"vitest": "^4.0.10"
4848
},
4949
"description": "An Ionic project"
50-
}
50+
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
"publish:latest": "lerna publish --conventional-commits --dist-tag latest --force-publish --no-verify-access --yes"
1313
},
1414
"devDependencies": {
15-
"@types/node": "^20.11.25",
16-
"husky": "^9.0.1",
17-
"lerna": "^8.1.2",
18-
"typescript": "^5.4.2"
15+
"@types/node": "^24.10.1",
16+
"husky": "^9.1.7",
17+
"lerna": "^9.0.1",
18+
"typescript": "^5.9.3"
1919
},
2020
"engines": {
2121
"node": ">=20",

plugin/.eslintignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

plugin/.eslintrc.json

Lines changed: 0 additions & 39 deletions
This file was deleted.

plugin/.prettierignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

plugin/.prettierrc

Lines changed: 0 additions & 29 deletions
This file was deleted.

plugin/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Defines the options for configuring a barcode scan.
147147

148148
| Members | Value |
149149
| ----------- | -------------------- |
150-
| **`ZXING`** | <code>'zxing'</code> |
151-
| **`MLKIT`** | <code>'mlkit'</code> |
150+
| **`ZXING`** | <code>"zxing"</code> |
151+
| **`MLKIT`** | <code>"mlkit"</code> |
152152

153153
</docgen-api>

plugin/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
@RunWith(AndroidJUnit4.class)
1717
public class ExampleInstrumentedTest {
1818

19-
@Test
20-
public void useAppContext() throws Exception {
21-
// Context of the app under test.
22-
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
19+
@Test
20+
public void useAppContext() throws Exception {
21+
// Context of the app under test.
22+
Context appContext =
23+
InstrumentationRegistry.getInstrumentation().getTargetContext();
2324

24-
assertEquals("com.getcapacitor.android", appContext.getPackageName());
25-
}
25+
assertEquals("com.getcapacitor.android", appContext.getPackageName());
26+
}
2627
}

plugin/android/src/test/java/com/getcapacitor/ExampleUnitTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
*/
1212
public class ExampleUnitTest {
1313

14-
@Test
15-
public void addition_isCorrect() throws Exception {
16-
assertEquals(4, 2 + 2);
17-
}
14+
@Test
15+
public void addition_isCorrect() throws Exception {
16+
assertEquals(4, 2 + 2);
17+
}
1818
}

0 commit comments

Comments
 (0)