diff --git a/.travis.yml b/.travis.yml index 6f73d8ba4..19aec08f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,16 +4,16 @@ matrix: env: TARGET=mac osx_image: xcode9.2 language: node_js - node_js: '9' + node_js: '10' - os: linux env: TARGET=windows services: docker language: node_js - node_js: '9' + node_js: '10' - os: linux env: TARGET=linux language: node_js - node_js: '9' + node_js: '10' cache: false before_install: - | diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 002457047..0d8c498cc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,7 +12,7 @@ pool: steps: - task: NodeTool@0 inputs: - versionSpec: '9.x' + versionSpec: '10.x' displayName: 'Install Node.js' - script: | diff --git a/electron-builder.json b/electron-builder.json index 261a37f75..943c640f0 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -83,7 +83,8 @@ }, "nsis": { "perMachine": true, - "createDesktopShortcut": "always" + "createDesktopShortcut": "always", + "differentialPackage": true }, "win": { "target": [ diff --git a/package.json b/package.json index 79aa48b03..6d0725a07 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "devtron": "^1.4.0", "dom-scroll-into-view": "^1.2.1", "electron": "4.1.0", - "electron-builder": "^20.38.4", + "electron-builder": "^20.39.0", "electron-devtools-installer": "^2.2.4", "electron-is-dev": "^0.3.0", "electron-publisher-s3": "^20.8.1", @@ -169,7 +169,7 @@ "yarn": "^1.3" }, "lbrySettings": { - "lbrynetDaemonVersion": "0.32.4", + "lbrynetDaemonVersion": "0.34.0", "lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip", "lbrynetDaemonDir": "static/daemon", "lbrynetDaemonFileName": "lbrynet" diff --git a/yarn.lock b/yarn.lock index 98a8054be..523566379 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1115,12 +1115,12 @@ ajv-errors@^1.0.0: resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d" integrity sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ== -ajv-keywords@^3.0.0, ajv-keywords@^3.1.0, ajv-keywords@^3.2.0, ajv-keywords@^3.4.0: +ajv-keywords@^3.0.0, ajv-keywords@^3.1.0, ajv-keywords@^3.4.0: version "3.4.0" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.4.0.tgz#4b831e7b531415a7cc518cd404e73f6193c6349d" integrity sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw== -ajv@^6.0.1, ajv@^6.1.0, ajv@^6.5.5, ajv@^6.7.0, ajv@^6.9.2: +ajv@^6.0.1, ajv@^6.1.0, ajv@^6.5.5, ajv@^6.9.2: version "6.9.2" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.9.2.tgz#4927adb83e7f48e5a32b45729744c71ec39c9c7b" integrity sha512-4UFy0/LgDo7Oa/+wOAlj44tp9K78u38E5/359eSrqEp1Z5PdVfimCcs7SluXMP755RUQu6d2b4AvF0R1C9RZjg== @@ -1217,37 +1217,37 @@ app-builder-bin@2.0.0: resolved "https://registry.yarnpkg.com/app-builder-bin/-/app-builder-bin-2.0.0.tgz#bda985bee14370b254841a9982753b8f383415c5" integrity sha512-JUJ1Wiaig1589MxF110HHh5I5v9hn2Qu4ZeleNwSZHfD1S2LrCxm4H+q7Snr/rWlWdEChFoWM2lj11Cdl4LP0Q== -app-builder-bin@2.6.3: - version "2.6.3" - resolved "https://registry.yarnpkg.com/app-builder-bin/-/app-builder-bin-2.6.3.tgz#428557e8fd517ef6272b3d85593ebb288c2aed90" - integrity sha512-JL8C41e6yGIchFsHP/q15aGNedAaUakLhkV6ER0Yxafx08sRnlDnlkAkEIKjX7edg/4i7swpGa6CBv1zX9GgCA== +app-builder-bin@2.6.4: + version "2.6.4" + resolved "https://registry.yarnpkg.com/app-builder-bin/-/app-builder-bin-2.6.4.tgz#011cd9e7e144d52b43fffa15aff8039804d3078a" + integrity sha512-wC9HYqiC1XqpunT/9y2VuF90KbarnIHL90Tv8BD3TITTgbVIdRTXAsvWvmaR/ImvAX0+l5Z3jZtXjdJ7Pw3bLQ== -app-builder-lib@20.38.5, app-builder-lib@~20.38.5: - version "20.38.5" - resolved "https://registry.yarnpkg.com/app-builder-lib/-/app-builder-lib-20.38.5.tgz#bdfbbc35e10571c6cf1f62daae95991d27686a03" - integrity sha512-vVgM9d9twwlhr+8vNAJOAD9dyVBRk7reuVa1BE1OmvaHb1M+fS8KpvcDKVdBqX9KDHy7zSc57mnIcHgax4/XMA== +app-builder-lib@20.39.0, app-builder-lib@~20.39.0: + version "20.39.0" + resolved "https://registry.yarnpkg.com/app-builder-lib/-/app-builder-lib-20.39.0.tgz#197faba9cd7c32005d3882e6add051c4e182fdc3" + integrity sha512-lkxGyBrQwueYb3ViqHt5WjyzVVBQqXMXc7TF+JqkuuUWp5DF7SXAYZYd+rsR3gmCbdNxw4SPIEmWmm+I9LK2gw== dependencies: "7zip-bin" "~4.1.0" - app-builder-bin "2.6.3" + app-builder-bin "2.6.4" async-exit-hook "^2.0.1" - bluebird-lst "^1.0.6" - builder-util "9.6.2" - builder-util-runtime "8.1.1" + bluebird-lst "^1.0.7" + builder-util "9.7.0" + builder-util-runtime "8.2.0" chromium-pickle-js "^0.2.0" debug "^4.1.1" ejs "^2.6.1" electron-osx-sign "0.4.11" - electron-publish "20.38.5" - fs-extra-p "^7.0.0" + electron-publish "20.39.0" + fs-extra-p "^7.0.1" hosted-git-info "^2.7.1" is-ci "^2.0.0" isbinaryfile "^4.0.0" js-yaml "^3.12.1" - lazy-val "^1.0.3" + lazy-val "^1.0.4" minimatch "^3.0.4" - normalize-package-data "^2.4.0" + normalize-package-data "^2.5.0" plist "^3.0.1" - read-config-file "3.2.1" + read-config-file "3.2.2" sanitize-filename "^1.6.1" semver "^5.6.0" temp-file "^3.3.2" @@ -1878,14 +1878,14 @@ buffers@~0.1.1: resolved "https://registry.yarnpkg.com/buffers/-/buffers-0.1.1.tgz#b24579c3bed4d6d396aeee6d9a8ae7f5482ab7bb" integrity sha1-skV5w77U1tOWru5tmorn9Ugqt7s= -builder-util-runtime@8.1.1, builder-util-runtime@~8.1.0: - version "8.1.1" - resolved "https://registry.yarnpkg.com/builder-util-runtime/-/builder-util-runtime-8.1.1.tgz#f2f6fc43e33d26892bd491667fc746ad69bccc50" - integrity sha512-+ieS4PMB33vVE2S3ZNWBEQJ1zKmAs/agrBdh7XadE1lKLjrH4aXYuOh9OOGdxqIRldhlhNBaF+yKMMEFOdNVig== +builder-util-runtime@8.2.0, builder-util-runtime@^8.2.0: + version "8.2.0" + resolved "https://registry.yarnpkg.com/builder-util-runtime/-/builder-util-runtime-8.2.0.tgz#e64c311b4f3643c8ccd8b8e5ba5bfb10801a6826" + integrity sha512-2Q3YrxANTrDs2NjSG5mbNGLPuUhPnSNYF9w5i4jWfHcNfQ3TgRrGXq4UfnkCiZVX8Axp4eAOSscaLLScKp/XLg== dependencies: - bluebird-lst "^1.0.6" + bluebird-lst "^1.0.7" debug "^4.1.1" - fs-extra-p "^7.0.0" + fs-extra-p "^7.0.1" sax "^1.2.4" builder-util-runtime@^4.4.0, builder-util-runtime@^4.4.1: @@ -1898,28 +1898,28 @@ builder-util-runtime@^4.4.0, builder-util-runtime@^4.4.1: fs-extra-p "^4.6.1" sax "^1.2.4" -builder-util-runtime@^8.1.1: - version "8.2.0" - resolved "https://registry.yarnpkg.com/builder-util-runtime/-/builder-util-runtime-8.2.0.tgz#e64c311b4f3643c8ccd8b8e5ba5bfb10801a6826" - integrity sha512-2Q3YrxANTrDs2NjSG5mbNGLPuUhPnSNYF9w5i4jWfHcNfQ3TgRrGXq4UfnkCiZVX8Axp4eAOSscaLLScKp/XLg== +builder-util-runtime@~8.1.0: + version "8.1.1" + resolved "https://registry.yarnpkg.com/builder-util-runtime/-/builder-util-runtime-8.1.1.tgz#f2f6fc43e33d26892bd491667fc746ad69bccc50" + integrity sha512-+ieS4PMB33vVE2S3ZNWBEQJ1zKmAs/agrBdh7XadE1lKLjrH4aXYuOh9OOGdxqIRldhlhNBaF+yKMMEFOdNVig== dependencies: - bluebird-lst "^1.0.7" - debug "^4.1.1" - fs-extra-p "^7.0.1" - sax "^1.2.4" - -builder-util@9.6.2, builder-util@~9.6.2: - version "9.6.2" - resolved "https://registry.yarnpkg.com/builder-util/-/builder-util-9.6.2.tgz#3366aefea1b5ce292840be727a094e96fa25802f" - integrity sha512-cWl/0/Q851lesMmXp1IjreeAX1QAWA9e+iU2IT61oh+CvMYJnDwao2m9ZCHammdw2zllrwWu4fOC3gvsb/yOCw== - dependencies: - "7zip-bin" "~4.1.0" - app-builder-bin "2.6.3" bluebird-lst "^1.0.6" - builder-util-runtime "^8.1.1" - chalk "^2.4.2" debug "^4.1.1" fs-extra-p "^7.0.0" + sax "^1.2.4" + +builder-util@9.7.0, builder-util@~9.7.0: + version "9.7.0" + resolved "https://registry.yarnpkg.com/builder-util/-/builder-util-9.7.0.tgz#7aabec1136bf646023f2ebe231a26e82bb9d42cf" + integrity sha512-QA2RxbaSKvaFVNGcYsjmlkTn03tcdPxgIxHCOgw38G7NK91QWc76RBY9+T1sU8BLVEZJ4qNRWx+pd5rG9tTi+Q== + dependencies: + "7zip-bin" "~4.1.0" + app-builder-bin "2.6.4" + bluebird-lst "^1.0.7" + builder-util-runtime "^8.2.0" + chalk "^2.4.2" + debug "^4.1.1" + fs-extra-p "^7.0.1" is-ci "^2.0.0" js-yaml "^3.12.1" source-map-support "^0.5.10" @@ -3172,15 +3172,15 @@ dir-glob@^2.0.0: dependencies: path-type "^3.0.0" -dmg-builder@6.5.4: - version "6.5.4" - resolved "https://registry.yarnpkg.com/dmg-builder/-/dmg-builder-6.5.4.tgz#18c573a5e777cbb39d84d7eaa84d965e1bb5b01f" - integrity sha512-EaEkF8weXez3iAwgYffjcYfumauUh5x+BggMgn/IuihNIA5/WfzRAUR4wMq9aII2zwArlw+rIrX6ZHKbmtkQmA== +dmg-builder@6.6.0: + version "6.6.0" + resolved "https://registry.yarnpkg.com/dmg-builder/-/dmg-builder-6.6.0.tgz#301ae1239d3328864ae1419c1ff744b599a208d3" + integrity sha512-voodd3qdpdRiaciFZTfrFq/e82UPmUqSJq6R3Wc2Ql6XqXYLQcKo1h9rSZiivwls8PqE4Mk1IHTIOwmvJaq+MA== dependencies: - app-builder-lib "~20.38.5" - bluebird-lst "^1.0.6" - builder-util "~9.6.2" - fs-extra-p "^7.0.0" + app-builder-lib "~20.39.0" + bluebird-lst "^1.0.7" + builder-util "~9.7.0" + fs-extra-p "^7.0.1" iconv-lite "^0.4.24" js-yaml "^3.12.1" parse-color "^1.0.0" @@ -3359,24 +3359,24 @@ ejs@^2.6.1: resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.6.1.tgz#498ec0d495655abc6f23cd61868d926464071aa0" integrity sha512-0xy4A/twfrRCnkhfk8ErDi5DqdAsAqeGxht4xkCUrsvhhbQNs7E+4jV0CN7+NKIY0aHE72+XvqtBIXzD31ZbXQ== -electron-builder@^20.38.4: - version "20.38.5" - resolved "https://registry.yarnpkg.com/electron-builder/-/electron-builder-20.38.5.tgz#31b3913a68b4911afd4cfc7bcd2522c5808040cd" - integrity sha512-p88IDHhH2J4hA6KwRBJY+OfVZuFtFIShY3Uh/TwYAfbX0v1RhKZytuGdO8sty2zcWxDYX74xDBv+X9oN6qEIRQ== +electron-builder@^20.39.0: + version "20.39.0" + resolved "https://registry.yarnpkg.com/electron-builder/-/electron-builder-20.39.0.tgz#ab2f5b556f36dea3947eb43ef312a955ba7f9d16" + integrity sha512-50SNZ/G+iE9MpTwxzeHt1Cqg8jZKeFLuJ9wubR4e/8VIzAe0ERUmwAQw+77UrlwXZD/PKKoYblc0Sr08Vm4exg== dependencies: - app-builder-lib "20.38.5" - bluebird-lst "^1.0.6" - builder-util "9.6.2" - builder-util-runtime "8.1.1" + app-builder-lib "20.39.0" + bluebird-lst "^1.0.7" + builder-util "9.7.0" + builder-util-runtime "8.2.0" chalk "^2.4.2" - dmg-builder "6.5.4" - fs-extra-p "^7.0.0" + dmg-builder "6.6.0" + fs-extra-p "^7.0.1" is-ci "^2.0.0" - lazy-val "^1.0.3" - read-config-file "3.2.1" + lazy-val "^1.0.4" + read-config-file "3.2.2" sanitize-filename "^1.6.1" update-notifier "^2.5.0" - yargs "^12.0.5" + yargs "^13.2.1" electron-devtools-installer@^2.2.4: version "2.2.4" @@ -3434,17 +3434,17 @@ electron-osx-sign@0.4.11: minimist "^1.2.0" plist "^3.0.1" -electron-publish@20.38.5: - version "20.38.5" - resolved "https://registry.yarnpkg.com/electron-publish/-/electron-publish-20.38.5.tgz#c6ed7ea12bc80796b1f36489995f4651f730b1df" - integrity sha512-EhdPm6t0nKDfa0r3KjV1kSFcz03VrzgJRv7v5nHkkpQZB6OSmDNlHq7k66NBwQhPK3i4CK+uvehljZAP28vbCA== +electron-publish@20.39.0: + version "20.39.0" + resolved "https://registry.yarnpkg.com/electron-publish/-/electron-publish-20.39.0.tgz#a945d871b469b4160933d4e027612710b653f006" + integrity sha512-PWrGUru994CSmtsA56GnjyLB3EnIS3zyEmrW0hDXtwuctZLGMnrxjK/7WEORYkgTQ/GufD5b/8T05Q2Kr42nqQ== dependencies: - bluebird-lst "^1.0.6" - builder-util "~9.6.2" - builder-util-runtime "^8.1.1" + bluebird-lst "^1.0.7" + builder-util "~9.7.0" + builder-util-runtime "^8.2.0" chalk "^2.4.2" - fs-extra-p "^7.0.0" - lazy-val "^1.0.3" + fs-extra-p "^7.0.1" + lazy-val "^1.0.4" mime "^2.4.0" electron-publish@~20.17.2: @@ -4658,6 +4658,11 @@ get-caller-file@^1.0.1: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== +get-caller-file@^2.0.1: + version "2.0.5" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" + integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== + get-own-enumerable-property-symbols@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.0.tgz#b877b49a5c16aefac3655f2ed2ea5b684df8d203" @@ -7136,7 +7141,7 @@ nopt@^4.0.1: abbrev "1" osenv "^0.1.4" -normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.4.0: +normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== @@ -7404,7 +7409,7 @@ os-locale@^1.4.0: dependencies: lcid "^1.0.0" -os-locale@^3.0.0: +os-locale@^3.0.0, os-locale@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a" integrity sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q== @@ -8574,22 +8579,7 @@ react@^16.8.2: prop-types "^15.6.2" scheduler "^0.13.3" -read-config-file@3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/read-config-file/-/read-config-file-3.2.1.tgz#112dc8636121fa71fd524e1a8a5b4470ef7a2732" - integrity sha512-yW4hZZXdNN+Paij5JVAiTv1lUsAN5QRBU5NqotQqwYdVkUczSmDzm66VLu0eojiZt2zFeYptTFDAYlalDGuHdA== - dependencies: - ajv "^6.7.0" - ajv-keywords "^3.2.0" - bluebird-lst "^1.0.6" - dotenv "^6.2.0" - dotenv-expand "^4.2.0" - fs-extra-p "^7.0.0" - js-yaml "^3.12.1" - json5 "^2.1.0" - lazy-val "^1.0.3" - -read-config-file@^3.2.1: +read-config-file@3.2.2, read-config-file@^3.2.1: version "3.2.2" resolved "https://registry.yarnpkg.com/read-config-file/-/read-config-file-3.2.2.tgz#57bbff7dd97caf237d0d625bd541c6d0efb4d067" integrity sha512-PuFpMgZF01VB0ydH1dfitAxCP/fh+qnfbA9cYNIPoxPbz0SMngsrafCtaHDWfER7MwlDz4fmrNBhPkakxxFpTg== @@ -9030,6 +9020,11 @@ require-main-filename@^1.0.1: resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" integrity sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE= +require-main-filename@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" + integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== + requires-port@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" @@ -11209,6 +11204,14 @@ yargs-parser@^11.1.1: camelcase "^5.0.0" decamelize "^1.2.0" +yargs-parser@^13.0.0: + version "13.0.0" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.0.0.tgz#3fc44f3e76a8bdb1cc3602e860108602e5ccde8b" + integrity sha512-w2LXjoL8oRdRQN+hOyppuXs+V/fVAYtpcrRxZuF7Kt/Oc+Jr2uAcVntaUTNT6w5ihoWfFDpNY8CPx1QskxZ/pw== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + yargs-parser@^2.4.1: version "2.4.1" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-2.4.1.tgz#85568de3cf150ff49fa51825f03a8c880ddcc5c4" @@ -11260,6 +11263,23 @@ yargs@^12.0.4, yargs@^12.0.5: y18n "^3.2.1 || ^4.0.0" yargs-parser "^11.1.1" +yargs@^13.2.1: + version "13.2.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.2.2.tgz#0c101f580ae95cea7f39d927e7770e3fdc97f993" + integrity sha512-WyEoxgyTD3w5XRpAQNYUB9ycVH/PQrToaTXdYXRdOXvEy1l19br+VJsc0vcO8PTGg5ro/l/GY7F/JMEBmI0BxA== + dependencies: + cliui "^4.0.0" + find-up "^3.0.0" + get-caller-file "^2.0.1" + os-locale "^3.1.0" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^3.0.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^13.0.0" + yargs@^4.2.0, yargs@^4.7.1: version "4.8.1" resolved "https://registry.yarnpkg.com/yargs/-/yargs-4.8.1.tgz#c0c42924ca4aaa6b0e6da1739dfb216439f9ddc0"