diff --git a/package.json b/package.json index e7891ad..436b280 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@types/jest": "21.1.1", "@types/node": "8.0.31", "@types/request": "2.0.3", - "jest": "21.1.0", + "jest": "21.2.0", "jest-playback": "1.0.1", "prettier": "1.7.0", "prettier-config-ikatyang": "1.1.1", diff --git a/yarn.lock b/yarn.lock index 128d181..8107aaa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -245,12 +245,12 @@ babel-helpers@^6.24.1: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-jest@^21.0.2: - version "21.0.2" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-21.0.2.tgz#817ea52c23f1c6c4b684d6960968416b6a9e9c6c" +babel-jest@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-21.2.0.tgz#2ce059519a9374a2c46f2455b6fbef5ad75d863e" dependencies: babel-plugin-istanbul "^4.0.0" - babel-preset-jest "^21.0.2" + babel-preset-jest "^21.2.0" babel-messages@^6.23.0: version "6.23.0" @@ -266,9 +266,13 @@ babel-plugin-istanbul@^4.0.0, babel-plugin-istanbul@^4.1.4: istanbul-lib-instrument "^1.7.5" test-exclude "^4.1.1" -babel-plugin-jest-hoist@^21.0.2: - version "21.0.2" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-21.0.2.tgz#cfdce5bca40d772a056cb8528ad159c7bb4bb03d" +babel-plugin-jest-hoist@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-21.2.0.tgz#2cef637259bd4b628a6cace039de5fcd14dbb006" + +babel-plugin-syntax-object-rest-spread@^6.13.0: + version "6.13.0" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" babel-plugin-transform-es2015-modules-commonjs@^6.24.1: version "6.26.0" @@ -286,11 +290,12 @@ babel-plugin-transform-strict-mode@^6.24.1: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-preset-jest@^21.0.0, babel-preset-jest@^21.0.2: - version "21.0.2" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-21.0.2.tgz#9db25def2329f49eace3f5ea0de42a0b898d12cc" +babel-preset-jest@^21.0.0, babel-preset-jest@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-21.2.0.tgz#ff9d2bce08abd98e8a36d9a8a5189b9173b85638" dependencies: - babel-plugin-jest-hoist "^21.0.2" + babel-plugin-jest-hoist "^21.2.0" + babel-plugin-syntax-object-rest-spread "^6.13.0" babel-register@^6.26.0: version "6.26.0" @@ -800,16 +805,16 @@ expand-range@^1.8.1: dependencies: fill-range "^2.1.0" -expect@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/expect/-/expect-21.1.0.tgz#1c138ec803c72d28cbd10dfe97104966d967c24a" +expect@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/expect/-/expect-21.2.0.tgz#28ea776f377cda4df54b18eb05644b253aba0caa" dependencies: ansi-styles "^3.2.0" - jest-diff "^21.1.0" - jest-get-type "^21.0.2" - jest-matcher-utils "^21.1.0" - jest-message-util "^21.1.0" - jest-regex-util "^21.1.0" + jest-diff "^21.2.0" + jest-get-type "^21.2.0" + jest-matcher-utils "^21.2.0" + jest-message-util "^21.2.0" + jest-regex-util "^21.2.0" extend@~3.0.0, extend@~3.0.1: version "3.0.1" @@ -1342,15 +1347,15 @@ istanbul-reports@^1.1.2: dependencies: handlebars "^4.0.3" -jest-changed-files@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-21.1.0.tgz#e70f6b33b75d5987f4eae07e35bea5525635f92a" +jest-changed-files@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-21.2.0.tgz#5dbeecad42f5d88b482334902ce1cba6d9798d29" dependencies: throat "^4.0.0" -jest-cli@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-21.1.0.tgz#4f671885ea3521803c96a1fd95baaa6a1ba8d70f" +jest-cli@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-21.2.0.tgz#30f7f1da516701893370937f6e06cf9e35b7f758" dependencies: ansi-escapes "^3.0.0" chalk "^2.0.1" @@ -1361,17 +1366,17 @@ jest-cli@^21.1.0: istanbul-lib-coverage "^1.0.1" istanbul-lib-instrument "^1.4.2" istanbul-lib-source-maps "^1.1.0" - jest-changed-files "^21.1.0" - jest-config "^21.1.0" - jest-environment-jsdom "^21.1.0" - jest-haste-map "^21.1.0" - jest-message-util "^21.1.0" - jest-regex-util "^21.1.0" - jest-resolve-dependencies "^21.1.0" - jest-runner "^21.1.0" - jest-runtime "^21.1.0" - jest-snapshot "^21.1.0" - jest-util "^21.1.0" + jest-changed-files "^21.2.0" + jest-config "^21.2.0" + jest-environment-jsdom "^21.2.0" + jest-haste-map "^21.2.0" + jest-message-util "^21.2.0" + jest-regex-util "^21.2.0" + jest-resolve-dependencies "^21.2.0" + jest-runner "^21.2.0" + jest-runtime "^21.2.0" + jest-snapshot "^21.2.0" + jest-util "^21.2.0" micromatch "^2.3.11" node-notifier "^5.0.2" pify "^3.0.0" @@ -1382,97 +1387,97 @@ jest-cli@^21.1.0: worker-farm "^1.3.1" yargs "^9.0.0" -jest-config@^21.0.0, jest-config@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-21.1.0.tgz#7ef8778af679de30dad75e355a0dfbb0330b8d2f" +jest-config@^21.0.0, jest-config@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-21.2.0.tgz#e88e6e677eed4eb78acfc9a1243531e3484de143" dependencies: chalk "^2.0.1" glob "^7.1.1" - jest-environment-jsdom "^21.1.0" - jest-environment-node "^21.1.0" - jest-get-type "^21.0.2" - jest-jasmine2 "^21.1.0" - jest-regex-util "^21.1.0" - jest-resolve "^21.1.0" - jest-util "^21.1.0" - jest-validate "^21.1.0" - pretty-format "^21.1.0" + jest-environment-jsdom "^21.2.0" + jest-environment-node "^21.2.0" + jest-get-type "^21.2.0" + jest-jasmine2 "^21.2.0" + jest-regex-util "^21.2.0" + jest-resolve "^21.2.0" + jest-util "^21.2.0" + jest-validate "^21.2.0" + pretty-format "^21.2.0" -jest-diff@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-21.1.0.tgz#ca4c9d40272a6901dcde6c4c0bb2f568c363cc42" +jest-diff@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-21.2.0.tgz#14fa840d498c8f8a07465877dee5a9f0a48d6e74" dependencies: chalk "^2.0.1" diff "^3.2.0" - jest-get-type "^21.0.2" - pretty-format "^21.1.0" + jest-get-type "^21.2.0" + pretty-format "^21.2.0" -jest-docblock@^21.0.0, jest-docblock@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-21.1.0.tgz#43154be2441fb91403e36bb35cb791a5017cea81" +jest-docblock@^21.0.0, jest-docblock@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-21.2.0.tgz#51529c3b30d5fd159da60c27ceedc195faf8d414" -jest-environment-jsdom@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-21.1.0.tgz#40729a60cd4544625f7d3a33c32bdaad63e57db7" +jest-environment-jsdom@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-21.2.0.tgz#b38a2a1c5a4070586446863ffc25c6aedc0c1ddb" dependencies: - jest-mock "^21.1.0" - jest-util "^21.1.0" + jest-mock "^21.2.0" + jest-util "^21.2.0" jsdom "^9.12.0" -jest-environment-node@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-21.1.0.tgz#a11fd611e8ae6c3e02b785aa1b12a3009f4fd0f1" +jest-environment-node@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-21.2.0.tgz#5e025a86c9556e6b7024f66b340bb9e3733f0d0f" dependencies: - jest-mock "^21.1.0" - jest-util "^21.1.0" + jest-mock "^21.2.0" + jest-util "^21.2.0" -jest-get-type@^21.0.2: - version "21.0.2" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-21.0.2.tgz#304e6b816dd33cd1f47aba0597bcad258a509fc6" +jest-get-type@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-21.2.0.tgz#f6376ab9db4b60d81e39f30749c6c466f40d4a23" -jest-haste-map@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-21.1.0.tgz#08e7a8c584008d4b790b8dddf7dd3e3db03b75d3" +jest-haste-map@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-21.2.0.tgz#1363f0a8bb4338f24f001806571eff7a4b2ff3d8" dependencies: fb-watchman "^2.0.0" graceful-fs "^4.1.11" - jest-docblock "^21.1.0" + jest-docblock "^21.2.0" micromatch "^2.3.11" sane "^2.0.0" worker-farm "^1.3.1" -jest-jasmine2@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-21.1.0.tgz#975c3cd3ecd9d50d385bfe3c680dd61979f50c9c" +jest-jasmine2@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-21.2.0.tgz#99907a12d94ead2815f6bd22d69b3d2bc5bb36bc" dependencies: chalk "^2.0.1" - expect "^21.1.0" + expect "^21.2.0" graceful-fs "^4.1.11" - jest-diff "^21.1.0" - jest-matcher-utils "^21.1.0" - jest-message-util "^21.1.0" - jest-snapshot "^21.1.0" + jest-diff "^21.2.0" + jest-matcher-utils "^21.2.0" + jest-message-util "^21.2.0" + jest-snapshot "^21.2.0" p-cancelable "^0.3.0" -jest-matcher-utils@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-21.1.0.tgz#b02e237b287c58915ce9a5bf3c7138dba95125a7" +jest-matcher-utils@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-21.2.0.tgz#6cfabb60aa77d9f17e9e2fa8eb939dfbe005022d" dependencies: chalk "^2.0.1" - jest-get-type "^21.0.2" - pretty-format "^21.1.0" + jest-get-type "^21.2.0" + pretty-format "^21.2.0" -jest-message-util@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-21.1.0.tgz#7f9a52535d1a640af0d4c800edde737e14ea0526" +jest-message-util@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-21.2.0.tgz#3c6717fe21c301da3a24ffa5691aed8961d362f5" dependencies: chalk "^2.0.1" micromatch "^2.3.11" slash "^1.0.0" -jest-mock@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-21.1.0.tgz#c4dddfa893a0b120b72b5ae87c7506745213a790" +jest-mock@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-21.2.0.tgz#7eb0770e7317968165f61ea2a7281131534b3c0f" jest-playback@1.0.1: version "1.0.1" @@ -1484,54 +1489,54 @@ jest-playback@1.0.1: nock "^9.0.13" rev-hash "^2.0.0" -jest-regex-util@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-21.1.0.tgz#59e4bad74f5ffd62a3835225f9bc1ee3796b5adb" +jest-regex-util@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-21.2.0.tgz#1b1e33e63143babc3e0f2e6c9b5ba1eb34b2d530" -jest-resolve-dependencies@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-21.1.0.tgz#9f78852e65d864d04ad0919ac8226b3f1434e7b0" +jest-resolve-dependencies@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-21.2.0.tgz#9e231e371e1a736a1ad4e4b9a843bc72bfe03d09" dependencies: - jest-regex-util "^21.1.0" + jest-regex-util "^21.2.0" -jest-resolve@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-21.1.0.tgz#6bb806ca5ad876c250044fe62f298321d2da5c06" +jest-resolve@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-21.2.0.tgz#068913ad2ba6a20218e5fd32471f3874005de3a6" dependencies: browser-resolve "^1.11.2" chalk "^2.0.1" is-builtin-module "^1.0.0" -jest-runner@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-21.1.0.tgz#d7ea7e2fa10ed673d4dd25ba2f3faae2efb89a07" +jest-runner@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-21.2.0.tgz#632f8e0c365613b37d2c7bd2c2f9dcc6235d71f0" dependencies: - jest-config "^21.1.0" - jest-docblock "^21.1.0" - jest-haste-map "^21.1.0" - jest-jasmine2 "^21.1.0" - jest-message-util "^21.1.0" - jest-runtime "^21.1.0" - jest-util "^21.1.0" + jest-config "^21.2.0" + jest-docblock "^21.2.0" + jest-haste-map "^21.2.0" + jest-jasmine2 "^21.2.0" + jest-message-util "^21.2.0" + jest-runtime "^21.2.0" + jest-util "^21.2.0" pify "^3.0.0" throat "^4.0.0" worker-farm "^1.3.1" -jest-runtime@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-21.1.0.tgz#c9a180a9e06ef046d0ad157dea52355abb7cbad4" +jest-runtime@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-21.2.0.tgz#665882303a656103c1fe025aaef44d547935bf51" dependencies: babel-core "^6.0.0" - babel-jest "^21.0.2" + babel-jest "^21.2.0" babel-plugin-istanbul "^4.0.0" chalk "^2.0.1" convert-source-map "^1.4.0" graceful-fs "^4.1.11" - jest-config "^21.1.0" - jest-haste-map "^21.1.0" - jest-regex-util "^21.1.0" - jest-resolve "^21.1.0" - jest-util "^21.1.0" + jest-config "^21.2.0" + jest-haste-map "^21.2.0" + jest-regex-util "^21.2.0" + jest-resolve "^21.2.0" + jest-util "^21.2.0" json-stable-stringify "^1.0.1" micromatch "^2.3.11" slash "^1.0.0" @@ -1539,43 +1544,43 @@ jest-runtime@^21.1.0: write-file-atomic "^2.1.0" yargs "^9.0.0" -jest-snapshot@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-21.1.0.tgz#a5fa9d52847d8f52e19a1df6ccae9de699193ccc" +jest-snapshot@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-21.2.0.tgz#e3f53df6f90d2d72054c78d0eef32592a76edc05" dependencies: chalk "^2.0.1" - jest-diff "^21.1.0" - jest-matcher-utils "^21.1.0" + jest-diff "^21.2.0" + jest-matcher-utils "^21.2.0" mkdirp "^0.5.1" natural-compare "^1.4.0" - pretty-format "^21.1.0" + pretty-format "^21.2.0" -jest-util@^21.0.0, jest-util@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-21.1.0.tgz#f92ff756422cc0609ddf5a9bfa4d34b2835d8c30" +jest-util@^21.0.0, jest-util@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-21.2.0.tgz#b80779fc67250eb952196233c5ce68c2bd83fe69" dependencies: callsites "^2.0.0" chalk "^2.0.1" graceful-fs "^4.1.11" - jest-message-util "^21.1.0" - jest-mock "^21.1.0" - jest-validate "^21.1.0" + jest-message-util "^21.2.0" + jest-mock "^21.2.0" + jest-validate "^21.2.0" mkdirp "^0.5.1" -jest-validate@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-21.1.0.tgz#39d01115544a758bce49f221a5fcbb24ebdecc65" +jest-validate@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-21.2.0.tgz#b383fc9c2905c15fac081bd42ffa954457ea705b" dependencies: chalk "^2.0.1" - jest-get-type "^21.0.2" + jest-get-type "^21.2.0" leven "^2.1.0" - pretty-format "^21.1.0" + pretty-format "^21.2.0" -jest@21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest/-/jest-21.1.0.tgz#77c7baa8aa9e8bace7fe41a30d748ab56e89476a" +jest@21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest/-/jest-21.2.0.tgz#d0a6171e4e36e95acb28175d8b191241872bb59a" dependencies: - jest-cli "^21.1.0" + jest-cli "^21.2.0" js-tokens@^3.0.0, js-tokens@^3.0.2: version "3.0.2" @@ -2179,9 +2184,9 @@ prettier@1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.7.0.tgz#47481588f41f7c90f63938feb202ac82554e7150" -pretty-format@^21.1.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-21.1.0.tgz#557428254323832ee8b7c971cb613442bea67f61" +pretty-format@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-21.2.0.tgz#8ca29556ad13eed5db48a3096b98bab9c321c6fa" dependencies: ansi-regex "^3.0.0" ansi-styles "^3.2.0" @@ -2749,8 +2754,8 @@ tsutils@^1.4.0: resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-1.9.1.tgz#b9f9ab44e55af9681831d5f28d0aeeaf5c750cb0" tsutils@^2.6.1, tsutils@^2.8.0, tsutils@^2.8.1: - version "2.8.2" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.8.2.tgz#2c1486ba431260845b0ac6f902afd9d708a8ea6a" + version "2.9.0" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.9.0.tgz#7e1537b556bab6872fa7e6485dff45b076d5533d" dependencies: tslib "^1.7.1"