mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-06 22:37:14 +08:00
js1 upgrade jest adds a caret (^)
Summary: This diff changes `js1 upgrade jest` to add a caret when upgrading so that the open source version of RN is not locked to a concrete version of Jest which doesn't really make much sense. I also added `pretty-format` to the packages that get updated because it is part of Jest's repo. Reviewed By: rubennorte Differential Revision: D14503180 fbshipit-source-id: 683c9a6ac768baa578771b9ad677e02df4912baa
This commit is contained in:
committed by
Facebook Github Bot
parent
13351e6acf
commit
73245555cd
@@ -91,11 +91,10 @@
|
||||
"fbjs": "^1.0.0",
|
||||
"fbjs-scripts": "^1.1.0",
|
||||
"invariant": "^2.2.4",
|
||||
"jest-junit": "6.3.0",
|
||||
"metro-babel-register": "0.52.0",
|
||||
"metro-react-native-babel-transformer": "0.52.0",
|
||||
"nullthrows": "^1.1.0",
|
||||
"pretty-format": "24.5.0",
|
||||
"pretty-format": "^24.5.0",
|
||||
"promise": "^7.1.1",
|
||||
"prop-types": "^15.7.2",
|
||||
"react-devtools-core": "^3.6.0",
|
||||
@@ -127,8 +126,8 @@
|
||||
"eslint-plugin-relay": "1.3.0",
|
||||
"flow-bin": "^0.95.0",
|
||||
"flow-remove-types": "1.2.3",
|
||||
"jest": "24.5.0",
|
||||
"jest-junit": "6.3.0",
|
||||
"jest": "^24.5.0",
|
||||
"jest-junit": "^6.3.0",
|
||||
"jscodeshift": "^0.6.2",
|
||||
"mkdirp": "^0.5.1",
|
||||
"prettier": "1.16.4",
|
||||
|
||||
22
yarn.lock
22
yarn.lock
@@ -3915,7 +3915,7 @@ jest-jasmine2@^24.5.0:
|
||||
pretty-format "^24.5.0"
|
||||
throat "^4.0.0"
|
||||
|
||||
jest-junit@6.3.0:
|
||||
jest-junit@^6.3.0:
|
||||
version "6.3.0"
|
||||
resolved "https://registry.yarnpkg.com/jest-junit/-/jest-junit-6.3.0.tgz#99e64ebc54eddcb21238f0cc49f5820c89a8c785"
|
||||
integrity sha512-3PH9UkpaomX6CUzqjlnk0m4yBCW/eroxV6v61OM6LkCQFO848P3YUhfIzu8ypZSBKB3vvCbB4WaLTKT0BrIf8A==
|
||||
@@ -4148,7 +4148,7 @@ jest-worker@^24.0.0, jest-worker@^24.4.0:
|
||||
merge-stream "^1.0.1"
|
||||
supports-color "^6.1.0"
|
||||
|
||||
jest@24.5.0:
|
||||
jest@^24.5.0:
|
||||
version "24.5.0"
|
||||
resolved "https://registry.yarnpkg.com/jest/-/jest-24.5.0.tgz#38f11ae2c2baa2f86c2bc4d8a91d2b51612cd19a"
|
||||
integrity sha512-lxL+Fq5/RH7inxxmfS2aZLCf8MsS+YCUBfeiNO6BWz/MmjhDGaIEA/2bzEf9q4Q0X+mtFHiinHFvQ0u+RvW/qQ==
|
||||
@@ -5586,7 +5586,15 @@ pretty-format@24.0.0-alpha.6:
|
||||
ansi-regex "^4.0.0"
|
||||
ansi-styles "^3.2.0"
|
||||
|
||||
pretty-format@24.5.0, pretty-format@^24.5.0:
|
||||
pretty-format@^24.0.0:
|
||||
version "24.0.0"
|
||||
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-24.0.0.tgz#cb6599fd73ac088e37ed682f61291e4678f48591"
|
||||
integrity sha512-LszZaKG665djUcqg5ZQq+XzezHLKrxsA86ZABTozp+oNhkdqa+tG2dX4qa6ERl5c/sRDrAa3lHmwnvKoP+OG/g==
|
||||
dependencies:
|
||||
ansi-regex "^4.0.0"
|
||||
ansi-styles "^3.2.0"
|
||||
|
||||
pretty-format@^24.5.0:
|
||||
version "24.5.0"
|
||||
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-24.5.0.tgz#cc69a0281a62cd7242633fc135d6930cd889822d"
|
||||
integrity sha512-/3RuSghukCf8Riu5Ncve0iI+BzVkbRU5EeUoArKARZobREycuH5O4waxvaNIloEXdb0qwgmEAed5vTpX1HNROQ==
|
||||
@@ -5596,14 +5604,6 @@ pretty-format@24.5.0, pretty-format@^24.5.0:
|
||||
ansi-styles "^3.2.0"
|
||||
react-is "^16.8.4"
|
||||
|
||||
pretty-format@^24.0.0:
|
||||
version "24.0.0"
|
||||
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-24.0.0.tgz#cb6599fd73ac088e37ed682f61291e4678f48591"
|
||||
integrity sha512-LszZaKG665djUcqg5ZQq+XzezHLKrxsA86ZABTozp+oNhkdqa+tG2dX4qa6ERl5c/sRDrAa3lHmwnvKoP+OG/g==
|
||||
dependencies:
|
||||
ansi-regex "^4.0.0"
|
||||
ansi-styles "^3.2.0"
|
||||
|
||||
private@^0.1.6, private@~0.1.5:
|
||||
version "0.1.8"
|
||||
resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
|
||||
|
||||
Reference in New Issue
Block a user