From 7cf491c050452ef0b0122bf940a2c81d91486371 Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Tue, 15 Aug 2017 23:02:16 -0400 Subject: [PATCH] update packages and fix build warnigs --- CHANGELOG.md | 1 + app/package.json | 3 +- package.json | 3 +- ui/package.json | 4 +-- ui/webpack.config.js | 2 ++ ui/yarn.lock | 75 ++++++++++++++++++-------------------------- 6 files changed, 40 insertions(+), 48 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb66e3602..e06149cfe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ Web UI version numbers should always match the corresponding version of LBRY App * Some form field refactoring as we progress towards form sanity. * When an "Open" button is clicked on a show page, if the file fails to open, the app will try to open the file's folder. * Removed confusing placeholder text from email input + * Updated several packages and fixed warnings in build process (all but the [fsevents warning](https://github.com/yarnpkg/yarn/issues/3738), which is rather dramatic) ### Fixed * Tiles will no longer be blurry on hover (Windows only bug) diff --git a/app/package.json b/app/package.json index 9d85814c1..59f2fc098 100644 --- a/app/package.json +++ b/app/package.json @@ -22,5 +22,6 @@ "lbrySettings": { "lbrynetDaemonVersion": "0.15.0", "lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-daemon-vDAEMONVER-OSNAME.zip" - } + }, + "license": "MIT" } \ No newline at end of file diff --git a/package.json b/package.json index 50eae487d..673ea306b 100644 --- a/package.json +++ b/package.json @@ -60,5 +60,6 @@ "electron": "^1.7.5", "electron-builder": "^11.7.0", "electron-debug": "^1.4.0" - } + }, + "license": "MIT" } diff --git a/ui/package.json b/ui/package.json index 00ea1b844..02c223936 100644 --- a/ui/package.json +++ b/ui/package.json @@ -23,7 +23,7 @@ "homepage": "https://github.com/lbryio/lbry-app", "dependencies": { "from2": "^2.3.0", - "jshashes": "^1.0.6", + "jshashes": "^1.0.7", "localforage": "^1.5.0", "node-sass": "^4.5.3", "rc-progress": "^2.0.6", @@ -49,7 +49,7 @@ "babel": "^6.5.2", "babel-cli": "^6.24.1", "babel-core": "^6.18.2", - "babel-loader": "^6.4.1", + "babel-loader": "^7.1.1", "babel-plugin-react-require": "^3.0.0", "babel-polyfill": "^6.20.0", "babel-preset-es2015": "^6.24.1", diff --git a/ui/webpack.config.js b/ui/webpack.config.js index fd890022e..e1ef528fa 100644 --- a/ui/webpack.config.js +++ b/ui/webpack.config.js @@ -2,6 +2,8 @@ const path = require("path"); const webpack = require("webpack") const appPath = path.resolve(__dirname, "js"); +process.traceDeprecation = true; + const PATHS = { app: path.join(__dirname, "app"), dist: path.join(__dirname, "dist") diff --git a/ui/yarn.lock b/ui/yarn.lock index 5d5848976..63f3c02d8 100644 --- a/ui/yarn.lock +++ b/ui/yarn.lock @@ -455,14 +455,13 @@ babel-helpers@^6.24.1: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-loader@^6.4.1: - version "6.4.1" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-6.4.1.tgz#0b34112d5b0748a8dcdbf51acf6f9bd42d50b8ca" +babel-loader@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-7.1.1.tgz#b87134c8b12e3e4c2a94e0546085bc680a2b8488" dependencies: - find-cache-dir "^0.1.1" - loader-utils "^0.2.16" + find-cache-dir "^1.0.0" + loader-utils "^1.0.2" mkdirp "^0.5.1" - object-assign "^4.0.1" babel-messages@^6.23.0: version "6.23.0" @@ -2333,14 +2332,6 @@ faye-websocket@~0.11.0: dependencies: websocket-driver ">=0.5.1" -fbjs@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.2.1.tgz#622061630a43e11f845017b9044aaa648ed3f731" - dependencies: - core-js "^1.0.0" - promise "^7.0.3" - whatwg-fetch "^0.9.0" - fbjs@^0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.6.1.tgz#9636b7705f5ba9684d44b72f78321254afc860f7" @@ -2411,6 +2402,14 @@ find-cache-dir@^0.1.1: mkdirp "^0.5.1" pkg-dir "^1.0.0" +find-cache-dir@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-1.0.0.tgz#9288e3e9e3cc3748717d39eade17cf71fc30ee6f" + dependencies: + commondir "^1.0.1" + make-dir "^1.0.0" + pkg-dir "^2.0.0" + find-parent-dir@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/find-parent-dir/-/find-parent-dir-0.3.0.tgz#33c44b429ab2b2f0646299c5f9f718f376ff8d54" @@ -2422,7 +2421,7 @@ find-up@^1.0.0: path-exists "^2.0.0" pinkie-promise "^2.0.0" -find-up@^2.0.0: +find-up@^2.0.0, find-up@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" dependencies: @@ -3204,9 +3203,9 @@ jsesc@~0.5.0: version "0.5.0" resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" -jshashes@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/jshashes/-/jshashes-1.0.6.tgz#b04eb4ae8f9987b2d3ce00a6337c120543949bfd" +jshashes@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/jshashes/-/jshashes-1.0.7.tgz#bed8c97a0e9632fd0513916f55f76dd5486be59f" json-loader@^0.5.4: version "0.5.4" @@ -3571,10 +3570,6 @@ lodash.unset@^4.5.2: version "4.5.2" resolved "https://registry.yarnpkg.com/lodash.unset/-/lodash.unset-4.5.2.tgz#370d1d3e85b72a7e1b0cdf2d272121306f23e4ed" -lodash@4.12.0: - version "4.12.0" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.12.0.tgz#2bd6dc46a040f59e686c972ed21d93dc59053258" - lodash@^4.0.0, lodash@^4.14.0, lodash@^4.17.2, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@~4.17.4: version "4.17.4" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" @@ -3624,6 +3619,12 @@ macaddress@^0.2.8: version "0.2.8" resolved "https://registry.yarnpkg.com/macaddress/-/macaddress-0.2.8.tgz#5904dc537c39ec6dbefeae902327135fa8511f12" +make-dir@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.0.0.tgz#97a011751e91dd87cfadef58832ebb04936de978" + dependencies: + pify "^2.3.0" + map-obj@^1.0.0, map-obj@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" @@ -4345,7 +4346,7 @@ performance-now@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" -pify@^2.0.0: +pify@^2.0.0, pify@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" @@ -4369,6 +4370,12 @@ pkg-dir@^1.0.0: dependencies: find-up "^1.0.0" +pkg-dir@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b" + dependencies: + find-up "^2.1.0" + pluralize@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-1.2.1.tgz#d1a21483fd22bb41e58a12fa3421823140897c45" @@ -4783,10 +4790,6 @@ rc@^1.1.7: minimist "^1.2.0" strip-json-comments "~2.0.1" -react-addons-create-fragment@^0.14.7: - version "0.14.8" - resolved "https://registry.yarnpkg.com/react-addons-create-fragment/-/react-addons-create-fragment-0.14.8.tgz#e83240d1cba49249690fcc6f148710baa11d2b7a" - react-addons-create-fragment@^15.0.0: version "15.6.0" resolved "https://registry.yarnpkg.com/react-addons-create-fragment/-/react-addons-create-fragment-15.6.0.tgz#af91a22b1fb095dd01f1afba43bfd0ef589d8b20" @@ -4799,10 +4802,6 @@ react-dom-factories@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/react-dom-factories/-/react-dom-factories-1.0.0.tgz#f43c05e5051b304f33251618d5bc859b29e46b6d" -react-dom@^0.14.7: - version "0.14.9" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-0.14.9.tgz#05064a3dcf0fb1880a3b2bfc9d58c55d8d9f6293" - react-dom@^15.4.0: version "15.6.1" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.6.1.tgz#2cb0ed4191038e53c209eb3a79a23e2a4cf99470" @@ -4860,13 +4859,7 @@ react-simplemde-editor@^3.6.11: react "^0.14.2" simplemde "^1.11.2" -react-tap-event-plugin@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/react-tap-event-plugin/-/react-tap-event-plugin-0.2.2.tgz#4f6f257851654f6c2b1c213a1d3ff21b353ae4e1" - dependencies: - fbjs "^0.2.1" - -react@^0.14.2, react@^0.14.7: +react@^0.14.2: version "0.14.9" resolved "https://registry.yarnpkg.com/react/-/react-0.14.9.tgz#9110a6497c49d44ba1c0edd317aec29c2e0d91d1" dependencies: @@ -6136,12 +6129,6 @@ which@1, which@^1.0.5, which@^1.2.10, which@^1.2.9: dependencies: isexe "^2.0.0" -why-did-you-update@0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/why-did-you-update/-/why-did-you-update-0.0.8.tgz#389d97dd6c147e1edbc9f5d5470d44d985c8ae38" - dependencies: - lodash "4.12.0" - wide-align@^1.1.0: version "1.1.2" resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.2.tgz#571e0f1b0604636ebc0dfc21b0339bbe31341710"