Skip to content

Commit

Permalink
[FIX 4031] update realm to fix vulnerability in dependencies
Browse files Browse the repository at this point in the history
This commit updates the version of realm-js

Vulnerability has been fixed in realm-js after we notified them

Security vulnerability in hapijs / hoek 4.2.1 (package-lock.json)
https://nvd.nist.gov/vuln/detail/CVE-2018-3728

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
  • Loading branch information
yenda committed Aug 28, 2018
1 parent 3ca9ba8 commit 01b89cc
Show file tree
Hide file tree
Showing 4 changed files with 199 additions and 1,070 deletions.
277 changes: 0 additions & 277 deletions ci/download-realm.js

This file was deleted.

19 changes: 0 additions & 19 deletions fastlane/Fastfile
Expand Up @@ -59,8 +59,6 @@ def build_ios_adhoc
keychain_name: "login.keychain"
)

workaround_realm_core_sync_issues

build_ios_app(
scheme: "StatusIm",
workspace: "ios/StatusIm.xcworkspace",
Expand Down Expand Up @@ -146,8 +144,6 @@ platform :ios do
keychain_name: "login.keychain"
)

workaround_realm_core_sync_issues

build_ios_app(
scheme: "StatusIm",
workspace: "ios/StatusIm.xcworkspace",
Expand Down Expand Up @@ -177,8 +173,6 @@ platform :ios do
keychain_name: "login.keychain"
)

workaround_realm_core_sync_issues

build_ios_app(
scheme: "StatusIm",
workspace: "ios/StatusIm.xcworkspace",
Expand Down Expand Up @@ -222,19 +216,6 @@ platform :ios do
upload_to_diawi("status-adhoc/StatusIm.ipa")
end

desc "This fastlane step is a workaround!"
desc "every now and then Realm fails on iOS on the 'Download Core` step"
desc "the issue is because multiple downloads use the same temp dir"
desc "now we are replacing the original download script with another"
desc "that generates a random folder for each run"
lane :workaround_realm_core_sync_issues do
FileUtils.cp_r(
'../ci/download-realm.js',
'../node_modules/realm/scripts',
remove_destination: true
)
end

desc "This fastlane step cleans up XCode DerivedData folder"
lane :cleanup do
clear_derived_data
Expand Down

0 comments on commit 01b89cc

Please sign in to comment.