From 33c296851af61e434bd9f93905448b43cd049ed2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Thu, 7 Jul 2022 10:59:00 +0200 Subject: [PATCH] Upgrading react-native-fs --- CHANGELOG.md | 1 + .../react-native/package-lock.json | 19 ++++++++++++------- .../environments/react-native/package.json | 2 +- packages/realm-common/package-lock.json | 4 ++-- tests/ReactTestApp/package.json | 2 +- 5 files changed, 17 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d4137d7600..3bbd33d4d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ x.x.x Release notes (yyyy-MM-dd) * File format: generates Realms with format v22 (reads and upgrades file format v5 or later for non-synced Realm, upgrades file format v10 or later for synced Realms). ### Internal +* Upgrading `react-native-fs` to avoid a peer dependency failure. ([#4709](https://github.com/realm/realm-js/pull/4709)) diff --git a/integration-tests/environments/react-native/package-lock.json b/integration-tests/environments/react-native/package-lock.json index 4c009262f6..e58616b1d1 100644 --- a/integration-tests/environments/react-native/package-lock.json +++ b/integration-tests/environments/react-native/package-lock.json @@ -15,7 +15,7 @@ "path-browserify": "^1.0.1", "react": "17.0.2", "react-native": "0.66.2", - "react-native-fs": "^2.18.0", + "react-native-fs": "^2.20.0", "react-native-progress": "^4.1.2" }, "devDependencies": { @@ -6472,9 +6472,9 @@ } }, "node_modules/react-native-fs": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/react-native-fs/-/react-native-fs-2.18.0.tgz", - "integrity": "sha512-9iQhkUNnN2JNED0in06JwZy88YEVyIGKWz4KLlQYxa5Y2U0U2AZh9FUHtA04oWj+xt2LlHh0LFPCzhmNsAsUDg==", + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/react-native-fs/-/react-native-fs-2.20.0.tgz", + "integrity": "sha512-VkTBzs7fIDUiy/XajOSNk0XazFE9l+QlMAce7lGuebZcag5CnjszB+u4BdqzwaQOdcYb5wsJIsqq4kxInIRpJQ==", "dependencies": { "base-64": "^0.1.0", "utf8": "^3.0.0" @@ -6482,6 +6482,11 @@ "peerDependencies": { "react-native": "*", "react-native-windows": "*" + }, + "peerDependenciesMeta": { + "react-native-windows": { + "optional": true + } } }, "node_modules/react-native-progress": { @@ -13120,9 +13125,9 @@ } }, "react-native-fs": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/react-native-fs/-/react-native-fs-2.18.0.tgz", - "integrity": "sha512-9iQhkUNnN2JNED0in06JwZy88YEVyIGKWz4KLlQYxa5Y2U0U2AZh9FUHtA04oWj+xt2LlHh0LFPCzhmNsAsUDg==", + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/react-native-fs/-/react-native-fs-2.20.0.tgz", + "integrity": "sha512-VkTBzs7fIDUiy/XajOSNk0XazFE9l+QlMAce7lGuebZcag5CnjszB+u4BdqzwaQOdcYb5wsJIsqq4kxInIRpJQ==", "requires": { "base-64": "^0.1.0", "utf8": "^3.0.0" diff --git a/integration-tests/environments/react-native/package.json b/integration-tests/environments/react-native/package.json index 98b930857b..12176930a8 100644 --- a/integration-tests/environments/react-native/package.json +++ b/integration-tests/environments/react-native/package.json @@ -33,7 +33,7 @@ "path-browserify": "^1.0.1", "react": "17.0.2", "react-native": "0.66.2", - "react-native-fs": "^2.18.0", + "react-native-fs": "^2.20.0", "react-native-progress": "^4.1.2", "realm": "*" }, diff --git a/packages/realm-common/package-lock.json b/packages/realm-common/package-lock.json index 401518c0a6..527a93aa46 100644 --- a/packages/realm-common/package-lock.json +++ b/packages/realm-common/package-lock.json @@ -1,12 +1,12 @@ { "name": "@realm.io/common", - "version": "0.1.3", + "version": "0.1.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@realm.io/common", - "version": "0.1.3", + "version": "0.1.4", "license": "SEE LICENSE IN LICENSE", "devDependencies": { "@rollup/plugin-commonjs": "^14.0.0", diff --git a/tests/ReactTestApp/package.json b/tests/ReactTestApp/package.json index 635457065f..704091974b 100644 --- a/tests/ReactTestApp/package.json +++ b/tests/ReactTestApp/package.json @@ -16,7 +16,7 @@ "react-native": "0.64.2", "react-native-exception-handler": "^2.4.3", "react-native-exit-app": "1.1.0", - "react-native-fs": "^2.16.6", + "react-native-fs": "^2.20.0", "xmlbuilder": "^4.2.1" }, "devDependencies": {