From 0b086c2fce37cf326cac57b616f83211c8695b04 Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Mon, 13 Aug 2018 19:56:43 +0200 Subject: [PATCH] Bump deps --- build/webpack.base.conf.js | 2 +- package.json | 12 +++--- src/polyfills/index.js | 5 +-- yarn.lock | 78 +++++++++++++++++++------------------- 4 files changed, 49 insertions(+), 48 deletions(-) diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index 88c0812..40a2a70 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -17,7 +17,7 @@ const config = require('../config') module.exports = { context: path.resolve(__dirname, '../'), entry: { - app: './src/main.js' + app: './src/main.js', }, output: { path: config.build.assetsRoot, diff --git a/package.json b/package.json index 58d8159..bd6161c 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,6 @@ "file-saver": "^1.3.8", "gps-to-gpx": "^1.4.0", "howler": "^2.0.14", - "isomorphic-fetch": "^2.2.1", "leaflet": "^1.3.1", "leaflet-tracksymbol": "^1.0.8", "material-icons": "^0.2.3", @@ -30,12 +29,13 @@ "vue-router": "^3.0.1", "vue2-leaflet": "^1.0.2", "vue2-leaflet-tracksymbol": "^1.0.10", - "vuetify": "^1.1.10", - "vuex": "^3.0.1" + "vuetify": "^1.1.11", + "vuex": "^3.0.1", + "whatwg-fetch": "^2.0.4" }, "devDependencies": { "app-manifest-webpack-plugin": "^1.1.3", - "autoprefixer": "^9.1.0", + "autoprefixer": "^9.1.1", "babel-core": "^6.22.1", "babel-eslint": "^8.2.6", "babel-loader": "^7.1.1", @@ -44,12 +44,12 @@ "copy-webpack-plugin": "^4.0.1", "css-loader": "^1.0.0", "eslint": "^5.3.0", - "eslint-config-airbnb-base": "^13.0.0", + "eslint-config-airbnb-base": "^13.1.0", "eslint-friendly-formatter": "^4.0.1", "eslint-import-resolver-webpack": "^0.10.1", "eslint-loader": "^2.1.0", "eslint-plugin-html": "^4.0.5", - "eslint-plugin-import": "^2.7.0", + "eslint-plugin-import": "^2.14.0", "file-loader": "^1.1.4", "friendly-errors-webpack-plugin": "^1.6.1", "html-webpack-plugin": "^3.2.0", diff --git a/src/polyfills/index.js b/src/polyfills/index.js index a383748..82d1a3b 100644 --- a/src/polyfills/index.js +++ b/src/polyfills/index.js @@ -1,8 +1,7 @@ -require('babel-polyfill'); +import 'babel-polyfill'; +import 'whatwg-fetch'; if (!Number.isNaN) { // From https://developer.mozilla.org/pl/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN Number.isNaN = value => (value !== value); // eslint-disable-line no-self-compare } - -require('isomorphic-fetch'); diff --git a/yarn.lock b/yarn.lock index 5a9c0a1..424ba1e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -497,12 +497,12 @@ atob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.1.tgz#ae2d5a729477f289d60dd7f96a6314a22dd6c22a" -autoprefixer@^9.1.0: - version "9.1.0" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.1.0.tgz#566a70d1148046b96b31efa08090f1999ffb6d8c" +autoprefixer@^9.1.1: + version "9.1.1" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.1.1.tgz#e4ffa96c71270b8a1967d1542abc5f8453920a77" dependencies: - browserslist "^4.0.1" - caniuse-lite "^1.0.30000872" + browserslist "^4.0.2" + caniuse-lite "^1.0.30000876" normalize-range "^0.1.2" num2fraction "^1.2.2" postcss "^7.0.2" @@ -1360,7 +1360,7 @@ browserslist@^3.2.6: caniuse-lite "^1.0.30000844" electron-to-chromium "^1.3.47" -browserslist@^4.0.0, browserslist@^4.0.1: +browserslist@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.0.1.tgz#61c05ce2a5843c7d96166408bc23d58b5416e818" dependencies: @@ -1368,6 +1368,14 @@ browserslist@^4.0.0, browserslist@^4.0.1: electron-to-chromium "^1.3.52" node-releases "^1.0.0-alpha.10" +browserslist@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.0.2.tgz#294388f5844bb3ab15ef7394ca17f49bf7a4e6f1" + dependencies: + caniuse-lite "^1.0.30000876" + electron-to-chromium "^1.3.57" + node-releases "^1.0.0-alpha.11" + buffer-alloc-unsafe@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz#bd7dc26ae2972d0eda253be061dba992349c19f0" @@ -1521,7 +1529,7 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000865, caniuse-lite@^1.0.30000872: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000865: version "1.0.30000874" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000874.tgz#a641b1f1c420d58d9b132920ef6ba87bbdcd2223" @@ -1529,6 +1537,10 @@ caniuse-lite@^1.0.30000844: version "1.0.30000856" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000856.tgz#ecc16978135a6f219b138991eb62009d25ee8daa" +caniuse-lite@^1.0.30000876: + version "1.0.30000876" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000876.tgz#69fc1b696a35fd91089061aa916f677ee7057ada" + capture-stack-trace@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz#4a6fa07399c26bba47f0b2496b4d0fb408c5550d" @@ -2694,6 +2706,10 @@ electron-to-chromium@^1.3.52: version "1.3.55" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.55.tgz#f150e10b20b77d9d41afcca312efe0c3b1a7fdce" +electron-to-chromium@^1.3.57: + version "1.3.57" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.57.tgz#61b2446f16af26fb8873210007a7637ad644c82d" + elliptic@^6.0.0: version "6.4.0" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.4.0.tgz#cac9af8762c85836187003c8dfe193e5e2eae5df" @@ -2714,12 +2730,6 @@ encodeurl@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" -encoding@^0.1.11: - version "0.1.12" - resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" - dependencies: - iconv-lite "~0.4.13" - end-of-stream@^1.0.0, end-of-stream@^1.1.0: version "1.4.1" resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43" @@ -2825,9 +2835,9 @@ escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" -eslint-config-airbnb-base@^13.0.0: - version "13.0.0" - resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-13.0.0.tgz#2ee6279c4891128e49d6445b24aa13c2d1a21450" +eslint-config-airbnb-base@^13.1.0: + version "13.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-13.1.0.tgz#b5a1b480b80dfad16433d6c4ad84e6605052c05c" dependencies: eslint-restricted-globals "^0.1.1" object.assign "^4.1.0" @@ -2889,9 +2899,9 @@ eslint-plugin-html@^4.0.5: dependencies: htmlparser2 "^3.8.2" -eslint-plugin-import@^2.7.0: - version "2.13.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.13.0.tgz#df24f241175e312d91662dc91ca84064caec14ed" +eslint-plugin-import@^2.14.0: + version "2.14.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.14.0.tgz#6b17626d2e3e6ad52cfce8807a845d15e22111a8" dependencies: contains-path "^0.1.0" debug "^2.6.8" @@ -4179,7 +4189,7 @@ iconv-lite@0.4.19: version "0.4.19" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" -iconv-lite@^0.4.17, iconv-lite@^0.4.22, iconv-lite@^0.4.4, iconv-lite@~0.4.13: +iconv-lite@^0.4.17, iconv-lite@^0.4.22, iconv-lite@^0.4.4: version "0.4.23" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63" dependencies: @@ -4784,13 +4794,6 @@ isobject@^3.0.0, isobject@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" -isomorphic-fetch@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz#611ae1acf14f5e81f729507472819fe9733558a9" - dependencies: - node-fetch "^1.0.1" - whatwg-fetch ">=0.10.0" - isstream@~0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" @@ -5637,13 +5640,6 @@ no-case@^2.2.0: dependencies: lower-case "^1.1.1" -node-fetch@^1.0.1: - version "1.7.3" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef" - dependencies: - encoding "^0.1.11" - is-stream "^1.0.1" - node-forge@0.7.5: version "0.7.5" resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.7.5.tgz#6c152c345ce11c52f465c2abd957e8639cd674df" @@ -5697,6 +5693,12 @@ node-releases@^1.0.0-alpha.10: dependencies: semver "^5.3.0" +node-releases@^1.0.0-alpha.11: + version "1.0.0-alpha.11" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.0.0-alpha.11.tgz#73c810acc2e5b741a17ddfbb39dfca9ab9359d8a" + dependencies: + semver "^5.3.0" + node-status-codes@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/node-status-codes/-/node-status-codes-1.0.0.tgz#5ae5541d024645d32a58fcddc9ceecea7ae3ac2f" @@ -8440,9 +8442,9 @@ vue@^2.5.2: version "2.5.17" resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.17.tgz#0f8789ad718be68ca1872629832ed533589c6ada" -vuetify@^1.1.10: - version "1.1.10" - resolved "https://registry.yarnpkg.com/vuetify/-/vuetify-1.1.10.tgz#4a5c890f242e1cf84e318ccdf265a58928de76bb" +vuetify@^1.1.11: + version "1.1.11" + resolved "https://registry.yarnpkg.com/vuetify/-/vuetify-1.1.11.tgz#3b2ec09344231ddf872524346c2efa20e8aa30d4" vuex@^3.0.1: version "3.0.1" @@ -8609,7 +8611,7 @@ websocket-extensions@>=0.1.1: version "0.1.3" resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29" -whatwg-fetch@>=0.10.0: +whatwg-fetch@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz#dde6a5df315f9d39991aa17621853d720b85566f"