From a77afe573c15712c084e5f9c746d3948dc224d33 Mon Sep 17 00:00:00 2001 From: kevadiya krunal Date: Thu, 2 Jul 2020 12:22:39 +0530 Subject: [PATCH 1/3] fix: Attempt to invoke virtual method 'void android.telephony.TelephonyManager.listen(android.telephony.PhoneStateListener, int)' on a null object reference --- CallDetectionExample/ios/.DS_Store | Bin 6148 -> 8196 bytes .../CallDetectionManagerModule.java | 57 +++++++++++++----- .../RCTCallDetection/CallDetectionManager.m | 8 +-- 3 files changed, 46 insertions(+), 19 deletions(-) diff --git a/CallDetectionExample/ios/.DS_Store b/CallDetectionExample/ios/.DS_Store index 0b467373c260b5f601d41eb0a7abfd439f1fe8cd..f3b44a4619df67a4da7ccc689e4a26892c541631 100644 GIT binary patch literal 8196 zcmeI1J5Iwu5Qb;LNS4x21Su3C7qlRSj?M(9qM%4b9r6$a#n>W%D18hL0f;kD({KPf zS|l!j#J>+5TS+84j(CWfX!p0gJLC12tk<(4B2l~SR*5P^WTQx3E}@!WvR#%jTQFzJ zPyv4;k9u^0(m~C}1egF5U;<2l3H(L^ShJh11G#j66X3I7VHgkyho3m^yn9##NXULuhxjJF+{}H5zHv?j*E333Fv(G8Cb% z4nIeAC*f-4nh7w0aRM@TFVh|!(Ey)h{@$m6&Zth;X!9vVYj1E|ZFB-Z)M1>bJidP5 zdF?^ahL8RFcGrJ7eB90F-!0@Ho+QWK!lh|7>wVKE_A{>NfEsB6OV6`KNwQemzx`q{ z!+88)M5S1yG#~X8UC+;ln%Mmrg4QriYT*N<3dKt@+iAwk3dS7Kn^(+29JesrI+%A| zPz>oDN2e){*27IMjuYY~Ic~S&d6=E!#F!(F^NN|`XuadMbIjK%zrxbSY*CWTR_y!y z^EDn%a=sRel;UGvmLw!LCXkW9qV89b`G0--{(r`3+>Hq^fxk#VSYE@cVdN&a9=ivb zYda_{6ltD p7GMzI2GXt|yEYbnXP(S2;|OvL10w?i3y5ZdxCSh?Ii6<@GXO^|AngDE diff --git a/android/src/main/java/com/pritesh/calldetection/CallDetectionManagerModule.java b/android/src/main/java/com/pritesh/calldetection/CallDetectionManagerModule.java index d480f0f78..448fa232c 100644 --- a/android/src/main/java/com/pritesh/calldetection/CallDetectionManagerModule.java +++ b/android/src/main/java/com/pritesh/calldetection/CallDetectionManagerModule.java @@ -19,6 +19,7 @@ public class CallDetectionManagerModule extends ReactContextBaseJavaModule implements Application.ActivityLifecycleCallbacks, CallDetectionPhoneStateListener.PhoneCallStateUpdate { + private static final String LOG_TAG = "CallDetectionManagerModule"; private boolean wasAppInOffHook = false; private boolean wasAppInRinging = false; @@ -38,27 +39,50 @@ public String getName() { return "CallDetectionManagerAndroid"; } + private void logs(final String message) { + String stackTraceString = ""; + try { + StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace(); + for (StackTraceElement e : stackTrace) { + stackTraceString += (e != null ? e.toString() : "null") + "\n"; + } + } catch (Exception e) { + stackTraceString = "Exception occurred while parsing stack trace"; + } + Log.e(LOG_TAG, message); + Log.d(LOG_TAG, stackTraceString); + } + @ReactMethod public void startListener() { - if (activity == null) { - activity = getCurrentActivity(); - activity.getApplication().registerActivityLifecycleCallbacks(this); + try { + if (activity == null) { + activity = getCurrentActivity(); + activity.getApplication().registerActivityLifecycleCallbacks(this); + } + + telephonyManager = (TelephonyManager) this.reactContext.getSystemService( + Context.TELEPHONY_SERVICE); + callDetectionPhoneStateListener = new CallDetectionPhoneStateListener(this); + telephonyManager.listen(callDetectionPhoneStateListener, + PhoneStateListener.LISTEN_CALL_STATE); + } catch (Exception e) { + logs(e.toString()); } - - telephonyManager = (TelephonyManager) this.reactContext.getSystemService( - Context.TELEPHONY_SERVICE); - callDetectionPhoneStateListener = new CallDetectionPhoneStateListener(this); - telephonyManager.listen(callDetectionPhoneStateListener, - PhoneStateListener.LISTEN_CALL_STATE); - } @ReactMethod public void stopListener() { - telephonyManager.listen(callDetectionPhoneStateListener, - PhoneStateListener.LISTEN_NONE); - telephonyManager = null; - callDetectionPhoneStateListener = null; + try { + if(telephonyManager != null) { + telephonyManager.listen(callDetectionPhoneStateListener, + PhoneStateListener.LISTEN_NONE); + } + telephonyManager = null; + callDetectionPhoneStateListener = null; + } catch (Exception e) { + logs(e.toString()); + } } /** @@ -87,7 +111,10 @@ public void onActivityStarted(Activity activity) { @Override public void onActivityResumed(Activity activity) { - + if (wasAppInOffHook && jsModule != null) { + wasAppInOffHook = false; + jsModule.callStateUpdated("Disconnected", null); + } } @Override diff --git a/iOS/RCTCallDetection/RCTCallDetection/CallDetectionManager.m b/iOS/RCTCallDetection/RCTCallDetection/CallDetectionManager.m index 7deb00ec2..ffd814c6e 100644 --- a/iOS/RCTCallDetection/RCTCallDetection/CallDetectionManager.m +++ b/iOS/RCTCallDetection/RCTCallDetection/CallDetectionManager.m @@ -52,13 +52,13 @@ + (BOOL)requiresMainQueueSetup { - (void)callObserver:(CXCallObserver *)callObserver callChanged:(CXCall *)call { if (call.hasEnded == true) { [self sendEventWithName:@"PhoneCallStateUpdate" body:@"Disconnected"]; - } else if (call.hasConnected == true) { + } else if (all.hasEnded == false && call.hasConnected == true) { [self sendEventWithName:@"PhoneCallStateUpdate" body:@"Connected"]; - } else if (call.isOutgoing == true) { + } else if (call.hasConnected == false && call.hasEnded == false && call.isOutgoing == true) { [self sendEventWithName:@"PhoneCallStateUpdate" body:@"Dialing"]; - } else { + } else if (call.isOutgoing == false && call.hasConnected == false) { [self sendEventWithName:@"PhoneCallStateUpdate" body:@"Incoming"]; } } -@end +@end \ No newline at end of file From 24656f3e6ed6a6e9bba9d6eef954e1d1d83e9fbe Mon Sep 17 00:00:00 2001 From: kevadiya krunal Date: Thu, 22 Oct 2020 10:25:36 +0530 Subject: [PATCH 2/3] feat: Update with original branch. --- README.md | 53 +++++++++++++++++++++++++++------------------------- package.json | 14 ++++++++++++-- 2 files changed, 40 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index d25e88006..4ef5a2c0b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ ## React Native Call Detection 🎉 🎊 + [![npm version](https://badge.fury.io/js/react-native-call-detection.svg)](https://badge.fury.io/js/react-native-call-detection) This package helps to detect different call states like `Incoming`, `Disconnected`, `Dialing` and `Connected` for iOS. For android, this package will give following states, `Offhook`, `Incoming`, `Disconnected` and `Missed`. In the case of `Incoming` for android, the package will also provide with the incoming phone number. @@ -13,14 +14,16 @@ yarn add react-native-call-detection ``` ### For Android:- + Autolinking should work without manual changes ## Usage + There are different hooks that you may get depending on the platform. Since for android you could also request the package to provide you with phone number of the caller, you will have to provide the necessary request message and the corresponding error callback. The package will request for `READ_PHONE_STATE` permission in android. Its really easy to setup the package. Have a look at the following code snippet -``` javascript +```javascript import CallDetectorManager from 'react-native-call-detection' startListenerTapped() { @@ -90,56 +93,56 @@ Example project can be used to test out the package. In the example project upda ### How to run an example -1. Install `node` and `watchman` +1. Install `node` and `watchman` - ``` - brew install node - brew install watchman + ``` + brew install node + brew install watchman - ``` + ``` -2. `yarn` +2. `yarn` Install `yarn` from `npm`. npm i -g yarn -3. Xcode +3. Xcode Install it from the App Store. -4. React Native Debugger +4. React Native Debugger This is an electron app that bundles react devtools, redux devtools and chrome devtools configured for use with react-native. brew cask install react-native-debugger -5. Once you have done all the above steps, navigate to `CallDetectionExample` folder and run `yarn` or `npm install`, it will fetch all the dependencies in the `node_modules` folder. -6. Run the packager - `npm start` +5. Once you have done all the above steps, navigate to `CallDetectionExample` folder and run `yarn` or `npm install`, it will fetch all the dependencies in the `node_modules` folder. -7. Update the mobile number of your friend in [`HomeComponent.js`](CallDetectionExample/src/HomeComponent.js) +6. Run the packager + `npm start` +7. Update the mobile number of your friend in [`HomeComponent.js`](CallDetectionExample/src/HomeComponent.js) - ```javascript - callFriendTapped() { - // Add the telephone number + ```javascript + callFriendTapped() { + // Add the telephone number Linking.openURL('tel:5555555555') .catch(err => { console.log(err) }); - } + } - ``` + ``` -7. To run the example on iOS from terminal type - `react-native run-ios` (This will open the simulator, since simulator doesnt have the support for calling I will advice you to connect your iOS device and the follow the below procedure for running the app through xcode) +8. To run the example on iOS from terminal type + `react-native run-ios` (This will open the simulator, since simulator doesnt have the support for calling I will advice you to connect your iOS device and the follow the below procedure for running the app through xcode) - or you can also run the app from xcode, for that, open `/CallDectionExample/ios/CallDetectionExample.xcodeproj` in xcode and run on the device. + or you can also run the app from xcode, for that, open `/CallDectionExample/ios/CallDetectionExample.xcodeproj` in xcode and run on the device. -8. To run the example on android, connect any android device to your mac then follow the below steps - 1. Navigate to `android` folder(./CallDectionExample/android/) folder and then run `adb reverse tcp:8081 tcp:8081` - 2. Navigate back to example directory(CallDectionExample) and then run - `react-native run-android` +9. To run the example on android, connect any android device to your mac then follow the below steps + 1. Navigate to `android` folder(./CallDectionExample/android/) folder and then run `adb reverse tcp:8081 tcp:8081` + 2. Navigate back to example directory(CallDectionExample) and then run + `react-native run-android` For any problems and doubt raise an issue. diff --git a/package.json b/package.json index 804a5e342..ad414da97 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,10 @@ "type": "git", "url": "https://github.com/priteshrnandgaonkar/react-native-call-detection" }, + "bundleDependencies": false, + "deprecated": false, + "description": "Get different phone call states for iOS and Android along with incoming phone number(just for android)", + "homepage": "https://github.com/priteshrnandgaonkar/react-native-call-detection#readme", "keywords": [ "react-native", "call", @@ -14,9 +18,15 @@ "iOS", "android" ], - "author": "Pritesh Nandgaonkar (https://github.com/priteshrnandgaonkar)", "license": "MIT", + "main": "index.js", + "name": "react-native-call-detection", "peerDependencies": { "react-native": ">=0.26.0" - } + }, + "repository": { + "type": "git", + "url": "git+https://github.com/priteshrnandgaonkar/react-native-call-detection.git" + }, + "version": "1.9.0" } From 6de18eace16ba844d61eb236ea206debc52d4071 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 Aug 2021 12:44:58 +0000 Subject: [PATCH 3/3] Bump handlebars from 4.0.10 to 4.7.7 in /CallDetectionExample Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.10 to 4.7.7. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.10...v4.7.7) Signed-off-by: dependabot[bot] --- CallDetectionExample/yarn.lock | 122 +++++++-------------------------- 1 file changed, 23 insertions(+), 99 deletions(-) diff --git a/CallDetectionExample/yarn.lock b/CallDetectionExample/yarn.lock index be9367a55..ed7087d25 100644 --- a/CallDetectionExample/yarn.lock +++ b/CallDetectionExample/yarn.lock @@ -45,14 +45,6 @@ ajv@^4.9.1: co "^4.6.0" json-stable-stringify "^1.0.1" -align-text@^0.1.1, align-text@^0.1.3: - version "0.1.4" - resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" - dependencies: - kind-of "^3.0.2" - longest "^1.0.1" - repeat-string "^1.5.2" - amdefine@>=0.0.4: version "1.0.1" resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" @@ -179,20 +171,12 @@ assert-plus@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" -async@^1.4.0: - version "1.5.2" - resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" - async@^2.1.4, async@^2.4.0: version "2.4.1" resolved "https://registry.yarnpkg.com/async/-/async-2.4.1.tgz#62a56b279c98a11d0987096a01cc3eeb8eb7bbd7" dependencies: lodash "^4.14.0" -async@~0.2.6: - version "0.2.10" - resolved "https://registry.yarnpkg.com/async/-/async-0.2.10.tgz#b6bbe0b0674b9d719708ca38de8c237cb526c3d1" - asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -952,10 +936,6 @@ callsites@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" -camelcase@^1.0.2: - version "1.2.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" - camelcase@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" @@ -968,13 +948,6 @@ caseless@~0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" -center-align@^0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" - dependencies: - align-text "^0.1.3" - lazy-cache "^1.0.3" - chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" @@ -1011,14 +984,6 @@ cli-width@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.1.0.tgz#b234ca209b29ef66fc518d9b98d5847b00edf00a" -cliui@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" - dependencies: - center-align "^0.1.1" - right-align "^0.1.1" - wordwrap "0.0.2" - cliui@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" @@ -1269,7 +1234,7 @@ debug@~2.2.0: dependencies: ms "0.7.1" -decamelize@^1.0.0, decamelize@^1.1.1: +decamelize@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" @@ -1795,14 +1760,15 @@ gulplog@^1.0.0: glogg "^1.0.0" handlebars@^4.0.3: - version "4.0.10" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.10.tgz#3d30c718b09a3d96f23ea4cc1f403c4d3ba9ff4f" + version "4.7.7" + resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" dependencies: - async "^1.4.0" - optimist "^0.6.1" - source-map "^0.4.4" + minimist "^1.2.5" + neo-async "^2.6.0" + source-map "^0.6.1" + wordwrap "^1.0.0" optionalDependencies: - uglify-js "^2.6" + uglify-js "^3.1.4" har-schema@^1.0.5: version "1.0.5" @@ -2468,10 +2434,6 @@ klaw@^1.0.0: optionalDependencies: graceful-fs "^4.1.9" -lazy-cache@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" - lcid@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" @@ -2622,10 +2584,6 @@ lodash@^4.14.0, lodash@^4.16.6, lodash@^4.2.0, lodash@^4.3.0, lodash@^4.6.1: version "4.17.4" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" -longest@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" - loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" @@ -2789,9 +2747,9 @@ minimist@0.0.8, minimist@~0.0.1: version "0.0.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" -minimist@^1.1.0, minimist@^1.1.1, minimist@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" +minimist@^1.1.0, minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" "mkdirp@>=0.5 0", mkdirp@^0.5.1: version "0.5.1" @@ -2854,6 +2812,10 @@ negotiator@0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9" +neo-async@^2.6.0: + version "2.6.2" + resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" + node-fetch@^1.0.1, node-fetch@^1.3.3: version "1.7.1" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.1.tgz#899cb3d0a3c92f952c47f1b876f4c8aeabd400d5" @@ -3552,12 +3514,6 @@ restore-cursor@^2.0.0: onetime "^2.0.0" signal-exit "^3.0.2" -right-align@^0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" - dependencies: - align-text "^0.1.1" - rimraf@2, rimraf@^2.5.1, rimraf@^2.5.4, rimraf@^2.6.1: version "2.7.1" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" @@ -3743,26 +3699,20 @@ source-map-support@^0.4.2: dependencies: source-map "^0.5.6" -source-map@^0.4.4: - version "0.4.4" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" - dependencies: - amdefine ">=0.0.4" - -source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1: +source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6: version "0.5.6" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" +source-map@^0.6.1, source-map@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + source-map@~0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.2.0.tgz#dab73fbcfc2ba819b4de03bd6f6eaa48164b3f9d" dependencies: amdefine ">=0.0.4" -source-map@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - sparkles@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/sparkles/-/sparkles-1.0.0.tgz#1acbbfb592436d10bbe8f785b7cc6f82815012c3" @@ -4041,18 +3991,9 @@ uglify-es@^3.1.8: commander "~2.11.0" source-map "~0.6.1" -uglify-js@^2.6: - version "2.7.5" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.7.5.tgz#4612c0c7baaee2ba7c487de4904ae122079f2ca8" - dependencies: - async "~0.2.6" - source-map "~0.5.1" - uglify-to-browserify "~1.0.0" - yargs "~3.10.0" - -uglify-to-browserify@~1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" +uglify-js@^3.1.4: + version "3.14.1" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.14.1.tgz#e2cb9fe34db9cb4cf7e35d1d26dfea28e09a7d06" uid-number@^0.0.6: version "0.0.6" @@ -4199,14 +4140,6 @@ win-release@^1.0.0: dependencies: semver "^5.0.1" -window-size@0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" - -wordwrap@0.0.2: - version "0.0.2" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" - wordwrap@^1.0.0, wordwrap@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" @@ -4350,12 +4283,3 @@ yargs@^9.0.0: which-module "^2.0.0" y18n "^3.2.1" yargs-parser "^7.0.0" - -yargs@~3.10.0: - version "3.10.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" - dependencies: - camelcase "^1.0.2" - cliui "^2.1.0" - decamelize "^1.0.0" - window-size "0.1.0"