From 42785263a39af860423ed65a9bb2aa0df53075bb Mon Sep 17 00:00:00 2001 From: vvo Date: Mon, 22 May 2017 11:54:33 +0200 Subject: [PATCH 1/3] chore(deps): update all deps --- package.json | 16 ++--- yarn.lock | 173 ++++++++++++++++++--------------------------------- 2 files changed, 70 insertions(+), 119 deletions(-) diff --git a/package.json b/package.json index be3e4b0b9..25ba7144b 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,9 @@ "url": "https://github.com/algolia/autocomplete.js.git" }, "devDependencies": { - "angular": "^1.6.3", - "angular-mocks": "^1.6.3", - "babel-eslint": "^7.2.1", + "angular": "^1.6.4", + "angular-mocks": "^1.6.4", + "babel-eslint": "^7.2.3", "chai": "^3.5.0", "colors": "^1.1.2", "conventional-changelog-cli": "^1.3.1", @@ -27,7 +27,7 @@ "grunt-banner": "^0.6.0", "grunt-cli": "1.2.0", "grunt-concurrent": "^2.3.1", - "grunt-contrib-clean": "^1.0.0", + "grunt-contrib-clean": "^1.1.0", "grunt-contrib-concat": "^1.0.1", "grunt-contrib-connect": "^1.0.2", "grunt-contrib-uglify": "^2.2.0", @@ -39,12 +39,12 @@ "grunt-umd": "^2.3.6", "grunt-webpack": "^1.0.14", "istanbul-instrumenter-loader": "^1.0.0", - "jasmine-core": "^2.5.2", + "jasmine-core": "^2.6.2", "jasmine-jquery": "^2.1.1", "jquery": "^3.2.1", "json": "^9.0.6", - "karma": "^1.5.0", - "karma-chrome-launcher": "^2.0.0", + "karma": "^1.7.0", + "karma-chrome-launcher": "^2.1.1", "karma-coverage": "^1.1.1", "karma-coveralls": "^1.1.2", "karma-firefox-launcher": "^1.0.1", @@ -55,7 +55,7 @@ "karma-sinon": "^1.0.5", "karma-sourcemap-loader": "^0.3.7", "karma-webpack": "^2.0.3", - "mocha": "^3.0.2", + "mocha": "^3.4.1", "mversion": "^1.10.1", "node-static": "^0.7.8", "phantomjs-prebuilt": "^2.1.12", diff --git a/yarn.lock b/yarn.lock index 9630a7c9a..fef4edac6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -52,13 +52,13 @@ anchor-markdown-header@^0.5.5: version "0.5.6" resolved "https://registry.yarnpkg.com/anchor-markdown-header/-/anchor-markdown-header-0.5.6.tgz#587c9d3c0c182e01a49d1f6d5a2877cf3e887872" -angular-mocks@^1.6.3: - version "1.6.3" - resolved "https://registry.yarnpkg.com/angular-mocks/-/angular-mocks-1.6.3.tgz#12fafc0f1e0903f16864004ba375bf3fb9101ef1" +angular-mocks@^1.6.4: + version "1.6.4" + resolved "https://registry.yarnpkg.com/angular-mocks/-/angular-mocks-1.6.4.tgz#47fdf50921cf24fb489f100a8cf2ad99d0538f40" -angular@^1.6.3: - version "1.6.3" - resolved "https://registry.yarnpkg.com/angular/-/angular-1.6.3.tgz#5d34b799234e8fa17c6a3a14e0258733935f43e7" +angular@^1.6.4: + version "1.6.4" + resolved "https://registry.yarnpkg.com/angular/-/angular-1.6.4.tgz#03b7b15c01a0802d7e2cf593240e604054dc77fb" annois@0.3.0: version "0.3.0" @@ -255,14 +255,6 @@ aws4@^1.2.1: version "1.5.0" resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.5.0.tgz#0a29ffb79c31c9e712eeb087e8e7a64b4a56d755" -babel-code-frame@^6.20.0: - version "6.20.0" - resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.20.0.tgz#b968f839090f9a8bc6d41938fb96cb84f7387b26" - dependencies: - chalk "^1.1.0" - esutils "^2.0.2" - js-tokens "^2.0.0" - babel-code-frame@^6.22.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.22.0.tgz#027620bee567a88c32561574e7fd0801d33118e4" @@ -271,14 +263,14 @@ babel-code-frame@^6.22.0: esutils "^2.0.2" js-tokens "^3.0.0" -babel-eslint@^7.2.1: - version "7.2.1" - resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-7.2.1.tgz#079422eb73ba811e3ca0865ce87af29327f8c52f" +babel-eslint@^7.2.3: + version "7.2.3" + resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-7.2.3.tgz#b2fe2d80126470f5c19442dc757253a897710827" dependencies: babel-code-frame "^6.22.0" babel-traverse "^6.23.1" babel-types "^6.23.0" - babylon "^6.16.1" + babylon "^6.17.0" babel-generator@^6.18.0: version "6.21.0" @@ -292,26 +284,13 @@ babel-generator@^6.18.0: lodash "^4.2.0" source-map "^0.5.0" -babel-messages@^6.23.0: +babel-messages@^6.23.0, babel-messages@^6.8.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" dependencies: babel-runtime "^6.22.0" -babel-messages@^6.8.0: - version "6.8.0" - resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.8.0.tgz#bf504736ca967e6d65ef0adb5a2a5f947c8e0eb9" - dependencies: - babel-runtime "^6.0.0" - -babel-runtime@^6.0.0, babel-runtime@^6.20.0, babel-runtime@^6.9.0: - version "6.20.0" - resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.20.0.tgz#87300bdcf4cd770f09bf0048c64204e17806d16f" - dependencies: - core-js "^2.4.0" - regenerator-runtime "^0.10.0" - -babel-runtime@^6.22.0: +babel-runtime@^6.20.0, babel-runtime@^6.22.0, babel-runtime@^6.9.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b" dependencies: @@ -328,21 +307,7 @@ babel-template@^6.16.0: babylon "^6.11.0" lodash "^4.2.0" -babel-traverse@^6.16.0, babel-traverse@^6.18.0: - version "6.21.0" - resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.21.0.tgz#69c6365804f1a4f69eb1213f85b00a818b8c21ad" - dependencies: - babel-code-frame "^6.20.0" - babel-messages "^6.8.0" - babel-runtime "^6.20.0" - babel-types "^6.21.0" - babylon "^6.11.0" - debug "^2.2.0" - globals "^9.0.0" - invariant "^2.2.0" - lodash "^4.2.0" - -babel-traverse@^6.23.1: +babel-traverse@^6.16.0, babel-traverse@^6.18.0, babel-traverse@^6.23.1: version "6.23.1" resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.23.1.tgz#d3cb59010ecd06a97d81310065f966b699e14f48" dependencies: @@ -356,16 +321,7 @@ babel-traverse@^6.23.1: invariant "^2.2.0" lodash "^4.2.0" -babel-types@^6.16.0, babel-types@^6.18.0, babel-types@^6.21.0: - version "6.21.0" - resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.21.0.tgz#314b92168891ef6d3806b7f7a917fdf87c11a4b2" - dependencies: - babel-runtime "^6.20.0" - esutils "^2.0.2" - lodash "^4.2.0" - to-fast-properties "^1.0.1" - -babel-types@^6.23.0: +babel-types@^6.16.0, babel-types@^6.18.0, babel-types@^6.21.0, babel-types@^6.23.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.23.0.tgz#bb17179d7538bad38cd0c9e115d340f77e7e9acf" dependencies: @@ -374,14 +330,14 @@ babel-types@^6.23.0: lodash "^4.2.0" to-fast-properties "^1.0.1" -babylon@^6.11.0, babylon@^6.13.0: - version "6.14.1" - resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.14.1.tgz#956275fab72753ad9b3435d7afe58f8bf0a29815" - -babylon@^6.15.0, babylon@^6.16.1: +babylon@^6.11.0, babylon@^6.13.0, babylon@^6.15.0: version "6.16.1" resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.16.1.tgz#30c5a22f481978a9e7f8cdfdf496b11d94b404d3" +babylon@^6.17.0: + version "6.17.1" + resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.17.1.tgz#17f14fddf361b695981fe679385e4f1c01ebd86f" + backo2@1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/backo2/-/backo2-1.0.2.tgz#31ab1ac8b129363463e35b3ebb69f4dfcfba7947" @@ -1137,13 +1093,19 @@ debug@2.2.0, debug@~2.2.0: dependencies: ms "0.7.1" -debug@2.3.3, debug@^2.1.1, debug@^2.1.3: +debug@2.3.3, debug@^2.1.1, debug@^2.1.3, debug@^2.2.0: version "2.3.3" resolved "https://registry.yarnpkg.com/debug/-/debug-2.3.3.tgz#40c453e67e6e13c901ddec317af8986cda9eff8c" dependencies: ms "0.7.2" -debug@2.6.1, debug@^2.2.0: +debug@2.6.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.0.tgz#bc596bcabe7617f11d9fa15361eded5608b8499b" + dependencies: + ms "0.7.2" + +debug@2.6.1: version "2.6.1" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.1.tgz#79855090ba2c4e3115cc7d8769491d58f0491351" dependencies: @@ -1238,9 +1200,9 @@ di@^0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/di/-/di-0.0.1.tgz#806649326ceaa7caa3306d75d985ea2748ba913c" -diff@1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-1.4.0.tgz#7f28d2eb9ee7b15a97efd89ce63dcfdaa3ccbabf" +diff@3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9" doctoc@^1.3.0: version "1.3.0" @@ -2066,9 +2028,9 @@ glob2base@^0.0.12: dependencies: find-index "^0.1.1" -glob@7.0.5: - version "7.0.5" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.0.5.tgz#b4202a69099bbb4d292a7c1b95b6682b67ebdc95" +glob@7.1.1, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@~7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" @@ -2096,17 +2058,6 @@ glob@^5.0.14, glob@^5.0.15, glob@~5.0.0: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@~7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.2" - once "^1.3.0" - path-is-absolute "^1.0.0" - glob@~3.1.21: version "3.1.21" resolved "https://registry.yarnpkg.com/glob/-/glob-3.1.21.tgz#d29e0a055dea5138f4d07ed40e8982e83c2066cd" @@ -2231,9 +2182,9 @@ grunt-concurrent@^2.3.1: indent-string "^2.0.0" pad-stream "^1.0.0" -grunt-contrib-clean@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/grunt-contrib-clean/-/grunt-contrib-clean-1.0.0.tgz#6b2ed94117e2c7ffe32ee04578c96fe4625a9b6d" +grunt-contrib-clean@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/grunt-contrib-clean/-/grunt-contrib-clean-1.1.0.tgz#564abf2d0378a983a15b9e3f30ee75b738c40638" dependencies: async "^1.5.2" rimraf "^2.5.1" @@ -2867,9 +2818,9 @@ istanbul@^0.4.0: which "^1.1.1" wordwrap "^1.0.0" -jasmine-core@^2.5.2: - version "2.5.2" - resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.5.2.tgz#6f61bd79061e27f43e6f9355e44b3c6cab6ff297" +jasmine-core@^2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.6.2.tgz#74ea1f7cf428691af201107d631234027a09daab" jasmine-jquery@^2.1.1: version "2.1.1" @@ -2957,9 +2908,9 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.3.6" -karma-chrome-launcher@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/karma-chrome-launcher/-/karma-chrome-launcher-2.0.0.tgz#c2790c5a32b15577d0fff5a4d5a2703b3b439c25" +karma-chrome-launcher@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/karma-chrome-launcher/-/karma-chrome-launcher-2.1.1.tgz#216879c68ac04d8d5140e99619ba04b59afd46cf" dependencies: fs-access "^1.0.0" which "^1.2.1" @@ -3024,9 +2975,9 @@ karma-webpack@^2.0.3: source-map "^0.1.41" webpack-dev-middleware "^1.0.11" -karma@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/karma/-/karma-1.5.0.tgz#9c4c14f0400bef2c04c8e8e6bff59371025cc009" +karma@^1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/karma/-/karma-1.7.0.tgz#6f7a1a406446fa2e187ec95398698f4cee476269" dependencies: bluebird "^3.3.0" body-parser "^1.16.1" @@ -3045,7 +2996,7 @@ karma@^1.5.0: lodash "^3.8.0" log4js "^0.6.31" mime "^1.3.4" - minimatch "^3.0.0" + minimatch "^3.0.2" optimist "^0.6.1" qjobs "^1.1.4" range-parser "^1.2.0" @@ -3591,16 +3542,16 @@ mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdi dependencies: minimist "0.0.8" -mocha@^3.0.2: - version "3.2.0" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.2.0.tgz#7dc4f45e5088075171a68896814e6ae9eb7a85e3" +mocha@^3.4.1: + version "3.4.1" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.4.1.tgz#a3802b4aa381934cacb38de70cf771621da8f9af" dependencies: browser-stdout "1.3.0" commander "2.9.0" - debug "2.2.0" - diff "1.4.0" + debug "2.6.0" + diff "3.2.0" escape-string-regexp "1.0.5" - glob "7.0.5" + glob "7.1.1" growl "1.9.2" json3 "3.3.2" lodash.create "3.1.1" @@ -5125,16 +5076,7 @@ typedarray@~0.0.5: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" -uglify-js@^2.6, uglify-js@~2.7.3: - 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-js@~2.8.3: +uglify-js@^2.6, uglify-js@~2.8.3: version "2.8.18" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.18.tgz#925d14bae48ab62d1883b41afe6e2261662adb8e" dependencies: @@ -5143,6 +5085,15 @@ uglify-js@~2.8.3: optionalDependencies: uglify-to-browserify "~1.0.0" +uglify-js@~2.7.3: + 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" From 6b3f94d537f7ce19d3d7f9230d59270ead021aa7 Mon Sep 17 00:00:00 2001 From: vvo Date: Mon, 22 May 2017 14:38:13 +0200 Subject: [PATCH 2/3] test(travis): fix it, for good. It seems that a recent update of sauce connect broke the tests because 8888 is always bound by saucelabs metrics web server. We cannot use something as high as 28888 because safari won't access it: https://wiki.saucelabs.com/display/DOCS/Sauce+Connect+Proxy+FAQS --- test/ci.sh | 4 ++-- test/integration/test.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ci.sh b/test/ci.sh index a9fa9f4d9..5cc1ca2cf 100755 --- a/test/ci.sh +++ b/test/ci.sh @@ -5,8 +5,8 @@ set -e # exit when error, no verbose if [ "$TEST_SUITE" == "unit" ]; then ./node_modules/karma/bin/karma start --single-run elif [ "$TRAVIS_SECURE_ENV_VARS" == "true" -a "$TEST_SUITE" == "integration" ]; then - static -p 8888 & - sleep 3 + static -p 8080 & + sleep 3 && ./node_modules/mocha/bin/mocha --harmony -R spec ./test/integration/test.js else echo "Not running any tests" diff --git a/test/integration/test.js b/test/integration/test.js index dc4ca0015..edd2e3d96 100644 --- a/test/integration/test.js +++ b/test/integration/test.js @@ -68,7 +68,7 @@ describe('jquery-typeahead.js', function() { driver.run(function*() { yield this.init(caps); - yield this.get((env['TEST_HOST'] || 'http://localhost:8888') + '/test/integration/test.html'); + yield this.get((env['TEST_HOST'] || 'http://localhost:8080') + '/test/integration/test.html'); body = this.elementByTagName('body'); input = yield this.elementById('states'); From 06cbbc0df3eb3b4f9ebab66db97580e989c444f0 Mon Sep 17 00:00:00 2001 From: vvo Date: Mon, 22 May 2017 15:43:52 +0200 Subject: [PATCH 3/3] test(travis): byebye IE8 --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 150ac9d38..450ad4014 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,6 @@ env: - TEST_SUITE=integration BROWSER='safari:6' - TEST_SUITE=integration BROWSER='safari:7' - TEST_SUITE=integration BROWSER='safari:8' - - TEST_SUITE=integration BROWSER='internet explorer:8' - TEST_SUITE=integration BROWSER='internet explorer:9' - TEST_SUITE=integration BROWSER='internet explorer:10' - TEST_SUITE=integration BROWSER='internet explorer:11'