Skip to content

Commit b67c846

Browse files
committed
build(deps): bump all system and yarn dependencies where possible
- still reserving detox and superstruct as the need forward porting - spacing fixes from running `yarn lint:markdown -w` and `yarn lint --fix` after update to prettier
1 parent 39aa46f commit b67c846

File tree

16 files changed

+2383
-1541
lines changed

16 files changed

+2383
-1541
lines changed

docs/app/utils.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,8 @@ It is useful to know if the Android device has play services available, and what
5353
import { utils } from '@react-native-firebase/app';
5454

5555
async function checkPlayServicesExample() {
56-
const {
57-
status,
58-
isAvailable,
59-
hasResolution,
60-
isUserResolvableError,
61-
} = utils().playServicesAvailability;
56+
const { status, isAvailable, hasResolution, isUserResolvableError } =
57+
utils().playServicesAvailability;
6258
// all good and valid \o/
6359
if (isAvailable) return Promise.resolve();
6460
// if the user can resolve the issue i.e by updating play services

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -43,36 +43,36 @@
4343
"format:markdown": "prettier --write \"docs/**/*.md\""
4444
},
4545
"devDependencies": {
46-
"@babel/core": "^7.14.0",
47-
"@babel/preset-env": "7.14.1",
48-
"@octokit/core": "^3.3.1",
46+
"@babel/core": "^7.14.8",
47+
"@babel/preset-env": "7.14.9",
48+
"@octokit/core": "^3.5.1",
4949
"@tsconfig/node12": "^1.0.9",
50-
"@types/jest": "^26.0.23",
51-
"@types/react": "^17.0.5",
52-
"@types/react-native": "^0.64.4",
53-
"@typescript-eslint/eslint-plugin": "^4.22.1",
54-
"@typescript-eslint/parser": "^4.22.1",
55-
"babel-jest": "^26.6.3",
56-
"codecov": "^3.8.2",
50+
"@types/jest": "^26.0.24",
51+
"@types/react": "^17.0.15",
52+
"@types/react-native": "^0.64.12",
53+
"@typescript-eslint/eslint-plugin": "^4.29.0",
54+
"@typescript-eslint/parser": "^4.29.0",
55+
"babel-jest": "^27.0.6",
56+
"codecov": "^3.8.3",
5757
"conventional-changelog-cli": "^2.0.34",
5858
"cross-env": "^7.0.3",
59-
"eslint": "^7.25.0",
59+
"eslint": "^7.32.0",
6060
"eslint-config-prettier": "^8.3.0",
61-
"eslint-plugin-mocha": "^8.1.0",
61+
"eslint-plugin-mocha": "^9.0.0",
6262
"eslint-plugin-prettier": "^3.4.0",
63-
"eslint-plugin-react": "^7.23.2",
64-
"genversion": "^2.3.1",
65-
"inquirer": "^8.0.0",
66-
"jest": "^26.6.3",
63+
"eslint-plugin-react": "^7.24.0",
64+
"genversion": "^3.0.1",
65+
"inquirer": "^8.1.2",
66+
"jest": "^27.0.6",
6767
"lerna": "4.0.0",
68-
"prettier": "^2.2.1",
68+
"prettier": "^2.3.2",
6969
"rimraf": "^3.0.2",
7070
"shelljs": "^0.8.3",
71-
"ts-jest": "^26.5.6",
72-
"typescript": "^4.2.3"
71+
"ts-jest": "^27.0.4",
72+
"typescript": "^4.3.5"
7373
},
7474
"resolutions": {
75-
"@types/react": "^17.0.5"
75+
"@types/react": "^17.0.15"
7676
},
7777
"workspaces": {
7878
"packages": [

packages/app/e2e/events.e2e.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,8 @@ describe('Core -> EventEmitter', function () {
5858
});
5959

6060
it('queues events before a js listener is registered', async function () {
61-
const {
62-
eventsPing,
63-
eventsNotifyReady,
64-
eventsGetListeners,
65-
eventsRemoveListener,
66-
} = NativeModules.RNFBAppModule;
61+
const { eventsPing, eventsNotifyReady, eventsGetListeners, eventsRemoveListener } =
62+
NativeModules.RNFBAppModule;
6763
await eventsNotifyReady(true);
6864
const { resolve, promise } = Promise.defer();
6965
const emitter = NativeEventEmitter;

packages/app/lib/internal/registry/namespace.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ function getOrCreateModuleForApp(app, moduleNamespace) {
7171
MODULE_GETTER_FOR_APP[app.name] = {};
7272
}
7373

74-
const { hasCustomUrlOrRegionSupport, hasMultiAppSupport, ModuleClass } = NAMESPACE_REGISTRY[
75-
moduleNamespace
76-
];
74+
const { hasCustomUrlOrRegionSupport, hasMultiAppSupport, ModuleClass } =
75+
NAMESPACE_REGISTRY[moduleNamespace];
7776

7877
// modules such as analytics only run on the default app
7978
if (!hasMultiAppSupport && app.name !== DEFAULT_APP_NAME) {

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"react-native": "*"
5757
},
5858
"dependencies": {
59-
"@expo/config-plugins": "^3.0.2",
59+
"@expo/config-plugins": "^3.0.6",
6060
"opencollective-postinstall": "^2.0.1",
6161
"superstruct": "^0.6.2"
6262
},

packages/crashlytics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@react-native-firebase/app": "12.4.0"
3333
},
3434
"dependencies": {
35-
"@expo/config-plugins": "^3.0.2",
35+
"@expo/config-plugins": "^3.0.6",
3636
"stacktrace-js": "^2.0.0"
3737
},
3838
"publishConfig": {

packages/dynamic-links/lib/builder.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,8 @@ export default function build(dynamicLinksParams) {
2828
throw new Error("'dynamicLinksParams' must be an object.");
2929
}
3030

31-
const {
32-
link,
33-
domainUriPrefix,
34-
android,
35-
analytics,
36-
ios,
37-
itunes,
38-
navigation,
39-
social,
40-
} = dynamicLinksParams;
31+
const { link, domainUriPrefix, android, analytics, ios, itunes, navigation, social } =
32+
dynamicLinksParams;
4133

4234
if (!link) {
4335
throw new Error("missing required 'link' property.");

packages/perf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@react-native-firebase/app": "12.4.0"
3333
},
3434
"dependencies": {
35-
"@expo/config-plugins": "^3.0.2"
35+
"@expo/config-plugins": "^3.0.6"
3636
},
3737
"publishConfig": {
3838
"access": "public"

0 commit comments

Comments
 (0)