Skip to content

Commit

Permalink
feat(deps): Update dependencies 2024.07.06 (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseLion committed Jul 6, 2024
1 parent 989a361 commit d87e92a
Show file tree
Hide file tree
Showing 3 changed files with 346 additions and 355 deletions.
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
"keywords": [
"react-native",
"testing",
"test",
"mocks",
"mock"
"react-native-testing-library",
"vitest",
"mocha"
],
"type": "module",
"source": "./src/main.ts",
Expand Down Expand Up @@ -79,15 +80,15 @@
"@eslint/compat": "^1.1.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.6.0",
"@react-native/babel-preset": "^0.74.84",
"@react-native/babel-preset": "^0.74.85",
"@stylistic/eslint-plugin": "^2.3.0",
"@testing-library/react-native": "^12.5.1",
"@types/babel__core": "^7.20.5",
"@types/babel__register": "^7.17.3",
"@types/debug": "^4.1.12",
"@types/eslint__eslintrc": "^2.1.1",
"@types/eslint__js": "^8.42.3",
"@types/node": "^20.14.9",
"@types/node": "^20.14.10",
"@types/react": "^18.3.3",
"@types/react-test-renderer": "^18.3.0",
"@types/sinon": "^17.0.3",
Expand All @@ -97,21 +98,21 @@
"eslint-plugin-etc": "^2.0.3",
"eslint-plugin-extra-rules": "^0.0.0-development",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.5.0",
"eslint-plugin-jsdoc": "^48.5.2",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-sonarjs": "^1.0.3",
"globals": "^15.6.0",
"globals": "^15.8.0",
"react": "18.3.1",
"react-native": "^0.74.2",
"react-native": "^0.74.3",
"react-native-svg": "^15.3.0",
"react-test-renderer": "^18.3.1",
"semantic-release": "^24.0.0",
"semantic-release-yarn": "^3.0.2",
"sinon": "^18.0.0",
"tslib": "^2.6.3",
"typescript": "^5.5.2",
"typescript-eslint": "^7.14.1",
"vite": "^5.3.2",
"typescript": "^5.5.3",
"typescript-eslint": "^7.15.0",
"vite": "^5.3.3",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.6.0"
},
Expand Down
10 changes: 9 additions & 1 deletion src/lib/Core/NativeModules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,15 @@ export const NativeModulesMock = {
},
PlatformConstants: {
getConstants() {
return { isTesting: true };
return {
isTesting: true,
reactNativeVersion: {
major: 1000,
minor: 0,
patch: 0,
prerelease: undefined,
},
};
},
},
PushNotificationManager: {
Expand Down
Loading

0 comments on commit d87e92a

Please sign in to comment.