Upgrade Jest to 22.4.0 to pull fixes for jest-haste-map

Reviewed By: mjesun

Differential Revision: D7041111

fbshipit-source-id: 6dbd0cbf7b62a54d0b5f16bbf2fa81332542f14e
This commit is contained in:
Burak Yigit Kaya 2018-02-22 06:14:06 -08:00 committed by Facebook Github Bot
parent b354a81427
commit a984719eef
3 changed files with 123 additions and 116 deletions

View File

@ -4,7 +4,7 @@
"babel-core": "^6.23.1", "babel-core": "^6.23.1",
"babel-eslint": "8.2.1", "babel-eslint": "8.2.1",
"babel-generator": "^6.26.0", "babel-generator": "^6.26.0",
"babel-jest": "22.2.2", "babel-jest": "22.4.0",
"babel-plugin-syntax-trailing-function-commas": "^6.20.0", "babel-plugin-syntax-trailing-function-commas": "^6.20.0",
"babel-plugin-transform-async-to-generator": "^6.24.1", "babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-class-properties": "^6.18.0", "babel-plugin-transform-class-properties": "^6.18.0",
@ -30,7 +30,7 @@
"glob": "^7.1.1", "glob": "^7.1.1",
"istanbul-api": "^1.1.0", "istanbul-api": "^1.1.0",
"istanbul-lib-coverage": "^1.0.0", "istanbul-lib-coverage": "^1.0.0",
"jest": "22.3.0", "jest": "22.4.0",
"lerna": "2.4.0", "lerna": "2.4.0",
"micromatch": "^2.3.11", "micromatch": "^2.3.11",
"mkdirp": "^0.5.1", "mkdirp": "^0.5.1",

View File

@ -65,8 +65,8 @@
"fs-extra": "^1.0.0", "fs-extra": "^1.0.0",
"graceful-fs": "^4.1.3", "graceful-fs": "^4.1.3",
"image-size": "^0.6.0", "image-size": "^0.6.0",
"jest-docblock": "22.2.2", "jest-docblock": "22.4.0",
"jest-haste-map": "22.3.0", "jest-haste-map": "22.4.0",
"jest-worker": "22.2.2", "jest-worker": "22.2.2",
"json-stable-stringify": "^1.0.1", "json-stable-stringify": "^1.0.1",
"json5": "^0.4.0", "json5": "^0.4.0",

231
yarn.lock
View File

@ -880,9 +880,9 @@ babel-helpers@^6.24.1:
babel-runtime "^6.22.0" babel-runtime "^6.22.0"
babel-template "^6.24.1" babel-template "^6.24.1"
babel-jest@22.2.2, babel-jest@^22.2.2: babel-jest@22.4.0, babel-jest@^22.4.0:
version "22.2.2" version "22.4.0"
resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-22.2.2.tgz#eda38dca284e32cc5257f96a9b51351975de4e04" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-22.4.0.tgz#79479739c87a39327383bb944a0a8a2deb5c9b4d"
dependencies: dependencies:
babel-plugin-istanbul "^4.1.5" babel-plugin-istanbul "^4.1.5"
babel-preset-jest "^22.2.0" babel-preset-jest "^22.2.0"
@ -2393,15 +2393,15 @@ expand-range@^1.8.1:
dependencies: dependencies:
fill-range "^2.1.0" fill-range "^2.1.0"
expect@^22.3.0: expect@^22.4.0:
version "22.3.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/expect/-/expect-22.3.0.tgz#b1cb7db27a951ab6055f43937277152a9f668028" resolved "https://registry.yarnpkg.com/expect/-/expect-22.4.0.tgz#371edf1ae15b83b5bf5ec34b42f1584660a36c16"
dependencies: dependencies:
ansi-styles "^3.2.0" ansi-styles "^3.2.0"
jest-diff "^22.1.0" jest-diff "^22.4.0"
jest-get-type "^22.1.0" jest-get-type "^22.1.0"
jest-matcher-utils "^22.2.0" jest-matcher-utils "^22.4.0"
jest-message-util "^22.2.0" jest-message-util "^22.4.0"
jest-regex-util "^22.1.0" jest-regex-util "^22.1.0"
extend@~3.0.0, extend@~3.0.1: extend@~3.0.0, extend@~3.0.1:
@ -3370,9 +3370,9 @@ jest-changed-files@^22.2.0:
dependencies: dependencies:
throat "^4.0.0" throat "^4.0.0"
jest-cli@^22.3.0: jest-cli@^22.4.0:
version "22.3.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-22.3.0.tgz#3fd986f2674f4168c91965be56ab9917a82a45db" resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-22.4.0.tgz#234d6175166e87ecab40c6e5a4f7b3f6a4cd4257"
dependencies: dependencies:
ansi-escapes "^3.0.0" ansi-escapes "^3.0.0"
chalk "^2.0.1" chalk "^2.0.1"
@ -3386,17 +3386,18 @@ jest-cli@^22.3.0:
istanbul-lib-instrument "^1.8.0" istanbul-lib-instrument "^1.8.0"
istanbul-lib-source-maps "^1.2.1" istanbul-lib-source-maps "^1.2.1"
jest-changed-files "^22.2.0" jest-changed-files "^22.2.0"
jest-config "^22.3.0" jest-config "^22.4.0"
jest-environment-jsdom "^22.3.0" jest-environment-jsdom "^22.4.0"
jest-get-type "^22.1.0" jest-get-type "^22.1.0"
jest-haste-map "^22.3.0" jest-haste-map "^22.4.0"
jest-message-util "^22.2.0" jest-message-util "^22.4.0"
jest-regex-util "^22.1.0" jest-regex-util "^22.1.0"
jest-resolve-dependencies "^22.1.0" jest-resolve-dependencies "^22.1.0"
jest-runner "^22.3.0" jest-runner "^22.4.0"
jest-runtime "^22.3.0" jest-runtime "^22.4.0"
jest-snapshot "^22.2.0" jest-snapshot "^22.4.0"
jest-util "^22.3.0" jest-util "^22.4.0"
jest-validate "^22.4.0"
jest-worker "^22.2.2" jest-worker "^22.2.2"
micromatch "^2.3.11" micromatch "^2.3.11"
node-notifier "^5.2.1" node-notifier "^5.2.1"
@ -3408,34 +3409,34 @@ jest-cli@^22.3.0:
which "^1.2.12" which "^1.2.12"
yargs "^10.0.3" yargs "^10.0.3"
jest-config@^22.3.0: jest-config@^22.4.0:
version "22.3.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-22.3.0.tgz#94c7149f123933a872ee24c1719687419c4a623c" resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-22.4.0.tgz#34ab50ff52e68a3b0f2dd5df91bfd9b8cf2aa474"
dependencies: dependencies:
chalk "^2.0.1" chalk "^2.0.1"
glob "^7.1.1" glob "^7.1.1"
jest-environment-jsdom "^22.3.0" jest-environment-jsdom "^22.4.0"
jest-environment-node "^22.3.0" jest-environment-node "^22.4.0"
jest-get-type "^22.1.0" jest-get-type "^22.1.0"
jest-jasmine2 "^22.3.0" jest-jasmine2 "^22.4.0"
jest-regex-util "^22.1.0" jest-regex-util "^22.1.0"
jest-resolve "^22.3.0" jest-resolve "^22.4.0"
jest-util "^22.3.0" jest-util "^22.4.0"
jest-validate "^22.2.2" jest-validate "^22.4.0"
pretty-format "^22.1.0" pretty-format "^22.4.0"
jest-diff@^22.1.0: jest-diff@^22.4.0:
version "22.1.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-22.1.0.tgz#0fad9d96c87b453896bf939df3dc8aac6919ac38" resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-22.4.0.tgz#384c2b78519ca44ca126382df53f134289232525"
dependencies: dependencies:
chalk "^2.0.1" chalk "^2.0.1"
diff "^3.2.0" diff "^3.2.0"
jest-get-type "^22.1.0" jest-get-type "^22.1.0"
pretty-format "^22.1.0" pretty-format "^22.4.0"
jest-docblock@22.2.2, jest-docblock@^22.2.2: jest-docblock@22.4.0, jest-docblock@^22.4.0:
version "22.2.2" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-22.2.2.tgz#617f13edb16ec64202002b3c336cd14ae36c0631" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-22.4.0.tgz#dbf1877e2550070cfc4d9b07a55775a0483159b8"
dependencies: dependencies:
detect-newline "^2.1.0" detect-newline "^2.1.0"
@ -3443,69 +3444,70 @@ jest-docblock@^21.0.0:
version "21.2.0" version "21.2.0"
resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-21.2.0.tgz#51529c3b30d5fd159da60c27ceedc195faf8d414" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-21.2.0.tgz#51529c3b30d5fd159da60c27ceedc195faf8d414"
jest-environment-jsdom@^22.3.0: jest-environment-jsdom@^22.4.0:
version "22.3.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-22.3.0.tgz#c267a063e5dc16219fba0e07542d8aa2576a1c88" resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-22.4.0.tgz#09df84a1faf1ca47096aafc89411a095378f628e"
dependencies: dependencies:
jest-mock "^22.2.0" jest-mock "^22.2.0"
jest-util "^22.3.0" jest-util "^22.4.0"
jsdom "^11.5.1" jsdom "^11.5.1"
jest-environment-node@^22.3.0: jest-environment-node@^22.4.0:
version "22.3.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-22.3.0.tgz#97d34d9706a718d743075149d1950555c10338c0" resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-22.4.0.tgz#b6d9458275053028d4b1658851c3475ab22dfb56"
dependencies: dependencies:
jest-mock "^22.2.0" jest-mock "^22.2.0"
jest-util "^22.3.0" jest-util "^22.4.0"
jest-get-type@^22.1.0: jest-get-type@^22.1.0:
version "22.1.0" version "22.1.0"
resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-22.1.0.tgz#4e90af298ed6181edc85d2da500dbd2753e0d5a9" resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-22.1.0.tgz#4e90af298ed6181edc85d2da500dbd2753e0d5a9"
jest-haste-map@22.3.0, jest-haste-map@^22.3.0: jest-haste-map@22.4.0, jest-haste-map@^22.4.0:
version "22.3.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-22.3.0.tgz#e7f048a88735bae07ca12de8785eb8bc522adeab" resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-22.4.0.tgz#7a2cadb32ce1fe9352a57841437b000f1624f14d"
dependencies: dependencies:
fb-watchman "^2.0.0" fb-watchman "^2.0.0"
graceful-fs "^4.1.11" graceful-fs "^4.1.11"
jest-docblock "^22.2.2" jest-docblock "^22.4.0"
jest-serializer "^22.4.0"
jest-worker "^22.2.2" jest-worker "^22.2.2"
micromatch "^2.3.11" micromatch "^2.3.11"
sane "^2.0.0" sane "^2.0.0"
jest-jasmine2@^22.3.0: jest-jasmine2@^22.4.0:
version "22.3.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-22.3.0.tgz#ea127dfbb04c6e03998ae0358225435e47520666" resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-22.4.0.tgz#1d9b607ede12a600ecadda2c8d89918d7d3c4d26"
dependencies: dependencies:
callsites "^2.0.0" callsites "^2.0.0"
chalk "^2.0.1" chalk "^2.0.1"
co "^4.6.0" co "^4.6.0"
expect "^22.3.0" expect "^22.4.0"
graceful-fs "^4.1.11" graceful-fs "^4.1.11"
is-generator-fn "^1.0.0" is-generator-fn "^1.0.0"
jest-diff "^22.1.0" jest-diff "^22.4.0"
jest-matcher-utils "^22.2.0" jest-matcher-utils "^22.4.0"
jest-message-util "^22.2.0" jest-message-util "^22.4.0"
jest-snapshot "^22.2.0" jest-snapshot "^22.4.0"
source-map-support "^0.5.0" source-map-support "^0.5.0"
jest-leak-detector@^22.1.0: jest-leak-detector@^22.4.0:
version "22.1.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-22.1.0.tgz#08376644cee07103da069baac19adb0299b772c2" resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-22.4.0.tgz#64da77f05b001c96d2062226e079f89989c4aa2f"
dependencies: dependencies:
pretty-format "^22.1.0" pretty-format "^22.4.0"
jest-matcher-utils@^22.2.0: jest-matcher-utils@^22.4.0:
version "22.2.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-22.2.0.tgz#5390f823c18c748543d463825aa8e4df0db253ca" resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-22.4.0.tgz#d55f5faf2270462736bdf7c7485ee931c9d4b6a1"
dependencies: dependencies:
chalk "^2.0.1" chalk "^2.0.1"
jest-get-type "^22.1.0" jest-get-type "^22.1.0"
pretty-format "^22.1.0" pretty-format "^22.4.0"
jest-message-util@^22.2.0: jest-message-util@^22.4.0:
version "22.2.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-22.2.0.tgz#84a6bb34186d8b9af7e0732fabbef63f7355f7b2" resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-22.4.0.tgz#e3d861df16d2fee60cb2bc8feac2188a42579642"
dependencies: dependencies:
"@babel/code-frame" "^7.0.0-beta.35" "@babel/code-frame" "^7.0.0-beta.35"
chalk "^2.0.1" chalk "^2.0.1"
@ -3527,45 +3529,46 @@ jest-resolve-dependencies@^22.1.0:
dependencies: dependencies:
jest-regex-util "^22.1.0" jest-regex-util "^22.1.0"
jest-resolve@^22.3.0: jest-resolve@^22.4.0:
version "22.3.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-22.3.0.tgz#648e797f708e8701071a0fa9fac652c577bb66d9" resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-22.4.0.tgz#c3550280d77c47c2885809e7dc8e42560f0b3e71"
dependencies: dependencies:
browser-resolve "^1.11.2" browser-resolve "^1.11.2"
chalk "^2.0.1" chalk "^2.0.1"
jest-runner@^22.3.0: jest-runner@^22.4.0:
version "22.3.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-22.3.0.tgz#70393f62770be754e2d14f5ca3d896e408aa001a" resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-22.4.0.tgz#2509b82834ab4aa7e984ff464626397c556177a7"
dependencies: dependencies:
exit "^0.1.2" exit "^0.1.2"
jest-config "^22.3.0" jest-config "^22.4.0"
jest-docblock "^22.2.2" jest-docblock "^22.4.0"
jest-haste-map "^22.3.0" jest-haste-map "^22.4.0"
jest-jasmine2 "^22.3.0" jest-jasmine2 "^22.4.0"
jest-leak-detector "^22.1.0" jest-leak-detector "^22.4.0"
jest-message-util "^22.2.0" jest-message-util "^22.4.0"
jest-runtime "^22.3.0" jest-runtime "^22.4.0"
jest-util "^22.3.0" jest-util "^22.4.0"
jest-worker "^22.2.2" jest-worker "^22.2.2"
throat "^4.0.0" throat "^4.0.0"
jest-runtime@^22.3.0: jest-runtime@^22.4.0:
version "22.3.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-22.3.0.tgz#1883d6a4227c1f6af276ead3ed27654257d1ef8c" resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-22.4.0.tgz#a4e3e3709a2289725790ed51ca41526a5700ddc4"
dependencies: dependencies:
babel-core "^6.0.0" babel-core "^6.0.0"
babel-jest "^22.2.2" babel-jest "^22.4.0"
babel-plugin-istanbul "^4.1.5" babel-plugin-istanbul "^4.1.5"
chalk "^2.0.1" chalk "^2.0.1"
convert-source-map "^1.4.0" convert-source-map "^1.4.0"
exit "^0.1.2" exit "^0.1.2"
graceful-fs "^4.1.11" graceful-fs "^4.1.11"
jest-config "^22.3.0" jest-config "^22.4.0"
jest-haste-map "^22.3.0" jest-haste-map "^22.4.0"
jest-regex-util "^22.1.0" jest-regex-util "^22.1.0"
jest-resolve "^22.3.0" jest-resolve "^22.4.0"
jest-util "^22.3.0" jest-util "^22.4.0"
jest-validate "^22.4.0"
json-stable-stringify "^1.0.1" json-stable-stringify "^1.0.1"
micromatch "^2.3.11" micromatch "^2.3.11"
realpath-native "^1.0.0" realpath-native "^1.0.0"
@ -3574,37 +3577,41 @@ jest-runtime@^22.3.0:
write-file-atomic "^2.1.0" write-file-atomic "^2.1.0"
yargs "^10.0.3" yargs "^10.0.3"
jest-snapshot@^22.2.0: jest-serializer@^22.4.0:
version "22.2.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-22.2.0.tgz#0c0ba152d296ef70fa198cc84977a2cc269ee4cf" resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-22.4.0.tgz#b5d145b98c4b0d2c20ab686609adbb81fe23b566"
jest-snapshot@^22.4.0:
version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-22.4.0.tgz#03d3ce63f8fa7352388afc6a3c8b5ccc3a180ed7"
dependencies: dependencies:
chalk "^2.0.1" chalk "^2.0.1"
jest-diff "^22.1.0" jest-diff "^22.4.0"
jest-matcher-utils "^22.2.0" jest-matcher-utils "^22.4.0"
mkdirp "^0.5.1" mkdirp "^0.5.1"
natural-compare "^1.4.0" natural-compare "^1.4.0"
pretty-format "^22.1.0" pretty-format "^22.4.0"
jest-util@^22.3.0: jest-util@^22.4.0:
version "22.3.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-22.3.0.tgz#d05bff567a3a86c0e9b3838d812f8290aa768097" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-22.4.0.tgz#ebdc147548d613c5faf7c7534051f59740c98ada"
dependencies: dependencies:
callsites "^2.0.0" callsites "^2.0.0"
chalk "^2.0.1" chalk "^2.0.1"
graceful-fs "^4.1.11" graceful-fs "^4.1.11"
is-ci "^1.0.10" is-ci "^1.0.10"
jest-message-util "^22.2.0" jest-message-util "^22.4.0"
jest-validate "^22.2.2"
mkdirp "^0.5.1" mkdirp "^0.5.1"
jest-validate@^22.2.2: jest-validate@^22.4.0:
version "22.2.2" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-22.2.2.tgz#9cdce422c93cc28395e907ac6bbc929158d9a6ba" resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-22.4.0.tgz#8bcbeaf7ac6893c90446daf0d9382b6de0651799"
dependencies: dependencies:
chalk "^2.0.1" chalk "^2.0.1"
jest-config "^22.4.0"
jest-get-type "^22.1.0" jest-get-type "^22.1.0"
leven "^2.1.0" leven "^2.1.0"
pretty-format "^22.1.0" pretty-format "^22.4.0"
jest-worker@22.2.2, jest-worker@^22.2.2: jest-worker@22.2.2, jest-worker@^22.2.2:
version "22.2.2" version "22.2.2"
@ -3612,12 +3619,12 @@ jest-worker@22.2.2, jest-worker@^22.2.2:
dependencies: dependencies:
merge-stream "^1.0.1" merge-stream "^1.0.1"
jest@22.3.0: jest@22.4.0:
version "22.3.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/jest/-/jest-22.3.0.tgz#07434314d2e8662ea936552d950680b7e6551b0d" resolved "https://registry.yarnpkg.com/jest/-/jest-22.4.0.tgz#476e2c08c6c2a6dbb5cfec520b8bf1cd4c99afd7"
dependencies: dependencies:
import-local "^1.0.0" import-local "^1.0.0"
jest-cli "^22.3.0" jest-cli "^22.4.0"
jodid25519@^1.0.0: jodid25519@^1.0.0:
version "1.0.2" version "1.0.2"
@ -4422,9 +4429,9 @@ prettier@1.9.1:
version "1.9.1" version "1.9.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.9.1.tgz#41638a0d47c1efbd1b7d5a742aaa5548eab86d70" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.9.1.tgz#41638a0d47c1efbd1b7d5a742aaa5548eab86d70"
pretty-format@^22.1.0: pretty-format@^22.4.0:
version "22.1.0" version "22.4.0"
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-22.1.0.tgz#2277605b40ed4529ae4db51ff62f4be817647914" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-22.4.0.tgz#237b1f7e1c50ed03bc65c03ccc29d7c8bb7beb94"
dependencies: dependencies:
ansi-regex "^3.0.0" ansi-regex "^3.0.0"
ansi-styles "^3.2.0" ansi-styles "^3.2.0"