Skip to content

Commit

Permalink
Update dev dependencies to fix all vulnerability issues.
Browse files Browse the repository at this point in the history
- Updated libraries to audited versions.
- Updated dot files and configuration files to properly run lints and tests with new packages.
  • Loading branch information
Cierpliwy committed Feb 15, 2019
1 parent 4f844a2 commit b62fda6
Show file tree
Hide file tree
Showing 13 changed files with 6,956 additions and 5,506 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

6 changes: 6 additions & 0 deletions .buckconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

[android]
target = Google Inc.:Google APIs:23

[maven_repositories]
central = https://repo1.maven.org/maven2
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

[version]
^0.78.0
^0.86.0
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pbxproj -text
33 changes: 18 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,35 @@ DerivedData
*.xcuserstate
project.xcworkspace

# Android/IJ
# Android/IntelliJ
#
build/
.idea
.gradle
gradlew
*.iml
*.swp
*.bat
local.properties
android/gradle/wrapper
*.iml

# node.js
#
node_modules/
npm-debug.log.*
npm-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore
*.keystore

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

# iOS
ios/Pods
ios/Podfile.lock
Carthage
*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots

# IDE
.vscode/
# Bundle artifact
*.jsbundle
1 change: 1 addition & 0 deletions .watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: ["module:metro-react-native-babel-preset"]
}
4 changes: 2 additions & 2 deletions docs/assets/anchor.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@
*/
this.hasAnchorJSLink = function(el) {
var hasLeftAnchor =
el.firstChild &&
(' ' + el.firstChild.className + ' ').indexOf(' anchorjs-link ') > -1,
el.firstChild &&
(' ' + el.firstChild.className + ' ').indexOf(' anchorjs-link ') > -1,
hasRightAnchor =
el.lastChild &&
(' ' + el.lastChild.className + ' ').indexOf(' anchorjs-link ') > -1;
Expand Down
4 changes: 2 additions & 2 deletions docs/assets/split.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@
var b = elements[this.b];
var percentage = a.size + b.size;

a.size = offset / this.size * percentage;
b.size = percentage - offset / this.size * percentage;
a.size = (offset / this.size) * percentage;
b.size = percentage - (offset / this.size) * percentage;

setElementSize(a.element, a.size, this.aGutterSize);
setElementSize(b.element, b.size, this.bGutterSize);
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,7 @@ <h3 class='mb0 no-anchor'>react-native-ble-plx</h3>
</ul>
</div>
<div class='mt1 h6 quiet'>
<a href='http://documentation.js.org/reading-documentation.html'>Need help reading this?</a>
<a href='https://documentation.js.org/reading-documentation.html'>Need help reading this?</a>
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit b62fda6

Please sign in to comment.